cvs commit: src/sys/dev/usb usb.c

Maxim Sobolev sobomax at portaone.com
Sat Mar 26 02:30:09 PST 2005


Ian Dowse wrote:
> In message <424473BB.4010607 at portaone.com>, Maxim Sobolev writes:
> 
>>This is still suboptimal, since even after this change when ehci is 
>>enabled some (if not most) USB devices are detected after system goes 
>>into milti-user mode. Obviously, this makes it impossible to mount root 
>>fs off the USB HDD/FDD/CD. The simplest way to solve this problem is to 
>>add some sufficiently long and configurable delay before mounting root 
>>fs (similar to one used by the SCSI) when ehci is enabled to let those 
>>devices to be detected and attached.
> 
> 
> Could you send me an example dmesg that shows this? As far as I
> know, doing the explore when cold == 1 should attach all USB devices
> before even interrupts are enabled.
> 
> This should be the case with PCI USB host controllers that are
> compiled into the kernel or pre-loaded by the loader - if you load
> the module later and I think also with cardbus USB controllers,
> then the USB host controller won't get attached with cold == 1 so
> none of the early exploration code runs.

I don't use any modules - usb controllers and specific drivers are 
compiled statically into the kernel. You can find dmesg here:

http://www.portaone.com/~sobomax/dmesg

-Maxim


More information about the cvs-all mailing list