LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* USB HDD or filesystem bugs?
@ 2008-11-06  8:27 Peter Teoh
  2008-11-06  8:30 ` Keith Owens
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Teoh @ 2008-11-06  8:27 UTC (permalink / raw)
  To: LKML

[-- Attachment #1: Type: text/plain, Size: 4448 bytes --]

I am on the latest linus git tree:

/hdc1/download/2.6/linux-2.6-latest>git describe
v2.6.28-rc3-54-g75fa677

OS: is SUSE 10.2, with two external USB harddisk attache, and
seemingly it keep reseting itself.....and the version of OS is built
yesterday:

hardware is AMD ASUS motherboard.

/hdc1/download/2.6/linux-2.6-latest>uname -r
2.6.28-rc3-bigsmp-00031-ga75952b

and then the OS mount the devices again and again with dmesg errors like:

Aborting journal on device sdi1.
Buffer I/O error on device sdi1, logical block 1544
lost page write due to I/O error on sdi1
journal_bmap: journal block not found at offset 20 on sdh3
Aborting journal on device sdh3.
Buffer I/O error on device sdh3, logical block 1545
lost page write due to I/O error on sdh3
journal_bmap: journal block not found at offset 174 on sdj2
Aborting journal on device sdj2.
Buffer I/O error on device sdj2, logical block 1547
lost page write due to I/O error on sdj2
journal_bmap: journal block not found at offset 17 on sdo1
Aborting journal on device sdo1.
Buffer I/O error on device sdo1, logical block 1544
lost page write due to I/O error on sdo1
journal_bmap: journal block not found at offset 21 on sdl1
Aborting journal on device sdl1.
Aborting journal on device sdn1.
journal_bmap: journal block not found at offset 91 on sdg1
Aborting journal on device sdg1.

ext3_abort called.
EXT3-fs error (device sdp2): ext3_journal_start_sb: Detected aborted journal
Remounting filesystem read-only

and "df" gives:

Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sdb1             38456308  33384388   3118420  92% /
udev                   1541624       216   1541408   1% /dev
/dev/hdc1             96132940  67300228  23949356  74% /hdc1
/dev/hdc2             96132968  47080232  44169380  52% /hdc2
/dev/sda1             83222548   5558748  73469632   8% /mnt/test3
/dev/sda3             77507676  12215840  61385632  17% /sda3
/dev/sda3             77507676  12215840  61385632  17% /media/disk
//sanjose/public$    776847172 568762936 208084236  74% /sanjose/public
//sanjose/tteikhua$  776847172 568762936 208084236  74% /sanjose/tteikhua
//sanjose/backup$    776847172 568762936 208084236  74% /sanjose/backup
/dev/sdd2             38456340  29737232   6765604  82% /media/disk-1
/dev/sdd1             38456308  29907992   6594816  82% /media/disk-2
/dev/sde4             40631988  27648744  10885960  72% /media/_1
/dev/sdf2             38456340  29737232   6765604  82% /media/disk-3
/dev/sdg2             38448304  29827256   6667948  82% /media/disk-5
/dev/sdf1             38456308  29907992   6594816  82% /media/disk-6
/dev/sdg1             39381744  11281468  26099784  31% /media/disk-7
/dev/sdg4             40631988  27648744  10885960  72% /media/_1_
/dev/sdh1             38456308  29907992   6594816  82% /media/disk-8
/dev/sdh3             76904380  28664160  44333616  40% /media/disk-9
/dev/sdi5             14659280  14656544      2736 100% /media/disk-10
/dev/sdi2             38448304  29827256   6667948  82% /media/disk-11
/dev/sdi1             39381744  11281468  26099784  31% /media/disk-12
/dev/sdi4             40631988  27648744  10885960  72% /media/_1__
/dev/sdj1             38456308  29907992   6594816  82% /media/disk-4
/dev/sdj2             38456340  29737232   6765604  82% /media/disk-14
/dev/sdk4             40631988  27648744  10885960  72% /media/_1___
/dev/sdl2             38456340  29737232   6765604  82% /media/disk-13
/dev/sdl1             38456308  29907992   6594816  82% /media/disk-15
/dev/sdl3             76904380  28664160  44333616  40% /media/disk-16
/dev/sdm2             38448304  29827256   6667948  82% /media/disk-20
/dev/sdm4             40631988  27648744  10885960  72% /media/_1____
/dev/sdn1             39381744  11281468  26099784  31% /media/disk-18
/dev/sdn5             14659280  14656544      2736 100% /media/disk-19
/dev/sdn2             38448304  29827256   6667948  82% /media/disk-21
/dev/sdn4             40631988  27648744  10885960  72% /media/_1_____


"ls" the /media/disk-25/ gives:

Remounting filesystem read-only
/hdc1/download/2.6/linux-2.6-latest>ls /media/disk-25
ls: reading directory /media/disk-25: Input/output error

any specific direction I should look for?

Full dmesg output attached.

i can do a git-bisect......but then it will take me till monday to do
again....perhaps i will try it out on two other different machine.

-- 
Regards,
Peter Teoh

[-- Attachment #2: mydmesg --]
[-- Type: application/octet-stream, Size: 30273 bytes --]

hub 2-0:1.0: over-current change on port 7
hub 2-0:1.0: over-current change on port 8
hub 2-0:1.0: over-current change on port 7
usb 2-5: new high speed USB device using ehci_hcd and address 9
usb 2-5: configuration #1 chosen from 1 choice
scsi12 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 9
usb-storage: waiting for device to settle before scanning
scsi 12:0:0:0: Direct-Access     Maxtor   OneTouch         0125 PQ: 0 ANSI: 4
sd 12:0:0:0: [sdj] 625142448 512-byte hardware sectors: (320 GB/298 GiB)
sd 12:0:0:0: [sdj] Write Protect is off
sd 12:0:0:0: [sdj] Mode Sense: 2d 08 00 00
sd 12:0:0:0: [sdj] Assuming drive cache: write through
sd 12:0:0:0: [sdj] 625142448 512-byte hardware sectors: (320 GB/298 GiB)
sd 12:0:0:0: [sdj] Write Protect is off
sd 12:0:0:0: [sdj] Mode Sense: 2d 08 00 00
sd 12:0:0:0: [sdj] Assuming drive cache: write through
 sdj: sdj1 sdj2 sdj3
sd 12:0:0:0: [sdj] Attached SCSI disk
sd 12:0:0:0: Attached scsi generic sg3 type 0
usb-storage: device scan complete
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sdj1, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sdj3, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sdj2, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
usb 2-6: new high speed USB device using ehci_hcd and address 10
hub 2-0:1.0: unable to enumerate USB device on port 6
usb 2-6: new high speed USB device using ehci_hcd and address 11
hub 2-0:1.0: unable to enumerate USB device on port 6
usb 2-6: new high speed USB device using ehci_hcd and address 12
usb 2-6: configuration #1 chosen from 1 choice
scsi13 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 12
usb-storage: waiting for device to settle before scanning
scsi 13:0:0:0: Direct-Access     WD       1600BEAExternal  1.02 PQ: 0 ANSI: 0
sd 13:0:0:0: [sdk] 312581808 512-byte hardware sectors: (160 GB/149 GiB)
sd 13:0:0:0: [sdk] Write Protect is off
sd 13:0:0:0: [sdk] Mode Sense: 00 00 00 00
sd 13:0:0:0: [sdk] Assuming drive cache: write through
sd 13:0:0:0: [sdk] 312581808 512-byte hardware sectors: (160 GB/149 GiB)
sd 13:0:0:0: [sdk] Write Protect is off
sd 13:0:0:0: [sdk] Mode Sense: 00 00 00 00
sd 13:0:0:0: [sdk] Assuming drive cache: write through
 sdk: sdk1 sdk2 sdk3 < sdk5 > sdk4
sd 13:0:0:0: [sdk] Attached SCSI disk
sd 13:0:0:0: Attached scsi generic sg4 type 0
usb-storage: device scan complete
kjournald starting.  Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS on sdk1, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
NTFS volume version 3.1.
NTFS-fs error (device sdk5): load_system_files(): Volume is dirty.  Mounting read-only.  Run chkdsk and mount in Windows.
kjournald starting.  Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS on sdk2, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sdk4, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
usb 2-5: USB disconnect, address 9
Aborting journal on device sdj3.
Buffer I/O error on device sdj3, logical block 1545
lost page write due to I/O error on sdj3
journal commit I/O error
ext3_abort called.
EXT3-fs error (device sdj3): ext3_put_super: Couldn't clean up the journal
Remounting filesystem read-only
usb 2-6: USB disconnect, address 12
Buffer I/O error on device sdk2, logical block 1544
lost page write due to I/O error on sdk2
Aborting journal on device sdk2.
Buffer I/O error on device sdk2, logical block 1544
lost page write due to I/O error on sdk2
journal commit I/O error
ext3_abort called.
EXT3-fs error (device sdk2): ext3_put_super: Couldn't clean up the journal
Remounting filesystem read-only
hub 2-0:1.0: over-current change on port 7
Buffer I/O error on device sdk1, logical block 1544
lost page write due to I/O error on sdk1
Buffer I/O error on device sdk1, logical block 1544
lost page write due to I/O error on sdk1
Buffer I/O error on device sdk1, logical block 0
lost page write due to I/O error on sdk1
hub 2-0:1.0: over-current change on port 8
hub 2-0:1.0: over-current change on port 7
hub 2-0:1.0: over-current change on port 8
hub 2-0:1.0: over-current change on port 7
hub 2-0:1.0: over-current change on port 7
hub 2-0:1.0: over-current change on port 8
hub 2-0:1.0: over-current change on port 7
hub 2-0:1.0: over-current change on port 8
hub 2-0:1.0: over-current change on port 7
usb 2-5: new high speed USB device using ehci_hcd and address 13
usb 2-5: configuration #1 chosen from 1 choice
scsi14 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 13
usb-storage: waiting for device to settle before scanning
scsi 14:0:0:0: Direct-Access     Maxtor   OneTouch         0125 PQ: 0 ANSI: 4
sd 14:0:0:0: [sdl] 625142448 512-byte hardware sectors: (320 GB/298 GiB)
sd 14:0:0:0: [sdl] Write Protect is off
sd 14:0:0:0: [sdl] Mode Sense: 2d 08 00 00
sd 14:0:0:0: [sdl] Assuming drive cache: write through
sd 14:0:0:0: [sdl] 625142448 512-byte hardware sectors: (320 GB/298 GiB)
sd 14:0:0:0: [sdl] Write Protect is off
sd 14:0:0:0: [sdl] Mode Sense: 2d 08 00 00
sd 14:0:0:0: [sdl] Assuming drive cache: write through
 sdl:<6>usb 2-6: new high speed USB device using ehci_hcd and address 14
usb 2-6: configuration #1 chosen from 1 choice
scsi15 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 14
usb-storage: waiting for device to settle before scanning
 sdl1 sdl2 sdl3
sd 14:0:0:0: [sdl] Attached SCSI disk
sd 14:0:0:0: Attached scsi generic sg3 type 0
usb-storage: device scan complete
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sdl2, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sdl1, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sdl3, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
scsi 15:0:0:0: Direct-Access     WD       1600BEAExternal  1.02 PQ: 0 ANSI: 0
sd 15:0:0:0: [sdm] 312581808 512-byte hardware sectors: (160 GB/149 GiB)
sd 15:0:0:0: [sdm] Write Protect is off
sd 15:0:0:0: [sdm] Mode Sense: 00 00 00 00
sd 15:0:0:0: [sdm] Assuming drive cache: write through
sd 15:0:0:0: [sdm] 312581808 512-byte hardware sectors: (160 GB/149 GiB)
sd 15:0:0:0: [sdm] Write Protect is off
sd 15:0:0:0: [sdm] Mode Sense: 00 00 00 00
sd 15:0:0:0: [sdm] Assuming drive cache: write through
 sdm: sdm1 sdm2 sdm3 < sdm5 > sdm4
sd 15:0:0:0: [sdm] Attached SCSI disk
sd 15:0:0:0: Attached scsi generic sg4 type 0
usb-storage: device scan complete
usb 2-6: USB disconnect, address 14
sd 15:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 158143605
Buffer I/O error on device sdm2, logical block 78123840
Buffer I/O error on device sdm2, logical block 78123841
Buffer I/O error on device sdm2, logical block 78123842
Buffer I/O error on device sdm2, logical block 78123843
Buffer I/O error on device sdm2, logical block 78123844
Buffer I/O error on device sdm2, logical block 78123845
Buffer I/O error on device sdm2, logical block 78123846
Buffer I/O error on device sdm2, logical block 78123847
sd 15:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 245701665
NTFS-fs error (device sdm5): ntfs_end_buffer_async_read(): Buffer I/O error, logical block 0x37f188.
NTFS-fs error (device sdm5): ntfs_end_buffer_async_read(): Buffer I/O error, logical block 0x37f189.
sd 15:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 158143605
sd 15:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 245701665
sd 15:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 158143845
sd 15:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 242035393
sd 15:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 158143845
sd 15:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 242035393
sd 15:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 80019765
sd 15:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 80019765
sd 15:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 80019765
sd 15:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 80019765
sd 15:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 80019765
sd 15:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 80019765
sd 15:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 80019765
sd 15:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 80019765
sd 15:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 80019765
sd 15:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 80019765
sd 15:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 80019765
sd 15:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 80019765
sd 15:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 80019765
sd 15:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 80019765
sd 15:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 80019765
sd 15:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 80019765
sd 15:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 80019765
sd 15:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 80019765
sd 15:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 80019765
sd 15:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 80019765
sd 15:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 80019765
sd 15:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 80019765
sd 15:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 80019765
sd 15:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 80019765
sd 15:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 80019765
sd 15:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 80019765
sd 15:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 80019765
scsi 15:0:0:0: [sdm] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 80019766
usb 2-6: new high speed USB device using ehci_hcd and address 15
usb 2-6: configuration #1 chosen from 1 choice
scsi16 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 15
usb-storage: waiting for device to settle before scanning
usb 2-6: reset high speed USB device using ehci_hcd and address 15
scsi 16:0:0:0: Direct-Access     WD       1600BEAExternal  1.02 PQ: 0 ANSI: 0
sd 16:0:0:0: [sdm] 312581808 512-byte hardware sectors: (160 GB/149 GiB)
sd 16:0:0:0: [sdm] Write Protect is off
sd 16:0:0:0: [sdm] Mode Sense: 00 00 00 00
sd 16:0:0:0: [sdm] Assuming drive cache: write through
sd 16:0:0:0: [sdm] 312581808 512-byte hardware sectors: (160 GB/149 GiB)
sd 16:0:0:0: [sdm] Write Protect is off
sd 16:0:0:0: [sdm] Mode Sense: 00 00 00 00
sd 16:0:0:0: [sdm] Assuming drive cache: write through
 sdm: sdm1 sdm2 sdm3 < sdm5 > sdm4
sd 16:0:0:0: [sdm] Attached SCSI disk
sd 16:0:0:0: Attached scsi generic sg4 type 0
usb-storage: device scan complete
sd 16:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 242035028
__ratelimit: 291 callbacks suppressed
Buffer I/O error on device sdm4, logical block 41945584
Buffer I/O error on device sdm4, logical block 41945585
Buffer I/O error on device sdm4, logical block 41945586
Buffer I/O error on device sdm4, logical block 41945587
usb 2-6: USB disconnect, address 15
scsi 16:0:0:0: [sdm] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 271353657
Buffer I/O error on device sdm5, logical block 14659152
Buffer I/O error on device sdm5, logical block 14659153
Buffer I/O error on device sdm5, logical block 14659154
Buffer I/O error on device sdm5, logical block 14659155
Buffer I/O error on device sdm2, logical block 78123832
Buffer I/O error on device sdm2, logical block 78123833
scsi 16:0:0:0: [sdm] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 80019359
usb 2-6: new high speed USB device using ehci_hcd and address 16
usb 2-6: configuration #1 chosen from 1 choice
scsi17 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 16
usb-storage: waiting for device to settle before scanning
usb 2-6: reset high speed USB device using ehci_hcd and address 16
scsi 17:0:0:0: Direct-Access     WD       1600BEAExternal  1.02 PQ: 0 ANSI: 0
sd 17:0:0:0: [sdm] 312581808 512-byte hardware sectors: (160 GB/149 GiB)
sd 17:0:0:0: [sdm] Write Protect is off
sd 17:0:0:0: [sdm] Mode Sense: 00 00 00 00
sd 17:0:0:0: [sdm] Assuming drive cache: write through
sd 17:0:0:0: [sdm] 312581808 512-byte hardware sectors: (160 GB/149 GiB)
sd 17:0:0:0: [sdm] Write Protect is off
sd 17:0:0:0: [sdm] Mode Sense: 00 00 00 00
sd 17:0:0:0: [sdm] Assuming drive cache: write through
 sdm: sdm1 sdm2 sdm3 < sdm5 > sdm4
sd 17:0:0:0: [sdm] Attached SCSI disk
sd 17:0:0:0: Attached scsi generic sg4 type 0
usb-storage: device scan complete
usb 2-6: USB disconnect, address 16
sd 17:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 80019519
__ratelimit: 672 callbacks suppressed
Buffer I/O error on device sdm1, logical block 40009728
Buffer I/O error on device sdm1, logical block 40009729
Buffer I/O error on device sdm1, logical block 40009730
Buffer I/O error on device sdm1, logical block 40009731
sd 17:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 158143669
Buffer I/O error on device sdm2, logical block 78123904
Buffer I/O error on device sdm2, logical block 78123905
Buffer I/O error on device sdm2, logical block 78123906
Buffer I/O error on device sdm2, logical block 78123907
Buffer I/O error on device sdm2, logical block 78123908
Buffer I/O error on device sdm2, logical block 78123909
sd 17:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 158143669
sd 17:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 158143853
sd 17:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 158143853
sd 17:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 158143853
sd 17:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 158143853
sd 17:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 158143853
sd 17:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 158143853
sd 17:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 158143797
sd 17:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 158143845
sd 17:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 158143853
sd 17:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 158143853
sd 17:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 80019765
sd 17:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 80019765
sd 17:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 80019765
sd 17:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 80019765
sd 17:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 80019765
sd 17:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 80019765
sd 17:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 80019765
sd 17:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 80019765
sd 17:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 80019765
sd 17:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 80019765
sd 17:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 80019765
sd 17:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 80019765
sd 17:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 80019765
scsi 17:0:0:0: [sdm] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 80019765
usb 2-6: new high speed USB device using ehci_hcd and address 17
usb 2-6: configuration #1 chosen from 1 choice
scsi18 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 17
usb-storage: waiting for device to settle before scanning
usb 2-6: reset high speed USB device using ehci_hcd and address 17
scsi 18:0:0:0: Direct-Access     WD       1600BEAExternal  1.02 PQ: 0 ANSI: 0
sd 18:0:0:0: [sdm] 312581808 512-byte hardware sectors: (160 GB/149 GiB)
sd 18:0:0:0: [sdm] Write Protect is off
sd 18:0:0:0: [sdm] Mode Sense: 00 00 00 00
sd 18:0:0:0: [sdm] Assuming drive cache: write through
sd 18:0:0:0: [sdm] 312581808 512-byte hardware sectors: (160 GB/149 GiB)
sd 18:0:0:0: [sdm] Write Protect is off
sd 18:0:0:0: [sdm] Mode Sense: 00 00 00 00
sd 18:0:0:0: [sdm] Assuming drive cache: write through
 sdm: sdm1 sdm2 sdm3 < sdm5 > sdm4
sd 18:0:0:0: [sdm] Attached SCSI disk
sd 18:0:0:0: Attached scsi generic sg4 type 0
usb-storage: device scan complete
usb 2-6: USB disconnect, address 17
sd 18:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 242034884
__ratelimit: 454 callbacks suppressed
Buffer I/O error on device sdm4, logical block 41945512
Buffer I/O error on device sdm4, logical block 41945513
Buffer I/O error on device sdm4, logical block 41945514
Buffer I/O error on device sdm4, logical block 41945515
sd 18:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 271353513
Buffer I/O error on device sdm5, logical block 14659080
Buffer I/O error on device sdm5, logical block 14659081
Buffer I/O error on device sdm5, logical block 14659082
Buffer I/O error on device sdm5, logical block 14659083
sd 18:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 80019359
Buffer I/O error on device sdm1, logical block 40009648
Buffer I/O error on device sdm1, logical block 40009649
sd 18:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 158143461
sd 18:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 242034884
sd 18:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 271353513
sd 18:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 80019359
sd 18:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 158143461
sd 18:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 242035276
sd 18:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 242035353
sd 18:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 80019751
sd 18:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 158143845
sd 18:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 242035276
sd 18:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 242035353
sd 18:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 80019751
sd 18:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 158143845
sd 18:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 158143860
sd 18:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 242035353
sd 18:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 63
sd 18:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 80019765
sd 18:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 158143860
sd 18:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 242035353
sd 18:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 63
sd 18:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 80019765
sd 18:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 158143860
sd 18:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 242035353
sd 18:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 63
sd 18:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 80019765
scsi 18:0:0:0: [sdm] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 158143860
scsi 18:0:0:0: [sdm] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 242035353
usb 2-6: new high speed USB device using ehci_hcd and address 18
usb 2-6: configuration #1 chosen from 1 choice
scsi19 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 18
usb-storage: waiting for device to settle before scanning
usb 2-6: reset high speed USB device using ehci_hcd and address 18
scsi 19:0:0:0: Direct-Access     WD       1600BEAExternal  1.02 PQ: 0 ANSI: 0
sd 19:0:0:0: [sdm] 312581808 512-byte hardware sectors: (160 GB/149 GiB)
sd 19:0:0:0: [sdm] Write Protect is off
sd 19:0:0:0: [sdm] Mode Sense: 00 00 00 00
sd 19:0:0:0: [sdm] Assuming drive cache: write through
sd 19:0:0:0: [sdm] 312581808 512-byte hardware sectors: (160 GB/149 GiB)
sd 19:0:0:0: [sdm] Write Protect is off
sd 19:0:0:0: [sdm] Mode Sense: 00 00 00 00
sd 19:0:0:0: [sdm] Assuming drive cache: write through
 sdm: sdm1 sdm2 sdm3 < sdm5 > sdm4
sd 19:0:0:0: [sdm] Attached SCSI disk
sd 19:0:0:0: Attached scsi generic sg4 type 0
usb-storage: device scan complete
NTFS volume version 3.1.
__ratelimit: 642 callbacks suppressed
NTFS-fs error (device sdm5): load_system_files(): Volume is dirty.  Mounting read-only.  Run chkdsk and mount in Windows.
kjournald starting.  Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS on sdm1, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS on sdm2, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sdm4, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
usb 2-6: USB disconnect, address 18
sd 19:0:0:0: [sdm] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdm, sector 72876111
Buffer I/O error on device sdm4, logical block 2055
lost page write due to I/O error on sdm4
Aborting journal on device sdm4.
Buffer I/O error on device sdm4, logical block 2055
lost page write due to I/O error on sdm4
journal commit I/O error
EXT3-fs error (device sdm1): ext3_get_inode_loc: unable to read inode block - inode=4545857, block=9109506
Buffer I/O error on device sdm1, logical block 0
lost page write due to I/O error on sdm1
Buffer I/O error on device sdm2, logical block 1544
lost page write due to I/O error on sdm2
Aborting journal on device sdm2.
Buffer I/O error on device sdm2, logical block 1544
lost page write due to I/O error on sdm2
journal commit I/O error
Buffer I/O error on device sdm1, logical block 1544
lost page write due to I/O error on sdm1
Aborting journal on device sdm1.
Buffer I/O error on device sdm1, logical block 1544
lost page write due to I/O error on sdm1
journal commit I/O error
ext3_abort called.
EXT3-fs error (device sdm1): ext3_put_super: Couldn't clean up the journal
Remounting filesystem read-only
EXT3-fs error (device sdm2): ext3_find_entry: reading directory #2 offset 0
Buffer I/O error on device sdm2, logical block 0
lost page write due to I/O error on sdm2
ext3_abort called.
EXT3-fs error (device sdm2): ext3_journal_start_sb: Detected aborted journal
Remounting filesystem read-only
EXT3-fs error (device sdm4): ext3_find_entry: reading directory #2 offset 0
Buffer I/O error on device sdm4, logical block 0
lost page write due to I/O error on sdm4
ext3_abort called.
EXT3-fs error (device sdm4): ext3_journal_start_sb: Detected aborted journal
Remounting filesystem read-only
usb 2-6: new high speed USB device using ehci_hcd and address 19
usb 2-6: configuration #1 chosen from 1 choice
scsi20 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 19
usb-storage: waiting for device to settle before scanning
usb 2-6: reset high speed USB device using ehci_hcd and address 19
scsi 20:0:0:0: Direct-Access     WD       1600BEAExternal  1.02 PQ: 0 ANSI: 0
sd 20:0:0:0: [sdn] 312581808 512-byte hardware sectors: (160 GB/149 GiB)
sd 20:0:0:0: [sdn] Write Protect is off
sd 20:0:0:0: [sdn] Mode Sense: 00 00 00 00
sd 20:0:0:0: [sdn] Assuming drive cache: write through
sd 20:0:0:0: [sdn] 312581808 512-byte hardware sectors: (160 GB/149 GiB)
sd 20:0:0:0: [sdn] Write Protect is off
sd 20:0:0:0: [sdn] Mode Sense: 00 00 00 00
sd 20:0:0:0: [sdn] Assuming drive cache: write through
 sdn: sdn1 sdn2 sdn3 < sdn5 > sdn4
sd 20:0:0:0: [sdn] Attached SCSI disk
sd 20:0:0:0: Attached scsi generic sg4 type 0
usb-storage: device scan complete
kjournald starting.  Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS on sdn1, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
NTFS volume version 3.1.
NTFS-fs error (device sdn5): load_system_files(): Volume is dirty.  Mounting read-only.  Run chkdsk and mount in Windows.
kjournald starting.  Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS on sdn2, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sdn4, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: USB HDD or filesystem bugs? 
  2008-11-06  8:27 USB HDD or filesystem bugs? Peter Teoh
@ 2008-11-06  8:30 ` Keith Owens
  2008-11-10  7:41   ` Peter Teoh
  0 siblings, 1 reply; 4+ messages in thread
From: Keith Owens @ 2008-11-06  8:30 UTC (permalink / raw)
  To: Peter Teoh; +Cc: LKML

"Peter Teoh" (on Thu, 6 Nov 2008 16:27:14 +0800) wrote:
>Aborting journal on device sdi1.
>Buffer I/O error on device sdi1, logical block 1544
>lost page write due to I/O error on sdi1
>journal_bmap: journal block not found at offset 20 on sdh3

To rule out filesystem corruption, as root do 'umount /dev/sdi1' then
run 'badblocks /dev/sdi1'.  badblocks will find any real I/O problems,
if there are none then you have a corrupt fs.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: USB HDD or filesystem bugs?
  2008-11-06  8:30 ` Keith Owens
