From owner-freebsd-usb@FreeBSD.ORG Mon Feb 16 22:53:39 2009 Return-Path: Delivered-To: usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 50D0210656C9 for ; Mon, 16 Feb 2009 22:53:39 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout015.mac.com (asmtpout015.mac.com [17.148.16.90]) by mx1.freebsd.org (Postfix) with ESMTP id 3DAA78FC0C for ; Mon, 16 Feb 2009 22:53:39 +0000 (UTC) (envelope-from xcllnt@mac.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from strelitz-t60.jnpr.net (natint3.juniper.net [66.129.224.36]) by asmtp015.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPSA id <0KF6004IEI5D9030@asmtp015.mac.com> for usb@freebsd.org; Mon, 16 Feb 2009 13:53:39 -0800 (PST) Message-id: From: Marcel Moolenaar To: usb@freebsd.org Date: Mon, 16 Feb 2009 13:53:36 -0800 X-Mailer: Apple Mail (2.930.3) Cc: Subject: USB2+umass: root mount fails X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Feb 2009 22:53:41 -0000 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: on motherboard ... ehci0: at mem 0xf1050000-0xf1050fff irq 16,17 on mbus0 ehci0: [FILTER] ehci0: [ITHREAD] usbus0: EHCI version 1.0 usbus0: on ehci0 ... usbus0: 480Mbps High Speed USB v2.0 ... *** BEGIN: forced root mount delay of 10s *** ... ugen0.1: at usbus0 ushub0: on usbus0 ushub0: 1 port with 1 removable, self powered ugen0.2: at usbus0 ushub1: on usbus0 ushub1: 7 ports with 7 removable, self powered ugen0.3: at usbus0 umass0: 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: 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