Skip to contentSkip to conversation

Simple partition not detected with 2.6

DISCUSSION Ludovic Drolez 3 participants 6 messages Dec 15, 2003 – Dec 18, 2003

lore
Share & tools
lore
#0 lore raw

Hi!

I have one computer which has two partitions per disk. This partition is seen by a 2.4.xx kernel (knoppix) but not by a 2.6.0t7 kernel.

When booting the knoppix, dmesg says:

hda: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=155061/16/63
hdc: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=155061/16/63
ide-cd: passing drive hde to ide-scsi emulation. Partition check:
hda: [PTBL] [9729/255/63] hda1 hda2
hdc: [PTBL] [9729/255/63] hdc1 hdc2

But the 2.6.0t7 does not see the partition table. Other disks are properly recognized, so it seems to be a problem with [PTBL] and 2.6 ...

Any clues ?

Signature · 3 lines
Ludovic DROLEZ                              Linbox / Free&ALter Soft
152 rue de Grigy - Technopole Metz 2000                   57070 METZ
tel : 03 87 75 55 21                            fax : 03 87 75 19 26
#1 lore raw
Quoted 14 lines · Ludovic Drolez

I have one computer which has two partitions per disk. This partition is seen by a 2.4.xx kernel (knoppix) but not by a 2.6.0t7 kernel.

When booting the knoppix, dmesg says:

hda: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=155061/16/63
hdc: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=155061/16/63
ide-cd: passing drive hde to ide-scsi emulation. Partition check:
hda: [PTBL] [9729/255/63] hda1 hda2
hdc: [PTBL] [9729/255/63] hdc1 hdc2

Quoted 3 lines

But the 2.6.0t7 does not see the partition table. Other disks are properly recognized, so it seems to be a problem with [PTBL] and 2.6 ...

The [PTBL] part just says that this 2.4 kernel first concluded to a 155061/16/63 geometry but then saw the partition table and changed it mind to 9729/255/63.
It is unrelated to partition recognition.

Check that your kernel was compiled without CONFIG_PARTITION_ADVANCED, or, in case you selected advanced, has CONFIG_MSDOS_PARTITION selected.

If it is something else, come back (and show fdisk output).

#2 lore raw
Quoted 20 lines · Andries Brouwer
Quoted 14 lines · Ludovic Drolez

I have one computer which has two partitions per disk. This partition is seen by a 2.4.xx kernel (knoppix) but not by a 2.6.0t7 kernel.

When booting the knoppix, dmesg says:

hda: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=155061/16/63
hdc: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=155061/16/63
ide-cd: passing drive hde to ide-scsi emulation. Partition check:
hda: [PTBL] [9729/255/63] hda1 hda2
hdc: [PTBL] [9729/255/63] hdc1 hdc2

Quoted 3 lines

But the 2.6.0t7 does not see the partition table. Other disks are properly recognized, so it seems to be a problem with [PTBL] and 2.6 ...

Quoted 7 lines

The [PTBL] part just says that this 2.4 kernel first concluded to a 155061/16/63 geometry but then saw the partition table and changed it mind to 9729/255/63.
It is unrelated to partition recognition.

Check that your kernel was compiled without CONFIG_PARTITION_ADVANCED, or, in case you selected advanced, has CONFIG_MSDOS_PARTITION selected.

Yes, I have CONFIG_PARTITION_ADVANCED, CONFIG_MSDOS_PARTITION and also LDM partitions support.

I've attached a boot log.
In fact it seems that it's not a partitions problem but a disk detection problem: the IDE controller is detected but not the disks...

The server is an HP-DL320 with integrated RAID IDE.

Signature · 3 lines
Ludovic DROLEZ                              Linbox / Free&ALter Soft
152 rue de Grigy - Technopole Metz 2000                   57070 METZ
tel : 03 87 75 55 21                            fax : 03 87 75 19 26
#3 lore raw
Quoted 5 lines · Ludovic Drolez

I've attached a boot log.
In fact it seems that it's not a partitions problem but a disk detection problem: the IDE controller is detected but not the disks...

The server is an HP-DL320 with integrated RAID IDE.

OK - in that case I can refer you to Bartlomiej Zolnierkiewicz, our IDE maintainer.

#5 lore raw

I've just found where the problem came from !

In fact I have more that one IDE controler on this PC, and my 2.6 kernel was not compiled for supporting this IDE raid chipset (CMD649).

Sorry for wasting your time.

Cheers,

Signature · 3 lines
Ludovic DROLEZ                              Linbox / Free&ALter Soft
152 rue de Grigy - Technopole Metz 2000                   57070 METZ
tel : 03 87 75 55 21                            fax : 03 87 75 19 26