USB Mass Storage stopped working, help requested

Jim Stapleton stapleton.41 at gmail.com
Sun Oct 15 03:53:54 PDT 2006


On 10/15/06, Erik Norgaard <norgaard at locolomo.org> wrote:
> Jim Stapleton wrote:
>
> > It used to work on this machine, the kernel/world has not been
> > recompiled/reinstalled since then. However, A USB drive that used to
> > work (and still works in windows) no longer works in FreeBSD. When I
> > plug in the drive, the /dev/da* devices do not show up. The system is
> > running 6.1.
>
> When you plug in the USB drive, lines should be appended to the dmesg of
> the kernel identifying the device - or any errors. Please post that.
>
> > The handbook says I need these:
> > device scbus
> > device da
> > device pass
> > device uhci
> > device ohci
> > device usb
> > device umass
>
> You may need ehci if this is USB 2.0, but I think it would otherwise
> fall back on either ohci or uhci.
>
> > Scanning dmesg for usb, I get:
> > sjss at aragorn 17:32:22 (0) /usr/src > dmesg | grep usb
> > usb0: <UHCI (generic) USB controller> on uhci0
> > usb0: USB revision 1.0
> > usb1: <UHCI (generic) USB controller> on uhci1
> > usb1: USB revision 1.0
> > usb2: <UHCI (generic) USB controller> on uhci2
> > usb2: USB revision 1.0
> > usb3: <UHCI (generic) USB controller> on uhci3
> > usb3: USB revision 1.0
> > usb4: EHCI version 1.0
> > usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3
> > usb4: <Intel 82801GB/R (ICH7) USB 2.0 controller> on ehci0
> > usb4: USB revision 2.0
>
> See comment above on dmesg. You don't get all the relevant info by
> grepping for usb.
>
> > The results from usbdevs:
> > sjss at aragorn 17:34:11 (0) /usr/src > sudo usbdevs
> > addr 1: UHCI root hub, Intel
> > addr 1: UHCI root hub, Intel
> > addr 1: UHCI root hub, Intel
> >  addr 2: USB-PS/2 Optical Mouse, Logitech
> > addr 1: UHCI root hub, Intel
> > addr 1: EHCI root hub, Intel
> >  addr 2: iAUDIO X5, Cowon Systems, Inc.
>
> Is that with the device plugged in? If so, seems logical that there is
> no device in /dev because it is not found.
>
> Cheers, Erik
>
> --
> Ph: +34.666334818                      web: http://www.locolomo.org
> X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt
> Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9
>

OK, here's the full dmesg. It's the IAUDIO X5 devices (I just use it
as a portable hard drive a lot, which is why I called it that). After
unplugging/plugging it in several times, I noticed my dmesg doesn't
change:

