public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Fatih Tümen" <fthtmn+gentoo@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: USB Disk failure - Buffer I/O error on device sda2, logical block 1289 lost page write due to I/O error on sda2
Date: Sat, 9 Oct 2010 22:36:42 +0300	[thread overview]
Message-ID: <AANLkTik_om1RV_JjwhiVTDUAmnduYSX3zaunuxSX9Ohh@mail.gmail.com> (raw)
In-Reply-To: <AANLkTikqvSABi3Qd0r0=iPKhqnts2ughAZ_3dWd9Q9uA@mail.gmail.com>

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

2010/10/9 Fatih Tümen <fthtmn+gentoo@gmail.com>:
> I am not sure what may have caused the issue but there are two things
> I suspect that may have caused this.
> 1. I usually forget the device is mounted and sda1 partition swappedon
> while suspending/sleeping the system. I run fsck.ext3 on the
> complaining dirty partitions.
> 2. I accidentally ran grub-install /dev/sda instead of /dev/hda last
> week and interrupted immediately. There is no sign of a problem in the
> logs for a week. I had install grub on sda couple of years ago  but
> hadnt used it for a long time.
>
> I thought this may be related because interrupting the grub-install
> left in complete mbr. So I ran grub-install on sda again but it could
> not find the disk[3].
>
> I cannot think of anything else to try. I hope you can suggest me a
> way to recover the device or to extract data from it.

The attached file should be better for viewing the logs.

--
    Fatih

