LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 06-16-2007, 02:24 PM   #1
Maxei
Member
 
Registered: Mar 2005
Posts: 84

Rep: Reputation: 15
USB Hard-disk suddenly dissapears from system


I have this annoying problem: the USB HD can be connected and detected without problem. But after a while (maybe 10-30 min after connected) the system looses it. There is no way to make it back, only by rebooting SLED 10 completely. Then again the cycle is repeated.

The command dmesg gives this:

uhci_hcd 0000:00:07.2: host system error, PCI problems?
uhci_hcd 0000:00:07.2: host controller halted, very bad!
uhci_hcd 0000:00:07.2: HC died; cleaning up
usb 1-2: USB disconnect, address 2
sd 0:0:0:0: SCSI error: return code = 0x10000
end_request: I/O error, dev sda, sector 155691663
sd 0:0:0:0: rejecting I/O to device being removed
sd 0:0:0:0: rejecting I/O to device being removed
sd 0:0:0:0: rejecting I/O to device being removed
sd 0:0:0:0: rejecting I/O to device being removed
(repeated so many times)...
Buffer I/O error on device sda1, logical block 19028
lost page write due to I/O error on sda1
sd 0:0:0:0: rejecting I/O to device being removed
Buffer I/O error on device sda1, logical block 95321
lost page write due to I/O error on sda1
Buffer I/O error on device sda1, logical block 95322
lost page write due to I/O error on sda1
Buffer I/O error on device sda1, logical block 95323
lost page write due to I/O error on sda1
repeated so many times.....

Any help will be appreciated.
 
Old 06-17-2007, 02:50 AM   #2
pappy_mcfae
Member
 
Registered: Feb 2007
Location: Dallas
Distribution: Gentoo x86 & x86_64
Posts: 190

Rep: Reputation: 31
Quote:
Originally Posted by Maxei
I have this annoying problem: the USB HD can be connected and detected without problem. But after a while (maybe 10-30 min after connected) the system looses it. There is no way to make it back, only by rebooting SLED 10 completely. Then again the cycle is repeated.

The command dmesg gives this:

uhci_hcd 0000:00:07.2: host system error, PCI problems?
uhci_hcd 0000:00:07.2: host controller halted, very bad!
uhci_hcd 0000:00:07.2: HC died; cleaning up
usb 1-2: USB disconnect, address 2
....lots of other stuff from stdout.

Any help will be appreciated.
My first thought is, if the drive seems to shut down after a certain amount of time, there may well be something in the firmware of the drive unit that allows the drive to spin down. Linux sometimes has problems with drives that spin down, be they hard drives or CDROM drives. I would suggest you check the documentation on the drive unit. Pay particular attention to anything that says it allows the drive to spin down. There may be something in the instructions that allows you to stop the drive from spinning down.

Please let me know if that helps.

Blessed be!
Pappy
 
Old 06-17-2007, 07:00 AM   #3
PECONET009
Member
 
Registered: Sep 2006
Location: Finland.
Distribution: kali linux.
Posts: 156

Rep: Reputation: 21
Re: Lost usb drive/ hdd.

If you have the usb plugged into the front of the case it might time out either by not having enough power or it might be just cut the connection if it is idle, try connecting it to the back of your computer, if you are still having the same problem you will have to search for the usb device (when it is live) and in properties look for spindle times or something simular.
 
Old 06-18-2007, 03:48 AM   #4
grahamatlq
Member
 
Registered: Dec 2006
Posts: 40

Rep: Reputation: 18
Bad USB hub?

It appears the problem is with the USB hub:

uhci_hcd 0000:00:07.2: host system error, PCI problems?
uhci_hcd 0000:00:07.2: host controller halted, very bad!
uhci_hcd 0000:00:07.2: HC died; cleaning up

Is this connected through an external hub?

Does something appear to be running a bit hot?

The USB disc: is this externally powered or get's it's power through the hub.

Try downloading a live Ubuntu or Fedora disc and see if it still happens.

Only other thing I acan think of is that you have IRQ problems.

Do you have lots of internal cards in the PC?
 
Old 06-18-2007, 07:41 AM   #5
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
If the drive can be accessed by "hdparm" you can get/set the power-down parameters. So perhaps
Code:
man hdparm
.
 
Old 06-19-2007, 04:31 AM   #6
keithmarshall
LQ Newbie
 
