SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello all, I'm having a severe problem with slackware current (and also 13.37, I've tried using both) with USB devices disconnecting randomly - namely USB memory sticks.
The motherboard is a Asus M5A88V EVO motherboard (64 bit), 16 GB Ram, PCIE video card (ATI Radeon HD 4850).
I've also tried compiling and installing a new kernel with the instructions here - http://standardcode.eu/blog/linux/co...slackware.html . I've tried compiling and installing kernel 3.1 and kernel 3.3 rc4, and I get exactly the same random USB disconnect problems.
S
[ 111.703078] sd 9:0:0:0: Attached scsi generic sg8 type 0
[ 111.703712] sd 9:0:0:0: [sdh] 1970175 512-byte logical blocks: (1.00 GB/961 MiB)
[ 111.704689] sd 9:0:0:0: [sdh] Write Protect is off
[ 111.704692] sd 9:0:0:0: [sdh] Mode Sense: 45 00 00 08
[ 111.705836] sd 9:0:0:0: [sdh] No Caching mode page present
[ 111.705838] sd 9:0:0:0: [sdh] Assuming drive cache: write through
[ 111.708837] sd 9:0:0:0: [sdh] No Caching mode page present
[ 111.708839] sd 9:0:0:0: [sdh] Assuming drive cache: write through
[ 111.710338] sdh: sdh1
[ 111.712958] sd 9:0:0:0: [sdh] No Caching mode page present
[ 111.712960] sd 9:0:0:0: [sdh] Assuming drive cache: write through
[ 111.712962] sd 9:0:0:0: [sdh] Attached SCSI removable disk
[ 111.821087] usb 3-1: reset high-speed USB device number 2 using ehci_hcd
[ 112.052388] usb 3-1: reset high-speed USB device number 2 using ehci_hcd
[ 112.280975] usb 3-1: reset high-speed USB device number 2 using ehci_hcd
[ 112.504012] usb 3-1: reset high-speed USB device number 2 using ehci_hcd
[ 112.730012] usb 3-1: reset high-speed USB device number 2 using ehci_hcd
[ 112.956115] usb 3-1: reset high-speed USB device number 2 using ehci_hcd
[ 113.202128] usb 3-1: reset high-speed USB device number 2 using ehci_hcd
[ 113.438083] usb 3-1: reset high-speed USB device number 2 using ehci_hcd
[ 113.667011] usb 3-1: reset high-speed USB device number 2 using ehci_hcd
[ 113.894013] usb 3-1: reset high-speed USB device number 2 using ehci_hcd
[ 114.170014] usb 3-1: reset high-speed USB device number 2 using ehci_hcd
[ 114.411014] usb 3-1: reset high-speed USB device number 2 using ehci_hcd
[ 114.648014] usb 3-1: reset high-speed USB device number 2 using ehci_hcd
[ 114.871011] usb 3-1: reset high-speed USB device number 2 using ehci_hcd
[ 115.095015] usb 3-1: reset high-speed USB device number 2 using ehci_hcd
[ 115.324016] usb 3-1: reset high-speed USB device number 2 using ehci_hcd
[ 115.550016] usb 3-1: reset high-speed USB device number 2 using ehci_hcd
[ 115.786611] usb 3-1: reset high-speed USB device number 2 using ehci_hcd
[ 116.025022] usb 3-1: reset high-speed USB device number 2 using ehci_hcd
[ 116.259021] usb 3-1: reset high-speed USB device number 2 using ehci_hcd
[ 116.483016] usb 3-1: reset high-speed USB device number 2 using ehci_hcd
[ 116.720023] usb 3-1: reset high-speed USB device number 2 using ehci_hcd
[ 116.944021] usb 3-1: reset high-speed USB device number 2 using ehci_hcd
[ 117.175018] usb 3-1: reset high-speed USB device number 2 using ehci_hcd
[ 119.159016] usb 3-1: reset high-speed USB device number 2 using ehci_hcd
[ 119.273958] sd 9:0:0:0: [sdh] Unhandled error code
I thought that there was a possibility that this might be being causes by USB 3 problems, however disabling the USB 3 (this motherboard has USB 3 on board) made no difference.
lspci output;
Code:
00:00.0 Host bridge: Advanced Micro Devices [AMD] RS880 Host Bridge
00:02.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (ext gfx port 0)
00:09.0 PCI bridge: Advanced Micro Devices [AMD] RS780/RS880 PCI to PCI bridge (PCIE port 4)
00:0a.0 PCI bridge: Advanced Micro Devices [AMD] RS780/RS880 PCI to PCI bridge (PCIE port 5)
00:11.0 SATA controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 SATA Controller [IDE mode] (rev 40)
00:12.0 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:12.2 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:13.0 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:13.2 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 42)
00:14.1 IDE interface: ATI Technologies Inc SB7x0/SB8x0/SB9x0 IDE Controller (rev 40)
00:14.3 ISA bridge: ATI Technologies Inc SB7x0/SB8x0/SB9x0 LPC host controller (rev 40)
00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge (rev 40)
00:14.5 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
00:15.0 PCI bridge: ATI Technologies Inc Device 43a0
00:15.1 PCI bridge: ATI Technologies Inc Device 43a1
00:16.0 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:16.2 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:18.0 Host bridge: Advanced Micro Devices [AMD] Device 1600
00:18.1 Host bridge: Advanced Micro Devices [AMD] Device 1601
00:18.2 Host bridge: Advanced Micro Devices [AMD] Device 1602
00:18.3 Host bridge: Advanced Micro Devices [AMD] Device 1603
00:18.4 Host bridge: Advanced Micro Devices [AMD] Device 1604
00:18.5 Host bridge: Advanced Micro Devices [AMD] Device 1605
01:00.0 VGA compatible controller: ATI Technologies Inc RV770 [Radeon HD 4850]
01:00.1 Audio device: ATI Technologies Inc HD48x0 audio
02:00.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6315 Series Firewire Controller
02:00.1 IDE interface: VIA Technologies, Inc. VT6415 PATA IDE Host Controller (rev a0)
03:00.0 USB Controller: Device 1b21:1042
05:00.0 PCI bridge: PLX Technology, Inc. PEX8112 x1 Lane PCI Express-to-PCI Bridge (rev aa)
06:04.0 Multimedia audio controller: C-Media Electronics Inc CMI8788 [Oxygen HD Audio]
07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)
Is this some sort of hardware failure, bad or broken driver? Older systems with linux installed don't seem to have this problem at all.
Maybe I can ask a few questions that come to mind that may help others find you some answers.
1. Is this more than one USB device/disk, or the same one each time?
2. I'm going to assume you've tried different USB ports? Front and back ports (if applicable)?
3. Have you checked the bios for any USB power save options that may, or may not cause disconnections?
4. When you plug in the device(s), are you able to access them at all before they disconnect? If so, how long typically?
5. Are these devices powered (meaning do they have their own power cable), or are they getting power from the USB port? If they are getting power from the usb port, what type of devices are they, and what wattage of power supply do you have? Could it be that you're running out of power, and the USB is essentially turning itself off? (this was a personal issue of mind a while ago).
Maybe I can ask a few questions that come to mind that may help others find you some answers.
1. Is this more than one USB device/disk, or the same one each time?
There is more than one USB device plugged in, a USB wifi RTL8187 device and a usb mouse. Those are the only things though.
2. I'm going to assume you've tried different USB ports? Front and back ports (if applicable)
I've tried the two front ports (connected through a device called a Pluscom 5.25 Media dashboard, basically it has holes for usb, sata, sd, etc), just a front port adapter. Not tried the back ones though.
**EDIT** I have now tried the rear USB ports and these worked better than the front ports (through the pluscom device).
3. Have you checked the bios for any USB power save options that may, or may not cause disconnections?
I've tried disabling all power management (most noticably ACPI) but it seemed to make no difference.
4. When you plug in the device(s), are you able to access them at all before they disconnect? If so, how long typically?
It almost feels random. Sometimes I can use it for a while maybe (at a rough guess, as I didn't time it exactly) maybe 10 or 20 mins within qemu. At other times it can be mere seconds, just enough time for KDE to load up icons.
5. Are these devices powered (meaning do they have their own power cable), or are they getting power from the USB port? If they are getting power from the usb port, what type of devices are they, and what wattage of power supply do you have? Could it be that you're running out of power, and the USB is essentially turning itself off? (this was a personal issue of mind a while ago).
Nope, all the devices I'm using are powered right off the USB ports.
Ok, lets start there and see where that takes us
Jay
Thanks for that Some more information --
I've now bought a new power supply -- the old power supply is a "noname" brand but is rated at 800W. The power supply I bought this time is a little smaller (750W) but is branded as an OCZ Technlogies ZT series power supply.
After plugging in the new power supply it appears to be at first doing the same as the old one - random USB disconnects.
Prehaps I'm looking at a duff pluscom media dashboard or (worse) faulty USB headers on the motherboard? I'm not sure why the pluscom device and the motherboard would be incompatible.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.