Re: reiserfs problem after usb hard drive disconnected

From: Mateusz Berezecki
Date: Fri Sep 23 2005 - 16:41:24 EST


Arnaud Boulan <arnaud.boulan@xxxxxxxxxxxxxx> wrote:
| Hello,
|
| I am using an external USB hard drive, and i hit a bug in the reiserfs code
| after the drive got disconnected by a power problem. You can see this in the
| attached logs.
| The disconnection of the hard drive was not done manually, it has been
| offlined "spontaneously" by what seems to be a power loss. In fact, i suspect
| i have bad power at home since i have had other similar problems with another
| device (an usb tv tuner)
|
| However, i already have disconnected my drive manually a few times by mistake,
| and i always recovered from that by unmouting, running reiserfsck and
| remounting the device.
|
| This time, although i can consider it is a hardware problem, it would have
| been nice if the kernel had also recovered from the USB problem. Instead, i
| couldn't unmount the filesystem and the usb stack was stucked, leaving no
| choice but to reboot...
|

Same problem here. Power went down and I had no other choice than to
reboot. FS(ext3) got recovered almost completely but some page
writes were lost. I were unable to unmount the disk too. I guess this
is more a usb storage problem than a fs one (?)


Sep 22 09:57:46 pc2 kernel: scsi0 (0:0): rejecting I/O to dead device
Sep 22 09:57:46 pc2 kernel: Buffer I/O error on device sda1, logical
block 24884044
Sep 22 09:57:46 pc2 kernel: lost page write due to I/O error on sda1
Sep 22 09:57:46 pc2 kernel: scsi0 (0:0): rejecting I/O to dead device
Sep 22 09:57:46 pc2 kernel: journal_bmap: journal block not found at
offset 3144 on sda1
Sep 22 09:57:46 pc2 kernel: Aborting journal on device sda1.
Sep 22 09:57:46 pc2 kernel: scsi0 (0:0): rejecting I/O to dead device
Sep 22 09:57:46 pc2 kernel: Buffer I/O error on device sda1, logical
block 527
Sep 22 09:57:46 pc2 kernel: lost page write due to I/O error on sda1
Sep 22 09:58:13 pc2 kernel: ext3_abort called.
Sep 22 09:58:13 pc2 kernel: EXT3-fs error (device sda1):
ext3_journal_start_sb: Detected aborted journal
Sep 22 09:58:13 pc2 kernel: Remounting filesystem read-only


Mateusz

--
@..@ Mateusz Berezecki
(----) mateuszb@xxxxxxxxx http://mateusz.agrest.org
( >__< ) PGP: 5F1C 86DF 89DB BFE9 899E 8CBE EB60 B7A7 43F9 5808
^^ ~~ ^^

Attachment: signature.asc
Description: Digital signature