Copyright (c) 1992-2006 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 6.1-STABLE #1: Mon Jul 24 16:10:27 EDT 2006
    root@:/usr/obj/usr/src/sys/JIMKERN
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Genuine Intel(R) CPU           T1300  @ 1.66GHz (1662.52-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6e8  Stepping = 8
  Features=0xafe9fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE>
  Features2=0xc1a9<SSE3,MON,VMX,EST,TM2,<b14>,<b15>>
real memory  = 526843904 (502 MB)
avail memory = 506183680 (482 MB)
ACPI APIC Table: <INTEL  CALISTGA>
ioapic0 <Version 2.0> irqs 0-23 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0: <TOSINV Capell00> on motherboard
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi0: Power Button (fixed)
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
    ACPI-0356: *** Error: Region EmbeddedControl(3) has no handler
    ACPI-1304: *** Error: Method execution failed
[\\_SB_.PCI0.PCIB.DOCK._STA] (Node 0xc3241360), AE_NOT_EXIST
    ACPI-0239: *** Error: Method execution failed
[\\_SB_.PCI0.PCIB.DOCK._STA] (Node 0xc3241360), AE_NOT_EXIST
    ACPI-0356: *** Error: Region EmbeddedControl(3) has no handler
    ACPI-1304: *** Error: Method execution failed
[\\_SB_.PCI0.PCIB.DOCK._STA] (Node 0xc3241360), AE_NOT_EXIST
    ACPI-0239: *** Error: Method execution failed
[\\_SB_.PCI0.PCIB.DOCK._STA] (Node 0xc3241360), AE_NOT_EXIST
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
acpi_ec0: <Embedded Controller: GPE 0x16> port 0x62,0x66 on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_perf0: <ACPI CPU Frequency Control> on cpu0
acpi_perf0: failed in PERF_STATUS attach
device_attach: acpi_perf0 attach returned 6
acpi_perf0: <ACPI CPU Frequency Control> on cpu0
acpi_perf0: failed in PERF_STATUS attach
device_attach: acpi_perf0 attach returned 6
acpi_throttle0: <ACPI CPU Throttling> on cpu0
acpi_lid0: <Control Method Lid Switch> on acpi0
battery0: <ACPI Control Method Battery> on acpi0
acpi_acad0: <AC Adapter> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
acpi_video0: <ACPI video extension> port 0x1800-0x1807 mem
0xdc100000-0xdc17ffff,0xc0000000-0xcfffffff,0xdc200000-0xdc23ffff irq
16 at device 2.0 on pci0
pci0: <display> at device 2.1 (no driver attached)
pci0: <multimedia> at device 27.0 (no driver attached)
pcib1: <ACPI PCI-PCI bridge> irq 17 at device 28.0 on pci0
pci2: <ACPI PCI bus> on pcib1
pcib2: <ACPI PCI-PCI bridge> irq 16 at device 28.1 on pci0
pci3: <ACPI PCI bus> on pcib2
pcib3: <ACPI PCI-PCI bridge> irq 18 at device 28.2 on pci0
pci5: <ACPI PCI bus> on pcib3
pci5: <network> at device 0.0 (no driver attached)
uhci0: <UHCI (generic) USB controller> port 0x1820-0x183f irq 23 at
device 29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: <UHCI (generic) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <UHCI (generic) USB controller> port 0x1840-0x185f irq 19 at
device 29.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: <UHCI (generic) USB controller> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <UHCI (generic) USB controller> port 0x1860-0x187f irq 18 at
device 29.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: <UHCI (generic) USB controller> on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3: <UHCI (generic) USB controller> port 0x1880-0x189f irq 16 at
device 29.3 on pci0
uhci3: [GIANT-LOCKED]
usb3: <UHCI (generic) USB controller> on uhci3
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0: <Intel 82801GB/R (ICH7) USB 2.0 controller> mem
0xdc444000-0xdc4443ff irq 23 at device 29.7 on pci0
ehci0: [GIANT-LOCKED]
usb4: EHCI version 1.0
usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3
usb4: <Intel 82801GB/R (ICH7) USB 2.0 controller> on ehci0
usb4: USB revision 2.0
uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
umass0: Cowon Systems, Inc. iAUDIO X5, rev 2.00/1.00, addr 2
pcib4: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci7: <ACPI PCI bus> on pcib4
cbb0: <PCI-CardBus Bridge> at device 6.0 on pci7
cbb0: Found memory at dc007000
cbb0: Secondary bus is 0
cbb0: Setting primary bus to 7
cbb0: Secondary bus set to 8 subbus 9
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
fwohci0: <1394 Open Host Controller Interface> mem
0xdc006000-0xdc0067ff,0xdc000000-0xdc003fff irq 17 at device 6.1 on
pci7
fwohci0: OHCI version 1.10 (ROM=0)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:08:0d:a0:d1:44:35:57
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwohci0: Initiate bus reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
pci7: <mass storage> at device 6.2 (no driver attached)
pci7: <base peripheral> at device 6.3 (no driver attached)
fxp0: <Intel Pro/100 VE Network Connection> port 0x4000-0x403f mem
0xdc005000-0xdc005fff irq 20 at device 8.0 on pci7
miibus0: <MII bus> on fxp0
inphy0: <i82562ET 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:a0:d1:44:35:57
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <GENERIC ATA controller> port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x18b0-0x18bf at device 31.2 on
pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
acpi_tz0: <Thermal Zone> on acpi0
acpi_tz1: <Thermal Zone> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Generic PS/2 mouse, device ID 0
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem
0xce800-0xcffff,0xdc000-0xdffff,0xe0000-0xe17ff on isa0
ppc0: parallel port not found.
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250 or not responding
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/22.00, addr 2, iclass 3/1
ums0: 8 buttons and Z dir.
Timecounter "TSC" frequency 1662515930 Hz quality 800
Timecounters tick every 1.000 msec
Status is 0x30000006
ad0: 57231MB <FUJITSU MHV2060BH 00000028> at ata0-master UDMA33
acd0: DVDR <MATSHITADVD-RAM UJ-841S/1.50> at ata1-master UDMA33
umass0: at uhub4 port 5 (addr 2) disconnected
Trying to mount root from ufs:/dev/ad0s1a
umass0: detached
umass0: Cowon Systems, Inc. iAUDIO X5, rev 2.00/1.00, addr 2
umass0: BBB reset failed, TIMEOUT
umass0: BBB reset failed, TIMEOUT
module_register: module uhub/umass already exists!
Module uhub/umass failed to register: 17
umass0: BBB reset failed, TIMEOUT
umass0: BBB reset failed, TIMEOUT
umass0: BBB reset failed, TIMEOUT
umass0: at uhub4 port 5 (addr 2) disconnected
umass0: detached
usb4: port reset timeout
uhub4: port 5 reset failed

TGhanks,
-Jim Stapleton


More information about the freebsd-questions mailing list