@ 2008-11-10  7:41   ` Peter Teoh
  2008-11-10 11:44     ` Keith Owens
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Teoh @ 2008-11-10  7:41 UTC (permalink / raw)
  To: Keith Owens; +Cc: LKML

On Thu, Nov 6, 2008 at 4:30 PM, Keith Owens <kaos@ocs.com.au> wrote:
> "Peter Teoh" (on Thu, 6 Nov 2008 16:27:14 +0800) wrote:
>>Aborting journal on device sdi1.
>>Buffer I/O error on device sdi1, logical block 1544
>>lost page write due to I/O error on sdi1
>>journal_bmap: journal block not found at offset 20 on sdh3
>
> To rule out filesystem corruption, as root do 'umount /dev/sdi1' then
> run 'badblocks /dev/sdi1'.  badblocks will find any real I/O problems,
> if there are none then you have a corrupt fs.
>
>

thank you Keith, I just check all my harddisk and there is no
badblocks (nothing is returned after the badblocks complete)

I mounted the two harddisk on a different machine (running linus git's
latest rc version) does not gave error as well.

But coming back to the same original hardware gave error again:

/mnt/download/tmp>df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sdb1             38456308  33415180   3087628  92% /
udev                   1541888       212   1541676   1% /dev
/dev/hdc1             96132940  65644452  25605132  72% /hdc1
/dev/hdc2             96132968  47080232  44169380  52% /hdc2
/dev/sda1             83222548   5558748  73469632   8% /mnt/test3
/dev/sda3             77507676  12215840  61385632  17% /sda3
/dev/sda3             77507676  12215840  61385632  17% /media/disk
/dev/sdd1             38456308  29907992   6594816  82% /media/disk-2
/dev/sdd2             38456340  29737232   6765604  82% /media/disk-3
/dev/sde4             40631988  28381852  10152852  74% /media/_1
/dev/sde5             14659280  14656544      2736 100% /media/disk-4
/dev/sde2             38448304  29995736   6499468  83% /media/disk-5
/dev/sde1             39381744  11281468  26099784  31% /media/disk-6
/dev/sdf2             38456340  29737232   6765604  82% /media/disk-1
/dev/sdf3             76904380  28664160  44333616  40% /media/disk-7
/dev/sdf1             38456308  29907992   6594816  82% /media/disk-8
/dev/sdg1             39381744  11281468  26099784  31% /media/disk-9
/dev/sdg2             38448304  29995736   6499468  83% /media/disk-10
/dev/sdg4             40631988  28381852  10152852  74% /media/_1_
/dev/sdg5             14659280  14656544      2736 100% /media/disk-11


