Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
usb device makes system reboot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Vieri
l33t
l33t


Joined: 18 Dec 2005
Posts: 908

PostPosted: Mon Jan 31, 2022 5:08 pm    Post subject: usb device makes system reboot Reply with quote

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
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9895
Location: almost Mile High in the USA

PostPosted: Mon Jan 31, 2022 6:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
Banana
Moderator
Moderator


Joined: 21 May 2004
Posts: 1890
Location: Germany

PostPosted: Mon Jan 31, 2022 6:26 pm    Post subject: Reply with quote

Does this happen with other USB devices, too?
DIes this happen in windows?
Is it an old devide or malfunction USB connector which could lead to a restart?
_________________
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23103

PostPosted: Mon Jan 31, 2022 6:56 pm    Post subject: Reply with quote

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
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9895
Location: almost Mile High in the USA

PostPosted: Mon Jan 31, 2022 7:16 pm    Post subject: Reply with quote

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
View user's profile Send private message
figueroa
Advocate
Advocate


Joined: 14 Aug 2005
Posts: 3007
Location: Edge of marsh USA

PostPosted: Tue Feb 01, 2022 4:37 am    Post subject: Reply with quote

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
View user's profile Send private message
Vieri
l33t
l33t


Joined: 18 Dec 2005
Posts: 908

PostPosted: Sat Feb 05, 2022 4:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23103

PostPosted: Sat Feb 05, 2022 5:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
Vieri
l33t
l33t


Joined: 18 Dec 2005
Posts: 908

PostPosted: Sat Feb 05, 2022 6:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum