View previous topic :: View next topic |
Author |
Message |
nahpets Veteran
Joined: 05 Oct 2003 Posts: 1178 Location: Montreal, Canada
|
Posted: Sat May 29, 2004 6:27 am Post subject: alternate install and partition madness. WTF? |
|
|
RECAP
A couple months ago, I did a fresh install using Knoppix as described in the alt install guide. I started getting system crashes when doing a lot of disk IO. I would get these error in my log file:
Quote: |
May 26 20:52:49 stephan hda: read_intr: status=0x51 { DriveReady SeekComplete Error }
May 26 20:52:49 stephan hda: read_intr: error=0x10 { SectorIdNotFound }, LBAsect=117220667, sector=117220667
|
It took me a lot of searching and I found a post where someone mentioned "SectorIdNotFound" errors could be related to partition problems. So I tried running cfdisk and this is what I got:
Quote: |
FATAL ERROR: Bad primary partition 3: Partition ends after end-of-disk
Press any key to exit cfdisk
|
I then did "fdisk /dev/hda" and the verify command told me that there was more space allocated than physically possible. gpart and sfdisk gave similar results. (Note: I used QTParted to partition my disk)
UPDATE
After much searching and messing around, I decided to wipe my drive clean and do a fresh install. I used knoppix again but this time I used cfdisk to make my partitions. I made 4 primary partitions.
Code: |
/dev/hda1 /boot
/dev/hda2 /swap
/dev/hda3 /
/dev/hda4 /home
|
I then used fdisk and cfdisk to verify the partitions and everything looked good. To make sure gentoo was ok, I booted off the LiveCD and checked again and everything was roses.
Next step was to compile a new kernel and reboot. I used genkernel (to be on the safe side) to compile gentoo-dev-sources 2.6.5-r1. I rebooted and checked my parition tables again. Guess what? fdisk and cfdisk didn't like my partitions Out of desperation, I used cfdisk to delete /dev/hda4 and then re-create. This time, the partition tables looked good. So it seems that I solved my problem.
My question to all of you is; WTF?? Why was the partition table ok in Knoppix and Gentoo LiveCD (kernel 2.4) and not under kernel 2.6? What changed to make my HD seemingly shrink? |
|
Back to top |
|
|
farrioth Apprentice
Joined: 23 Nov 2003 Posts: 282 Location: Auckland
|
Posted: Sat May 29, 2004 7:32 am Post subject: |
|
|
This could be a change in drivers between the different kernels, or possibly a bug in 2.6. Does your disk require any specific drivers? |
|
Back to top |
|
|
nahpets Veteran
Joined: 05 Oct 2003 Posts: 1178 Location: Montreal, Canada
|
Posted: Sat May 29, 2004 6:16 pm Post subject: |
|
|
Not that I know of. It's a Westen Digital IDE drive. I've had Mandrake, Redhat and Gentoo with kernel 2.4 installed and never had a problem. It's only when I did a fresh install using Knoppix as described above that I ran into problems. |
|
Back to top |
|
|
farrioth Apprentice
Joined: 23 Nov 2003 Posts: 282 Location: Auckland
|
Posted: Sat May 29, 2004 9:45 pm Post subject: |
|
|
Do you have problems when booted off a 2.6 cd, of only after the install with Knoppix? |
|
Back to top |
|
|
nahpets Veteran
Joined: 05 Oct 2003 Posts: 1178 Location: Montreal, Canada
|
Posted: Mon May 31, 2004 6:14 am Post subject: |
|
|
I can boot without any problems. I can even boot into Gentoo with the 2.6 kernel. The problem occurs when trying to read/write to the imaginary part of the partition. |
|
Back to top |
|
|
|