Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Mar 2005 22:25:31 +0200
From:      Maxim Sobolev <sobomax@portaone.com>
To:        Ian Dowse <iedowse@FreeBSD.ORG>
Cc:        cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/sys/dev/usb usb.c
Message-ID:  <424473BB.4010607@portaone.com>
In-Reply-To: <200503171941.j2HJfKje003685@repoman.freebsd.org>
References:  <200503171941.j2HJfKje003685@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

-Maxim

Ian Dowse wrote:
> iedowse     2005-03-17 19:41:20 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/dev/usb          usb.c 
>   Log:
>   Defer boot-time exploration of USB busses until all devices in the
>   system have been attached, but no later. This ensures that we do
>   not explore ohci or uhci busses before the companion echi controller
>   has been initialised, so it should fix the problem of multi-speed
>   USB devices getting attached as USB 1 devices first and then
>   re-attached as USB 2.
>   
>   Some further changes are needed on architectures that do not currently
>   allow hooks to be inserted before configure_final() - alpha, ia64,
>   powerpc and sparc64. On these architectures the exploration will
>   now be delayed until the usb kthread runs.
>   
>   Revision  Changes    Path
>   1.104     +30 -1     src/sys/dev/usb/usb.c
> 
> 
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?424473BB.4010607>