Commit Graph

169345 Commits

Author SHA1 Message Date
ad
928d6a0983 Give i386 and amd64 a default boot.cfg. 2008-04-30 16:48:53 +00:00
ad
83cf21a0ba Tidy up console output slightly. 2008-04-30 16:18:26 +00:00
ad
1717063e94 Let twiddle() be disabled at runtime. 2008-04-30 16:18:09 +00:00
ad
da694a1ffc For PR kern/38537:
- Make MULTIPROCESSOR mandatory on i386.

Installation changes:

- Update installation section of release notes to match reality.
- Rename INSTALL to INSTALL_FLOPPY, retire INSTALL_LARGE.
- Build INSTALL kernel from GENERIC, like on amd64.
- Update boot menu to allow disabling ACPI and/or SMP.
- Remove GENERIC.NOACPI from the installed kernel list.
- TODO: install default boot.cfg in etc.tgz.
- TODO: possibly enable PCI fixup stuff at runtime if ACPI is disabled.

Build changes:

- No longer build ALL, it's for verification, is slow to build and the
  build process is already crippled by the number of kernels built.
- No longer build GENERIC.NOACPI.
2008-04-30 15:29:11 +00:00
christos
5614cf4051 Mention errno settings on failure. 2008-04-30 14:51:10 +00:00
ginsbach
709ba647ca Remove clause 3 and 4 from TNF licenses 2008-04-30 14:22:14 +00:00
ad
152ac49075 Fold DEBUG into ALL. 2008-04-30 14:13:26 +00:00
ad
1498ad220e Make various bits of debug code compile again. 2008-04-30 14:07:13 +00:00
martin
8eba9df29f Normalize TNF license, move to 2 clause. 2008-04-30 13:39:13 +00:00
martin
11a6dbe728 Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +00:00
ad
928a6b2096 PR kern/38135 vfs_busy/vfs_trybusy confusion
The previous fix worked, but it opened a window where mounts could have
disappeared from mountlist while the caller was traversing it using
vfs_trybusy(). Fix that.
2008-04-30 12:49:16 +00:00
ad
83bf8c56bb PR kern/38547 select/poll do not set l_kpriority
Among other things this could have made X11 seem sluggish.
2008-04-30 12:45:21 +00:00
ad
e1df701f0d Avoid unneeded AST faults. 2008-04-30 12:44:27 +00:00
joerg
80f8bae123 Regen. 2008-04-30 12:23:55 +00:00
joerg
9e76b2ce6c + 3ware 9690 2008-04-30 12:23:29 +00:00
reinoud
5fc434dc18 Add a BUFQ_CANCEL() next to BUFQ_PUT() and BUFQ_GET().
BUFQ_CANCEL(queue, element) removes the specified element previously queued
on the queue. It returns NULL if it was not found on the queue and the
element if it was successfully removed.

Run trough tech-kern and changed name from BUFQ_REVOKE() by suggestion of
Jason Thorpe.
2008-04-30 12:09:02 +00:00
joerg
48d8e65bbd Exploit ci->ci_isources[slot] == source to simplify code. 2008-04-30 12:00:52 +00:00
tsutsui
2be642537b Make this compile (missing register prefix). 2008-04-30 09:59:42 +00:00
rmind
5d285c31ff Set minimal count of LWPs for catching to 1, and cache-hotness time to ~3ms 2008-04-30 09:17:12 +00:00
martin
4b1e6a65be Convert to 2 clause license 2008-04-30 08:20:03 +00:00
garbled
2faead5cd4 Note prep iso and fdc driver. Also note ofppc SMP. 2008-04-30 08:15:46 +00:00
tsutsui
9963e1d1ef Certainly this file is derived from src/sys/arch/x68k/include/intr.h,
so sync copyright notice with it.  Approved by martin@.
2008-04-30 08:13:24 +00:00
garbled
9789cfe276 Bootable CD support for prep. Finally. 2008-04-30 08:08:32 +00:00
jmmv
b8f1187ff1 Fix build of these files after the vfs_trybusy change. Apply the same
modification done in compat/common/vfs_syscalls_20.c:1.27.
2008-04-30 06:49:23 +00:00
ad
10f791f083 kpreempt: fix a block that should only have compiled as C++... I gues
there is a parsing bug in gcc that let it through.
2008-04-30 00:52:22 +00:00
yamt
d1de8f5e7f mutex_vector_enter: fix a typo in a comment. 2008-04-30 00:40:13 +00:00
ad
0329609eb4 Reapply 1.235 which was lost with a subsequent merge. 2008-04-30 00:30:56 +00:00
ad
3ddd716838 Back out previous. softnet_lock is no longer held for at_control. 2008-04-30 00:25:17 +00:00
ad
9ba64b51be Assembly _atomic_cas_up() for mips. PR lib/38482. 2008-04-30 00:17:34 +00:00
cegger
c92d850bb3 AMD's APM Volume 2 says 'All control registers are 64bit in long mode'.
Fix the CR0 prototype to match this (the asm implementation is correct though).
OK ad
2008-04-30 00:16:30 +00:00
ad
5d794f8931 PR kern/38537 __HAVE_PREEMPTION requires MULTIPROCESSOR
Don't patch out the kernel_lock functions if ncpu == 1. We need it for
preemption, and it's used much less frequently than before.
2008-04-30 00:05:20 +00:00
ad
e3610f1886 kern/38135 vfs_busy/vfs_trybusy confusion
The symptom was that sometimes file systems would occasionally not appear
in output from 'df' or 'mount' if the system was busy. Resolution:

