USB Errors on 13.1

Trying to run 13.1 on an X10Sri-F MB and getting these continuous errors:

Code:
Dec 14 20:30:55 dev131 kernel: usbd_setup_device_desc: getting device descriptor at addr 2 failed, USB_ERR_TIMEOU
Dec 14 20:30:55 dev131 kernel: usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_IOERROR, ignored
Dec 14 20:31:05 dev131 kernel: usbd_setup_device_desc: getting device descriptor at addr 2 failed, USB_ERR_TIMEOUT
Dec 14 20:31:06 dev131 kernel: usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_IOERROR, ignored)

I have 4 different keyboards and none of them work at all. I have a freebsd 13.0 install disk on a USB which fully boots ok and then starts throwing these same errors, so it's not my build. Normally I'd say that the MB might have a problem, but freebsd 9.3 runs without any errors.

I have everything compiled into the kernel so there are no modules. I turned on hw.usb.debug and got this:

Code:
Dec 14 21:01:28 dev131 kernel: usb_set_device_state: udev 0xfffff80015377000 state POWERED -> POWERED
Dec 14 21:01:28 dev131 kernel: usbd_req_re_enumerate: addr=4, set address failed! (USB_ERR_IOERROR, ignored)
Dec 14 21:01:28 dev131 kernel: usbd_setup_device_desc: Minimum bMaxPacketSize is large enough to hold the complete device descriptor or only one bMaxPacketSize choice
Dec 14 21:01:28 dev131 kernel: usbd_do_request_callback: st=0
Dec 14 21:01:28 dev131 kernel: usbd_transfer_submit: xfer=0xfffff80142ead148, endpoint=0xfffff80015377128, nframes=2, dir=read
Dec 14 21:01:28 dev131 kernel: usb_dump_endpoint: endpoint=0xfffff80015377128 edesc=0xfffff80015377770 isoc_next=0 toggle_next=0 bEndpointAddress=0x00
Dec 14 21:01:28 dev131 kernel: usb_dump_queue: endpoint=0xfffff80015377128 xfer:
Dec 14 21:01:28 dev131 kernel: usbd_transfer_submit: open
Dec 14 21:01:28 dev131 kernel: usbd_pipe_enter: enter
Dec 14 21:01:28 dev131 kernel: usbd_pipe_start: start
Dec 14 21:01:29 dev131 kernel: usbd_transfer_done: err=USB_ERR_TIMEOUT
Dec 14 21:01:29 dev131 kernel: usbd_transfer_done: err=USB_ERR_NORMAL_COMPLETION
Dec 14 21:01:29 dev131 kernel: usbd_callback_wrapper_sub: xfer=0xfffff80142ead148 endpoint=0xfffff80015377128 sts=20 alen=0, slen=26, afrm=0, nfrm=2
Dec 14 21:01:29 dev131 kernel: usbd_do_request_callback: st=2
Dec 14 21:01:29 dev131 kernel: usbd_transfer_stop: close
Dec 14 21:01:29 dev131 kernel: usbd_transfer_done: err=USB_ERR_CANCELLED
Dec 14 21:01:29 dev131 kernel: usbd_transfer_done: not transferring
Dec 14 21:01:29 dev131 kernel: usbd_do_request_flags: error=USB_ERR_TIMEOUT - waiting a bit for TT cleanup
Dec 14 21:01:29 dev131 kernel: usbd_do_request_callback: st=0
Dec 14 21:01:29 dev131 kernel: usbd_transfer_submit: xfer=0xfffff80142ead148, endpoint=0xfffff80015377128, nframes=2, dir=read
Dec 14 21:01:29 dev131 kernel: usb_dump_endpoint: endpoint=0xfffff80015377128 edesc=0xfffff80015377770 isoc_next=0 toggle_next=0 bEndpointAddress=0x00
Dec 14 21:01:29 dev131 kernel: usb_dump_queue: endpoint=0xfffff80015377128 xfer:

So it appears this was broken in 10.x. 9.3 runs just fine and 10.4 and after gets these errors. Anyone have any ideas as to what changes were made in 10? This reminds me of the problems in early 9.x
that were fixed in 9.2 or 9.3. I remember porting back code from 9.3 to 9.1 a million or so years ago.
 
I get the error with no keyboard; the kbd is never recognized. The error is persistent after boot regardless
 
Yes. I assume the 13.1 install disk is running GENERIC?

So I found the problem; there was a misaligned USB. header on the MB. Something of concern is that such a thing can make a system unusable; apparently in 9.3 the port was marked bad and it went on with it's business. In 10x and beyond it makes the system unstable or unusable. For example, the bad header was at addr 4; while the system was failing on addr 2 (where the kbd was plugged in). So is seemed to bugger the entire usb system.
 
Same problem here with 13.2 Generic kernel. The error is:

usbd_setup_device_desc: getting device descriptor at addr 6 failed, USB_ERR_IOERROR
usbd_req_re_enumerate: addr=6, set address failed! (USB_ERR_IOERROR, ignored)
usbd_setup_device_desc: getting device descriptor at addr 6 failed, USB_ERR_IOERROR
ugen0.6: <Unknown > at usbus0 (disconnected)
uhub_reattach_port: could not allocate new device

and:

sudo usbconfig
ugen0.1: <Intel XHCI root HUB> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA)
ugen0.2: <SIGMACHIP SG 2.4G Wireless Mouse> at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON (100mA)
ugen0.3: <KTMicro KT USB Audio> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA)
ugen0.5: <JMicron External Disk 3.0> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON (224mA)
ugen0.4: <vendor 0x8087 product 0x0a2a> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA)

PCis Beelink Minis, NVME OS disk, SSD Sata3 home disk and HDD 6TB library disk (is a plexmedia server)

PC dont crash, but the zlibrary zfs pool gets suspended after a day or two. I have changed the hub that attaches the external disk for an usb3 direct connection. The error continues. Still zpool is working.
 
Hi there, my server crashed each day with USB errors and zfs pool suspended. It looks like 13.2 is not ready to handle usb3 big external disks
 

Attachments

Back
Top