[-- Attachment #2: messages_usb_disk_failure_20101009_2038.txt --]
[-- Type: text/plain, Size: 13886 bytes --]

[0]
Oct  9 20:30:01 elsewhere cron[3670]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons )
Oct  9 20:38:00 elsewhere kernel: [265616.964879] sd 8:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08
Oct  9 20:38:00 elsewhere kernel: [265616.964893] sd 8:0:0:0: [sda] Sense Key : 0x5 [current]
Oct  9 20:38:00 elsewhere kernel: [265616.964904] Info fld=0x0
Oct  9 20:38:00 elsewhere kernel: [265616.964909] sd 8:0:0:0: [sda] ASC=0x21 ASCQ=0x0
Oct  9 20:38:00 elsewhere kernel: [265616.964918] sd 8:0:0:0: [sda] CDB: cdb[0]=0x28: 28 00 00 19 b6 78 00 00 08 00
Oct  9 20:38:00 elsewhere kernel: [265616.964938] end_request: I/O error, dev sda, sector 1685112
Oct  9 20:38:00 elsewhere kernel: [265616.964972] EXT3-fs error (device sda2): ext3_find_entry: reading directory #8238 offset 0
Oct  9 20:38:20 elsewhere kernel: [265637.556176] sd 8:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08
Oct  9 20:38:20 elsewhere kernel: [265637.556190] sd 8:0:0:0: [sda] Sense Key : 0x5 [current]
Oct  9 20:38:20 elsewhere kernel: [265637.556200] Info fld=0x0
Oct  9 20:38:20 elsewhere kernel: [265637.556206] sd 8:0:0:0: [sda] ASC=0x21 ASCQ=0x0
Oct  9 20:38:20 elsewhere kernel: [265637.556214] sd 8:0:0:0: [sda] CDB: cdb[0]=0x28: 28 00 00 1d c6 60 00 00 08 00
Oct  9 20:38:20 elsewhere kernel: [265637.556234] end_request: I/O error, dev sda, sector 1951328
Oct  9 20:38:20 elsewhere kernel: [265637.556281] EXT3-fs error (device sda2): ext3_get_inode_loc: unable to read inode block - inode=24579, block=99331
Oct  9 20:38:20 elsewhere kernel: [265637.558297] sd 8:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08
Oct  9 20:38:20 elsewhere kernel: [265637.558310] sd 8:0:0:0: [sda] Sense Key : 0x5 [current]
Oct  9 20:38:20 elsewhere kernel: [265637.558320] Info fld=0x0
Oct  9 20:38:20 elsewhere kernel: [265637.558325] sd 8:0:0:0: [sda] ASC=0x21 ASCQ=0x0
Oct  9 20:38:20 elsewhere kernel: [265637.558333] sd 8:0:0:0: [sda] CDB: cdb[0]=0x2a: 2a 00 00 11 a6 48 00 00 08 00
Oct  9 20:38:20 elsewhere kernel: [265637.558352] end_request: I/O error, dev sda, sector 1156680
Oct  9 20:38:20 elsewhere kernel: [265637.558363] Buffer I/O error on device sda2, logical block 0
Oct  9 20:38:20 elsewhere kernel: [265637.558370] lost page write due to I/O error on sda2
Oct  9 20:39:25 elsewhere kernel: [265702.325405] sd 8:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08
Oct  9 20:39:25 elsewhere kernel: [265702.325419] sd 8:0:0:0: [sda] Sense Key : 0x5 [current]
Oct  9 20:39:25 elsewhere kernel: [265702.325430] Info fld=0x0
Oct  9 20:39:25 elsewhere kernel: [265702.325435] sd 8:0:0:0: [sda] ASC=0x21 ASCQ=0x0
Oct  9 20:39:25 elsewhere kernel: [265702.325444] sd 8:0:0:0: [sda] CDB: cdb[0]=0x2a: 2a 00 00 11 ce 90 00 00 08 00
Oct  9 20:39:25 elsewhere kernel: [265702.325464] end_request: I/O error, dev sda, sector 1166992
Oct  9 20:39:25 elsewhere kernel: [265702.325475] Buffer I/O error on device sda2, logical block 1289
Oct  9 20:39:25 elsewhere kernel: [265702.325482] lost page write due to I/O error on sda2
Oct  9 20:39:25 elsewhere kernel: [265702.325533] ------------[ cut here ]------------
Oct  9 20:39:25 elsewhere kernel: [265702.325547] WARNING: at fs/buffer.c:1151 mark_buffer_dirty+0x23/0x6b()
Oct  9 20:39:25 elsewhere kernel: [265702.325554] Hardware name: Amilo A1640
Oct  9 20:39:25 elsewhere kernel: [265702.325563] Pid: 3711, comm: umount Not tainted 2.6.35-gentoo-r4 #1
Oct  9 20:39:25 elsewhere kernel: [265702.325569] Call Trace:
Oct  9 20:39:25 elsewhere kernel: [265702.325584]  [<c1031c61>] warn_slowpath_common+0x60/0x75
Oct  9 20:39:25 elsewhere kernel: [265702.325593]  [<c10b3012>] ? mark_buffer_dirty+0x23/0x6b
Oct  9 20:39:25 elsewhere kernel: [265702.325604]  [<c1031c85>] warn_slowpath_null+0xf/0x13
Oct  9 20:39:25 elsewhere kernel: [265702.325612]  [<c10b3012>] mark_buffer_dirty+0x23/0x6b
Oct  9 20:39:25 elsewhere kernel: [265702.325624]  [<c1133e7b>] journal_update_superblock+0x62/0xab
Oct  9 20:39:25 elsewhere kernel: [265702.325634]  [<c1132a38>] cleanup_journal_tail+0xd2/0xdb
Oct  9 20:39:25 elsewhere kernel: [265702.325643]  [<c1132efa>] log_do_checkpoint+0x41d/0x431
Oct  9 20:39:25 elsewhere kernel: [265702.325653]  [<c102c6e9>] ? update_curr+0x161/0x169
Oct  9 20:39:25 elsewhere kernel: [265702.325663]  [<c102c9ed>] ? dequeue_entity+0xb4/0x226
Oct  9 20:39:25 elsewhere kernel: [265702.325672]  [<c1025c3d>] ? __dequeue_entity+0x23/0x27
Oct  9 20:39:25 elsewhere kernel: [265702.325684]  [<c100832b>] ? __switch_to_xtra+0xe4/0x101
Oct  9 20:39:25 elsewhere kernel: [265702.325696]  [<c13f112f>] ? _raw_spin_unlock_irq+0x15/0x20
Oct  9 20:39:25 elsewhere kernel: [265702.325706]  [<c10297e8>] ? finish_task_switch+0x34/0x52
Oct  9 20:39:25 elsewhere kernel: [265702.325717]  [<c1024b04>] ? need_resched+0x14/0x1e
Oct  9 20:39:25 elsewhere kernel: [265702.325726]  [<c13efd4d>] ? schedule+0x4f9/0x509
Oct  9 20:39:25 elsewhere kernel: [265702.325737]  [<c13f110f>] ? _raw_spin_unlock_irqrestore+0x16/0x21
Oct  9 20:39:25 elsewhere kernel: [265702.325747]  [<c10424af>] ? spin_unlock_irqrestore+0x8/0xa
Oct  9 20:39:25 elsewhere kernel: [265702.325756]  [<c1134166>] journal_destroy+0xe3/0x18f
Oct  9 20:39:25 elsewhere kernel: [265702.325765]  [<c1042441>] ? autoremove_wake_function+0x0/0x2f
Oct  9 20:39:25 elsewhere kernel: [265702.325777]  [<c1101918>] ext3_put_super+0x3a/0x1e5
Oct  9 20:39:25 elsewhere kernel: [265702.325786]  [<c109a7c9>] generic_shutdown_super+0x42/0xb3
Oct  9 20:39:25 elsewhere kernel: [265702.325795]  [<c109a857>] kill_block_super+0x1d/0x31
Oct  9 20:39:25 elsewhere kernel: [265702.325803]  [<c1099ee7>] deactivate_locked_super+0x1a/0x36
Oct  9 20:39:25 elsewhere kernel: [265702.325811]  [<c109a29b>] deactivate_super+0x32/0x36
Oct  9 20:39:25 elsewhere kernel: [265702.325820]  [<c10aa185>] mntput_no_expire+0x85/0xa8
Oct  9 20:39:25 elsewhere kernel: [265702.325828]  [<c10aa609>] sys_umount+0x26e/0x293
Oct  9 20:39:25 elsewhere kernel: [265702.325837]  [<c10aa63b>] sys_oldumount+0xd/0xf
Oct  9 20:39:25 elsewhere kernel: [265702.325845]  [<c100270c>] sysenter_do_call+0x12/0x22
Oct  9 20:39:25 elsewhere kernel: [265702.325852] ---[ end trace 113c73c40a67cbb5 ]---
Oct  9 20:39:25 elsewhere kernel: [265702.327279] sd 8:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08
Oct  9 20:39:25 elsewhere kernel: [265702.327292] sd 8:0:0:0: [sda] Sense Key : 0x5 [current]
Oct  9 20:39:25 elsewhere kernel: [265702.327302] Info fld=0x0
Oct  9 20:39:25 elsewhere kernel: [265702.327307] sd 8:0:0:0: [sda] ASC=0x21 ASCQ=0x0
Oct  9 20:39:25 elsewhere kernel: [265702.327316] sd 8:0:0:0: [sda] CDB: cdb[0]=0x2a: 2a 00 00 11 ce 90 00 00 08 00
Oct  9 20:39:25 elsewhere kernel: [265702.327335] end_request: I/O error, dev sda, sector 1166992
Oct  9 20:39:25 elsewhere kernel: [265702.327346] Buffer I/O error on device sda2, logical block 1289
Oct  9 20:39:25 elsewhere kernel: [265702.327352] lost page write due to I/O error on sda2
Oct  9 20:39:25 elsewhere kernel: [265702.327408] Aborting journal on device sda2.
Oct  9 20:39:25 elsewhere kernel: [265702.328790] sd 8:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08
Oct  9 20:39:25 elsewhere kernel: [265702.328804] sd 8:0:0:0: [sda] Sense Key : 0x5 [current]
Oct  9 20:39:25 elsewhere kernel: [265702.328814] Info fld=0x0
Oct  9 20:39:25 elsewhere kernel: [265702.328819] sd 8:0:0:0: [sda] ASC=0x21 ASCQ=0x0
Oct  9 20:39:25 elsewhere kernel: [265702.328827] sd 8:0:0:0: [sda] CDB: cdb[0]=0x2a: 2a 00 00 11 ce 90 00 00 08 00
Oct  9 20:39:25 elsewhere kernel: [265702.328847] end_request: I/O error, dev sda, sector 1166992
Oct  9 20:39:25 elsewhere kernel: [265702.328857] Buffer I/O error on device sda2, logical block 1289
Oct  9 20:39:25 elsewhere kernel: [265702.328864] lost page write due to I/O error on sda2
Oct  9 20:39:25 elsewhere kernel: [265702.328929] EXT3-fs (sda2): error: ext3_put_super: Couldn't clean up the journal
Oct  9 20:39:25 elsewhere kernel: [265702.328938] EXT3-fs (sda2): error: remounting filesystem read-only
Oct  9 20:39:25 elsewhere kernel: [265702.367778] sd 8:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08
Oct  9 20:39:25 elsewhere kernel: [265702.367792] sd 8:0:0:0: [sda] Sense Key : 0x5 [current]
Oct  9 20:39:25 elsewhere kernel: [265702.367802] Info fld=0x0
.... [goes like this for hundreds of lines]....