Noticed how the disk mounted duplicated each other:

/mnt/download/tmp>d /media/disk-11
fffff.txt  ./  vmware/  ../
/mnt/download/tmp>d /media/disk-4
fffff.txt  ./  vmware/  ../
/mnt/download/tmp>

The spurious remounting is recorded in the dmesg output:

/mnt/download/tmp>dmesg |tail -100
scsi 6:0:0:0: rejecting I/O to dead device
Buffer I/O error on device sdd3, logical block 1545
lost page write due to I/O error on sdd3
scsi 6:0:0:0: rejecting I/O to dead device
Buffer I/O error on device sdd3, logical block 1545
lost page write due to I/O error on sdd3
scsi 6:0:0:0: rejecting I/O to dead device
Buffer I/O error on device sdd3, logical block 0
lost page write due to I/O error on sdd3
hub 2-0:1.0: over-current change on port 8
hub 2-0:1.0: over-current change on port 7
hub 2-0:1.0: over-current change on port 8
usb 2-5: new high speed USB device using ehci_hcd and address 5
usb 2-5: new device found, idVendor=0d49, idProduct=7350
usb 2-5: new device strings: Mfr=1, Product=2, SerialNumber=3
usb 2-5: Product: OneTouch
usb 2-5: Manufacturer: Maxtor
usb 2-5: SerialNumber: 2HAPXD2T
usb 2-5: configuration #1 chosen from 1 choice
scsi8 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 5
usb-storage: waiting for device to settle before scanning
  Vendor: Maxtor    Model: OneTouch          Rev: 0125
  Type:   Direct-Access                      ANSI SCSI revision: 04
