usb/188403: USB3 USB_ERR_TIMEOUT and USB_ERR_STALLED issues

2014-04-09 Thread Jason Seidel

Number: 188403
Category:   usb
Synopsis:   USB3 USB_ERR_TIMEOUT and USB_ERR_STALLED issues
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:   Wed Apr 09 15:40:00 UTC 2014
Closed-Date:
Last-Modified:
Originator: Jason Seidel
Release:Freebsd 10 release/stable and 11.0-current
Organization:
Environment:
I have tried this with all current FreeBSD 10 versions.

FreeBSD nuc 11.0-CURRENT FreeBSD 11.0-CURRENT #1 r264292: Wed Apr  9 10:14:56 
EDT 2014 jseidel@nuc:/usr/obj/usr/src/sys/GENERIC  i386

Description:
I have an intel NUC D34010WYKH, and there is an issue with the USB3 in release 
10 and 11. I was running freebsd 10 release and saw this issuebut i needed to 
upgrade to stable because release didnt contain the axge driver for a usb 
network adapter. after updating to stable, the driver was available but the usb 
errors were still there. I saw some messages about issues like this and that a 
fix was uploaded, so I went to current to see if it fixed the problem, but the 
issue was still there.

usb_alloc_device: set address 5 failed (USB_ERR_TIMEOUT, ignored)
usbd_setup_device_desc: getting device descriptor at addr 5 failed, 
USB_ERR_STALLED
Root mount waiting for: usbus1
usbd_req_re_enumerate: addr=5, set address failed! (USB_ERR_TIMEOUT, ignored)
usbd_setup_device_desc: getting device descriptor at addr 5 failed, 
USB_ERR_STALLED
Root mount waiting for: usbus1
Root mount waiting for: usbus1
usbd_req_re_enumerate: addr=5, set address failed! (USB_ERR_TIMEOUT, ignored)
usbd_setup_device_desc: getting device descriptor at addr 5 failed, 
USB_ERR_STALLED
Root mount waiting for: usbus1
usbd_req_re_enumerate: addr=5, set address failed! (USB_ERR_TIMEOUT, ignored)
usbd_setup_device_desc: getting device descriptor at addr 5 failed, 
USB_ERR_STALLED
Root mount waiting for: usbus1
Root mount waiting for: usbus1
usbd_req_re_enumerate: addr=5, set address failed! (USB_ERR_TIMEOUT, ignored)
usbd_setup_device_desc: getting device descriptor at addr 5 failed, 
USB_ERR_STALLED


$ pciconf -lv
hostb0@pci0:0:0:0:  class=0x06 card=0x20548086 chip=0x0a048086 rev=0x09 
hdr=0x00
vendor = 'Intel Corporation'
device = 'Haswell-ULT DRAM Controller'
class  = bridge
subclass   = HOST-PCI
vgapci0@pci0:0:2:0: class=0x03 card=0x20548086 chip=0x0a268086 rev=0x09 
hdr=0x00
vendor = 'Intel Corporation'
device = 'Haswell-ULT Integrated Graphics Controller'
class  = display
subclass   = VGA
hdac0@pci0:0:3:0:   class=0x040300 card=0x20548086 chip=0x0a0c8086 rev=0x09 
hdr=0x00
vendor = 'Intel Corporation'
class  = multimedia
subclass   = HDA
xhci0@pci0:0:20:0:  class=0x0c0330 card=0x20548086 chip=0x9c318086 rev=0x04 
hdr=0x00
vendor = 'Intel Corporation'
device = 'Lynx Point-LP USB xHCI HC'
class  = serial bus
subclass   = USB
none0@pci0:0:22:0:  class=0x078000 card=0x20548086 chip=0x9c3a8086 rev=0x04 
hdr=0x00
vendor = 'Intel Corporation'
device = 'Lynx Point-LP HECI'
class  = simple comms
em0@pci0:0:25:0:class=0x02 card=0x20548086 chip=0x15598086 rev=0x04 
hdr=0x00
vendor = 'Intel Corporation'
class  = network
subclass   = ethernet
hdac1@pci0:0:27:0:  class=0x040300 card=0x20548086 chip=0x9c208086 rev=0x04 
hdr=0x00
vendor = 'Intel Corporation'
device = 'Lynx Point-LP HD Audio Controller'
class  = multimedia
subclass   = HDA
pcib1@pci0:0:28:0:  class=0x060400 card=0x20548086 chip=0x9c108086 rev=0xe4 
hdr=0x01
vendor = 'Intel Corporation'
device = 'Lynx Point-LP PCI Express Root Port 1'
class  = bridge
subclass   = PCI-PCI
pcib2@pci0:0:28:3:  class=0x060400 card=0x20548086 chip=0x9c168086 rev=0xe4 
hdr=0x01
vendor = 'Intel Corporation'
device = 'Lynx Point-LP PCI Express Root Port 4'
class  = bridge
subclass   = PCI-PCI
ehci0@pci0:0:29:0:  class=0x0c0320 card=0x20548086 chip=0x9c268086 rev=0x04 
hdr=0x00
vendor = 'Intel Corporation'
device = 'Lynx Point-LP USB EHCI'
class  = serial bus
subclass   = USB
isab0@pci0:0:31:0:  class=0x060100 card=0x20548086 chip=0x9c438086 rev=0x04 
hdr=0x00
vendor = 'Intel Corporation'
device = 'Lynx Point-LP LPC Controller'
class  = bridge
subclass   = PCI-ISA
ahci0@pci0:0:31:2:  class=0x010601 card=0x20548086 chip=0x9c038086 rev=0x04 
hdr=0x00
vendor = 'Intel Corporation'
device = 'Lynx Point-LP SATA Controller 1 [AHCI mode]'
class  = mass storage
subclass   = SATA
none1@pci0:0:31:3:  class=0x0c0500 card=0x20548086 chip=0x9c228086 rev=0x04 
hdr=0x00
vendor = 'Intel Corporation'
device = 'Lynx Point-LP