[1]
Oct  9 20:56:10 elsewhere kernel: [266707.674053] usb 1-2: new high speed USB device using ehci_hcd and address 33
Oct  9 20:56:11 elsewhere kernel: [266707.789928] usb 1-2: New USB device found, idVendor=1058, idProduct=0702
Oct  9 20:56:11 elsewhere kernel: [266707.789940] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Oct  9 20:56:11 elsewhere kernel: [266707.789948] usb 1-2: Product: External HDD    
Oct  9 20:56:11 elsewhere kernel: [266707.789954] usb 1-2: Manufacturer: Western Digital 
Oct  9 20:56:11 elsewhere kernel: [266707.789961] usb 1-2: SerialNumber: <U+FFFF><U+FFFF><U+FFFF><U+FFFF><U+FFFF><U+FFFF><U+FFFF><U+FFFF><U+FFFF><U+FFFF><U+FFFF>
<U+FFFF><U+FFFF><U+FFFF><U+FFFF><U+FFFF><U+FFFF><U+FFFF><U+FFFF><U+FFFF><U+FFFF><U+FFFF><U+FFFF><U+FFFF>
Oct  9 20:56:11 elsewhere kernel: [266707.795512] scsi10 : usb-storage 1-2:1.0
Oct  9 20:56:12 elsewhere kernel: [266708.825857] scsi 10:0:0:0: Direct-Access     WD                        1.02 PQ: 0 ANSI: 0
Oct  9 20:56:12 elsewhere kernel: [266708.826235] sd 10:0:0:0: Attached scsi generic sg0 type 0
Oct  9 20:56:12 elsewhere kernel: [266708.860619] sd 10:0:0:0: [sda] Too big for this kernel. Use a kernel compiled with support for large block devices.
Oct  9 20:56:12 elsewhere kernel: [266708.860634] sd 10:0:0:0: [sda] Unsupported sector size -75.
Oct  9 20:56:12 elsewhere kernel: [266708.860647] sd 10:0:0:0: [sda] 0 512-byte logical blocks: (0 B/0 B)
Oct  9 20:56:12 elsewhere kernel: [266708.860655] sd 10:0:0:0: [sda] 0-byte physical blocks
Oct  9 20:56:12 elsewhere kernel: [266708.862230] sd 10:0:0:0: [sda] Write Protect is off
Oct  9 20:56:12 elsewhere kernel: [266708.862241] sd 10:0:0:0: [sda] Mode Sense: 00 00 00 00
Oct  9 20:56:12 elsewhere kernel: [266708.862249] sd 10:0:0:0: [sda] Assuming drive cache: write through
Oct  9 20:56:12 elsewhere kernel: [266708.865587] sd 10:0:0:0: [sda] Too big for this kernel. Use a kernel compiled with support for large block devices.
Oct  9 20:56:12 elsewhere kernel: [266708.865601] sd 10:0:0:0: [sda] Unsupported sector size -75.
Oct  9 20:56:12 elsewhere kernel: [266708.867487] sd 10:0:0:0: [sda] Assuming drive cache: write through
Oct  9 20:56:12 elsewhere kernel: [266708.867499] sd 10:0:0:0: [sda] Attached SCSI disk

