[Bug 237666] repeated messages of "uhub_reattach_port: giving up port reset - device vanished"

classic Classic list List threaded Threaded
57 messages Options
123
Reply | Threaded
Open this post in threaded view
|

[Bug 237666] repeated messages of "uhub_reattach_port: giving up port reset - device vanished"

bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237666

            Bug ID: 237666
           Summary: repeated messages of "uhub_reattach_port: giving up
                    port reset - device vanished"
           Product: Base System
           Version: 12.0-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: usb
          Assignee: [hidden email]
          Reporter: [hidden email]

Created attachment 204107
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=204107&action=edit
dmesg.boot from the maschin

I've just updated my System from FreeBSD 11.1-Release to FreeBSD 12.0-Release.

After Booting i get every second the message

uhub_reattach_port: giving up port reset - device vanished

I've disconnected all external usb devices (including mouse and keyboard) the
messages continue.

I've use the Hardware for at least 4 years now. No such problem in the past.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 237666] repeated messages of "uhub_reattach_port: giving up port reset - device vanished"

bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237666

Kubilay Kocak <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Open
              Flags|                            |mfc-stable11?,
                   |                            |mfc-stable12?
           Keywords|                            |needs-qa, regression

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 237666] repeated messages of "uhub_reattach_port: giving up port reset - device vanished"

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237666

Hans Petter Selasky <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #1 from Hans Petter Selasky <[hidden email]> ---
Can you try a 12-stable based kernel?

I suspect APCI changes might have turned on something in the hardware which was
off before. USB changes are down to a minimum.

The only relevant change I can think of is this one:
https://svnweb.freebsd.org/changeset/base/343134

--HPS

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 237666] repeated messages of "uhub_reattach_port: giving up port reset - device vanished"

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237666

--- Comment #2 from [hidden email] ---
I've build a stable kernel and booted with it.

The Problems are still there.


If it's only the messages i could live with that but my keyboard and mouse
behave strangely.

I about 30 sec after boot mouse and keyboard are stuck and only disconnecting
the keyboard revive keyboard and mouse.

X11 lags sometimes. I think it's the usb resets the freeze everything.

I have the dmesg from the stable kernel attached.

If anything under stable the problems with keyboard are more pronounced. Keys
repeating or missing without reason.

So I'm back with the release kernel.

Regards
  Estartu

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 237666] repeated messages of "uhub_reattach_port: giving up port reset - device vanished"

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237666

--- Comment #3 from [hidden email] ---
Created attachment 204110
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=204110&action=edit
dmesg.boot with stable kernel an verbose on

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 237666] repeated messages of "uhub_reattach_port: giving up port reset - device vanished"

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237666

--- Comment #4 from [hidden email] ---
Created attachment 204111
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=204111&action=edit
dmesg.boot with stable kernel an verbose off

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 237666] repeated messages of "uhub_reattach_port: giving up port reset - device vanished"

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237666

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #5 from [hidden email] ---
Just to pump this thread a little more:

<slemke@besta>/home/slemke/dropbox # dmesg |grep vanished |wc -l
815

<root@besta>/root # pciconf -lv |grep -i usb
    device     = '100 Series/C230 Series Chipset Family USB 3.0 xHCI
Controller'
    subclass   = USB
    device     = 'DSL6340 USB 3.1 Controller [Alpine Ridge]'
    subclass   = USB
<root@besta>/root #

So this is a very interesting scenario and will probably very difficult to
debug and solve:

I have one of these portable docking station(works fine on linux):
https://www.czc.cz/dell-dokovaci-stanice-wd15-130w/187601/produkt - its and
usb-c docking station.

On system boot it boot-locks with the message:
"uhub_reattach_port: giving up port reset - device vanished" - if I quickly
unplug and replug the usb-c the boot proceeds and images appears on the 2
screens attached to the docking station. No regular USB2 are working on the
docking station (only the 2 monitors) - Only the screns are correctly detected.

<root@besta>/home/slemke # uname -a
FreeBSD besta 12.0-RELEASE-p3 FreeBSD 12.0-RELEASE-p3 GENERIC  amd64
<root@besta>/home/slemke #

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 237666] repeated messages of "uhub_reattach_port: giving up port reset - device vanished"

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237666

--- Comment #6 from [hidden email] ---
Created attachment 204382
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=204382&action=edit
dmesg.boot from the same machine running 11.2

There was no working with 12.0 and this bug. So i downgraded back to 11.2.

There are some USB errors there as well but no repeated errors and no ill
effects.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 237666] repeated messages of "uhub_reattach_port: giving up port reset - device vanished"

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237666

--- Comment #7 from [hidden email] ---
I've the same USB Controller chip as [hidden email] but mine is on the
Mainboard, because the error is still there when all USB devices are
disconnected.

xhci0@pci0:6:0:0:       class=0x0c0330 card=0x11112222 chip=0x15b68086 rev=0x00
hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'DSL6540 USB 3.1 Controller [Alpine Ridge]'
    class      = serial bus
    subclass   = USB

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 237666] repeated messages of "uhub_reattach_port: giving up port reset - device vanished"

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237666

--- Comment #8 from Hans Petter Selasky <[hidden email]> ---
Can you try to figure out if anything is connected to the failing port?

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 237666] repeated messages of "uhub_reattach_port: giving up port reset - device vanished"

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237666

--- Comment #9 from [hidden email] ---
The error is there even if nothing is connected to any USB-Port.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 237666] repeated messages of "uhub_reattach_port: giving up port reset - device vanished"

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237666

--- Comment #10 from Hans Petter Selasky <[hidden email]> ---
And you're sure this is no internal USB device?

--HPS

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 237666] repeated messages of "uhub_reattach_port: giving up port reset - device vanished"

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237666

--- Comment #11 from [hidden email] ---
I have tested is without any device connected. No keyboard, no mouse, no
external HUB. Nothing and the error is still there.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 237666] repeated messages of "uhub_reattach_port: giving up port reset - device vanished"

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237666

--- Comment #12 from Hans Petter Selasky <[hidden email]> ---
I understand, but sometimes the vendor wire internal devices to the USB ports,
like bluetooth and BIOS related features.

BTW: Have you tried playing with BIOS legacy USB support ON/OFF?

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 237666] repeated messages of "uhub_reattach_port: giving up port reset - device vanished"

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237666

--- Comment #13 from Hans Petter Selasky <[hidden email]> ---
You might want to set:
sysctl hw.usb.uhub.debug=17

When collecting dmesg from the failing case.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 237666] repeated messages of "uhub_reattach_port: giving up port reset - device vanished"

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237666

--- Comment #14 from [hidden email] ---
Created attachment 204388
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=204388&action=edit
dmesg.boot 11.2 with Lagacy USB Off an hw.usb.uhub.debug=17 set

Disabling Legacy USB support didn't change anything. Therefore i booted with
hw.usb.uhub.debug=17 set. The Buffer for dmesg isn't large enough for the whole
kernel messages. so only the last part are here but the USB Errors are in the
file.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 237666] repeated messages of "uhub_reattach_port: giving up port reset - device vanished"

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237666

Mike Karels <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #15 from Mike Karels <[hidden email]> ---
Created attachment 206324
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=206324&action=edit
12.0 boot messages on Gigabyte motherboard

I just switched from 11.3 to 12.0, and also have this problem since upgrade on
a system with a Gigabyte motherboard.  I attached a dmesg.  I note that I am
also losing communication with a UPS (via USB) every 10 minutes, which is also
new.  I have lots of USB devices attached; I have not attempted to remove them,
etc, but can do so. I can also provide 11.3 dmesgs.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 237666] repeated messages of "uhub_reattach_port: giving up port reset - device vanished"

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237666

Mike Karels <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|Affects Only Me             |Affects Some People

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 237666] repeated messages of "uhub_reattach_port: giving up port reset - device vanished"

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237666

--- Comment #16 from Hans Petter Selasky <[hidden email]> ---
Does it help to set:

sysctl hw.usb.disable_enumeration=1

After boot. Does the UPS still work?

I suspect the issue has nothing to do with USB, but likely early AP startup
(timing issue, can be disabled in kernel build) or ACPI's recent USB support.

1) Try removing this option from kernel config:
sys/amd64/conf/GENERIC:options  EARLY_AP_STARTUP

2) Try booting with the following line added to /boot/loader.conf:

debug.acpi.disabled="usb"

--HPS

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 237666] repeated messages of "uhub_reattach_port: giving up port reset - device vanished"

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237666

--- Comment #17 from Mike Karels <[hidden email]> ---
Setting sysctl hw.usb.disable_enumeration=1 makes the messages stop. The UPS
does not appear to work; I stopped apcupsd, and apctest cannot open the device.
Clearing the sysctl makes the messages start again, but apctest does not work.
Unfortunately, I did not try apctest before setting the sysctl.

Booting with debug.acpi.disabled="usb" did not seem to change anything: the
messages continued, apcupsd complained about losing communication, and apctest
didn't work.  hw.usb.disable_enumeration=1 still stopped the messages, but
apcupsd still complains about lost communiction.  I can test the rest this
evening.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "[hidden email]"
123