Hi all,

Today while I was launching netscape I got "bus error".
After looking at the syslog file I found what seems to be a bad or
sector (see my syslog below).
I rebooted with boot and rescue rescue disks and run e2fsck on my two
partitions 
(/dev/hda2 for / and /dev/hda4 for /usr).

e2fsck did not found any error but those zero down times.
Afterwords I decided to run badblocks for my partitions and found one
badblock 
on /dev/hda4 (/usr) in sector ? 258630.

Netscape is on /usr/X11R6/bin , I  looked at its inode and it is 51095.
I then decided to cp netscape to netscape1 and I got the same 
error on sector 517261 in the syslog , before the copy finished. Then I
confirmed that netscape was on the bad sector.

Then I renamed netscape to netscape1 (checked that was using the same
inode), untared a copy from floppy and put it where it belongs (checked
that was using another inode).
I can now use netscape again.

But I guess have a bad sector in my drive where the file netscape1 is
now on inode 51095.
The question folks is, how can I fix that sector or mark it as bad so I
can free those five megs, and be sure no file will be written there in
the future.

I'm sorry if I am making wrong assumptions in my description of the
prob.


regards,
Alvaro.

The error on the syslog file:

Mar 14 22:14:24 alfa kernel: Adding Swap: 17132k swap-space (priority
2144)
Mar 14 22:16:33 alfa kernel: hda: read_intr: status=0x59 { DriveReady
SeekComplete DataRequest Error }
Mar 14 22:16:33 alfa kernel: hda: read_intr: error=0x40 {
UncorrectableError }, LBAsect=1577677, sector=517261
Mar 14 22:16:33 alfa kernel: end_request: I/O error, dev 03:04, sector
517261
Mar 14 22:16:34 alfa kernel: hda: read_intr: status=0x59 { DriveReady
SeekComplete DataRequest Error }
Mar 14 22:16:34 alfa kernel: hda: read_intr: error=0x40 {
UncorrectableError }, LBAsect=1577677, sector=517261
Mar 14 22:16:34 alfa kernel: end_request: I/O error, dev 03:04, sector
517261

Reply via email to