[2]
Oct  9 06:55:30 elsewhere kernel: [216267.317041] usb 1-2: new high speed USB device using ehci_hcd and address 31
Oct  9 06:55:30 elsewhere kernel: [216267.432928] usb 1-2: New USB device found, idVendor=1058, idProduct=0702
Oct  9 06:55:30 elsewhere kernel: [216267.432939] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Oct  9 06:55:30 elsewhere kernel: [216267.432947] usb 1-2: Product: External HDD
Oct  9 06:55:30 elsewhere kernel: [216267.432953] usb 1-2: Manufacturer: Western Digital
Oct  9 06:55:30 elsewhere kernel: [216267.432959] usb 1-2: SerialNumber: 575845343037323832333437
Oct  9 06:55:30 elsewhere kernel: [216267.437545] scsi8 : usb-storage 1-2:1.0
Oct  9 06:55:31 elsewhere kernel: [216268.447876] scsi 8:0:0:0: Direct-Access     WD       1600BEVExternal  1.02 PQ: 0 ANSI: 0
Oct  9 06:55:31 elsewhere kernel: [216268.448238] sd 8:0:0:0: Attached scsi generic sg0 type 0
Oct  9 06:55:31 elsewhere kernel: [216268.481955] sd 8:0:0:0: [sda] 312581808 512-byte logical blocks: (160 GB/149 GiB)
Oct  9 06:55:31 elsewhere kernel: [216268.483225] sd 8:0:0:0: [sda] Write Protect is off
Oct  9 06:55:31 elsewhere kernel: [216268.483238] sd 8:0:0:0: [sda] Mode Sense: 00 00 00 00
Oct  9 06:55:31 elsewhere kernel: [216268.483246] sd 8:0:0:0: [sda] Assuming drive cache: write through
Oct  9 06:55:31 elsewhere kernel: [216268.484846] sd 8:0:0:0: [sda] Assuming drive cache: write through
Oct  9 06:55:31 elsewhere kernel: [216268.484864]  sda: sda1 sda2 sda3 sda4 < sda5 >
Oct  9 06:55:31 elsewhere kernel: [216268.558235] sd 8:0:0:0: [sda] Assuming drive cache: write through
Oct  9 06:55:31 elsewhere kernel: [216268.558248] sd 8:0:0:0: [sda] Attached SCSI disk
Oct  9 06:55:33 elsewhere kernel: [216270.550685] EXT3-fs: barriers not enabled
Oct  9 06:55:33 elsewhere kernel: [216270.566936] kjournald starting.  Commit interval 5 seconds
Oct  9 06:55:33 elsewhere kernel: [216270.567529] EXT3-fs (sda2): using internal journal
Oct  9 06:55:33 elsewhere kernel: [216270.567545] EXT3-fs (sda2): mounted filesystem with writeback data mode
Oct  9 06:55:34 elsewhere kernel: [216270.898980] EXT3-fs: barriers not enabled
Oct  9 06:55:34 elsewhere kernel: [216270.910455] kjournald starting.  Commit interval 5 seconds
Oct  9 06:55:34 elsewhere kernel: [216270.911421] EXT3-fs (sda5): using internal journal
Oct  9 06:55:34 elsewhere kernel: [216270.911437] EXT3-fs (sda5): mounted filesystem with writeback data mode

