External USB drives become unresponsive after few hours.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have tested the following kernel versions:
- 3.18.4, 3.18.6, 3.18.7, 3.19.4 [all affected]
- 3.17.1 [unaffected]
- 3.17.8 [probably the last unaffected version; I'm using it currently]

Also, I've been using the very same configuration (hardware) along
with 2.6.x, 3.2.x, 3.4.x, 3.10.x and have never encountered such a
behavior before.

And the problem is:

When at least one external drive is plugged-in AND mounted, after ~2-4
hours the following occurs (@11315.681561):

[ 5570.110523] usb 2-1.2: new high-speed USB device number 5 using ehci-pci
[ 5570.852917] usb 2-1.2: New USB device found, idVendor=1058, idProduct=0730
[ 5570.852923] usb 2-1.2: New USB device strings: Mfr=1, Product=2,
SerialNumber=3
[ 5570.852927] usb 2-1.2: Product: My Passport 0730
[ 5570.852930] usb 2-1.2: Manufacturer: Western Digital
[ 5570.852933] usb 2-1.2: SerialNumber:
[ 5570.853517] usb-storage 2-1.2:1.0: USB Mass Storage device detected
[ 5570.853691] scsi host8: usb-storage 2-1.2:1.0
[ 5572.932659] scsi 8:0:0:0: Direct-Access     WD       My Passport
0730 1012 PQ: 0 ANSI: 6
[ 5572.933013] sd 8:0:0:0: Attached scsi generic sg5 type 0
[ 5575.306801] scsi 8:0:0:1: Enclosure         WD       SES Device
  1012 PQ: 0 ANSI: 6
[ 5575.307160] sd 8:0:0:0: [sdc] 976707584 512-byte logical blocks:
(500 GB/465 GiB)
[ 5575.308405] sd 8:0:0:0: [sdc] Write Protect is off
[ 5575.308416] sd 8:0:0:0: [sdc] Mode Sense: 47 00 10 08
[ 5575.309772] sd 8:0:0:0: [sdc] No Caching mode page found
[ 5575.309776] sd 8:0:0:0: [sdc] Assuming drive cache: write through
[ 5575.311176] scsi 8:0:0:1: Attached scsi generic sg6 type 13
[ 5575.328540]  sdc: sdc1
[ 5575.331026] sd 8:0:0:0: [sdc] Attached SCSI disk
[11315.681561] ehci-pci 0000:00:1d.0: swiotlb buffer is full (sz: 32768 bytes)
[11315.681565] DMA: Out of SW-IOMMU space for 32768 bytes at device 0000:00:1d.0
[11315.681874] ehci-pci 0000:00:1d.0: swiotlb buffer is full (sz: 32768 bytes)
[11315.681876] DMA: Out of SW-IOMMU space for 32768 bytes at device 0000:00:1d.0
[11315.682171] ehci-pci 0000:00:1d.0: swiotlb buffer is full (sz: 32768 bytes)
[11315.682174] DMA: Out of SW-IOMMU space for 32768 bytes at device 0000:00:1d.0
[...and so on...]

The amount of bytes may vary, e.g.:
DMA: Out of SW-IOMMU space for 65536 bytes at device 0000:00:1d.0

Also, a *usb-storage* process drains one of CPU cores and can't be
killed even with -9.

When the above occurs, the drive becomes inaccessible and can not be unmounted.
The only way is to unplug it (usb-storage process terminates at this point).
Reboot is also necessary, because error messages keep flooding the log
and some problems with network (eth0) may also happen - it's usable,
but slows down significantly (e.g. when loading a webpage).


My equipment: Toshiba L505-138 laptop (USB-2.0 only) + 2 external 'WD
My Passport' USB drives (750GB: USB-2.0 & 500GB: USB-2.0/3.0).

My system: Fatdog64-700 (a 64bit distro inspired by Puppy Linux and
built from LFS).
http://distro.ibiblio.org/fatdog/web/

Here's where I posted about the issue for the first time:
http://www.murga-linux.com/puppy/viewtopic.php?p=828168#828168
(so far no one else has reported a similar issue)

Attached 'lscpi -k' output.

Just let me know if you need some more/specific info.

Best regards,
Jake (SFR)
00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 02)
	Subsystem: Toshiba America Info Systems Device ff00
00:01.0 PCI bridge: Intel Corporation Core Processor PCI Express x16 Root Port (rev 02)
	Kernel driver in use: pcieport
00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
	Subsystem: Toshiba America Info Systems Device ff00
00:1a.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
	Subsystem: Toshiba America Info Systems Device ff00
	Kernel driver in use: ehci-pci
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)
	Subsystem: Toshiba America Info Systems Device ff00
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 05)
	Kernel driver in use: pcieport
00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 05)
	Kernel driver in use: pcieport
00:1c.2 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 3 (rev 05)
	Kernel driver in use: pcieport
00:1c.3 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 4 (rev 05)
	Kernel driver in use: pcieport
00:1c.4 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 5 (rev 05)
	Kernel driver in use: pcieport
00:1c.5 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 6 (rev 05)
	Kernel driver in use: pcieport
00:1d.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
	Subsystem: Toshiba America Info Systems Device ff00
	Kernel driver in use: ehci-pci
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a5)
00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 05)
	Subsystem: Toshiba America Info Systems Device ff00
	Kernel driver in use: lpc_ich
	Kernel modules: lpc_ich
00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA AHCI Controller (rev 05)
	Subsystem: Toshiba America Info Systems Device ff00
	Kernel driver in use: ahci
00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 05)
	Subsystem: Toshiba America Info Systems Device ff00
	Kernel modules: i2c_i801
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV730/M96 [Mobility Radeon HD 4650/5165]
	Subsystem: Toshiba America Info Systems Device ff82
	Kernel driver in use: radeon
	Kernel modules: radeon
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] RV710/730 HDMI Audio [Radeon HD 4000 series]
	Subsystem: Toshiba America Info Systems Device ff82
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
07:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8191SEvB Wireless LAN Controller (rev 10)
	Subsystem: Realtek Semiconductor Co., Ltd. Device 8181
	Kernel driver in use: rtl8192se
	Kernel modules: rtl8192se
0c:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)
	Subsystem: Toshiba America Info Systems Device ff00
	Kernel driver in use: r8169
	Kernel modules: r8169
ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 02)
	Subsystem: Intel Corporation Device 8086
ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 02)
	Subsystem: Intel Corporation Device 8086
ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 02)
	Subsystem: Intel Corporation Device 8086
ff:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 02)
	Subsystem: Intel Corporation Device 8086
ff:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 02)
	Subsystem: Intel Corporation Device 8086
ff:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 02)
	Subsystem: Intel Corporation Device 8086

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux