2.6.12-rc3 fails to read partition table
Quoted 4 lines · Hubert Tonneau
2.6.11 and 2.6.11.7 work fine.
2.6.12-rc1 2.6.12-rc2 and 2.6.12-rc3 fail to read partiton table on my laptop, also 2.6.12-rc3 works fine on another box also running FullPliant.
I tracked down the trouble to the following patch.
Partitions with type 0 are now ignored, and my hda1 single partition has been unwisely set so.
The question might be: is it a good idea to introduce that extra constrain in the middle of a stable serie ?
fs/partitions/msdos.c +5 -0
@@ -114,6 +114,9 @@*/ for (i=0 ; i<4 ; i++, p++) {u32 offs, size, next; + +if (SYS_IND (p) ==0 ) +continue ;if (!NR_SECTS (p) ||is_extended_partition (p))continue ;
@@ -430,6 +433,8 @@for (slot =1 ; slot <=4 ; slot++, p++) {u32 start =START_SECT (p)*sector_size;u32 size =NR_SECTS (p)*sector_size; +if (SYS_IND (p) ==0 ) +continue ;if (!size)continue ;if (is_extended_partition (p)) {