This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux:ubuntu:troubleshooting [2017/06/01 16:44] – lunetikk | linux: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 | ||
+ | </ | ||
+ | |||
+ | if too many | ||
+ | < | ||
+ | mkdir empty_dir | ||
+ | rsync -a --delete empty_dir/ yourdirectory/ | ||
</ | </ | ||
Line 70: | Line 76: | ||
In my case 296093 files in "/ | In my case 296093 files in "/ | ||
+ | |||
+ | ===== USB devices are dead ===== | ||
+ | |||
+ | ==== Errormessage ==== | ||
+ | |||
+ | dmesg shows some like this | ||
+ | < | ||
+ | [48339.446016] xhci_hcd 0000: | ||
+ | [48374.915331] xhci_hcd 0000: | ||
+ | [48374.915341] xhci_hcd 0000: | ||
+ | [48374.915367] xhci_hcd 0000: | ||
+ | [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 | ||
+ | </ | ||
+ | |||
+ | ==== Solution ==== | ||
+ | |||
+ | Reboot your system or restart xhci_hcd | ||
+ | < | ||
+ | #insert your device after echo -n | ||
+ | echo -n " | ||
+ | sleep 5 | ||
+ | echo -n " | ||
+ | </ | ||
+ | |||
+ | ==== Cause ==== | ||
+ | |||
+ | I wish I knew... |