Site Tools


linux:ubuntu:troubleshooting

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:ubuntu:troubleshooting [2017/06/01 16:44] lunetikklinux:ubuntu:troubleshooting [2025/01/26 22:50] (current) lunetikk
Line 65: Line 65:
 cd /var/bla cd /var/bla
 for i in * ; do rm $i ; done for i in * ; do rm $i ; done
 +</code>
 +
 +if too many
 +<code>
 +mkdir empty_dir
 +rsync -a --delete empty_dir/ yourdirectory/
 </code> </code>
  
Line 70: Line 76:
  
 In my case 296093 files in "/var/spool/icinga2/perfdata/" In my case 296093 files in "/var/spool/icinga2/perfdata/"
 +
 +===== USB devices are dead =====
 +
 +==== Errormessage ====
 +
 +dmesg shows some like this
 +<code>
 +[48339.446016] xhci_hcd 0000:04:00.3: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0011 address=0xfe0a1000 flags=0x0000]
 +[48374.915331] xhci_hcd 0000:04:00.3: xHCI host not responding to stop endpoint command
 +[48374.915341] xhci_hcd 0000:04:00.3: xHCI host controller not responding, assume dead
 +[48374.915367] xhci_hcd 0000:04:00.3: HC died; cleaning up
 +[48374.915404] usb 1-1: USB disconnect, device number 2
 +[48374.915407] usb 1-1.5: USB disconnect, device number 5
 +[48374.915940] usb 2-1: USB disconnect, device number 2
 +[48374.915945] usb 2-1.3: USB disconnect, device number 3
 +[48374.916232] usb 1-2: USB disconnect, device number 3
 +</code>
 +
 +==== Solution ====
 +
 +Reboot your system or restart xhci_hcd
 +<code>
 +#insert your device after echo -n
 +echo -n "0000:00:14.0" | tee /sys/bus/pci/drivers/xhci_hcd/unbind
 +sleep 5
 +echo -n "0000:00:14.0" | tee /sys/bus/pci/drivers/xhci_hcd/bind
 +</code>
 +
 +==== Cause ====
 +
 +I wish I knew...
linux/ubuntu/troubleshooting.1496328262.txt.gz · Last modified: 2017/06/01 16:44 by lunetikk