Re: usb/188403: USB3 USB_ERR_TIMEOUT and USB_ERR_STALLED issues

2014-04-09 Thread Jason Seidel
The following reply was made to PR usb/188403; it has been noted by GNATS.

From: Jason Seidel jsei...@unixsystem.org
To: bug-follo...@freebsd.org
Cc:  
Subject: Re: usb/188403: USB3 USB_ERR_TIMEOUT and USB_ERR_STALLED issues
Date: Wed, 9 Apr 2014 11:06:06 -0600

 One typo, my NUC is D54250WYKH.
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: usb/188403: USB3 USB_ERR_TIMEOUT and USB_ERR_STALLED issues

2014-04-09 Thread Jason Seidel
The following reply was made to PR usb/188403; it has been noted by GNATS.

From: Jason Seidel jsei...@unixsystem.org
To: Hans Petter Selasky h...@selasky.org, freebsd-gnats-sub...@freebsd.org
Cc:  
Subject: Re: usb/188403: USB3 USB_ERR_TIMEOUT and USB_ERR_STALLED issues
Date: Wed, 9 Apr 2014 16:08:34 -0600

 Just as an FYI, I'm running freebsd 10 stable again the amd64 version.
 
 I tried the patch and removed the entry from the loader.conf; but I still get
 errors with the patch.
 
 Repeats over and over again.
 
 xhci0: Resetting controller
 usb_alloc_device: set address 3 failed (USB_ERR_TIMEOUT, ignored)
 usbd_setup_device_desc: getting device descriptor at addr 3 failed,
 USB_ERR_TIMEOUT
 usbd_req_re_enumerate: addr=3, set address failed! (USB_ERR_TIMEOUT, ignored)
 usbd_setup_device_desc: getting device descriptor at addr 3 failed,
 USB_ERR_TIMEOUT
 usbd_req_re_enumerate: addr=3, set address failed! (USB_ERR_TIMEOUT, ignored)
 usbd_setup_device_desc: getting device descriptor at addr 3 failed,
 USB_ERR_TIMEOUT
 usbd_req_re_enumerate: addr=3, set address failed! (USB_ERR_TIMEOUT, ignored)
 usbd_setup_device_desc: getting device descriptor at addr 3 failed,
 USB_ERR_TIMEOUT
 usbd_req_re_enumerate: addr=3, set address failed! (USB_ERR_TIMEOUT, ignored)
 usbd_setup_device_desc: getting device descriptor at addr 3 failed,
 USB_ERR_TIMEOUT
 ugen0.3: Unknown at usbus0 (disconnected)
 uhub_reattach_port: could not allocate new device
 uhub1: at usbus0, port 1, addr 1 (disconnected)
 ugen0.2: Logitech at usbus0 (disconnected)
 ukbd0: at uhub1, port 4, addr 1 (disconnected)
 ums0: at uhub1, port 4, addr 1 (disconnected)
 uhid0: at uhub1, port 4, addr 1 (disconnected)
 xhci0: 32 byte context size.
 xhci0: Port routing mask set to 0x
 uhub1: 0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1 on usbus0
 uhub1: 13 ports with 13 removable, self powered
 ugen0.2: Logitech at usbus0
 ukbd0: Logitech USB Receiver, class 0/0, rev 2.00/12.01, addr 1 on usbus0
 kbd0 at ukbd0
 ums0: Logitech USB Receiver, class 0/0, rev 2.00/12.01, addr 1 on usbus0
 ums0: 16 buttons and [XYZT] coordinates ID=2
 uhid0: Logitech USB Receiver, class 0/0, rev 2.00/12.01, addr 1 on usbus0
 xhci0: Resetting controller
 usb_alloc_device: set address 3 failed (USB_ERR_TIMEOUT, ignored)
 usbd_setup_device_desc: getting device descriptor at addr 3 failed,
 USB_ERR_TIMEOUT
 
 
 
 -- Original Message ---
 From:Hans Petter Selasky h...@selasky.org
 To:Jason Seidel jsei...@unixsystem.org, freebsd-gnats-sub...@freebsd.org
 Sent:Wed, 09 Apr 2014 22:30:15 +0200
 Subject:Re: usb/188403: USB3 USB_ERR_TIMEOUT and USB_ERR_STALLED issues
 
  On 04/09/14 17:39, Jason Seidel wrote:
  
   Number: 188403
   Category:   usb
   Synopsis:   USB3 USB_ERR_TIMEOUT and USB_ERR_STALLED issues
   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:   Wed Apr 09 15:40:00 UTC 2014
   Closed-Date:
   Last-Modified:
   Originator: Jason Seidel
   Release:Freebsd 10 release/stable and 11.0-current
   Organization:
   Environment:
   I have tried this with all current FreeBSD 10 versions.
  
   FreeBSD nuc 11.0-CURRENT FreeBSD 11.0-CURRENT #1 r264292: Wed Apr  9
 10:14:56 EDT 2014 jseidel@nuc:/usr/obj/usr/src/sys/GENERIC  i386
  
   Description:
   I have an intel NUC D34010WYKH, and there is an issue with the USB3 in
 release 10 and 11. I was running freebsd 10 release and saw this issuebut i
 needed to upgrade to stable because release didnt contain the axge driver for
 a usb network adapter. after updating to stable, the driver was available but
 the usb errors were still there. I saw some messages about issues like this
 and that a fix was uploaded, so I went to current to see if it fixed the
 problem, but the issue was still there.
  
   usb_alloc_device: set address 5 failed (USB_ERR_TIMEOUT, ignored)
   usbd_setup_device_desc: getting device descriptor at addr 5 failed,
 USB_ERR_STALLED
   Root mount waiting for: usbus1
   usbd_req_re_enumerate: addr=5, set address failed! (USB_ERR_TIMEOUT, 
   ignored)
   usbd_setup_device_desc: getting device descriptor at addr 5 failed,
 USB_ERR_STALLED
   Root mount waiting for: usbus1
   Root mount waiting for: usbus1
   usbd_req_re_enumerate: addr=5, set address failed! (USB_ERR_TIMEOUT, 
   ignored)
   usbd_setup_device_desc: getting device descriptor at addr 5 failed,
 USB_ERR_STALLED
   Root mount waiting for: usbus1
   usbd_req_re_enumerate: addr=5, set address failed! (USB_ERR_TIMEOUT, 
   ignored)
   usbd_setup_device_desc: getting device descriptor at addr 5 failed,
 USB_ERR_STALLED
   Root mount waiting for: usbus1
   Root mount waiting for: usbus1
   usbd_req_re_enumerate: addr=5, set address failed! (USB_ERR_TIMEOUT, 
   ignored)
   usbd_setup_device_desc: getting device

Re: usb/159274: USB 3.0 Etron EJ168A does not work.

2011-08-06 Thread Jason Seidel
Is it going into RELEASE?


-- Original Message ---
From: Hans Petter Selasky hsela...@c2i.net
To: freebsd-usb@freebsd.org, Jason Seidel jsei...@unixsystem.org
Sent: Fri, 5 Aug 2011 17:14:32 +0200
Subject: Re: usb/159274: USB 3.0 Etron EJ168A does not work.

 On Sunday 31 July 2011 02:30:11 Jason Seidel wrote:
   xhci0: Driver does not support 64-byte contexts.xhci0: XHCI
  halt/start/probe failed err=18
 
 This is fixed in 8-stable.
 
 --HPS
--- End of Original Message ---

___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: usb/159274: USB 3.0 Etron EJ168A does not work.

2011-07-30 Thread Jason Seidel
The following reply was made to PR usb/159274; it has been noted by GNATS.

From: Jason Seidel jsei...@unixsystem.org
To: Peter Jeremy peterjer...@acm.org
Cc:  
Subject: Re: usb/159274: USB 3.0 Etron EJ168A does not work.
Date: Sat, 30 Jul 2011 20:17:01 -0400

 I'm not sure which Id it is there are usb2 and 3 controllers on the board. 
 
 I just ran kldload xhci, here is what is displayed.
 
 xhci0: XHCI (generic) USB 3.0 controller mem 0xfe90-0xfe907fff irq 18 at
 device 0.0 on pci5
 xhci0: [ITHREAD]
 xhci0: Driver does not support 64-byte contexts.xhci0: XHCI halt/start/probe
 failed err=18
 device_attach: xhci0 attach returned 6
 
 # pciconf -lc
 hostb0@pci0:0:0:0:  class=0x06 card=0x15101849 chip=0x15101022
 rev=0x00 hdr=0x00
 vgapci0@pci0:0:1:0: class=0x03 card=0x98021849 chip=0x98021002
 rev=0x00 hdr=0x00
 cap 01[50] = powerspec 3  supports D0 D1 D2 D3  current D0
 cap 10[58] = PCI-Express 2 root endpoint max data 128(128) link x0(x0)
 cap 05[a0] = MSI supports 1 message, 64 bit
 ecap 000b[100] = unknown 1
 hdac0@pci0:0:1:1:   class=0x040300 card=0x13141849 chip=0x13141002
 rev=0x00 hdr=0x00
 cap 01[50] = powerspec 3  supports D0 D1 D2 D3  current D0
 cap 10[58] = PCI-Express 2 root endpoint max data 128(128) link x0(x0)
 cap 05[a0] = MSI supports 1 message, 64 bit enabled with 1 message
 ecap 000b[100] = unknown 1
 pcib1@pci0:0:4:0:   class=0x060400 card=0x12341022 chip=0x15121022
 rev=0x00 hdr=0x01
 cap 01[50] = powerspec 3  supports D0 D3  current D0
 cap 10[58] = PCI-Express 2 root port max data 128(128) link x1(x4)
 cap 05[a0] = MSI supports 1 message, 64 bit
 cap 0d[b0] = PCI Bridge card=0x12341022
 cap 08[b8] = HT MSI fixed address window enabled at 0xfee0
 ecap 000b[100] = unknown 1
 atapci0@pci0:0:17:0:class=0x010601 card=0x43911849 chip=0x43911002
 rev=0x40 hdr=0x00
 cap 12[70] = SATA Index-Data Pair
 cap 13[a4] = PCI Advanced Features: FLR TP
 ohci0@pci0:0:18:0:  class=0x0c0310 card=0x43971849 chip=0x43971002
 rev=0x00 hdr=0x00
 ehci0@pci0:0:18:2:  class=0x0c0320 card=0x43961849 chip=0x43961002
 rev=0x00 hdr=0x00
 cap 01[c0] = powerspec 2  supports D0 D1 D2 D3  current D0
 cap 0a[e4] = EHCI Debug Port at offset 0xe0 in map 0x14
 ohci1@pci0:0:19:0:  class=0x0c0310 card=0x43971849 chip=0x43971002
 rev=0x00 hdr=0x00
 ehci1@pci0:0:19:2:  class=0x0c0320 card=0x43961849 chip=0x43961002
 rev=0x00 hdr=0x00
 cap 01[c0] = powerspec 2  supports D0 D1 D2 D3  current D0
 cap 0a[e4] = EHCI Debug Port at offset 0xe0 in map 0x14
 none0@pci0:0:20:0:  class=0x0c0500 card=0x43851849 chip=0x43851002
 rev=0x42 hdr=0x00
 atapci1@pci0:0:20:1:class=0x01018a card=0x439c1849 chip=0x439c1002
 rev=0x40 hdr=0x00
 hdac1@pci0:0:20:2:  class=0x040300 card=0x18921849 chip=0x43831002
 rev=0x40 hdr=0x00
 cap 01[50] = powerspec 2  supports D0 D3  current D0
 isab0@pci0:0:20:3:  class=0x060100 card=0x439d1849 chip=0x439d1002
 rev=0x40 hdr=0x00
 pcib2@pci0:0:20:4:  class=0x060401 card=0x chip=0x43841002
 rev=0x40 hdr=0x01
 ohci2@pci0:0:20:5:  class=0x0c0310 card=0x43991849 chip=0x43991002
 rev=0x00 hdr=0x00
 pcib3@pci0:0:21:0:  class=0x060400 card=0x1002 chip=0x43a01002
 rev=0x00 hdr=0x01
 cap 01[50] = powerspec 3  supports D0 D1 D2 D3  current D0
 cap 10[58] = PCI-Express 2 root port max data 128(128) link x16(x1)
 cap 05[a0] = MSI supports 1 message, 64 bit
 cap 0d[b0] = PCI Bridge card=0x1002
 cap 08[b8] = HT MSI fixed address window enabled at 0xfee0
 ecap 000b[100] = unknown 1
 pcib4@pci0:0:21:1:  class=0x060400 card=0x1002 chip=0x43a11002
 rev=0x00 hdr=0x01
 cap 01[50] = powerspec 3  supports D0 D1 D2 D3  current D0
 cap 10[58] = PCI-Express 2 root port max data 128(128) link x1(x1)
 cap 05[a0] = MSI supports 1 message, 64 bit
 cap 0d[b0] = PCI Bridge card=0x1002
 cap 08[b8] = HT MSI fixed address window enabled at 0xfee0
 ecap 000b[100] = unknown 1
 pcib5@pci0:0:21:2:  class=0x060400 card=0x1002 chip=0x43a21002
 rev=0x00 hdr=0x01
 cap 01[50] = powerspec 3  supports D0 D1 D2 D3  current D0
 cap 10[58] = PCI-Express 2 root port max data 128(128) link x1(x1)
 cap 05[a0] = MSI supports 1 message, 64 bit
 cap 0d[b0] = PCI Bridge card=0x1002
 cap 08[b8] = HT MSI fixed address window enabled at 0xfee0
 ecap 000b[100] = unknown 1
 ohci3@pci0:0:22:0:  class=0x0c0310 card=0x43971849 chip=0x43971002
 rev=0x00 hdr=0x00
 ehci2@pci0:0:22:2:  class=0x0c0320 card=0x43961849 chip=0x43961002
 rev=0x00 hdr=0x00
 cap 01[c0] = powerspec 2  supports D0 D1 D2 D3  current D0
 cap 0a[e4] = EHCI Debug Port at offset 0xe0 in map 0x14
 hostb1@pci0:0:24:0: class=0x06 card=0x chip=0x17001022
 rev=0x43 hdr=0x00
 hostb2@pci0:0:24:1: class=0x06 card=0x chip=0x17011022
 rev=0x00 hdr=0x00
 hostb3@pci0:0:24:2: class=0x06 card=0x

