freebsd-dev/sys
Marcel Moolenaar 65e962fb76 Revert previous commit. The problem was not related to overrunning
the kernel stack at all. The new USB stack simply caused a change
in timing that triggered a firmware bug more often. The addition
of PRINTF_BUFR_SIZE apparently triggered the same firmware bug
even more reliably.

But even with KSTACK_PAGES=5, one instance of the firmware bug
remained: booting with a CD inserted. This problem was run into
by accident after installing Debian and having to boot FreeBSD
to fixup the GPT partitioning (Thanks... not). After bumping
KSTACK_PAGES to 5, it was pretty unbelievable that the stack was
still being too small.

After updating the firmware we could boot with a CD inserted and
KSTACK_PAGES could be lowered back to 4 pages without problems.

Note: It is believed to be a timing related firmware bug, because
the machine check information showed access to the serial console
on one CPU and access to the EHCI HCD on the other CPU. Since
both are devices on the management unit and thus virtualized in
some way, any execution trace that does not include concurrent
access to the BMC from both CPUs is fine.

Note also that it's not understood exactly how increasing the
kernel stack avoided hitting the firmware bug. A change in page
faults does change timing, but it's not known if that's what's
happening here.

In any case: the problem is being monitored. Reverting back to
4 pages for the kernel stack is preferred, because it makes it
easier to switch to 16K pages (double the page size) without
wasting too much memory by not being able to half the number of
pages...
2009-11-23 21:09:23 +00:00
..
amd64 Add an experimental and rudimentary JIT optimizer to reduce unncessary 2009-11-21 00:19:09 +00:00
arm - Initialize callout before it is used in atestop() during attach. 2009-11-19 22:04:02 +00:00
boot Create a seperate ZFS enabled loader. 2009-11-23 16:00:16 +00:00
bsm Add audit events for process descriptor system calls, which will appear in 2009-09-29 21:25:59 +00:00
cam Disable PortMultiplier Async Notifications for time of ports reset. 2009-11-16 15:18:02 +00:00
cddl Correct another case of not doing 64bit math. This allows mine and 2009-11-13 02:50:50 +00:00
compat Fix typo in kernel message. The fix is based upon the patch in the PR. 2009-11-05 07:37:48 +00:00
conf Tune CAM ATA kernel options a bit. Move PMP support from da to scbus and 2009-11-19 16:26:07 +00:00
contrib Merge ACPICA 20091112. 2009-11-16 21:47:12 +00:00
crypto
ddb Among signal generation syscalls, only sigqueue(2) is allowed by POSIX 2009-11-17 11:39:15 +00:00
dev Actually disable interrupts in ehci_detach(). 2009-11-23 18:12:09 +00:00
fs Modify the experimental nfs server so that it falls back to 2009-11-23 16:08:15 +00:00
gdb
geom Add a missing check for Apple HFS partitions. 2009-11-12 19:30:49 +00:00
gnu File flags handling fixes for ext2fs: 2009-11-05 04:51:38 +00:00
i386 Add an experimental and rudimentary JIT optimizer to reduce unncessary 2009-11-21 00:19:09 +00:00
ia64 Revert previous commit. The problem was not related to overrunning 2009-11-23 21:09:23 +00:00
isa - Partially revert hackish r198964 and r199002. 2009-11-12 17:56:56 +00:00
kern On the return path from F_RDAHEAD and F_READAHEAD fcntls, do not 2009-11-20 22:22:53 +00:00
kgssapi When the KOBJMETHOD() macro was updated, it resulted in the 2009-06-14 17:33:46 +00:00
libkern Move inet_aton() (specular to inet_ntoa(), already present in libkern) 2009-11-12 00:46:28 +00:00
mips Extract the code that records syscall results in the frame into MD 2009-11-10 11:43:07 +00:00
modules Add a forgotten module Makefile change from the previous commit. 2009-11-16 21:53:56 +00:00
net General style cleanup, no functional change. 2009-11-20 21:12:40 +00:00
net80211 Remove trailing ";" in struct ieee80211_beacon_offsets declaration 2009-11-11 15:00:56 +00:00
netatalk Reverse misordered unlock and lock in at_control for netatalk phase I 2009-08-12 10:44:13 +00:00
netgraph Take a step towards removing if_watchdog/if_timer. Don't explicitly set 2009-11-06 14:55:01 +00:00
netinet Correct a comment. 2009-11-19 13:21:37 +00:00
netinet6 Adapt r197136 to IPv6 stack: 2009-11-19 13:39:07 +00:00
netipsec fixed two race conditions when inserting/removing SAs via PFKey, 2009-11-17 16:00:41 +00:00
netipx Use queue(9) instead of hand-crafted link lists for the global IPX 2009-06-24 20:57:50 +00:00
netnatm Reimplement the netisr framework in order to support parallel netisr 2009-06-01 10:41:38 +00:00
netncp
netsmb Don't print out a message on loading a module. 'kldload -v' and 'kldstat 2009-09-10 18:33:08 +00:00
nfs Revert rev 192323 (nfs_common.c only): 2009-07-12 03:53:52 +00:00
nfsclient Close a race with caching of -ve name lookups in the NFS client. 2009-10-16 19:30:48 +00:00
nfsserver Revert previous change and fix misalignment by using bcopy() 2009-11-15 03:09:50 +00:00
nlm Handle GRANTED_RES messages more gracefully: Send along a grant cookie 2009-10-07 19:50:14 +00:00
opencrypto If crypto operation is finished with EAGAIN, don't repeat operation from 2009-09-04 09:48:18 +00:00
pc98 Remove duplicate 'ural' entry since it was added to the MI NOTES a while 2009-11-17 15:47:19 +00:00
pci intpm/sb700: force polling mode if configured interrupt is SMI 2009-09-19 08:56:28 +00:00
powerpc Garbage collect some code that was never compiled in to handle Altivec 2009-11-22 20:45:15 +00:00
rpc Add a check for the connection being shut down to the krpc 2009-11-08 19:02:13 +00:00
security Having thrown the cat out of the house, add a necessary include. 2009-09-08 13:24:36 +00:00
sparc64 Unroll copying of the registers in {g,s}et_mcontext() and limit it 2009-11-17 21:08:10 +00:00
sun4v Extract the code that records syscall results in the frame into MD 2009-11-10 11:43:07 +00:00
sys Among signal generation syscalls, only sigqueue(2) is allowed by POSIX 2009-11-17 11:39:15 +00:00
teken Place home and end before insert and delete. 2009-11-11 09:43:26 +00:00
tools Output a comment on top of each generated file explaining where it came 2009-10-25 09:48:21 +00:00
ufs Don't build ufs_gjournal.c at all if UFS_GJOURNAL option is not given 2009-09-22 16:22:05 +00:00
vm Simplify both the invocation and the implementation of vm_fault() for wiring 2009-11-18 18:05:54 +00:00
xdr Add a check for a NULL mbuf ptr at the beginning of xdrmbuf_inline() 2009-08-12 16:27:51 +00:00
xen Temporarily revert the new-bus locking for 8.0 release. It will be 2009-08-20 19:17:53 +00:00
Makefile