Skip to contentSkip to conversation

bug report (?) with reiserfsck --rebuild-tree.......

DISCUSSION serge rossel 3 participants 3 messages May 10, 2003

lore
Share & tools
lore
#0 lore raw

Hi,

During the system boot (Suse8.1), I get this boot_log.msg:

dd: no flushcache support
<6>scsi0 : SCSI host adapter emulation for IDE ATAPI devices
<4> Vendor: JLMS Model: XJ-HD166S Rev:
DS0F
<4> Type: CD-ROM ANSI
SCSI revision: 02
<4> Vendor: SONY Model: CD-RW CRX175A Rev:
1.0h
<4> Type: CD-ROM ANSI
SCSI revision: 02
<7>sd_attach()
<7>sd_attach()
<4>reiserfs: found format "3.6" with standard journal <4>reiserfs: checking transaction log (ide0(3,2)) for (ide0(3,2))
<4>reiserfs: using ordered data mode
<4>Using r5 hash to sort names
<4>VFS: Mounted root (reiserfs filesystem) readonly. <5>Trying to move old root to /initrd ... failed <5>Unmounting old root
<5>Trying to free ramdisk memory ... okay <6>Freeing unused kernel memory: 164k freed <6>md: Autodetecting RAID arrays.
<6>md: autorun ...
<6>md: ... autorun DONE.
<6>LVM version 1.0.5(mp-v6)(15/07/2002) module loaded <6>Adding Swap: 136544k swap-space (priority 42) <4>reiserfs: found format "3.6" with standard journal <4>hda: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
<4>hda: read_intr: error=0x40 { UncorrectableError }, LBAsect=230962500, sector=188743680 <4>end_request: I/O error, dev 03:04 (hda), sector 188743680
<4>sh-2029: reiserfs read_bitmaps: bitmap block (#23592960) reading failed
<4>sh-2014: reiserfs_read_super: unable to read bitmap <4>hda: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
<4>hda: read_intr: error=0x40 { UncorrectableError }, LBAsect=231224644, sector=189005824 <4>end_request: I/O error, dev 03:04 (hda), sector 189005824
<4>hda: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
<4>hda: read_intr: error=0x40 { UncorrectableError }, LBAsect=231486789, sector=189267968 <4>end_request: I/O error, dev 03:04 (hda), sector 189267968
Kernel logging (ksyslog) stopped.
Kernel log daemon terminating.

Then, in order to solve that, I have tried all the different commands proposed with reiserfsck.

Look what message I get by using this command.

Thank you for your support
Serge

serge@dhcppc2:~> su
Password:
dhcppc2:/home/serge # reiserfsck --rebuild-tree --logfile check.log /var/log
reiserfsck 3.6.2 (2002)

**********************************************************
** This is an experimental version of
reiserfsck,
****!! MAKE A BACKUP FIRST !! **** Don't run this program unless something is broken. **
** Some types of random FS damage can be recovered
from ** ** by this program, which basically
throws away ** ** the internal nodes of the tree and then reconstructs ** ** them. This program is for use only by the desperate, ** ** and is of only beta quality. If you are using the ** ** latest reiserfsprogs and it fails please email ** ** bug reports to [email protected].**

**********************************************************

Will rebuild the filesystem (/var/log) tree Will put log info to 'check.log'

Do you want to run this program?[N/Yes] (note need to type Yes):Yes

bread: Cannot read a block # 2.

Abandon

dhcppc2:/home/serge #

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com

#1 lore raw

Vitaly, does the current fsck explain at length that read errors tend to be hardware failures, and what to do?

Hans

Quoted 108 lines · serge rossel

Hi,

During the system boot (Suse8.1), I get this
boot_log.msg:

dd: no flushcache support
<6>scsi0 : SCSI host adapter emulation for IDE ATAPI devices
<4> Vendor: JLMS Model: XJ-HD166S Rev:
DS0F
<4> Type: CD-ROM ANSI
SCSI revision: 02
<4> Vendor: SONY Model: CD-RW CRX175A Rev:
1.0h
<4> Type: CD-ROM ANSI
SCSI revision: 02
<7>sd_attach()
<7>sd_attach()
<4>reiserfs: found format "3.6" with standard journal <4>reiserfs: checking transaction log (ide0(3,2)) for (ide0(3,2))
<4>reiserfs: using ordered data mode
<4>Using r5 hash to sort names
<4>VFS: Mounted root (reiserfs filesystem) readonly. <5>Trying to move old root to /initrd ... failed <5>Unmounting old root
<5>Trying to free ramdisk memory ... okay <6>Freeing unused kernel memory: 164k freed <6>md: Autodetecting RAID arrays.
<6>md: autorun ...
<6>md: ... autorun DONE.
<6>LVM version 1.0.5(mp-v6)(15/07/2002) module loaded <6>Adding Swap: 136544k swap-space (priority 42) <4>reiserfs: found format "3.6" with standard journal <4>hda: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
<4>hda: read_intr: error=0x40 { UncorrectableError }, LBAsect=230962500, sector=188743680 <4>end_request: I/O error, dev 03:04 (hda), sector 188743680
<4>sh-2029: reiserfs read_bitmaps: bitmap block (#23592960) reading failed
<4>sh-2014: reiserfs_read_super: unable to read bitmap <4>hda: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
<4>hda: read_intr: error=0x40 { UncorrectableError }, LBAsect=231224644, sector=189005824 <4>end_request: I/O error, dev 03:04 (hda), sector 189005824
<4>hda: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
<4>hda: read_intr: error=0x40 { UncorrectableError }, LBAsect=231486789, sector=189267968 <4>end_request: I/O error, dev 03:04 (hda), sector 189267968
Kernel logging (ksyslog) stopped.
Kernel log daemon terminating.

Then, in order to solve that, I have tried all the different commands proposed with reiserfsck.

Look what message I get by using this command.

Thank you for your support
Serge

serge@dhcppc2:~> su
Password:
dhcppc2:/home/serge # reiserfsck --rebuild-tree
--logfile check.log /var/log
reiserfsck 3.6.2 (2002)

**********************************************************
** This is an experimental version of
reiserfsck, ****!! MAKE A BACKUP FIRST !! **** Don't run this
program unless something is broken. **
** Some types of random FS damage can be recovered
from ** ** by this program, which basically throws away ** ** the internal nodes of the tree and
then reconstructs ** ** them. This program is for use
only by the desperate, ** ** and is of only beta
quality. If you are using the ** ** latest reiserfsprogs and it fails please email ** ** bug reports to [email protected].**

**********************************************************

Will rebuild the filesystem (/var/log) tree
Will put log info to 'check.log'

Do you want to run this program?[N/Yes] (note need to type Yes):Yes

bread: Cannot read a block # 2.

Abandon

dhcppc2:/home/serge #

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com

Signature · 1 line
Hans
#2 lore raw
Quoted 2 lines · Hans Reiser

Vitaly, does the current fsck explain at length that read errors tend to be hardware failures, and what to do?

yes, it sais

The problem has occurred looks like a hardware problem. If you have bad blocks, we advise you to get a new hard drive, because once you get one bad block that the disk drive internals cannot hide from your sight, the chances of getting more are generally said to become much higher (precise statistics are unknown to us), and this disk drive is probably not expensive enough for you to risk your time and data on it. If you don't want to follow that advice, then if you have just a few bad blocks, try writing to the bad blocks and see if the drive remaps the bad blocks (that means it takes a block it has in reserve and allocates it for use for requests of that block number). If it cannot remap the block, this could be quite bad, as it may mean that so many blocks have gone bad that none remain in reserve to allocate.

Quoted 11 lines
Quoted 11 lines

SeekComplete DataRequest Error }
<4>hda: read_intr: error=0x40 { UncorrectableError }, LBAsect=230962500, sector=188743680 <4>end_request: I/O error, dev 03:04 (hda), sector 188743680
<4>sh-2029: reiserfs read_bitmaps: bitmap block (#23592960) reading failed
<4>sh-2014: reiserfs_read_super: unable to read bitmap <4>hda: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
<4>hda: read_intr: error=0x40 { UncorrectableError },

Quoted 8 lines
Quoted 8 lines

LBAsect=231224644, sector=189005824 <4>end_request: I/O error, dev 03:04 (hda), sector 189005824
<4>hda: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
<4>hda: read_intr: error=0x40 { UncorrectableError }, LBAsect=231486789, sector=189267968 <4>end_request: I/O error, dev 03:04 (hda), sector

this is a hadrware problem.

Quoted 9 lines
Quoted 9 lines

serge@dhcppc2:~> su
Password:
dhcppc2:/home/serge # reiserfsck --rebuild-tree
--logfile check.log /var/log
reiserfsck 3.6.2 (2002)

Will rebuild the filesystem (/var/log) tree
Will put log info to 'check.log'

Quoted 6 lines
Quoted 6 lines

Do you want to run this program?[N/Yes] (note need to type Yes):Yes

bread: Cannot read a block # 2.

Abandon

Serge, if you used the latest reiserfsprogs, you would get the message above.

Signature · 2 lines
Thanks,
Vitaly Fertman