usb/159274: USB 3.0 Etron EJ168A does not work.

2011-07-28 Thread Jason Seidel

Number: 159274
Category:   usb
Synopsis:   USB 3.0 Etron EJ168A does not work.
Confidential:   no
Severity:   serious
Priority:   high
Responsible:freebsd-usb
State:  open
Quarter:
Keywords:   
Date-Required:
Class:  sw-bug
Submitter-Id:   current-users
Arrival-Date:   Thu Jul 28 21:30:11 UTC 2011
Closed-Date:
Last-Modified:
Originator: Jason Seidel
Release:8.2-RELEASE
Organization:
Environment:
FreeBSD yoda 8.2-RELEASE-p2 FreeBSD 8.2-RELEASE-p2 #0: Thu Jul 28 15:54:18 UTC 
2011 root@yoda:/usr/src/sys/amd64/compile/YODA  amd64

Description:
I have an ASrock E350M1/USB3 motherboard running freebsd 8.2.
If I enable xhci in the kernel, not only does it not detect the usb 3.0 
controler, it causes the machine to go into a constant booting loop.

I have tried just adding device xhci to the kernel and also building the 
kernel by removing ehci, it still causing the machine to go into a booting loop.

Please take a look at this, the USB 3.0 controller uses Etron EJ168A, and if 
they default xhci into the generic kernel for the next release, I'm afraid 
someone else may get stuck into the booting loop like I did.
How-To-Repeat:
build a kernel with device xhci
Fix:


Release-Note:
Audit-Trail:
Unformatted:
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org