- Make mount locks work somewhat like vm_map locks.
- vfs_trybusy() now only fails if the mount is gone, or if someone is
  unmounting the file system. Simple contention on mnt_lock doesn't
  cause it to fail.
- vfs_busy() will wait even if the file system is being unmounted.
2008-04-29 23:51:04 +00:00
ad
94ff46d894 This isn't needed any more. 2008-04-29 23:28:01 +00:00
scw
1de1c389bf Pull in some more changes from OpenBSD:
- replace rssadapt(9) with amrr for automatic rate control.
- don't blindly IFQ_DEQUEUE() then drop a Tx packet if there are no
  available Tx resources.
- move default MAC/BBP/RF settings from rt2661.c to rt2661reg.h.
- enable packet bursting when operating as a STA.
- implement new ic_updateslot() callback.
- in hostap mode, we defer update of the slot time until all associated
  STAs are notified with updated beacons.
- 802.11a uses a 16 microseconds short interframe space.
- Fix rt2661_set_macaddr() so that we don't override the "unicast to me"
  flag in RT2661_MAC_CSR3 when setting the MAC address.
- fix index of ERP information element in beacons.

Add a couple of tweaks of my own:

- The RX/TX BUSY flag should be the last thing written to a descriptor.
- Check and service any additional h/w interrupts before returning
  from the isr.

Tested in STA, AP, and Monitor modes. Tested with WEP, WPA, and WPA2 crypto.

Additional testing by xtraeme@
2008-04-29 22:21:45 +00:00
xtraeme
dbce9233f7 Don't show statistics in sensors that will provide a percentage. 2008-04-29 21:46:17 +00:00
ad
4325f51a67 Adjust the help string for new options. 2008-04-29 21:35:47 +00:00
scw
d05f8e9263 - Document RAS_START_ASM, RAS_END_ASM, RAS_START_ASM_HIDDEN, and
RAS_END_ASM_HIDDEN.
- Advise against implementing RASs in C.

See PR lib/38482 for details.

While here, remove clauses 3 and 4 from TNF license.
2008-04-29 21:06:28 +00:00
scw
4e2c4c42b4 Implement _atomic_cas_up() in assembly code as the compiler cannot be
trusted to generate fully restartable code sequences.

Addresses lib/38482 for ARM and m68000.
2008-04-29 20:57:50 +00:00
scw
ebbad0004d Add convenience macros RAS_{START,END}_ASM() and RAS_{START,END}_ASM_HIDDEN()
to simplify coding RASs in assembly.
2008-04-29 20:50:42 +00:00
ad
5804d4a96d Minor correction to previous. 2008-04-29 19:19:29 +00:00
ad
9a4949249f Recognise two new boot flags:
-1 disable MP
-2 disable ACPI
2008-04-29 19:18:19 +00:00
ad
8816278aca Recognise the RB_MD flags. 2008-04-29 19:16:08 +00:00
ad
e8acac827e Remove now bogus assertion. 2008-04-29 19:02:14 +00:00
joerg
a1988014f6 Remove IOAPIC_HWMASK, it was never defined. 2008-04-29 18:47:18 +00:00
ad
971df547a1 kern/38502 ifconfig wi0 hangs
Don't acquire the socket lock for PRU_CONTROL.
2008-04-29 18:42:26 +00:00
ad
387c23dfb9 PRU_CONTROL: acquire bt_lock manually. 2008-04-29 18:41:06 +00:00
ad
68c83ab9c7 kern/38502 ifconfig wi0 hangs
Don't acquire the socket lock for PRU_CONTROL.
2008-04-29 18:35:14 +00:00
ad
9bdeb71266 cpu_switchto: if DIAGNOSTIC, assert not above IPL_SCHED. 2008-04-29 18:27:18 +00:00
ad
baa3395f8f PR kern/38057 ffs makes assuptions about devvp file system
PR kern/33406 softdeps get stuck in endless loop

Introduce VFS_FSYNC() and call it when syncing a block device, if it
has a mounted file system.
2008-04-29 18:18:08 +00:00
ad
bf797086e6 Don't try grabbing a zombie's p_reflock. 2008-04-29 18:13:24 +00:00