[3]
# grub-install --no-floppy /dev/sda


    GNU GRUB  version 0.97  (640K lower / 5120K upper memory)

 [ Minimal BASH-like line editing is supported.  For the first word, TAB
   lists possible command completions.  Anywhere else TAB lists the possible
   completions of a device/filename. ]
grub> root (hd0,0)
 Filesystem type is ext2fs, partition type 0x83
grub> setup  --stage2=/boot/grub/stage2 --prefix=/grub (hd1)
 Checking if "/grub/stage1" exists... yes
 Checking if "/grub/stage2" exists... yes
 Checking if "/grub/e2fs_stage1_5" exists... yes
 Running "embed /grub/e2fs_stage1_5 (hd1)"... failed (this is not fatal)
 Running "embed /grub/e2fs_stage1_5 (hd0,0)"... failed (this is not fatal)
 Running "install --stage2=/boot/grub/stage2 /grub/stage1 d (hd1) /grub/stage2 p /grub/menu.lst "... failed

Error 21: Selected disk does not exist
grub> quit


  reply	other threads:[~2010-10-09 19:37 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-09 19:24 [gentoo-user] USB Disk failure - Buffer I/O error on device sda2, logical block 1289 lost page write due to I/O error on sda2 Fatih Tümen
2010-10-09 19:36 ` Fatih Tümen [this message]
2010-10-09 21:15   ` [gentoo-user] " walt
2010-10-10  3:58     ` Fatih Tümen
2010-10-10  9:23       ` Stroller
2010-10-10 16:21         ` Fatih Tümen
2010-10-10 22:02           ` Stroller
2010-10-11 11:51             ` Fatih Tümen
2010-10-11 12:33               ` Stroller
2010-10-12  5:42                 ` Fatih Tümen
2010-10-10 10:01       ` Mick
2010-10-10 16:28         ` Fatih Tümen
2010-10-10 18:49           ` walt
2010-10-11  9:51             ` James Wall
2010-10-10 22:11           ` Stroller
2010-10-12 16:41 ` [gentoo-user] " Paul Hartman
2010-10-15  1:13   ` Daniel da Veiga
2010-10-15  7:41     ` Alan McKinnon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTik_om1RV_JjwhiVTDUAmnduYSX3zaunuxSX9Ohh@mail.gmail.com \
    --to=fthtmn+gentoo@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox