iedowse 2003/09/28 04:08:31 PDT
FreeBSD src repository
Modified files: (Branch: RELENG_4) sys/kern kern_fork.c Log: Save and restore the interrupt mask in fork1() instead of using spl0() and hence assuming that the old interrupt mask was zero. Although fork1() is normally called with a zero mask, one exception to this is when it is called by kthread_create() before configure() has unmasked interrupts for the first time. In that case it can cause interrupt storm hangs during device configuration, because interrupts can be delivered before the corresponding device drivers are ready to receive them.
This should fix the boot-time USB hangs that have been reported.
Approved by: re (murray)
Revision Changes Path 1.72.2.15 +3 -3 src/sys/kern/kern_fork.c
Jorge Aldana wrote:
From the previous posts and replies, one fix or workaround is to reassign yoursoundcards IRQ and re-boot, it worked for me on the first reassignment, my code also was from the 28th, code right after the 2nd Arp patch notice. If the cvsup worked let us know.
Here's some of the notes from the other thread:
---------------------------------------
From: Patrick C <[EMAIL PROTECTED]> Subject: Re: psm0 lockup on boot (FreeBSD 4.9 PreRelease #2)
I lost the previous thread on the psm0 lock but also wanted to report that
after cvsup-ing for the arp patch and rebuilding that the lockup still
occurs, any leads on a fix/workaround? (Besides removing psm0 or disabling
the sound card).
I had the same problem where my kernel would lock up until I changed the soundcard PCI slot -- as well as my network card -- and assigned irqs to each of those slots and my video card. This appears to be because of irq conflicts. Here's what I found this in the LINT file:
# Note: It has been reported that ISA DMA with the SoundBlaster will # lock up the machine (PR docs/5358). If this happens to you, # turning off USWC write posting in your machine's BIOS may fix # the problem.
----------------------------------------
Jorge
-- Keith Mitchell Email: [EMAIL PROTECTED] PGP key available upon request
_______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"