I have a Seagate external 500GB drive that has a problem with Linux.
What's going on (I'm guessing) is that, after a period of inactivity, the drive
goes into an odd state (probably low-power), and the next read request results
in a read error.  (see below).

What catches my eye is:
Jul 13 14:30:49 steve-dev kernel: [344664.233185]     Additional
sense: Logical unit not ready, initializing command required

It seems to me that this error is requesting that the device be restarted.
  Couldn't the normal response to this sense code be to reset the
device and/or allow it to resettle, rather than throwing an error back
into user space? It's really annoying to have your external hard drive
'randomly' disappear when you go for lunch.

# dd if=/dev/sdd of=/dev/null skip=22 count=30000
dd: reading `/dev/sdd': Input/output error
0+0 records in
0+0 records out
0 bytes (0 B) copied, 0.0405675 seconds, 0.0 kB/s
#
=================
Jul 13 14:30:49 steve-dev kernel: [344664.227652] sd 11:0:0:0: Device
not ready: <6>: Current: sense key: Not Ready
Jul 13 14:30:49 steve-dev kernel: [344664.227665]     Additional
sense: Logical unit not ready, initializing command required
Jul 13 14:30:49 steve-dev kernel: [344664.227674] end_request: I/O
error, dev sdd, sector 16
Jul 13 14:30:49 steve-dev kernel: [344664.227679] Buffer I/O error on
device sdd, logical block 2
Jul 13 14:30:49 steve-dev kernel: [ 344664.233173] sd 11:0:0:0: Device
not ready: <6>: Current: sense key: Not Ready
Jul 13 14:30:49 steve-dev kernel: [344664.233185]     Additional
sense: Logical unit not ready, initializing command required
Jul 13 14:30:49 steve-dev kernel: [ 344664.233193] end_request: I/O
error, dev sdd, sector 16
Jul 13 14:30:49 steve-dev kernel: [344664.233199] Buffer I/O error on
device sdd, logical block 2

lsusb output available on request.
This is running ubuntu  7.0.4
# uname -a
Linux steve-dev 2.6.20-16-generic #2 SMP Thu Jun 7 20:19:32 UTC 2007
i686 GNU/Linux
#

-- 
Stephen Samuel http://www.bcgreen.com
778-861-7641

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Linux-usb-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to