LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-23-2014, 04:47 PM   #1
Fonk
Member
 
Registered: May 2004
Location: Münster / Germany
Distribution: Debian, Fedora
Posts: 43

Rep: Reputation: 15
Question USB HDD randomly disconnecting (Igel thin client)


Hi!

I have an Igel 3200 thin client with Debian 7 installed on it and would like to use it as NAS with two USB Disks in two Enermax Brick cases (3,5", SATA, self powered with own power supply). Unfortunately the disks seem to disconnect randomly after staying connected for about 24 hours. In the Logs, this looks like this:

Code:
Feb 10 04:44:47 srv50 cron-apt: After this operation, 375 kB disk space will be freed.
Feb 10 04:44:47 srv50 cron-apt: Download complete and in download only mode
Feb 10 06:25:10 srv50 rsyslogd: [origin software="rsyslogd" swVersion="5.8.11" x-pid="2522" x-info="http://www.rsyslog.com"] rsyslogd was HUPed
Feb 10 08:51:32 srv50 kernel: [224576.451982] usb 1-1: USB disconnect, device number 2
Feb 10 08:51:33 srv50 kernel: [224576.984123] usb 1-1: new high-speed USB device number 7 using ehci_hcd
Feb 10 08:51:33 srv50 kernel: [224577.120820] usb 1-1: New USB device found, idVendor=1bcf, idProduct=0c31
Feb 10 08:51:33 srv50 kernel: [224577.120853] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Feb 10 08:51:33 srv50 kernel: [224577.120880] usb 1-1: Product: USB to Serial-ATA bridge
Feb 10 08:51:33 srv50 kernel: [224577.120904] usb 1-1: Manufacturer: Sunplus Innovation Technology 
Feb 10 08:51:33 srv50 kernel: [224577.120930] usb 1-1: SerialNumber: FF3500320A0000000000009FF5F2AF
Feb 10 08:51:33 srv50 kernel: [224577.130747] scsi5 : usb-storage 1-1:1.0
Feb 10 08:51:34 srv50 kernel: [224578.136614] scsi 5:0:0:0: Direct-Access     ST350032 0AS              0200 PQ: 0 ANSI: 4
Feb 10 08:51:34 srv50 kernel: [224578.152522] sd 5:0:0:0: [sde] 976773168 512-byte logical blocks: (500 GB/465 GiB)
Feb 10 08:51:34 srv50 kernel: [224578.159738] sd 5:0:0:0: [sde] Write Protect is off
Feb 10 08:51:34 srv50 kernel: [224578.160088] sd 5:0:0:0: Attached scsi generic sg2 type 0
Feb 10 08:51:34 srv50 kernel: [224578.208630]  sde: sde1
Feb 10 08:51:34 srv50 kernel: [224578.228693] sd 5:0:0:0: [sde] Attached SCSI disk
Feb 10 08:51:35 srv50 kernel: [224578.873489] lost page write due to I/O error on dm-15
Feb 10 08:51:35 srv50 kernel: [224578.875751] lost page write due to I/O error on dm-15
Feb 10 08:51:35 srv50 kernel: [224578.885015] lost page write due to I/O error on dm-15
Feb 10 08:51:37 srv50 kernel: [224581.505745] lost page write due to I/O error on dm-15
Of course after this the reads and writes to the old device are not successful (it's a luks-volume with lvm on it) and I have to reboot the system to get rid of the dead lvm and luks entries...

My smart-daemon tells me, that the disks are fine...

Things I already tried:
- Changed one of the Enermax Brick with a simple SATA-to-USB Converter
- Changed the USB-Cable
- Fiddled around with power safing settings
- disabled the smartd

Nothing helped so far.. I even captured the traffic on the usb part (wireshark capture: http://unforgotten.de/plain/usb.cap) but I don't really know the protocol in detail... perhaps anyone can see the reason for the disconnect in the protocol?

For me it seems to be a problem with the host ports, as both disks have the same problem even with another SATA-to-USB converter - although they are of the same model/manufacturer (Seagate ST350032 with up-to-date firmware). I haven't tried the disks on another system as I don't have another 24/7-System running.

BTW: Does anyone know if and how I can update the BIOS of the Igel thin client (and where to get the files)?

Maybe this is interesting as well:
Code:
root@srv50:/var/log# lspci -k
00:00.0 Host bridge: VIA Technologies, Inc. VT8623 [Apollo CLE266]
	Subsystem: VIA Technologies, Inc. VT8623 [Apollo CLE266]
	Kernel driver in use: agpgart-via
00:01.0 PCI bridge: VIA Technologies, Inc. VT8633 [Apollo Pro266 AGP]
00:10.0 USB controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
	Subsystem: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
	Kernel driver in use: uhci_hcd
00:10.1 USB controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
	Subsystem: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
	Kernel driver in use: uhci_hcd
00:10.2 USB controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
	Subsystem: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
	Kernel driver in use: uhci_hcd
00:10.3 USB controller: VIA Technologies, Inc. USB 2.0 (rev 82)
	Subsystem: VIA Technologies, Inc. USB 2.0
	Kernel driver in use: ehci_hcd
00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
	Subsystem: VIA Technologies, Inc. VT8235 ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
	Subsystem: VIA Technologies, Inc. VT82C586/B/VT82C686/A/B/VT8233/A/C/VT8235 PIPC Bus Master IDE
	Kernel driver in use: pata_via
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 50)
	Subsystem: VIA Technologies, Inc. K7VT2 motherboard
	Kernel driver in use: snd_via82xx
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 74)
	Subsystem: VIA Technologies, Inc. VT6102 [Rhine II] Embeded Ethernet Controller on VT8235
	Kernel driver in use: via-rhine
01:00.0 VGA compatible controller: VIA Technologies, Inc. VT8623 [Apollo CLE266] integrated CastleRock graphics (rev 03)
	Subsystem: VIA Technologies, Inc. VT8623 [Apollo CLE266] integrated CastleRock graphics
root@srv50:/var/log# lsusb -t
3-1:1.0: No such file or directory
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
    |__ Port 1: Dev 2, If 0, Class=scard, Driver=, 12M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci_hcd/6p, 480M
    |__ Port 1: Dev 2, If 0, Class=stor., Driver=usb-storage, 480M
    |__ Port 2: Dev 3, If 0, Class=stor., Driver=usb-storage, 480M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
root@srv50:/var/log# 
root@srv50:/var/log# uname -a
Linux srv50 3.2.0-4-486 #1 Debian 3.2.54-2 i686 GNU/Linux
root@srv50:/var/log# cat /etc/issue
Debian GNU/Linux 7 \n \l

root@srv50:/var/log#
 
Old 02-24-2014, 05:03 AM   #2
sparc86
Member
 
Registered: Jul 2006
Location: Joinville, Southern Brazil
Distribution: Debian, CentOS
Posts: 296

Rep: Reputation: 31
There's no way you can test the disks in another host?

It sounds like a bug to me. I would try to isolate the problem as much as possible and then check the changelogs for the related drivers, perhaps it is an already solved issue and you just need to update something, I don't know.
 
  


Reply

Tags
disconnect, usb disk


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
External USB drive keeps on disconnecting randomly djgruby Linux - Laptop and Netbook 20 02-24-2014 04:08 PM
IGEL Thin client -- sharing floppy drive to NoMachine server. Izzmit Linux - Desktop 0 07-20-2012 11:20 AM
Accessing usb stick from vxl thin client ummanm Linux - Newbie 0 02-03-2009 07:37 AM
Urgent help required - installing a USB port Printer to an HP Thin Client M@thi Linux - Hardware 1 07-31-2008 10:28 PM
Newbie-Linux on thin client workstation / USB CD-RW k_redford Linux - Hardware 0 09-20-2004 11:51 AM


All times are GMT -5. The time now is 12:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration