fix/workaround for usb probe lockups on nForce2 mbs

Brandon Fosdick bfoz at terrandev.com
Thu Sep 25 20:31:06 PDT 2003


Ian Dowse wrote:
> In message <3F72659E.8090809 at nortelnetworks.com>, Andrew Atrens writes:
> 
>>The attached patch fixes the boot lockups I've been experiencing on my 
>>nForce2 (A7N8X-Deluxe) motherboards when usb devices are on the bus at 
>>boot time.
>>
>>Looks like something in usb_explore is (inadvertently?) enabling 
>>interrupts if it detects a device on a port. The fix is, during hub 
>>attach, to not assume that interrupts are off when we access the hub in 
>>'polling' mode.
> 
> 
> Great, thanks for tracking it down! It sounds very similar to a
> problem people were having before with FAST_IPSEC where interrupts
> were being enabled and confusing the USB code. You have a "uhci"
> rather than an "ohci" controller I assume? If so, coould you try
> the following patch instead? Unfortunately I don't have anything
> to test this on, but it in theory it should work around this class
> of problems by backporting from -CURRENT some logic for avoiding
> interrupts in polling mode.

My A7N8X-Deluxe has an ohci, not a uhci. I haven't tried either patch 
yet, but I will in a minute.



More information about the freebsd-stable mailing list