SCSI device sdf: 625142448 512-byte hdwr sectors (320073 MB)
sdf: Write Protect is off
sdf: Mode Sense: 2d 08 00 00
sdf: assuming drive cache: write through
SCSI device sdf: 625142448 512-byte hdwr sectors (320073 MB)
sdf: Write Protect is off
sdf: Mode Sense: 2d 08 00 00
sdf: assuming drive cache: write through
 sdf: sdf1 sdf2 sdf3
sd 8:0:0:0: Attached scsi disk sdf
sd 8:0:0:0: Attached scsi generic sg3 type 0
usb-storage: device scan complete
(fs/jbd/recovery.c, 255): journal_recover: JBD: recovery, exit status
0, recovered transactions 4560 to 4561
(fs/jbd/recovery.c, 257): journal_recover: JBD: Replayed 39 and
revoked 0/0 blocks
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sdf2, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
(fs/jbd/recovery.c, 255): journal_recover: JBD: recovery, exit status
0, recovered transactions 732 to 733
(fs/jbd/recovery.c, 257): journal_recover: JBD: Replayed 14 and
revoked 0/0 blocks
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sdf3, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
(fs/jbd/recovery.c, 255): journal_recover: JBD: recovery, exit status
0, recovered transactions 3832 to 3833
(fs/jbd/recovery.c, 257): journal_recover: JBD: Replayed 14 and
revoked 0/0 blocks
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sdf1, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
usb 2-6: new high speed USB device using ehci_hcd and address 6
usb 2-6: new device found, idVendor=1058, idProduct=1010
usb 2-6: new device strings: Mfr=1, Product=2, SerialNumber=3
usb 2-6: Product: External HDD
usb 2-6: Manufacturer: Western Digital
usb 2-6: SerialNumber: 575845383037353330303332
usb 2-6: configuration #1 chosen from 1 choice
scsi9 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 6
usb-storage: waiting for device to settle before scanning
  Vendor: WD        Model: 1600BEAExternal   Rev: 1.02
  Type:   Direct-Access                      ANSI SCSI revision: 00
