Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jul 2022 21:52:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        usb@FreeBSD.org
Subject:   [Bug 265204] USB messages reporting failure to set address, eventually disabling a port, which nevertheless works
Message-ID:  <bug-265204-19105@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265204

            Bug ID: 265204
           Summary: USB messages reporting failure to set address,
                    eventually disabling a port, which nevertheless works
           Product: Base System
           Version: 13.1-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: usb
          Assignee: usb@FreeBSD.org
          Reporter: mefistofelez@hotmail.com

Fresh install of 13.1-Release, the following messages appear upon kernel be=
ing
loaded (without any USB devices attached to any port on the motherboard):

Code:
usb_alloc_device: set address 2 failed (USB_ERR_IOERROR, ignored)
usbd_setup_device_desc: getting device descriptor at addr 2 failed,
USB_ERR_IOERROR
usbd_req_re_enumerate: addr=3D2, set address failed! (USB_ERR_IOERROR, igno=
red)
usbd_setup_device_desc: getting device descriptor at addr 2 failed,
USB_ERR_IOERROR
usbd_req_re_enumerate: addr=3D2, set address failed! (USB_ERR_IOERROR, igno=
red)
usbd_setup_device_desc: getting device descriptor at addr 2 failed,
USB_ERR_IOERROR
usbd_req_re_enumerate: addr=3D2, set address failed! (USB_ERR_IOERROR, igno=
red)
usbd_setup_device_desc: getting device descriptor at addr 2 failed,
USB_ERR_IOERROR
usbd_req_re_enumerate: addr=3D2, set address failed! (USB_ERR_IOERROR, igno=
red)
usbd_setup_device_desc: getting device descriptor at addr 2 failed,
USB_ERR_IOERROR

Setting hw.usb.debug=3D-1 in the /boot/loader.conf per recommendation in th=
e Bug
262882 stops the above messages, but new messages:

Code:
ugen1.2: <Unknown> at usbus1 (disconnected)
uhub_reattach_port: could not allocate new device

appear, with a frequency of about 2Hz, eventually (about 10-20 min) ending
with:

Code:
uhub_reattach_port: port 3 reset failed, error=3DUSB_ERR_TIMEOUT
uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 3

System unresponsive until ENTER on PS/2 keyboard is pressed, then it return=
s to
prompt, without any further messages.

Problem was also reproduced on 13.0-RELEASE, and is reproducible on every
reboot.

Based on the last two messages, the problem could be attributed to the
hardware, except: (i)  both FreeBSD RELEASEs were installed from all (exter=
nal)
USB ports on the motherboard, i.e, including the port identified as no 3 in=
 the
motherboard's documentation, (ii) USB flash drive is recognized by the
currently installed 13.1_RELEASE when inserted in the alleged port 3,
supposedly disabled, and (iii) other OSs (Windows 7 and 10) do not exhibit =
the
problem, i.e., no messages, and all USB ports functioning.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-265204-19105>