Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 05 Nov 2011 16:51:46 +0100
From:      Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no>
To:        freebsd-usb@FreeBSD.org
Subject:   root mount from usb-connected hard drive fails after upgrade to FreeBSD 8.2-stable
Message-ID:  <20111105165146.d0f8cde1.torfinn.ingolfsen@broadpark.no>

next in thread | raw e-mail | index | archive | help
Hi,

While testing FreeBSD on a new machine[1] with the Asus E35M1-I motherboard, I put a sata hard drive into an external "docking station"[2]
which connects via usb to the machine, and installed FreeBSD 8.2-release / amd64 on the hard drive. This worked fine, with just an occasional problem:
sometimes automatic root mount would fail, amd I would have to manually input "ufs:/dev/da0s1a" and then it would mount root and continue to boot.

Then I upgraded FreeBSD on that partition to 8.2-stable, and now the machine won't mount root from that device at all. I had to load the old kernel and boot from that.
Here is usbconfig output for the usb docking station:
root@kg-f3# usbconfig -u 3 -a 2 dump_device_desc
ugen3.2: <External Generic> at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON

  bLength = 0x0012
  bDescriptorType = 0x0001
  bcdUSB = 0x0200
  bDeviceClass = 0x0000
  bDeviceSubClass = 0x0000
  bDeviceProtocol = 0x0000
  bMaxPacketSize0 = 0x0040
  idVendor = 0x13fd
  idProduct = 0x1240
  bcdDevice = 0x0104
  iManufacturer = 0x0001  <Generic >
  iProduct = 0x0002  <External        >
  iSerialNumber = 0x0003  <HP2200BBG9H54A          >
  bNumConfigurations = 0x0001 

and config:
root@kg-f3# usbconfig -u 3 -a 2 dump_curr_config_desc
ugen3.2: <External Generic> at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON


 Configuration index 0

    bLength = 0x0009
    bDescriptorType = 0x0002
    wTotalLength = 0x0020
    bNumInterfaces = 0x0001
    bConfigurationValue = 0x0001
    iConfiguration = 0x0000  <no string>
    bmAttributes = 0x00c0
    bMaxPower = 0x0001

    Interface 0
      bLength = 0x0009
      bDescriptorType = 0x0004
      bInterfaceNumber = 0x0000
      bAlternateSetting = 0x0000
      bNumEndpoints = 0x0002
      bInterfaceClass = 0x0008
      bInterfaceSubClass = 0x0006
      bInterfaceProtocol = 0x0050
      iInterface = 0x0000  <no string>

     Endpoint 0
        bLength = 0x0007
        bDescriptorType = 0x0005
        bEndpointAddress = 0x0081  <IN>
        bmAttributes = 0x0002  <BULK>
        wMaxPacketSize = 0x0200
        bInterval = 0x0000
        bRefresh = 0x0000
        bSynchAddress = 0x0000

     Endpoint 1
        bLength = 0x0007
        bDescriptorType = 0x0005
        bEndpointAddress = 0x0002  <OUT>
        bmAttributes = 0x0002  <BULK>
        wMaxPacketSize = 0x0200
        bInterval = 0x0000
        bRefresh = 0x0000
        bSynchAddress = 0x0000 

Any hints on what the problem might be?
Details, such as dmesg output (normal and verbose) on the FreeBSD page for the machine[3].
References:
1) http://sites.google.com/site/tingox/asus_e35m1-i
2) http://www.deltaco.se/products/items/itemid/(SI-7908US)/index.aspx
3) http://sites.google.com/site/tingox/asus_e35m1-i_freebsd
-- 
Torfinn




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111105165146.d0f8cde1.torfinn.ingolfsen>