SCSI device sdg: 312581808 512-byte hdwr sectors (160042 MB)
sdg: Write Protect is off
sdg: Mode Sense: 00 00 00 00
sdg: assuming drive cache: write through
SCSI device sdg: 312581808 512-byte hdwr sectors (160042 MB)
sdg: Write Protect is off
sdg: Mode Sense: 00 00 00 00
sdg: assuming drive cache: write through
 sdg: sdg1 sdg2 sdg3 < sdg5 > sdg4
sd 9:0:0:0: Attached scsi disk sdg
sd 9:0:0:0: Attached scsi generic sg4 type 0
usb-storage: device scan complete
(fs/jbd/recovery.c, 255): journal_recover: JBD: recovery, exit status
0, recovered transactions 1134 to 1135
(fs/jbd/recovery.c, 257): journal_recover: JBD: Replayed 4 and revoked
0/0 blocks
kjournald starting.  Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS on sdg1, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
(fs/jbd/recovery.c, 255): journal_recover: JBD: recovery, exit status
0, recovered transactions 30883 to 30884
(fs/jbd/recovery.c, 257): journal_recover: JBD: Replayed 9 and revoked
0/0 blocks
kjournald starting.  Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS on sdg2, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
(fs/jbd/recovery.c, 255): journal_recover: JBD: recovery, exit status
0, recovered transactions 11165 to 11166
(fs/jbd/recovery.c, 257): journal_recover: JBD: Replayed 20 and
revoked 0/0 blocks
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sdg4, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
NTFS volume version 3.1.
NTFS-fs error (device sdg5): load_system_files(): Volume is dirty.
Mounting read-only.  Run chkdsk and mount in Windows.

