Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Feb 2009 13:53:36 -0800
From:      Marcel Moolenaar <xcllnt@mac.com>
To:        usb@freebsd.org
Subject:   USB2+umass: root mount fails
Message-ID:  <ACB7DFF1-6C8E-4936-9BD9-BB2FD375F3BB@mac.com>

next in thread | raw e-mail | index | archive | help
Context: MACHINE=arm, CPU=Marvell

It appears that the root mount isn't serialized with USB discovery
in the same way it was under USB1. When the root mount is forcibly
delayed, everything is fine though:

\begin{log}
	...
FreeBSD 8.0-CURRENT #9: Mon Feb 16 21:35:51 UTC 2009
     marcel@orion.xcllnt.net:/usr/obj/nfs/freebsd/base/head/sys/ORION
	...
SOC: Marvell 88F5281 rev D0, TClock 166MHz
mbus0: <Marvell Internal Bus (Mbus)> on motherboard
	...
ehci0: <Marvell Integrated USB 2.0 controller> at mem  
0xf1050000-0xf1050fff irq 16,17 on mbus0
ehci0: [FILTER]
ehci0: [ITHREAD]
usbus0: EHCI version 1.0
usbus0: <Marvell Integrated USB 2.0 controller> on ehci0
	...
usbus0: 480Mbps High Speed USB v2.0
	...
*** BEGIN: forced root mount delay of 10s ***
	...
ugen0.1: <Marvell> at usbus0
ushub0: <Marvell EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on  
usbus0
ushub0: 1 port with 1 removable, self powered
ugen0.2: <Standard Microsystems> at usbus0
ushub1: <Standard Microsystems product 0x2507, class 9/0, rev  
2.00/0.00, addr 2> on usbus0
ushub1: 7 ports with 7 removable, self powered
ugen0.3: <LaCie> at usbus0
umass0: <LaCie LaCie Mini Hub USB, class 0/0, rev 2.00/0.01, addr 3>  
on usbus0
umass0:  SCSI over Bulk-Only; quirks = 0x0000
umass0:0:0:-1: Attached to scbus0
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <SEAGATE ST3500830A 3.AA> Fixed Direct Access SCSI-2 device
da0: 40.000MB/s transfers
da0: 476940MB (976773168 512 byte sectors: 255H 63S/T 60801C)
	...
*** END: forced root mount delay of 10s ***
	...
Trying to mount root from ufs:/dev/da0p1
No suitable dump device was found.
Entropy harvesting: interrupts ethernet point_to_point kickstart.
/dev/da0p1: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/da0p1: clean, 17803769 free (6465 frags, 2224663 blocks, 0.0%  
fragmentation)
	...
\end{log}

Before I dig into the code, what's the current status of
root mounts on USB mass storage devices?

-- 
Marcel Moolenaar
xcllnt@mac.com






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ACB7DFF1-6C8E-4936-9BD9-BB2FD375F3BB>