Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Feb 2002 02:32:34 -0500 (EST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        "Kenneth D. Merry" <ken@kdm.org>
Cc:        n_hibma@FreeBSD.ORG, joe@FreeBSD.ORG, current@FreeBSD.ORG, Andrew Kenneth Milton <akm@theinternet.com.au>, Glenn Gombert <ggombert@imatowns.com>, Matthew Dillon <dillon@apollo.backplane.com>
Subject:   Re: -current hangs with SMP enabled
Message-ID:  <XFMail.020226023234.jhb@FreeBSD.org>
In-Reply-To: <20020225223929.A56577@panzer.kdm.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 26-Feb-02 Kenneth D. Merry wrote:
> On Mon, Feb 25, 2002 at 21:29:44 -0800, Matthew Dillon wrote:
>> 
>> :>     Just as a data point, I've been running -current on a 2xCPU SMP
>> :>     system (DELL2550) for a few weeks and it's always booted fine.
>> :> 
>> :>     For the last few months I have noticed occassional freezes occuring
>> :>     at odd times long after boot.  I have no idea why it happens.
>> :
>> :Your config works!
>> :
>> :I've attached the dmesg.  Now the question is, what is the difference
>> :between GENERIC and your config that is causing the problem?
>> :
>> :(I suppose it makes sense that your config would work, since I think that
>> :Dell is a Serverworks-based system too.)
>> :
>> :I'll see if I can figure it out...
>> :
>> :Ken
>> :-- 
>> :Kenneth Merry
>> 
>>     Wow, I didn't actually expect my config would make things work
>>     differenty on your box.  I'm very interested in whatever you
>>     turn up.
> 
> The answer is...the USB code.
> 
> [ Nick and Joe CCed ]
> 
> If I comment out the following lines in my standard config for this
> machine, SMP works:

Ah yes!  We had a test machine at TWC that came in that we couldnt' install 4.5
on (even with the UP kernel on the boot disk) due to getting an interrupt storm
of USB interrupts.
 
># USB support
> device          uhci            # UHCI PCI->USB interface
> device          ohci            # OHCI PCI->USB interface
> device          usb             # USB Bus (required)
>#device         udbp            # USB Double Bulk Pipe devices
> device          ugen            # Generic
> device          uhid            # "Human Interface Devices"
> device          ukbd            # Keyboard
> device          ulpt            # Printer
> device          umass           # Disks/Mass storage - Requires scbus and da
> device          ums             # Mouse
> device          urio            # Diamond Rio 500 MP3 player
> device          uscanner        # Scanners
># USB Ethernet, requires mii
> device          aue             # ADMtek USB ethernet
> device          cue             # CATC USB ethernet
> device          kue             # Kawasaki LSI USB ethernet
> 
> The USB module is still loaded when usbd cranks up, but it doesn't hang the
> machine when it is loaded as a module.
> 
> I've tried two kernels, with the only difference being whether the usb code
> (as listed above) is enabled or not.  The kernel with the USB stuff hangs.
> 
> I've attached dmesg output from the working boot. 
> 
> Ken
> -- 
> Kenneth Merry
> ken@kdm.org

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.020226023234.jhb>