LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 12-06-2004, 07:02 AM   #1
turls
LQ Newbie
 
Registered: Oct 2003
Posts: 26

Rep: Reputation: 15
Updatedb is crashing my usb2 external drive


Hi

Can anyone help?

I have found out that updatedb (which runs as a cron job) is crashing my USB2 harddrive. This does not occur with USB1.

The output from dmesg is:
hub.c: USB device not accepting new address (error=-71)
Dec 6 11:16:53 everton kernel: scsi: device set offline - not ready or command retry failed after bus reset: host 0 channel 0 id 0 lun 0
Dec 6 11:16:53 everton kernel: SCSI disk error : host 0 channel 0 id 0 lun 0 return code = 70000
Dec 6 11:16:53 everton kernel: I/O error: dev 08:01, sector 147592648
Dec 6 11:16:53 everton kernel: I/O error: dev 08:01, sector 405798944
Dec 6 11:16:53 everton kernel: I/O error: dev 08:01, sector 416284720
Dec 6 11:16:53 everton kernel: I/O error: dev 08:01, sector 421003304
Dec 6 11:16:53 everton kernel: I/O error: dev 08:01, sector 427819056
Dec 6 11:16:53 everton kernel: I/O error: dev 08:01, sector 428605472
Dec 6 11:16:53 everton kernel: I/O error: dev 08:01, sector 430964768
Dec 6 11:16:53 everton kernel: I/O error: dev 08:01, sector 433061904
Dec 6 11:16:53 everton kernel: I/O error: dev 08:01, sector 433586208
Dec 6 11:16:53 everton kernel: I/O error: dev 08:01, sector 435421208
Dec 6 11:16:53 everton kernel: I/O error: dev 08:01, sector 439877680


etc etc

I can just disable the upodatedb but I do noy realy want to do this, so any help would be appreciated

Ian
 
Old 12-06-2004, 07:52 AM   #2
frostschutz
Member
 
Registered: Apr 2004
Distribution: Gentoo
Posts: 63

Rep: Reputation: 16
As a userspace program, updatedb shouldn't have the permissions to meddle with hardware. Thus it's not updatedb's fault really. There must be another reason.

Run a filesystem check on your USB2 drive, there may be some corruption which does only occur during updatedb because it goes over the whole disk. In worst case, your drive may be defective.

Another very likely possibility is that linux support for USB2 drives is unstable in general and likely to cause problems especially in heavy I/O load situations (as created by updatedb or simultaneuous copy tasks etc.).
 
  


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
Installing Fedora 4 on an laptop's external USB2 hard drive? Raveolution Fedora 13 12-23-2005 02:55 AM
external hard drive crashing discourse Suse/Novell 6 05-05-2005 01:16 PM
USB2 External drive... Sirkent Debian 2 12-19-2004 07:23 PM
installing on usb2 external drive, kernel panics zed13 Linux - Newbie 3 08-25-2004 08:41 PM
External USB2 Drive: Large File Transfer Stalls randomi Linux - Newbie 3 08-20-2004 02:57 AM


All times are GMT -5. The time now is 11:30 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration