Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
alternate install and partition madness. WTF?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
nahpets
Veteran
Veteran


Joined: 05 Oct 2003
Posts: 1178
Location: Montreal, Canada

PostPosted: Sat May 29, 2004 6:27 am    Post subject: alternate install and partition madness. WTF? Reply with quote

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
View user's profile Send private message
farrioth
Apprentice
Apprentice


Joined: 23 Nov 2003
Posts: 282
Location: Auckland

PostPosted: Sat May 29, 2004 7:32 am    Post subject: Reply with quote

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
View user's profile Send private message
nahpets
Veteran
Veteran


Joined: 05 Oct 2003
Posts: 1178
Location: Montreal, Canada

PostPosted: Sat May 29, 2004 6:16 pm    Post subject: Reply with quote

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
View user's profile Send private message
farrioth
Apprentice
Apprentice


Joined: 23 Nov 2003
Posts: 282
Location: Auckland

PostPosted: Sat May 29, 2004 9:45 pm    Post subject: Reply with quote

Do you have problems when booted off a 2.6 cd, of only after the install with Knoppix?
Back to top
View user's profile Send private message
nahpets
Veteran
Veteran


Joined: 05 Oct 2003
Posts: 1178
Location: Montreal, Canada

PostPosted: Mon May 31, 2004 6:14 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum