Дано: Debian teting (Linux Tarkus 2.6.32-5-686 #1 SMP Wed Aug 25 14:28:12 UTC 2010 i686 GNU/Linux), USB-жёсткий диск (04e8:1f02 Samsung Electronics Co., Ltd) с ФС ext3 на третьем разделе.
Проблема: время от времени программы, читающие с него, «подвисают», iowait загружает всё свободное время процессора. После этого возможно 2 варианта развития событий:
[46039.100040] usb 2-6: reset high speed USB device using ehci_hcd and address 15
программы отвисают и работают дальше.
- (На все консоли syslogd сообщает: [51837.884623] journal commit I/O error).
[51826.112019] usb 2-6: reset high speed USB device using ehci_hcd and address 15 [51826.232026] usb 2-6: device descriptor read/64, error -32 [51826.456017] usb 2-6: device descriptor read/64, error -32 [51826.672015] usb 2-6: reset high speed USB device using ehci_hcd and address 15 [51826.792015] usb 2-6: device descriptor read/64, error -32 [51827.016014] usb 2-6: device descriptor read/64, error -32 [51827.232019] usb 2-6: reset high speed USB device using ehci_hcd and address 15 [51827.272221] usb 2-6: device descriptor read/8, error -71 [51832.404091] usb 2-6: device descriptor read/8, error -110 [51832.619729] usb 2-6: reset high speed USB device using ehci_hcd and address 15 [51832.657999] usb 2-6: device descriptor read/8, error -71 [51837.779240] usb 2-6: device descriptor read/8, error -110 [51837.881680] usb 2-6: USB disconnect, address 15 [51837.881912] sd 11:0:0:0: Device offlined - not ready after error recovery [51837.881933] sd 11:0:0:0: [sdc] Unhandled error code [51837.881935] sd 11:0:0:0: [sdc] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK [51837.881939] sd 11:0:0:0: [sdc] CDB: Read(10): 28 00 16 0e 8b a0 00 00 f0 00 [51837.881946] end_request: I/O error, dev sdc, sector 370052000 [51837.881969] sd 11:0:0:0: [sdc] Unhandled error code [51837.881971] sd 11:0:0:0: [sdc] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK [51837.881973] sd 11:0:0:0: [sdc] CDB: Read(10): 28 00 16 0e 8c 90 00 00 10 00 [51837.881980] end_request: I/O error, dev sdc, sector 370052240 [51837.884027] Aborting journal on device sdc3. [51837.884499] EXT3-fs error (device sdc3) in ext3_reserve_inode_write: Journal has aborted [51837.884535] EXT3-fs error (device sdc3) in ext3_dirty_inode: Journal has aborted [51837.884565] EXT3-fs error (device sdc3): read_block_bitmap: Cannot read block bitmap - block_group = 146, block_bitmap = 4784128 [51837.884590] ext3_abort called. [51837.884592] EXT3-fs error (device sdc3): ext3_journal_start_sb: Detected aborted journal [51837.884595] Remounting filesystem read-only [51837.884623] journal commit I/O error [51837.903029] EXT3-fs error (device sdc3): ext3_get_inode_loc: unable to read inode block - inode=5373953, block=21495810 [51837.903048] EXT3-fs error (device sdc3): ext3_get_inode_loc: unable to read inode block - inode=5373953, block=21495810 [51837.903065] EXT3-fs error (device sdc3): ext3_get_inode_loc: unable to read inode block - inode=2466249, block=9863198 [51837.903078] EXT3-fs error (device sdc3): ext3_get_inode_loc: unable to read inode block - inode=2466249, block=9863198 [51837.911502] EXT3-fs error (device sdc3): ext3_get_inode_loc: unable to read inode block - inode=5736046, block=22937704 [51837.911517] EXT3-fs error (device sdc3): ext3_get_inode_loc: unable to read inode block - inode=5736046, block=22937704 [51837.911534] EXT3-fs error (device sdc3): ext3_get_inode_loc: unable to read inode block - inode=2466118, block=9863190 [51837.911547] EXT3-fs error (device sdc3): ext3_get_inode_loc: unable to read inode block - inode=2466118, block=9863190 [51837.913308] EXT3-fs error (device sdc3): ext3_get_inode_loc: unable to read inode block - inode=2450585, block=9797707 [51837.913323] EXT3-fs error (device sdc3): ext3_get_inode_loc: unable to read inode block - inode=2450585, block=9797707 [51837.913339] EXT3-fs error (device sdc3): ext3_get_inode_loc: unable to read inode block - inode=2450348, block=9797692 [51837.913352] EXT3-fs error (device sdc3): ext3_get_inode_loc: unable to read inode block - inode=2450348, block=9797692 [51837.913367] EXT3-fs error (device sdc3): ext3_get_inode_loc: unable to read inode block - inode=2451582, block=9797769 [51837.913379] EXT3-fs error (device sdc3): ext3_get_inode_loc: unable to read inode block - inode=2451582, block=9797769 [51837.914698] EXT3-fs error (device sdc3): ext3_get_inode_loc: unable to read inode block - inode=2466100, block=9863189 [51838.093205] usb 2-6: new high speed USB device using ehci_hcd and address 16 [51838.216673] usb 2-6: device descriptor read/64, error -32 [51838.444862] usb 2-6: device descriptor read/64, error -32 [51838.664015] usb 2-6: new high speed USB device using ehci_hcd and address 17 [51838.780022] usb 2-6: device descriptor read/64, error -32 [51839.004015] usb 2-6: device descriptor read/64, error -32 [51839.220024] usb 2-6: new high speed USB device using ehci_hcd and address 18 [51844.248055] usb 2-6: device descriptor read/8, error -110 [51849.376045] usb 2-6: device descriptor read/8, error -110 [51849.592017] usb 2-6: new high speed USB device using ehci_hcd and address 19 [51849.632208] usb 2-6: device descriptor read/8, error -71 [51849.764228] usb 2-6: device descriptor read/8, error -71 [51849.868021] hub 2-0:1.0: unable to enumerate USB device on port 6 [51850.136017] usb 7-2: new full speed USB device using uhci_hcd and address 10 [51850.256016] usb 7-2: device descriptor read/64, error -32 [51850.480015] usb 7-2: device descriptor read/64, error -32 [51850.696021] usb 7-2: new full speed USB device using uhci_hcd and address 11 [51850.816017] usb 7-2: device descriptor read/64, error -32 [51851.040016] usb 7-2: device descriptor read/64, error -32 [51851.256033] usb 7-2: new full speed USB device using uhci_hcd and address 12 [51851.287252] usb 7-2: device descriptor read/8, error -71 [51851.415262] usb 7-2: device descriptor read/8, error -71 [51851.628018] usb 7-2: new full speed USB device using uhci_hcd and address 13 [51851.659294] usb 7-2: device descriptor read/8, error -71 [51851.787315] usb 7-2: device descriptor read/8, error -71 [51851.888024] hub 7-0:1.0: unable to enumerate USB device on port 2 [51860.736406] ext3_abort called. [51860.736409] EXT3-fs error (device sdc3): ext3_put_super: Couldn't clean up the journal
После этого приходится размонтировать жёсткий диск, отключать, подключать заново и снова монтировать.
В чём дело?