after progressing part way through the boot sequence, i'm getting an error that says:
Code: Select all
/etc/init.d/bootmisc: line 61: 3752 segmentation fault rm -f "${x}"Code: Select all
/etc/init.d/bootmisc: line 61: 3752 segmentation fault rm -f "${x}"to mount it, i just booted using the live disk, then did a standard:Partition /dev/hda4 is mounted with write permissions, cannot check it
Code: Select all
mount /dev/hda4 /mnt/gentoo
mount /dev/hda2 /mnt/gentoo/boot
chroot /mnt/gentoo /bin/bash
Code: Select all
mount -r /dev/hda4 /mnt/gentoo
mount -r /dev/hda2 /mnt/gentoo/boot
reiserfsck --check /dev/hda4
...
Code: Select all
bread: Cannot read the block (5549459): (Input/Output error).
The problem has occured 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...
If you don't want to follow that 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 9that means it takes a block that it has in reserve and allocates it for use for of that bluck number). If it cannot remap the block, use badblock option (-B) with reiserfs utils to handle this block correctly. Code: Select all
# smartctl -A /dev/hda
smartctl version 5.36 [x86_64-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
=== START OF READ SMART DATA SECTION ===
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000b 100 100 062 Pre-fail Always - 0
2 Throughput_Performance 0x0005 100 100 040 Pre-fail Offline - 0
3 Spin_Up_Time 0x0007 229 229 033 Pre-fail Always - 1
4 Start_Stop_Count 0x0012 100 100 000 Old_age Always - 203
5 Reallocated_Sector_Ct 0x0033 100 100 005 Pre-fail Always - 0
7 Seek_Error_Rate 0x000b 100 100 067 Pre-fail Always - 0
8 Seek_Time_Performance 0x0005 100 100 040 Pre-fail Offline - 0
9 Power_On_Hours 0x0012 095 095 000 Old_age Always - 2378
10 Spin_Retry_Count 0x0013 100 100 060 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 73
191 G-Sense_Error_Rate 0x000a 100 100 000 Old_age Always - 0
192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 29
193 Load_Cycle_Count 0x0012 091 091 000 Old_age Always - 98236
194 Temperature_Celsius 0x0002 119 119 000 Old_age Always - 46 (Lifetime Min/Max 17/56)
196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 0
197 Current_Pending_Sector 0x0022 100 100 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0008 100 100 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x000a 200 253 000 Old_age Always - 0
Code: Select all
# stat -f /dev/hda4
File: "/dev/hda4"
ID: 0 Namelen: 255 Type: tmpfs
Block size: 4096 Fundamental block size: 4096
Blocks: Total: 257389 Free: 257329 Available: 257329
Inodes: Total: 257389 Free: 256931
Code: Select all
# badblocks -s -n -b 4096 -o /tmp/badblocks.out /dev/hda4
Code: Select all
# reiserfsck --check --badblocks /tmp/badblocks.out /dev/hda4
You should give us more info on what is not working. Maybe we could help, or learn what to avoid.Hoshimaru wrote: Interesting information... however, this doesn't work for me. It simply refuses to repair my bad blocks.
Yeah, I've given up on Maxtor & Western Digital . Right now I'm sticking w/Seagate or Hitachi.Hoshimaru wrote: last time I buy a Maxtor hard disk.
Hoshimaru wrote: > 187GB of data is lost, among wich was my 10 year old email archive.
Hoshimaru wrote: This really sucks... I'm getting afraid of using reiserfs as well now...
Code: Select all
ata5: translated ATA stat/err 0x51/40 to SCSI SK/ASC/ASCQ 0x3/11/4
ata5: status=0x51 {DriverReady SeekComplete Error }
ata5: error0x40 {UncorrectableError }
end_request: I/O error; dev sda, sector 1470544Code: Select all
bread: Cannot read the block (183802): (Input/output error)
AbortedCode: Select all
dd conv=noerror if=/dev/sda8 of=/mnt/usb/disk.binyou really need to slow down and start paying attention. reiser4progs are for.... reiser4 , not reiserfs, so I see no way that you needed that package to run reiserfsck.sob wrote:ok, had a bit of a time b/c i somehow did not have reiser4progs installed, but got that in and ran reiserfsck.


Gentree wrote:well it wont disable the journalling (AFAIK that's not an option , reiserfs is a journalling fs) but maybe if you turn off the autocheck in /etc/fstab it may have the result you want. End the line for this partition with 0 0
man reiserfsck-j | --journal-device FILE path to separate device to hold journal
if all else fails ..... RTFM!Expert options:
--no-journal-available do not open nor replay journal
-S | --scan-whole-partition build tree of all blocks of the device

gentree, i've already read TFM,Gentree wrote: man mkreiserfsman reiserfsck-j | --journal-device FILE path to separate device to hold journalif all else fails ..... RTFM!Expert options:
--no-journal-available do not open nor replay journal
-S | --scan-whole-partition build tree of all blocks of the device![]()
well you did not make any referce to that so I thought you;d missed it.I've already tried with the --no-journal-available, but it ignores that option and looks for the journal anyway....yeah, true.

sorry, I've tried many things already... =/Gentree wrote: well you did not make any referce to that so I thought you;d missed it.
I'm affraid I can't, I don't have space available or another partition where to put the reiserfs partition. I just want to copy some files from the reiserfs partition, that's it.. .=/Gentree wrote: can you dd it somewhere else as was suggested above and try to fsck that?
LOL, it's not supposed to do anything with your partition.--no-journal-available
This option allows reiserfsck to proceed when the journal device is
not available. This option has no effect when the journal is
located on the main data device.
