You are not logged in.

#1 2025-05-13 16:27:52

Capzay
Member
Registered: 2025-05-13
Posts: 37

Usb devices disconnecting randomly? causing system to reboot

This happened during the install as well, I'm not sure how i managed to install arch before it rebooted for the 50th time

My specs:
Kernel: Linux 6.14.6-arch1-1
Shell: bash 5.2.37
Display (AORUS CV27Q): 2560x1440 @ 60 Hz ]
Display (BenQ EL2870U): 3840x2160 @ 60 Hz]
WM: Hyprland 0.49.0 (Wayland)
Terminal: kitty 0.42.0
CPU: AMD Ryzen 7 3800X (16) @ 4.56 GHz
GPU: NVIDIA GeForce RTX 3080 [Discrete]
Memory: 32Gb
Swap: 20Gb

I have dual booted this with windows on a separate SSD

My Keyboard:
TUF Gaming K7

My Mouse:
TUF Gaming M3

My Motherboard:
ASUS Prime 570X

i have autosuspend on -1

i haven't tried using other mice and keyboard (other than 2 wireless ones) which encountered the same error


I'm not sure what else to list, so feel free to ask for any extra info. I have no clue why/when it happens, only suspicion is "under stress", but it did it just refreshing a web page, which isn't stress...

Offline

#2 2025-05-13 20:09:01

seth
Member
Registered: 2012-09-03
Posts: 64,007

Re: Usb devices disconnecting randomly? causing system to reboot

Dropping USB devices will not cause the system to reboot, see https://wiki.archlinux.org/title/Ryzen#Random_reboots for the most likely cause, second only to

I have dual booted this with windows on a separate SSD

