From owner-freebsd-usb@FreeBSD.ORG Mon Sep 14 03:20:03 2009 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F1C4106566B for ; Mon, 14 Sep 2009 03:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 108A38FC15 for ; Mon, 14 Sep 2009 03:20:03 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n8E3K2hD063553 for ; Mon, 14 Sep 2009 03:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n8E3K24c063552; Mon, 14 Sep 2009 03:20:02 GMT (envelope-from gnats) Resent-Date: Mon, 14 Sep 2009 03:20:02 GMT Resent-Message-Id: <200909140320.n8E3K24c063552@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-usb@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, James Butler Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 666A11065670 for ; Mon, 14 Sep 2009 03:11:40 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 550F88FC12 for ; Mon, 14 Sep 2009 03:11:40 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n8E3BePm078460 for ; Mon, 14 Sep 2009 03:11:40 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n8E3Bd4Y078459; Mon, 14 Sep 2009 03:11:40 GMT (envelope-from nobody) Message-Id: <200909140311.n8E3Bd4Y078459@www.freebsd.org> Date: Mon, 14 Sep 2009 03:11:40 GMT From: James Butler To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: usb/138798: 8.0-BETA4 can't boot from USB flash drive 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, 14 Sep 2009 03:20:03 -0000 >Number: 138798 >Category: usb >Synopsis: 8.0-BETA4 can't boot from USB flash drive >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Sep 14 03:20:02 UTC 2009 >Closed-Date: >Last-Modified: >Originator: James Butler >Release: 8.0-BETA4 (amd64) >Organization: >Environment: n/a (can't boot) >Description: On FreeBSD 8 with certain USB flash drives and/or USB controllers, when booting from a USB drive the device does not become available until after the system has tried (and failed) to mount / from it. After this has occurred, the user is prompted to manually enter the device name at the mountroot> prompt; for me, even this doesn't work, and the device is not listed in the output from the ? command. This machine boots 7.2 without problems from the same device. Trying an 8-STABLE kernel from 5 September (identifies as 8.0-BETA4), here is the last bit of the kernel messages (typed): root mount waiting for: usbus2 usbus1 usbus0 uhub0: 2 ports with 2 removable, self powered uhub1: 2 ports with 2 removable, self powered root mount waiting for: usbus2 uhub2: 2 ports with 2 removable, self powered root mount waiting for: usbus2 ugen2.2: at usbus2 umass0: on usbus2 umass0: SCSI over Bulk-Only; quirks = 0x0000 root mount waiting for: usbus2 umass0:0:0:-1: Attached to scbus0 Trying to mount root from ufs:/dev/da0s1a ROOT MOUNT ERROR: If you have invalid mount options, reboot, and da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-0 device da0: 40.000MB/s transfers da0: 3875MB (7936000 512 byte sectors: 255H 63S/T 493C) first try the following from the loader prompt: etc. This clearly shows the device being detected after mounting has failed. >How-To-Repeat: Install FreeBSD-8.0-BETA4 to a USB flash drive, and attempt to boot from it. >Fix: >Release-Note: >Audit-Trail: >Unformatted: