From owner-freebsd-usb@FreeBSD.ORG Mon Jul 22 20:52:38 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 7A206453 for ; Mon, 22 Jul 2013 20:52:38 +0000 (UTC) (envelope-from infjb@yahoo.de) Received: from nm6.bullet.mail.ird.yahoo.com (nm6.bullet.mail.ird.yahoo.com [77.238.189.63]) by mx1.freebsd.org (Postfix) with SMTP id 9EF0A2420 for ; Mon, 22 Jul 2013 20:52:37 +0000 (UTC) Received: from [77.238.189.233] by nm6.bullet.mail.ird.yahoo.com with NNFMP; 22 Jul 2013 20:52:30 -0000 Received: from [46.228.39.82] by tm14.bullet.mail.ird.yahoo.com with NNFMP; 22 Jul 2013 20:52:30 -0000 Received: from [127.0.0.1] by smtp119.mail.ir2.yahoo.com with NNFMP; 22 Jul 2013 20:52:30 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.de; s=s1024; t=1374526350; bh=M0agynEbFQ7o0ZY5Qv5hKX1cF1LTWfmFaPqSO+alnII=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:Content-Type:Content-Transfer-Encoding:X-Antivirus:X-Antivirus-Status; b=RVI2ZQ2EorSBa57L+lS8BVJ45xphx6+lLDqiC3EsrA4d3orRY2VPNBtscb5tKlj/kmQV+bed/whp9I/Osq7kE8Ugx5RwjKDXh18fqXge+y+vBKE5Y+jBuUZF74jrLp2BDce2oFnjaiZtLoRD3fhipkGSiEgavRcORXyHrye2hQs= X-Yahoo-Newman-Id: 484454.11286.bm@smtp119.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: BrzDYM8VM1mQA9H5JwxDvlJ0QDhOkQsjLakUkZUg6ycMtw6 X5vjCVClQbdmg9SFg4zA1NihBFJCA2GyjDUISOyftQbmDobGKa6eenAHPSzG cKAZ0lDFfYIPD6HG9JSoHsfRrlTHET_3meiN8_5mfsrvHk5t_3vVG4AYue4l QTjeGa1o4jntVVKr3XzB.hEe3ecmMGOCGoplT9KBGoN0Nf8vvsZfIxRW6wFe vwM4NF5GsHWs_leJVaw3E1Tfuy..bmICRYUH_c2gPIvVBlez5kHID8GJtuSt Q0UnGsvhz9CxgvGGvP8sOqJkxuK7993kzrp9eb3AxVqrHTV_TfkASHk_uIe8 g4Ub_pLU_mB1RqFwKEwPOT5hswHrpmYdwFBJ_kuwMMxp5Vt0gZhux9uJcyRS PEa76Liz8YFLJdnsTmA1Jo3QopThzjXIILXdgrzhKXSDRVpCcmFZLCOp9pUZ nvf0nwpLD7__8kakEy5DU.e9T0hBuTDrBq5xEi0ajygwRRrpaaxVYHNr3EDM kbyVPdmeIP5eI.4S1ETERS.3LYW6SL_l8Xpa1XBvkDlf0xbBc3PlSXV7UAQK FlkX1hxKI86OEkVNo8bL3anAg1cEgwhjCHQsfw5kcqaSQgEhq5eg5W3VU4u. Hbo1WG_alnI6xA0mEBNDimlvy0COtgy246DuEUJCNGbqqg7yo2bet_gMW X-Yahoo-SMTP: EWJZxzOswBCymwALgXydpugJ X-Rocket-Received: from [127.0.0.1] (infjb@62.227.229.87 with ) by smtp119.mail.ir2.yahoo.com with SMTP; 22 Jul 2013 20:52:30 +0000 UTC Message-ID: <51ED9B8E.4000602@yahoo.de> Date: Mon, 22 Jul 2013 22:52:30 +0200 From: "Frank J. Beckmann" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: freebsd-usb@freebsd.org Subject: usb_alloc_device: device init 2 failed on Gigabyte Z87X-UD5H with FreeBSD 9-STABLE Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 130722-1, 22.07.2013), Outbound message X-Antivirus-Status: Clean X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jul 2013 20:52:38 -0000 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: 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: 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: at usbus0 (disconnected) uhub_reattach_port: could not allocate new device ugen1.2: at usbus1 umass0: 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: Fixed Direct Access SCSI-6 device da0: 40.000MB/s transfers da0: 2861556MB (732558336 4096 byte sectors: 255H 63S/T 45599C) da0: quirks=0x2 ses0 at umass-sim0 bus 0 scbus12 target 0 lun 1 ses0: 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: at usbus0 (disconnected) uhub_reattach_port: could not allocate new device ugen1.3: at usbus1 ukbd0: on usbus1 kbd2 at ukbd0 uhid0: on usbus1 Root mount waiting for: usbus0 usb_alloc_device: device init 2 failed (USB_ERR_IOERROR, ignored) ugen0.2: at usbus0 (disconnected) uhub_reattach_port: could not allocate new device usb_alloc_device: device init 2 failed (USB_ERR_IOERROR, ignored) ugen0.2: 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: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA) ugen1.1: at usbus1, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA) ugen1.2: at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (8mA) # usbconfig dump_device_desc ugen0.1: 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 iSerialNumber = 0x0000 bNumConfigurations = 0x0001 ugen1.1: 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 iSerialNumber = 0x0000 bNumConfigurations = 0x0001 ugen1.2: 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 iProduct = 0x0002 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 Frank