Hello, I have a LaCIe external storage (2TB) attached to a Gigabyte P55-US3L running Linux jethro 2.6.32-5-686-bigmem #1 SMP Tue Oct 19 15:03:03 UTC 2010 running Linux jethro 2.6.32-5-686-bigmem #1 SMP Tue Oct 19 15:03:03 UTC 2010. It is formated to allocate two LVs over one VG. Sometimes, when there is an stressing I/O operation runnig, the USB disk resets and any further operation fails. I ran into this today, as an example, when I tried to convert several *.ape files to *.flac format. # touch /media/audio/d/test touch: no se puede efectuar `touch' sobre «/media/audio/d/test»: Sistema de ficheros de sólo lectura # mount | grep audio /dev/mapper/lacie_vg-audio_lv on /media/audio type ext3 (rw,noexec) # touch /media/video/test touch: no se puede efectuar `touch' sobre «/media/video/test»: Error de entrada/salida # mount | grep video /dev/mapper/lacie_vg-video_lv on /media/video type ext3 (rw,noexec) I had been experiencing this problem for some time, but disabling nepomuk scannig over the entire LVs seemed to had solved the issue. Not quite. I also have this kernel trace in /var/log/messages: Oct 31 15:18:45 jethro kernel: [17077.230311] usb 1-3: reset high speed USB device using ehci_hcd and address 3 Oct 31 16:08:31 jethro kernel: [20061.091370] usb 1-3: USB disconnect, address 3 Oct 31 16:08:31 jethro kernel: [20061.091410] sd 12:0:0:0: Device offlined - not ready after error recovery Oct 31 16:08:31 jethro kernel: [20061.091416] sd 12:0:0:0: [sdg] Unhandled error code Oct 31 16:08:31 jethro kernel: [20061.091418] sd 12:0:0:0: [sdg] Result: hostbyte=DID_ABORT driverbyte=DRIVER_OK Oct 31 16:08:31 jethro kernel: [20061.091420] sd 12:0:0:0: [sdg] CDB: Read(10): 28 00 12 7f 2c 70 00 00 f0 00 Oct 31 16:08:31 jethro kernel: [20061.091464] sd 12:0:0:0: [sdg] Unhandled error code Oct 31 16:08:31 jethro kernel: [20061.091465] sd 12:0:0:0: [sdg] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK Oct 31 16:08:31 jethro kernel: [20061.091467] sd 12:0:0:0: [sdg] CDB: Read(10): 28 00 12 7f 2d 60 00 00 10 00 Oct 31 16:08:31 jethro kernel: [20061.091502] lost page write due to I/O error on dm-2 Oct 31 16:08:31 jethro kernel: [20061.091518] lost page write due to I/O error on dm-2 Oct 31 16:08:31 jethro kernel: [20061.091532] lost page write due to I/O error on dm-2 Oct 31 16:08:31 jethro kernel: [20061.091550] lost page write due to I/O error on dm-2 Oct 31 16:08:31 jethro kernel: [20061.091564] lost page write due to I/O error on dm-2 Oct 31 16:08:31 jethro kernel: [20061.091578] lost page write due to I/O error on dm-2 Oct 31 16:08:31 jethro kernel: [20061.091593] lost page write due to I/O error on dm-2 Oct 31 16:08:31 jethro kernel: [20061.091606] lost page write due to I/O error on dm-2 Oct 31 16:08:31 jethro kernel: [20061.091620] lost page write due to I/O error on dm-2 Oct 31 16:08:31 jethro kernel: [20061.091634] lost page write due to I/O error on dm-2 Oct 31 16:08:31 jethro kernel: [20061.095745] ------------[ cut here ]------------ Oct 31 16:08:31 jethro kernel: [20061.095750] WARNING: at /tmp/buildd/linux-2.6-2.6.32/debian/build/source_i386_none/fs/buffer.c:1160 mark_buffer_dirty+0x20/0x7a() Oct 31 16:08:31 jethro kernel: [20061.095752] Hardware name: P55-US3L Oct 31 16:08:31 jethro kernel: [20061.095753] Modules linked in: tun ipt_REJECT xt_tcpudp iptable_filter ip_tables x_tables ppdev lp dahdi_echocan_oslec echo wcfxo dahdi crc_ccitt kvm_intel kvm binfmt_misc fuse bridge stp loop saa7134_alsa tda10048 saa7134_dvb videobuf_dvb dvb_core snd_hda_codec_atihdmi snd_hda_codec_realtek tda18271 tda8290 tuner usbhid hid saa7134 snd_hda_intel ir_common snd_hda_codec v4l2_common videodev v4l1compat snd_hwdep snd_seq_midi r8169 snd_pcm_oss sg snd_rawmidi snd_mixer_oss snd_seq_midi_event videobuf_dma_sg sr_mod snd_seq i2c_i801 snd_pcm cdrom usb_storage snd_seq_device videobuf_core snd_timer tveeprom uhci_hcd ehci_hcd usbcore pcspkr evdev i2c_core ata_generic snd soundcore par port_pc parport ata_piix pata_jmicron tulip mii serio_raw ahci nls_base processor button snd_page_alloc fglrx(P) ext3 jbd mbcache dm_mod raid1 md_mod sd_mod crc_t10dif sata_via libata scsi_mod thermal thermal_sys Oct 31 16:08:31 jethro kernel: [20061.095802] Pid: 17325, comm: ffmpeg Tainted: P 2.6.32-5-686-bigmem #1 Oct 31 16:08:31 jethro kernel: [20061.095803] Call Trace: Oct 31 16:08:31 jethro kernel: [20061.095808] [<c10363f5>] ? warn_slowpath_common+0x5e/0x8a Oct 31 16:08:31 jethro kernel: [20061.095811] [<c103642b>] ? warn_slowpath_null+0xa/0xc Oct 31 16:08:31 jethro kernel: [20061.095813] [<c10d51d0>] ? mark_buffer_dirty+0x20/0x7a Oct 31 16:08:31 jethro kernel: [20061.095821] [<f8307fac>] ? ext3_commit_super+0x40/0x56 [ext3] Oct 31 16:08:31 jethro kernel: [20061.095827] [<f8309516>] ? ext3_handle_error+0x6e/0x8e [ext3] Oct 31 16:08:31 jethro kernel: [20061.095833] [<f830958a>] ? __ext3_std_error+0x54/0x6f [ext3] Oct 31 16:08:31 jethro kernel: [20061.095840] [<f8306dd7>] ? ext3_orphan_add+0x133/0x13d [ext3] Oct 31 16:08:31 jethro kernel: [20061.095846] [<f830ab75>] ? __ext3_journal_stop+0x2e/0x34 [ext3] Oct 31 16:08:31 jethro kernel: [20061.095851] [<f8303fcf>] ? ext3_ordered_write_end+0x103/0x141 [ext3] Oct 31 16:08:31 jethro kernel: [20061.095857] [<c108e4ba>] ? generic_file_buffered_write+0x12f/0x21d Oct 31 16:08:31 jethro kernel: [20061.095862] [<c10d061f>] ? __mark_inode_dirty+0x4f/0x10b Oct 31 16:08:31 jethro kernel: [20061.095867] [<c10d061f>] ? __mark_inode_dirty+0x4f/0x10b Oct 31 16:08:31 jethro kernel: [20061.095870] [<c108e9a5>] ? __generic_file_aio_write+0x265/0x28d Oct 31 16:08:31 jethro kernel: [20061.095875] [<c10c8f7e>] ? touch_atime+0x69/0xd9 Oct 31 16:08:31 jethro kernel: [20061.095880] [<c102aec2>] ? update_curr+0x106/0x1b3 Oct 31 16:08:31 jethro kernel: [20061.095883] [<c108ea1e>] ? generic_file_aio_write+0x51/0x93 Oct 31 16:08:31 jethro kernel: [20061.095888] [<c10ba52a>] ? do_sync_write+0xc0/0x107 Oct 31 16:08:31 jethro kernel: [20061.095893] [<c104a0fe>] ? autoremove_wake_function+0x0/0x2d Oct 31 16:08:31 jethro kernel: [20061.095898] [<c1109918>] ? security_file_permission+0xc/0xd Oct 31 16:08:31 jethro kernel: [20061.095901] [<c10ba46a>] ? do_sync_write+0x0/0x107 Oct 31 16:08:31 jethro kernel: [20061.095904] [<c10bae56>] ? vfs_write+0x7e/0xd6 Oct 31 16:08:31 jethro kernel: [20061.095907] [<c10baf46>] ? sys_write+0x3c/0x63 Oct 31 16:08:31 jethro kernel: [20061.095911] [<c10080db>] ? sysenter_do_call+0x12/0x28 Oct 31 16:08:31 jethro kernel: [20061.095914] ---[ end trace cf732a3912b3a774 ]--- Oct 31 16:08:31 jethro kernel: [20061.101981] JBD: Detected IO errors while flushing file data on dm-2 Oct 31 16:08:31 jethro kernel: [20061.102057] JBD: Detected IO errors while flushing file data on dm-2 Oct 31 16:08:31 jethro kernel: [20061.350721] usb 1-3: new high speed USB device using ehci_hcd and address 6 Oct 31 16:08:32 jethro kernel: [20061.910315] usb 1-3: new high speed USB device using ehci_hcd and address 7 Oct 31 16:08:32 jethro kernel: [20062.461947] usb 1-3: new high speed USB device using ehci_hcd and address 8 Oct 31 16:08:43 jethro kernel: [20072.810944] usb 1-3: new high speed USB device using ehci_hcd and address 9 Oct 31 16:08:48 jethro kernel: [20078.330834] usb 4-1: new full speed USB device using uhci_hcd and address 2 Oct 31 16:08:49 jethro kernel: [20078.939149] usb 4-1: new full speed USB device using uhci_hcd and address 3 Oct 31 16:08:50 jethro kernel: [20079.490020] usb 4-1: new full speed USB device using uhci_hcd and address 4 Oct 31 16:08:50 jethro kernel: [20079.861758] usb 4-1: new full speed USB device using uhci_hcd and address 5 Oct 31 16:23:30 jethro kernel: [20959.654810] __ratelimit: 9682 callbacks suppressed Oct 31 16:23:30 jethro kernel: [20959.654833] lost page write due to I/O error on dm-3 Oct 31 16:23:30 jethro kernel: [20959.654933] lost page write due to I/O error on dm-3 Oct 31 16:23:36 jethro kernel: [20965.401584] lost page write due to I/O error on dm-3 Oct 31 16:23:36 jethro kernel: [20965.401649] lost page write due to I/O error on dm-3 Any ideas? TIA.
Attachment:
signature.asc
Description: Digital signature