Bug 157376

Summary: LaCie USB disk not recognized
Product: Base System Reporter: John Levine <hostmaster>
Component: usbAssignee: freebsd-usb (Nobody) <usb>
Status: Closed FIXED    
Severity: Affects Only Me CC: miwi
Priority: Normal    
Version: 8.2-RELEASE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
smime.p7s none

Description John Levine 2011-05-28 02:20:08 UTC
This is an ordinary USB disk. I'm pretty sure it worked on 7.2. When I plug it in, I see this.

ugen3.6: <Unknown> at usbus3 (disconnected)
uhub_reattach_port: could not allocate new device

The disk is fine. Here's what a Linux box sees:

T:  Bus=01 Lev=02 Prnt=02 Port=03 Cnt=03 Dev#=  7 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=059f ProdID=0351 Rev=00.00
S:  Manufacturer=LaCie
S:  Product=LaCie Hard Drive USB
S:  SerialNumber=10000E0003AAADFC
C:  #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=2mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage

Did it perhaps fall out of some device table?

How-To-Repeat: Plug in the disk.
Comment 1 John Levine 2011-05-28 04:17:42 UTC
In case it matters, here's what the kernel says about the USB when it
starts up. It's a Lenovo X200 laptop, the USB are all built into the
laptop or the base unit.

uhci0: <Intel 82801I (ICH9) USB controller> port 0x1860-0x187f irq 20 at
device 26.0 on pci0
uhci0: [ITHREAD]
usbus0: <Intel 82801I (ICH9) USB controller> on uhci0
uhci1: <Intel 82801I (ICH9) USB controller> port 0x1880-0x189f irq 21 at
device 26.1 on pci0
uhci1: [ITHREAD]
usbus1: <Intel 82801I (ICH9) USB controller> on uhci1
uhci2: <Intel 82801I (ICH9) USB controller> port 0x18a0-0x18bf irq 22 at
device 26.2 on pci0
uhci2: [ITHREAD]
usbus2: <Intel 82801I (ICH9) USB controller> on uhci2
ehci0: <Intel 82801I (ICH9) USB 2.0 controller> mem
0xf2826c00-0xf2826fff irq 23 at device 26.7 on pci0
ehci0: [ITHREAD]
usbus3: EHCI version 1.0
usbus3: <Intel 82801I (ICH9) USB 2.0 controller> on ehci0

uhci3: <Intel 82801I (ICH9) USB controller> port 0x18c0-0x18df irq 16 at
device 29.0 on pci0
uhci3: [ITHREAD]
usbus4: <Intel 82801I (ICH9) USB controller> on uhci3
uhci4: <Intel 82801I (ICH9) USB controller> port 0x18e0-0x18ff irq 17 at
device 29.1 on pci0
uhci4: [ITHREAD]
usbus5: <Intel 82801I (ICH9) USB controller> on uhci4
uhci5: <Intel 82801I (ICH9) USB controller> port 0x1c00-0x1c1f irq 18 at
device 29.2 on pci0
uhci5: [ITHREAD]
usbus6: <Intel 82801I (ICH9) USB controller> on uhci5
ehci1: <Intel 82801I (ICH9) USB 2.0 controller> mem
0xf2827000-0xf28273ff irq 19 at device 29.7 on pci0
ehci1: [ITHREAD]
usbus7: EHCI version 1.0
usbus7: <Intel 82801I (ICH9) USB 2.0 controller> on ehci1

ugen0.1: <Intel> at usbus0
uhub0: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen1.1: <Intel> at usbus1
uhub1: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
ugen2.1: <Intel> at usbus2
uhub2: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
ugen3.1: <Intel> at usbus3
uhub3: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus3
ugen4.1: <Intel> at usbus4
uhub4: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus4
ugen5.1: <Intel> at usbus5
uhub5: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus5
ugen6.1: <Intel> at usbus6
uhub6: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus6
ugen7.1: <Intel> at usbus7
uhub7: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus7
Comment 2 Hans Petter Selasky 2011-05-28 08:19:30 UTC
On Saturday 28 May 2011 03:13:32 John Levine wrote:
> >Number:         157376
> >Category:       usb
> >Synopsis:       LaCie USB disk not recognized
> >Confidential:   no
> >Severity:       non-critical
> >Priority:       low
> >Responsible:    freebsd-usb
> >State:          open
> >Quarter:
> >Keywords:
> >Date-Required:
> >Class:          sw-bug
> >Submitter-Id:   current-users
> >Arrival-Date:   Sat May 28 01:20:08 UTC 2011
> >Closed-Date:
> >Last-Modified:
> >Originator:     John Levine
> >Release:        8.2-RELEASE
> 
> >Organization:
> I.E.C.C.
> 
> >Environment:
> FreeBSD joyce.lan 8.2-RELEASE FreeBSD 8.2-RELEASE #2: Tue Apr 19 19:25:59
> EDT 2011     johnl@joyce.lan:/usr/obj/usr/src/sys/JOYCE  amd64
> 
> >Description:
> This is an ordinary USB disk. I'm pretty sure it worked on 7.2. When I plug
> it in, I see this.
> 
> ugen3.6: <Unknown> at usbus3 (disconnected)
> uhub_reattach_port: could not allocate new device

Can you send a bit more of the dmesg?

Can you tell me if your device is connected directly through the HC on the 
mainboard or through an external/internal HUB?

--HPS
Comment 3 John Levine 2011-05-28 15:26:03 UTC
>> This is an ordinary USB disk. I'm pretty sure it worked on 7.2. When I plug
>> it in, I see this.
>>
>> ugen3.6: <Unknown> at usbus3 (disconnected)
>> uhub_reattach_port: could not allocate new device
>
> Can you send a bit more of the dmesg?

Those two lines are all it says.  It says nothing when I unplug the disk.

> Can you tell me if your device is connected directly through the HC on the
> mainboard or through an external/internal HUB?

It's a laptop, plugged directly into a connector on the side of the 
computer.

Regards,
John Levine, hostmaster@iecc.com
(and hostmaster of about 100 other domains)
Comment 4 Hans Petter Selasky 2011-05-28 15:35:57 UTC
On Saturday 28 May 2011 16:26:03 Hostmaster wrote:
> >> This is an ordinary USB disk. I'm pretty sure it worked on 7.2. When I
> >> plug it in, I see this.
> >> 
> >> ugen3.6: <Unknown> at usbus3 (disconnected)
> >> uhub_reattach_port: could not allocate new device
> > 
> > Can you send a bit more of the dmesg?
> 
> Those two lines are all it says.  It says nothing when I unplug the disk.
> 
> > Can you tell me if your device is connected directly through the HC on
> > the mainboard or through an external/internal HUB?
> 
> It's a laptop, plugged directly into a connector on the side of the
> computer.
> 
> Regards,
> John Levine, hostmaster@iecc.com
> (and hostmaster of about 100 other domains)

Can you compile a kernel with "options USB_DEBUG" and try again?

--HPS