So.....I suspect it to be hardware error?  (since it does not happened
on other machine)

-- 
Regards,
Peter Teoh

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: USB HDD or filesystem bugs? 
  2008-11-10  7:41   ` Peter Teoh
@ 2008-11-10 11:44     ` Keith Owens
  0 siblings, 0 replies; 4+ messages in thread
From: Keith Owens @ 2008-11-10 11:44 UTC (permalink / raw)
  To: Peter Teoh; +Cc: LKML

On Mon, 10 Nov 2008 15:41:10 +0800, 
"Peter Teoh" <htmldeveloper@gmail.com> wrote:
>But coming back to the same original hardware gave error again:
>
>/mnt/download/tmp>df
>Filesystem           1K-blocks      Used Available Use% Mounted on
>/dev/sdb1             38456308  33415180   3087628  92% /
>udev                   1541888       212   1541676   1% /dev
>/dev/hdc1             96132940  65644452  25605132  72% /hdc1
>/dev/hdc2             96132968  47080232  44169380  52% /hdc2
>/dev/sda1             83222548   5558748  73469632   8% /mnt/test3
>/dev/sda3             77507676  12215840  61385632  17% /sda3
>/dev/sda3             77507676  12215840  61385632  17% /media/disk
>/dev/sdd1             38456308  29907992   6594816  82% /media/disk-2
>/dev/sdd2             38456340  29737232   6765604  82% /media/disk-3
>/dev/sde4             40631988  28381852  10152852  74% /media/_1
>/dev/sde5             14659280  14656544      2736 100% /media/disk-4
>/dev/sde2             38448304  29995736   6499468  83% /media/disk-5
>/dev/sde1             39381744  11281468  26099784  31% /media/disk-6
>/dev/sdf2             38456340  29737232   6765604  82% /media/disk-1
>/dev/sdf3             76904380  28664160  44333616  40% /media/disk-7
>/dev/sdf1             38456308  29907992   6594816  82% /media/disk-8
>/dev/sdg1             39381744  11281468  26099784  31% /media/disk-9
>/dev/sdg2             38448304  29995736   6499468  83% /media/disk-10
>/dev/sdg4             40631988  28381852  10152852  74% /media/_1_
>/dev/sdg5             14659280  14656544      2736 100% /media/disk-11

/dev/sde and /dev/sdg are duplicates.  Access to the same filesystem
via two paths is causing your corruption.  AFAICT this is not a kernel
problem, something in your hardware configuration is making the same
disk appear at two separate locations.  Check your cabling and back end
configuration.  The boot messages will tell you which controller,
channel and LUN the devices are being found on.

You also have /dev/sda3 mounted twice.  How did you manage that?


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-11-10 11:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-06  8:27 USB HDD or filesystem bugs? Peter Teoh
2008-11-06  8:30 ` Keith Owens
2008-11-10  7:41   ` Peter Teoh
2008-11-10 11:44     ` Keith Owens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).