lkml.org 
[lkml]   [2003]   [Nov]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Weird partititon recocnising problem in 2.6.0-testX
On Sun, Nov 09, 2003 at 04:49:40AM +0100, Konstantin Kletschke wrote:
> * Andries Brouwer <aebr@win.tue.nl> [Sun, Nov 09, 2003 at 03:36:25AM +0100]:
>
> > > hda: hda hda2
> >
> > I suppose that second hda is a typo for hda1?
>
> Yes ;)
>
> > What partition table? (fdisk -l /dev/hda or sfdisk -l -x -uS /dev/hda)
>
> Disk /dev/hda: 255 heads, 63 sectors, 1245 cylinders
> Units = cylinders of 16065 * 512 bytes
>
> Device Boot Start End Blocks Id System
> /dev/hda1 * 1 365 2931831 83 Linux
> /dev/hda2 366 1245 7068600 5 Extended
> /dev/hda5 366 487 979933+ 83 Linux
> /dev/hda6 1185 1245 489951 82 Linux swap

Hmm. msdos.c has

put_partition(state, slot, start, size == 1 ? 1 : 2);
printk(" <");
parse_extended(state, bdev, start, size);
printk(" >");

The "hda2" is printed by put_partition(). But no " <" is printed.
An impossible error. Recompile your kernel.

Andries


[If a clean compile still fails, add
printk("partition start %u size %u type %u",
start, size, SYS_IND(p))
after the
for (slot = 1 ; slot <= 4 ; slot++, p++) {
u32 start = START_SECT(p)*sector_size;
u32 size = NR_SECTS(p)*sector_size;
around line 413 in fs/partitions/msdos.c.]


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:58    [from the cache]
©2003-2011 Jasper Spaans