3rd link below. Mandatory.
Disable it (it's NOT the BIOS setting!) and reboot windows and linux twice for voodo reasons.
And no: "separate ssd" is completely irrelevant here, the problem is the ACPI, not the physical storage location.

Offline

#3 2025-05-14 11:44:19

Capzay
Member
Registered: 2025-05-13
Posts: 37

Re: Usb devices disconnecting randomly? causing system to reboot

seth wrote:

Dropping USB devices will not cause the system to reboot, see https://wiki.archlinux.org/title/Ryzen#Random_reboots for the most likely cause, second only to

I have dual booted this with windows on a separate SSD

3rd link below. Mandatory.
Disable it (it's NOT the BIOS setting!) and reboot windows and linux twice for voodo reasons.
And no: "separate ssd" is completely irrelevant here, the problem is the ACPI, not the physical storage location.

Thanks for the reply,

So far i have done:
Disable fast boot in WINDOWS (it was already disabled in bios from someone explicitly telling me to)

and i couldn't use the AMD curve optimiser as apparently it isnt for my generation of CPU

so instead i set the CPU 1.80 Voltage bios setting to/from:
Auto > 1.85000 - didnt work
1.85000 > 1.80000 - didnt work

but it makes sense you bringing that up, all my usb ports tend to get disabled then it will reboot. So it definitely isnt a usb issue. And when testing it crashed just loading a page on firefox....

Offline

#4 2025-05-14 15:45:16

seth
Member
Registered: 2012-09-03
Posts: 64,007

Re: Usb devices disconnecting randomly? causing system to reboot

it was already disabled in bios from someone explicitly telling me to

The BIOS setting concerns some self-tests during the boot and is irrelevant itr.
Did you reboot both systems twice after deactivating fast start (this is actually not a joke but for the voodoo part)

Cold reboots (unless scheduled by a hibernating windows to run an update) are down to
* underpowered
* overheated
* broken cpu
* broken RAM

Can you completely disable PBO?

Offline

#5 2025-05-14 16:02:01

cryptearth
Member
Registered: 2024-02-03
Posts: 1,447

Re: Usb devices disconnecting randomly? causing system to reboot

sanity check: does the system slso random reboot with no usb device connected at all?
if it's stable without peripherals could be a faulty cable/device

Offline

#6 2025-05-14 16:48:55

mmy8x
Member
Registered: 2025-03-02
Posts: 21

Re: Usb devices disconnecting randomly? causing system to reboot

Capzay wrote:

all my usb ports tend to get disabled then it will reboot

How much time from the moment you know things are bad to the reboot?
Any chance of capturing dmesg with a PS/2 keyboard or over ssh?

Offline

#7 2025-05-14 19:17:33

Capzay
Member
Registered: 2025-05-13
Posts: 37

Re: Usb devices disconnecting randomly? causing system to reboot

mmy8x wrote:
Capzay wrote:

all my usb ports tend to get disabled then it will reboot

How much time from the moment you know things are bad to the reboot?
Any chance of capturing dmesg with a PS/2 keyboard or over ssh?

It tends to be random, even in the installation it would happen instantly, or after 10 mins or so. mid download, mid package refresh etc.

Also, i dont understand what you mean by that last bit, i have a very simple knowledge of linux to the point of just making my way round the OS and installing packages

Offline

#8 2025-05-14 19:18:42

Capzay
Member
Registered: 2025-05-13
Posts: 37

Re: Usb devices disconnecting randomly? causing system to reboot

cryptearth wrote:

sanity check: does the system slso random reboot with no usb device connected at all?
if it's stable without peripherals could be a faulty cable/device

Im pretty sure it did, which lead me to believe it was a usb issue, thinking linux had problems with usb being plugged in during runtime, as im used to having to reboot a raspberry pi or something.

Offline

#9 2025-05-14 19:21:18

Capzay
Member
Registered: 2025-05-13
Posts: 37

Re: Usb devices disconnecting randomly? causing system to reboot

seth wrote:

Did you reboot both systems twice after deactivating fast start (this is actually not a joke but for the voodoo part)

Can you completely disable PBO?

I didnt do the systems reboot twice, but i now will. But before i do, as i didnt have the curve feature, was setting the voltage to max the best idea? the CPU 1.8v Core Voltage setting, max being 1.8500

I can try disable PBO, but just to make sure, its a BIOS setting, correct?

Offline

#10 2025-05-14 19:27:07

seth
Member
Registered: 2012-09-03
Posts: 64,007

Re: Usb devices disconnecting randomly? causing system to reboot

was setting the voltage to max the best idea?

Did it stabilize the system?
This typically happens when the CPU shifts the TDP towards one core but that ends up being undervolted.
The curve optimizer adjustment leads to increased voltages, thus higher general temperatures, thus less overdrive.

https://en.wikipedia.org/wiki/Ryzen /  Precision Boost Overdrive would be disabled in the BIOS/UEFI, yes.

Offline

#11 2025-05-14 19:42:25

Capzay
Member
Registered: 2025-05-13
Posts: 37

Re: Usb devices disconnecting randomly? causing system to reboot

seth wrote:

Did it stabilize the system?

Honestly have no clue, what would be signs? Because it definitely rebooted again

Also have rebooted 2 time on each OS, with the new applied BIOS settings.

Ill have a little play for 10 or so mins and ill get back to you if i encounter any problems

Offline

#12 2025-05-14 19:47:27

Capzay
Member
Registered: 2025-05-13
Posts: 37

Re: Usb devices disconnecting randomly? causing system to reboot

It shut off again. A while ago i got Chat GPT to generate this script for me, would this be any use to you if i ran it?

#!/bin/bash

# Script to collect important system logs for debugging

# Output file
OUTPUT_FILE="system_logs_$(date +%Y%m%d_%H%M%S).log"

# Collect general system info
echo "Collecting system info..." > $OUTPUT_FILE
echo "---------------------------" >> $OUTPUT_FILE
echo "System Information:" >> $OUTPUT_FILE
uname -a >> $OUTPUT_FILE
echo "" >> $OUTPUT_FILE

# Collect memory and swap usage
echo "Memory and Swap Usage:" >> $OUTPUT_FILE
free -h >> $OUTPUT_FILE
echo "" >> $OUTPUT_FILE

# Collect disk usage
echo "Disk Usage:" >> $OUTPUT_FILE
df -h >> $OUTPUT_FILE
echo "" >> $OUTPUT_FILE

# Collect journal logs from the last boot
echo "System Journal (last boot):" >> $OUTPUT_FILE
journalctl -b -1 -p err..alert --no-pager >> $OUTPUT_FILE
echo "" >> $OUTPUT_FILE

# Collect CPU temperature (if available)
echo "CPU Temperature:" >> $OUTPUT_FILE
if [ -f /sys/class/thermal/thermal_zone0/temp ]; then
  cat /sys/class/thermal/thermal_zone0/temp >> $OUTPUT_FILE
else
  echo "CPU temperature not available" >> $OUTPUT_FILE
fi
echo "" >> $OUTPUT_FILE

# Collect dmesg logs
echo "Dmesg Logs:" >> $OUTPUT_FILE
dmesg -T | tail -n 50 >> $OUTPUT_FILE

echo "System logs saved to $OUTPUT_FILE"

Offline

#13 2025-05-14 19:54:19

Capzay
Member
Registered: 2025-05-13
Posts: 37

Re: Usb devices disconnecting randomly? causing system to reboot

Heres a image of a boot error i get aswell

https://drive.google.com/file/d/1sLrJf2 … sp=sharing

Offline

#14 2025-05-14 21:06:36

seth
Member
Registered: 2012-09-03
Posts: 64,007

Re: Usb devices disconnecting randomly? causing system to reboot

Please don't bump - edit your previous post to mend it if nobody has yet responded.
You fall squarely into https://wiki.archlinux.org/title/Ryzen#Random_reboots - and increasing the CPU voltage didn't help because then it would not have crashed again wink

To nobodies surprise the chitgpeetea script won't help:

journalctl -b -1 -p err..alert --no-pager >> $OUTPUT_FILE

will not work because the cold reboot has dropped at least the relevant tail of the journal (wasn't written to disk) and the temperatures the system has randomly right now (unless you're systematically running too hot all the time??) are meaninless.

If there're systematic HW issues beyond the CPU, dmesg might show those, but randomly pulling a 50 line tail leaves you with "something".

AI will have to repeat logics 101 before it can continue its world domination efforts…

Offline

#15 2025-05-14 21:18:32

Capzay
Member
Registered: 2025-05-13
Posts: 37

Re: Usb devices disconnecting randomly? causing system to reboot

My bad, noted

So what would you suggest i try?

just look more into  https://wiki.archlinux.org/title/Ryzen#Random_reboots  ?

Offline

#16 2025-05-14 21:28:25

seth
Member
Registered: 2012-09-03
Posts: 64,007

Re: Usb devices disconnecting randomly? causing system to reboot

Can you disable PBO?

Offline

#17 2025-05-14 21:33:51

Capzay
Member
Registered: 2025-05-13
Posts: 37

Re: Usb devices disconnecting randomly? causing system to reboot

seth wrote:

Can you disable PBO?

i dont recall there being more than 1 option mentioning PBO, so yes i disabled the setting labeled "Precision Boost Overdrive"

I did this + the Core voltage being 1.8500

Last edited by Capzay (2025-05-14 21:36:23)

Offline

#18 2025-05-15 06:01:28

seth
Member
Registered: 2012-09-03
Posts: 64,007

Re: Usb devices disconnecting randomly? causing system to reboot

i disabled the setting labeled "Precision Boost Overdrive"

Latest reboot happened afterwards?

Do you overclock the RAM or so?
https://wiki.archlinux.org/title/Stress … MemTest86+ (this will have to run for multiple hours - think in days - to rule out bad RAM) but that would rather likely affect windows as well.
Please post the complete system journal for the previous boot:

sudo journalctl -b -1 | curl -F 'file=@-' 0x0.st

- maybe something else indeed flares up.

Offline

#19 2025-05-15 10:15:57

Capzay
Member
Registered: 2025-05-13
Posts: 37

Re: Usb devices disconnecting randomly? causing system to reboot

Latest reboot happened afterwards?

Yes, it rebooted again

Do you overclock the RAM or so?

I dont belive so, i upgraded from 16 to 32 gb, on both RAMs', it had this issue.

Please post the complete system journal for the previous boot:

sudo journalctl -b -1 | curl -F 'file=@-' 0x0.st

- maybe something else indeed flares up.

Will do now

Output:
http://0x0.st/8vHp.txt

Last edited by Capzay (2025-05-15 10:23:57)

Offline

#20 2025-05-15 10:19:27

Capzay
Member
Registered: 2025-05-13
Posts: 37

Re: Usb devices disconnecting randomly? causing system to reboot

. (this was an accident)

Last edited by Capzay (2025-05-15 10:24:34)

Offline

#21 2025-05-15 14:24:17

seth
Member
Registered: 2012-09-03
Posts: 64,007

Re: Usb devices disconnecting randomly? causing system to reboot

After about 55s

May 14 23:30:55 archlinux kernel: xhci_hcd 0000:07:00.1: HC died; cleaning up

and 8 seconds later the network notices it

May 14 23:32:12 archlinux kernel: r8169 0000:06:00.0 enp6s0: NETDEV WATCHDOG: CPU: 6: transmit queue 0 timed out 5579 ms
May 14 23:32:12 archlinux kernel: r8169 0000:06:00.0 enp6s0: ASPM disabled on Tx timeout

Wild guess: Add "pcie_aspm=off" to the https://wiki.archlinux.org/title/Kernel_parameters

Offline

#22 2025-05-15 14:55:19

Capzay
Member
Registered: 2025-05-13
Posts: 37

Re: Usb devices disconnecting randomly? causing system to reboot

Wild guess: Add "pcie_aspm=off" to the https://wiki.archlinux.org/title/Kernel_parameters

didnt work, new log:
https://0x0.st/8vbP.txt

Offline

#23 2025-05-15 20:21:43

seth
Member
Registered: 2012-09-03
Posts: 64,007

Re: Usb devices disconnecting randomly? causing system to reboot

All power supplies are connected (you didn't eg forget to plug the 6/8-pin dedicated supply into the GPU), the nvidia GPU is in the PEG slot?

The board seems to have elaborate PBO options?
https://rog-forum.asus.com/t5/amd-500-4 … d-p/836719

Do you use some windows tool to configure the UEFI (and notably PBO) from there?

Offline

#24 2025-05-15 20:45:44

Capzay
Member
Registered: 2025-05-13
Posts: 37

Re: Usb devices disconnecting randomly? causing system to reboot

My PC was prebuilt, so i would assume everything has been done correctly?

As far as i know, i use 0 tools to configure UEFI settings on windows

Thats mostly all i know

Offline

#25 2025-05-15 21:42:01

seth
Member
Registered: 2012-09-03
Posts: 64,007

Re: Usb devices disconnecting randomly? causing system to reboot

Does the BIOS have all those options like in the screenshots in the linked asus forum?

Offline

Board footer

Powered by FluxBB