Registered: Jun 2007
Distribution: OpenSUSE 10.0, Ubuntu 6.06
Posts: 4

Rep: Reputation: 0
Quote:
Originally Posted by pappy_mcfae
My first thought is, if the drive seems to shut down after a certain amount of time, there may well be something in the firmware of the drive unit that allows the drive to spin down. Linux sometimes has problems with drives that spin down, be they hard drives or CDROM drives. I would suggest you check the documentation on the drive unit. Pay particular attention to anything that says it allows the drive to spin down. There may be something in the instructions that allows you to stop the drive from spinning down.

Please let me know if that helps.

Blessed be!
Pappy
I'm seeing a remarkably similar problem: *not* with a USB hard drive, but with either of a ByteStor flash memory stick, or a Targus cordless mouse. In my case, there is no (even approximately) regular interval between connection and failure. Sometimes the device will remain live for several hours; others it dies immediately on connection.

I just stumbled across this thread, on first googling this problem, so I haven't yet formulated much of a plan for resolving it. My first thought is a potential IRQ conflict, but the dmesg diagnostics don't offer much of a clue. Since neither of my devices has a spindle to spin down, it seems like that may be a red herring here.

FWIW, I'm seeing this only on my OpenSUSE 10.0 desktop machine; the flash drive is rock solid on my laptop with Ubuntu 6.06, (on which the cordless mouse is recognised on connection, but refuses to actually work). I used to run Mandrake 8.2 on the desktop box, and never experienced this problem. However, I've installed an ethernet card, and switched up from a 512MB to a 2GB flash drive since then, so there may be other factors at play.
 
Old 06-19-2007, 01:36 PM   #7
keithmarshall
LQ Newbie
 
Registered: Jun 2007
Distribution: OpenSUSE 10.0, Ubuntu 6.06
Posts: 4

Rep: Reputation: 0
Quote:
Originally Posted by keithmarshall
... My first thought is a potential IRQ conflict, but the dmesg diagnostics don't offer much of a clue. ...
...and FTR:
Code:
$ cat /proc/interrupts
           CPU0
  0:    1272609          XT-PIC  timer
  1:        574          XT-PIC  i8042
  2:          0          XT-PIC  cascade
  7:          1          XT-PIC  parport0
  8:          2          XT-PIC  rtc
  9:     225104          XT-PIC  Ensoniq AudioPCI
 10:       5343          XT-PIC  eth1
 11:      39152          XT-PIC  ide3, uhci_hcd:usb1, uhci_hcd:usb2
 12:      67265          XT-PIC  i8042
 14:       2755          XT-PIC  ide0
 15:      90447          XT-PIC  ide1
NMI:          0
LOC:          0
ERR:          0
MIS:          0
...so the two usb ports are sharing IRQ 11 with ide3. This is an ABIT KT7-RAID mobo; ide3 is one of the two onboard HPT-370 RAID controller channels. It wasn't enabled when I was running Mandrake 8.2, but it is now, and OpenSUSE 10.0 is on the hdd attached to it. Maybe a conflict there?
 
Old 06-23-2007, 12:52 AM   #8
sixerjman
Member
 
Registered: Sep 2004
Distribution: Debian Testing / Unstable
Posts: 180
Blog Entries: 1

Rep: Reputation: 32
I have an external USB drive and it is managed by the kernel high speed USB module 'ehci_hcd' (USB 2.0). There may be some timing issues when using UCHI (USB 1.0/1.1). If your USB port is older it may not support 2.0. That was the case with my old eMachine. I got a PCI USB 2.0 card and plugged the drive into it and the ehci module loaded right up.
 
  


Reply


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
Suddenly 100% of hard disk usage. What steps should i follow? stormrider_may Linux - Security 9 03-07-2006 05:49 PM
60GB laptop hard disk & 200GB external USB hard disk linux compatibility powah Linux - Hardware 0 03-07-2006 10:55 AM
usb controller dies mounting external usb hard disk komasoftware Linux - Hardware 4 11-30-2005 01:18 PM
Reiser file system / Hard Disk/ Hard Drive Problems Oxyacetylene Linux - Software 4 10-10-2005 02:24 PM
Taskbar dissapears suddenly raffaello Mandriva 3 10-25-2004 04:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 02:00 AM.

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
Open Source Consulting | Domain Registration