View previous topic :: View next topic |
Author |
Message |
Vieri l33t
Joined: 18 Dec 2005 Posts: 908
|
Posted: Mon Jan 31, 2022 5:08 pm Post subject: usb device makes system reboot |
|
|
Hi,
When inserting the following USB device the Gentoo system reboots immediately. No relevant info in /var/log/messages or dmesg.
This does not always happen. In my case, the device has been inserted, removed twice and finally on the last physical connection, the system rebooted.
Code: | Bus 002 Device 003: ID 0403:6001 Future Technology Devices International, Ltd FT232 Serial (UART) IC
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x0403 Future Technology Devices International, Ltd
idProduct 0x6001 FT232 Serial (UART) IC
bcdDevice 4.00
iManufacturer 1 FTDI
iProduct 2 usb serial converter
iSerial 3 FTCTWS1T
|
Code: | # uname -a
Linux fw1 5.10.76-gentoo-r1-x86_64 #1 SMP Thu Dec 2 12:16:34 CET 2021 x86_64 AMD EPYC 7272 12-Core Processor AuthenticAMD GNU/Linux
|
Should I file a bug report in Gentoo, or should I try to contact the kernel module dev?
Vieri |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9895 Location: almost Mile High in the USA
|
Posted: Mon Jan 31, 2022 6:19 pm Post subject: |
|
|
Does it reboot if you plug it into an external hub that's plugged into the computer?
Is it a real or fake FT232? Heard that FT232s were cloned a lot to keep driver development costs down. While not a problem for Linux, it does mean compromises were made... _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
Banana Moderator
Joined: 21 May 2004 Posts: 1890 Location: Germany
|
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 23103
|
Posted: Mon Jan 31, 2022 6:56 pm Post subject: |
|
|
Does this happen if the system is sitting at a BIOS/bootloader prompt when you plug in the device? I had this happen once, with a USB mass storage device from a coworker. I plugged it into a discount quality tower, and the resulting short rebooted the system. |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9895 Location: almost Mile High in the USA
|
Posted: Mon Jan 31, 2022 7:16 pm Post subject: |
|
|
I definitely know one of my computers has that issue, if I have any static charge on me and I try to connect a USB device to its front panel USB connectors, it will instantly crash/reboot. Does not matter what device it is, I don't even have to fully plug it in. _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
figueroa Advocate
Joined: 14 Aug 2005 Posts: 3007 Location: Edge of marsh USA
|
Posted: Tue Feb 01, 2022 4:37 am Post subject: |
|
|
My HP Laserjet 3055 once failed in such a way that leaving it connected to a USB port prevented the computer (the one in my sig) from posting. Once I power cycled the printer, all was well. A failing or bad USB device can do a lot. _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|
Back to top |
|
|
Vieri l33t
Joined: 18 Dec 2005 Posts: 908
|
Posted: Sat Feb 05, 2022 4:37 pm Post subject: |
|
|
I tried connecting and disconnecting multiple times on another machine with 5.4.0-90-generic #101-Ubuntu , but it did not make the host reboot.
I wonder at this point if its a kernel module issue.
The Ubuntu computer is an IBM Thinkpad.
The machine that is being rebooted unwillingly is a Supermicro server (front panel USB). |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 23103
|
Posted: Sat Feb 05, 2022 5:30 pm Post subject: |
|
|
Most of the machines I had access to at that job did not reboot when given that USB key, which is why my coworker thought nothing of giving it to me. One machine did reboot when given that USB key. Therefore, testing your key on different hardware does not prove anything. That is why I asked if you also see the reboot when the affected machine is waiting at a BIOS prompt. The BIOS is not Linux (usually), so if this USB key can reboot at BIOS, then you do not have a kernel problem. You have a hardware problem. |
|
Back to top |
|
|
Vieri l33t
Joined: 18 Dec 2005 Posts: 908
|
Posted: Sat Feb 05, 2022 6:06 pm Post subject: |
|
|
Hu wrote: | if you also see the reboot when the affected machine is waiting at a BIOS prompt. |
I will try that ASAP. It's a production server, so I can't reboot into BIOS/UEFI when I want. I will try to find another Supermicro (same model), and see how that goes.
Thanks |
|
Back to top |
|
|
|