ad
59978d093b
Put the GENERIC kernel onto i386 installation CDs and load a kernel module
...
from the boot loader to provide the miniroot.
2008-05-02 23:13:05 +00:00
ad
7d1f779aa2
Build and install modules into /kernel/modules. Each module gets a
...
directory for properties, blobs, etc. It's not fixed in stone and
can easily be changed if there are issues with the location/layout.
2008-05-02 23:12:00 +00:00
ad
f91fac1cb9
We don't do 1.2MB installs any more.
2008-05-02 22:59:58 +00:00
ad
a39076d65c
This isn't needed any more.
2008-05-02 22:59:15 +00:00
martin
147dd598b0
Use standard 2 clause license
2008-05-02 22:03:23 +00:00
martin
04bdb2ab99
Replace TNF licenses with standard 2 clause variant.
2008-05-02 22:00:29 +00:00
plunky
fc53820785
disk_destroy() is needed when the disk structure is no longer required,
...
this fixes PR kern/38131
2008-05-02 21:11:00 +00:00
xtraeme
5a38da5ccf
Constify, so that usr.sbin/fwctl can be built with WARNS=4.
2008-05-02 19:50:04 +00:00
rjs
1fe1d42716
Only call cpu_attach_common() once.
2008-05-02 18:40:51 +00:00
martin
cd22f25e6f
Move TNF licenses to 2 clause form
2008-05-02 18:11:04 +00:00
ad
04feebca3b
PR kern/38141 lookup/vfs_busy acquire rwlock recursively
...
Until the code paths are fixed properly, put in place an ugly workaround
to make it safe to recursively acquire a read lock on a mount.
2008-05-02 17:40:30 +00:00
reinoud
62c4a64698
Extend the MMC framework to also create sensible reports on audio discs.
2008-05-02 16:06:38 +00:00
reinoud
f83002a905
Add definitions for the close track/session, reserve track and repair
...
track SCSI commands.
2008-05-02 15:56:25 +00:00
reinoud
87bf4ab915
Fixup CD and DVD drives that appear to be on crack when reporting features.
...
They state f.e. that a recordable CD-R is rewritable or completely forget
that the fixed packet size formatted CD-RW is strict overwrite rewritable
and not randomly rewritable.
2008-05-02 15:53:10 +00:00
reinoud
8d14ab3bcb
Make the SCSI sense code "Logical Unit Not Ready, Operation In Progress"
...
(Sense code 0x04, 0x07) not a fatal error anymore but retry command later.
This sense code can be returned on a CD-MRW write that encounters a bad
block resulting in the drive being busy relocating it. During that time it
can return this sense code to indicate its busy for a while.
Also reduce waiting time for the other "Logical Unix Not Ready, Long Write
In Progress" to half a second.
2008-05-02 15:34:16 +00:00
ad
31d4b62867
- Give x86 BIOS boot the ability to load new style modules and pass them
...
into the kernel. Based on a patch by jmcneill@, with many fixes and
improvements by me.
2008-05-02 15:29:18 +00:00
ad
bfc5732320
- Give x86 BIOS boot the ability to load new style modules and pass them
...
into the kernel. Based on a patch by jmcneill@, with many fixes and
improvements by me.
- Put MEMORY_DISK_DYNAMIC and MODULAR into the GENERIC kernels, so that
you can load miniroot.kmod from the boot blocks and boot into the
installer!
2008-05-02 15:26:38 +00:00
ad
3ba209837a
- Add a bsd.kmodule.mk to build new style modules.
...
- Set the file suffix to .kmod
2008-05-02 14:20:50 +00:00
ad
2830fe3488
PR kern/38497 Out of memory allocating ksiginfo
...
Work around: don't acquire softnet_lock in protocol drain routines.
2008-05-02 13:40:32 +00:00
ad
8c94e76aa9
Add a module that looks up a "miniroot" section within its ELF object,
...
and passes that to md_root_setconf(). The file system image can be added
with objcopy after the module is built.
2008-05-02 13:03:58 +00:00
ad
1253c2cad4
Allow md_root_setconf() to set in a miniroot as the root file system
...
even if MEMORY_DISK_IS_ROOT is not defined (a runtime override).
2008-05-02 13:02:31 +00:00
ad
3f1b4f1759
Keep the program table and section strings around after loading the object,
...
since module_find_section() needs them.
2008-05-02 13:00:01 +00:00
ad
5d413581c7
Re-do yesterday's build fix to hook in the MD stuff if available.
2008-05-02 12:59:34 +00:00
simonb
96093a0d4f
Sprinkle a teeny bit of KNF goodness..
2008-05-02 01:53:33 +00:00
bjs
98dd3c4324
Wedge in a smattering of updates for ati_pcigart.c and radeon support:
...
-- detypedef drm_ati_pcigart_info
-- add support for variable sized apertures in ati_pcigart.c
-- Add support for radeon IGP adapters (untested on NetBSD)
-- Update r300_reg.h to a much newer version.
-- Miscellaneous fixes in radeon_cp.c, radeon_state.c.
TODO: r300_cmdbuf.c (?)
Please report any regressions to me. While I try to make sure the
updates are somewhat coherent, our initial code base is old enough
such that it's quite difficult to be absolutely certain. I hope to
rebase the NetBSD-specific code on the BSD code at the head of GIT
within a month or two, so this will do for now.
2008-05-02 01:29:36 +00:00
xtraeme
69231bd9c5
The template file should be built in ${.OBJDIR} not in ${.CURDIR},
...
build.sh now works.
2008-05-01 23:14:35 +00:00
dyoung
89e32494c3
Release mutex before unmapping bus space to stop a locking error.
2008-05-01 22:59:37 +00:00
cegger
8127f641e3
device_t / softc split. From Hans Rosenfeld.
2008-05-01 22:00:44 +00:00
xtraeme
126b0d446f
Build and install by default the following LKMs on i386 and amd64:
...
aps(4), finsio(4), itesio(4), nsclpcsio(4), smsc(4) and ug(4).
These drivers aren't enabled in GENERIC kernels, so having the LKMs
in base will simplify future testing.
2008-05-01 21:51:20 +00:00
rmind
0fe9197c91
lwp_suspend: check for LW_* flags in l_flag, not l_stat.
2008-05-01 21:25:23 +00:00
garbled
e5bede68a5
Squeeze 14k out of the INSTALL_SMALL image. Still too big. (by 49k)
...
Savings detailed below:
6274 #pseudo-device rnd
799 no options EXEC_AOUT
1082 options NO_DEV_PTM
6023 st* at scsibus
2008-05-01 20:57:38 +00:00
cegger
d9b775927c
hpqlb(4): driver for HP Quick Launch buttons - found on HP Pavilion Notebooks
2008-05-01 20:18:18 +00:00
garbled
82a9123f59
Add a missing Makefile that I forgot to commit in the mkbootimage
...
switch. Caught by Juergen Hannken-Illjes.
2008-05-01 18:13:38 +00:00
ad
1bb1fee762
- Add module_find_section(), allows a module to look up data in its object.
...
- Work around build failure.
2008-05-01 17:23:16 +00:00
ad
416e98a01e
Another fix for pre-loaded modules.
2008-05-01 17:07:10 +00:00
simonb
c3325defad
Be consistent with #define<space-or-tab>.
2008-05-01 16:06:41 +00:00
njoly
4c44d432ea
Add SCHED_FIFO/SCHED_RR support to sched_get_priority_{min,max}.
2008-05-01 16:06:17 +00:00
cegger
50fa672c8b
build fix: <sys/condvar.h> is needed for 'extern kcondvar_t mount_cv'. From Hans Rosenfeld.
...
ok simonb
2008-05-01 16:05:13 +00:00
ad
eb4b641df7
Simplify slightly.
2008-05-01 14:48:19 +00:00
ad
8ef40c772a
Get the pre-loaded module code working.
2008-05-01 14:44:48 +00:00
cegger
03b1eeebc1
compile-fix with MULTIPROCESSOR. From Hans Rosenfeld.
2008-05-01 12:06:28 +00:00
ad
c379d13c35
Kernel preemption needs to be off for tlb shootdowns.
2008-05-01 12:03:18 +00:00
drochner
d41cbd880a
fix soabort(): sofree() wants to be called with the lock held
...
approved by ad
2008-05-01 09:21:56 +00:00
ad
ca230e9919
#error if __HAVE_PREEMPTION && !MULTIPROCESSOR.
2008-05-01 00:20:12 +00:00
ad
a7fbd437d1
If MP is disabled at the boot prompt, then don't use MPBIOS. When ACPI
...
is also disabled, this completely avoids using ioapics.
2008-04-30 23:25:49 +00:00
macallan
27a3fd2a36
add dummy argument to cpu_did_resched() so kern_synch.c is happy again
2008-04-30 23:21:29 +00:00
ad
39f45b13ce
- If x86, trust the nvram and elminate long probe delays.
...
- Update for amd64.
2008-04-30 23:02:43 +00:00
ad
ac118e2286
Shuffle ioapic/mainbus/cpu into std.amd64 like i386.
2008-04-30 22:08:18 +00:00
garbled
65839b8463
rs6000's mkbootimage is now no longer needed.
2008-04-30 21:22:19 +00:00
garbled
c3077f9533
Remove prep's copy of mkbootimage
2008-04-30 21:20:37 +00:00