Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Mar 2005 12:31:08 +0100
From:      Bernd Walter <ticso@cicely12.cicely.de>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        iedowse@FreeBSD.org
Subject:   Re: cvs commit: src/sys/dev/usb usb.c
Message-ID:  <20050326113107.GD2324@cicely12.cicely.de>
In-Reply-To: <20050325.174202.25952471.imp@bsdimp.com>
References:  <200503171941.j2HJfKje003685@repoman.freebsd.org> <424473BB.4010607@portaone.com> <20050325.174202.25952471.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Mar 25, 2005 at 05:42:02PM -0700, M. Warner Losh wrote:
> In message: <424473BB.4010607@portaone.com>
>             Maxim Sobolev <sobomax@portaone.com> 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.
> 
> /me notes that usb subsystem will know when it is done enumerating
> devices.  cardbus has a similar issue...

It doesn't seem to work:
Trying to mount root from ufs:/dev/ad0a
umass1: Generic USB Storage Device, rev 1.10/1.00, addr 6
umass1: SCSI over Bulk-Only; quirks = 0x0000
umass1:2:1:-1: Attached to scbus2
da4 at umass-sim1 bus 1 target 0 lun 0
da4: <IC USB Storage-CFC 301b> Removable Direct Access SCSI-0 device 
da4: 1.000MB/s transfers
da4: Attempt to query device size failed: NOT READY, Medium not present

And this is not just CAM that is too late - it is the whole umass
instance that gets attached after root mount.

-- 
B.Walter                   BWCT                http://www.bwct.de
bernd@bwct.de                                  info@bwct.de



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