strange badblocks problem [solved?]

marnixk lfs at mkaart.net
Sun Jan 18 14:07:47 PST 2004


marnixk wrote:

> Bill's LFS Login wrote:
>> HTH (at last?)
> You have been most helpfull and i've learned a lot. I will post the
> results of my re-partitioning strategy later...I feel this *should* work!

Okay, i have carefully partitioned my harddisk and made sure that the number
of sectors in each partition are divisible by 8:

Disk /dev/hda: 30.7 GB, 30750031872 bytes
255 heads, 63 sectors/track, 3738 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1             1         7     56196   83  Linux
/dev/hda2             8        39    257040   82  Linux swap
/dev/hda3            40       103    514080   83  Linux
/dev/hda4           104      3735  29174040    5  Extended
/dev/hda5           104       134    248976   82  Linux swap
/dev/hda6           135       269   1084356   83  Linux
/dev/hda7           270       300    248976   82  Linux swap
/dev/hda8           301       683   3076416   83  Linux
/dev/hda9           684       714    248976   82  Linux swap
/dev/hda10          715       969   2048256   83  Linux
/dev/hda11          970      2000   8281476   83  Linux
/dev/hda12         2001      2247   1983996   83  Linux
/dev/hda13         2248      2678   3461976   83  Linux
/dev/hda14         2679      3733   8474256   83  Linux

and per the "expert" show partitions command:

Nr AF  Hd Sec  Cyl  Hd Sec  Cyl    Start     Size ID
 1 00   1   1    0 254  63    6       63   112392 83
 2 00   0   1    7 254  63   38   112455   514080 82
 3 00   0   1   39 254  63  102   626535  1028160 83
 4 00   0   1  103 254  63 1023  1654695 58348080 05
 5 00   1   1  103 254  63  133       63   497952 82
 6 00   1   1  134 254  63  268       63  2168712 83
 7 00   1   1  269 254  63  299       63   497952 82
 8 00   1   1  300 254  63  682       63  6152832 83
 9 00   1   1  683 254  63  713       63   497952 82
10 00   1   1  714 254  63  968       63  4096512 83
11 00   1   1  969 254  63 1023       63 16562952 83
12 00 254  63 1023 254  63 1023       63  3967992 83
13 00 254  63 1023 254  63 1023       63  6923952 83
14 00 254  63 1023 254  63 1023       63 16948512 83

After this partitioning i have made FS, mounted, unmounted, cat-ed, dd-ed,
and badblock-ed all that i could and there are still no signs of the
earlier "attempt to read past end of device" errors. SO, on my system this
problem is *solved*, although i still feel that there must be something
else at play here (kernel?), see previous post. Anyway, i will now trust
the harddisk with my data and system again and i will proceed with
installation...

I would like to thank you Bill, for your extensive posts and your efforts to
help me figure this all out. I will continue reading and learning on this
topic and maybe when i find out what else is going on here i will let you
know per the LFS.support list...

Thanks,

Marnix



More information about the lfs-support mailing list