Date: Mon, 22 Jul 2013 22:52:30 +0200 From: "Frank J. Beckmann" <infjb@yahoo.de> To: freebsd-usb@freebsd.org Subject: usb_alloc_device: device init 2 failed on Gigabyte Z87X-UD5H with FreeBSD 9-STABLE Message-ID: <51ED9B8E.4000602@yahoo.de>
index | next in thread | raw e-mail
Hi, on board USB is not working on my new Gigabyte Z87X-UD5H with 9-STABLE. With 9.1-RELEASE USB is working with USB 2 devices, but the error occurs with USB 3 devices. I also tried the patch from http://svnweb.freebsd.org/base/head/sys/dev/usb/controller/xhci.c?view=patch&r1=253532&r2=253531&pathrev=253532 but it did not cure the error. I'm using an USB card with a NEC chip for (xhci1) now. ACPI Warning: FADT (revision 5) is longer than ACPI 2.0 version, truncating length 268 to 244 (20110527/tbfadt-320) ... xhci0: <Intel Lynx Point USB 3.0 controller> mem 0xf0b20000-0xf0b2ffff irq 16 at device 20.0 on pci0 usbus0: waiting for BIOS to give up control xhci0: 32 byte context size. usbus0 on xhci0 ... xhci1: <NEC uPD720200 USB 3.0 controller> mem 0xf0900000-0xf0901fff irq 16 at device 0.0 on pci2 xhci1: 32 byte context size. usbus1 on xhci1 ... usbus0: 5.0Gbps Super Speed USB v3.0 usbus1: 5.0Gbps Super Speed USB v3.0 ugen0.1: <0x8086> at usbus0 uhub0: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0 ugen1.1: <0x1033> at usbus1 uhub1: <0x1033 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus1 ... uhub1: 4 ports with 4 removable, self powered ... Root mount waiting for: usbus1 usbus0 uhub0: 21 ports with 21 removable, self powered Root mount waiting for: usbus1 usbus0 usb_alloc_device: device init 2 failed (USB_ERR_IOERROR, ignored) ugen0.2: <Unknown> at usbus0 (disconnected) uhub_reattach_port: could not allocate new device ugen1.2: <Western Digital> at usbus1 umass0: <MSC Bulk-Only Transport> on usbus1 umass0: SCSI over Bulk-Only; quirks = 0x0000 umass0:12:0:-1: Attached to scbus12 da0 at umass-sim0 bus 0 scbus12 target 0 lun 0 da0: <WD My Book 1140 1012> Fixed Direct Access SCSI-6 device da0: 40.000MB/s transfers da0: 2861556MB (732558336 4096 byte sectors: 255H 63S/T 45599C) da0: quirks=0x2<NO_6_BYTE> ses0 at umass-sim0 bus 0 scbus12 target 0 lun 1 ses0: <WD SES Device 1012> Fixed Enclosure Services SCSI-6 device ses0: 40.000MB/s transfers ses0: SCSI-3 ENC Device usb_alloc_device: device init 2 failed (USB_ERR_IOERROR, ignored) ugen0.2: <Unknown> at usbus0 (disconnected) uhub_reattach_port: could not allocate new device ugen1.3: <SONiX> at usbus1 ukbd0: <SONiX USB Keyboard, class 0/0, rev 2.00/1.05, addr 2> on usbus1 kbd2 at ukbd0 uhid0: <SONiX USB Keyboard, class 0/0, rev 2.00/1.05, addr 2> on usbus1 Root mount waiting for: usbus0 usb_alloc_device: device init 2 failed (USB_ERR_IOERROR, ignored) ugen0.2: <Unknown> at usbus0 (disconnected) uhub_reattach_port: could not allocate new device usb_alloc_device: device init 2 failed (USB_ERR_IOERROR, ignored) ugen0.2: <Unknown> at usbus0 (disconnected) uhub_reattach_port: could not allocate new device The WD My Book is only working in USB 2 mode, even on the NEC controller. # usbconfig list ugen0.1: <XHCI root HUB 0x8086> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA) ugen1.1: <XHCI root HUB 0x1033> at usbus1, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA) ugen1.2: <My Book 1140 Western Digital> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (8mA) # usbconfig dump_device_desc ugen0.1: <XHCI root HUB 0x8086> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0300 bDeviceClass = 0x0009 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0003 bMaxPacketSize0 = 0x0009 idVendor = 0x0000 idProduct = 0x0000 bcdDevice = 0x0100 iManufacturer = 0x0001 <0x8086> iProduct = 0x0002 <XHCI root HUB> iSerialNumber = 0x0000 <no string> bNumConfigurations = 0x0001 ugen1.1: <XHCI root HUB 0x1033> at usbus1, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0300 bDeviceClass = 0x0009 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0003 bMaxPacketSize0 = 0x0009 idVendor = 0x0000 idProduct = 0x0000 bcdDevice = 0x0100 iManufacturer = 0x0001 <0x1033> iProduct = 0x0002 <XHCI root HUB> iSerialNumber = 0x0000 <no string> bNumConfigurations = 0x0001 ugen1.2: <My Book 1140 Western Digital> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (8mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0210 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0040 idVendor = 0x1058 idProduct = 0x1140 bcdDevice = 0x1012 iManufacturer = 0x0001 <Western Digital> iProduct = 0x0002 <My Book 1140> iSerialNumber = 0x0005 <574D41575A30313239353434> bNumConfigurations = 0x0001 XHCI Mode is enabled in the BIOS. I can set XHCI hand-off and EHCI hand-off. Both setting do not help. What should I try next? Greetings Frankhelp
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51ED9B8E.4000602>
