mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andries Brouwer <aebr@win.tue.nl>
To: Konstantin Kletschke <konsti@ludenkalle.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Weird partititon recocnising problem in 2.6.0-testX
Date: Sun, 9 Nov 2003 12:58:57 +0100	[thread overview]
Message-ID: <20031109115857.GA15484@win.tue.nl> (raw)
In-Reply-To: <20031109034940.GA8532@zappa.doom>

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.]




  reply	other threads:[~2003-11-09 11:59 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-09  1:12 Konstantin Kletschke
2003-11-09  2:36 ` Andries Brouwer
2003-11-09  3:49   ` Konstantin Kletschke
2003-11-09 11:58     ` Andries Brouwer [this message]
2003-11-09 12:10       ` Stefan Smietanowski
2003-11-09 22:15         ` Konstantin Kletschke
2003-11-09 23:09           ` Konstantin Kletschke
2003-11-10  0:00             ` Andries Brouwer
2003-11-10  1:47           ` (2.4 question) open_namei hangs Shan Sinha
2003-11-10 10:24 Weird partititon recocnising problem in 2.6.0-testX Konstantin Kletschke
2003-11-10 10:56 ` Andries Brouwer
2003-11-10 11:32   ` Konstantin Kletschke
2003-11-10 11:57   ` Konstantin Kletschke
2003-11-10 16:02 Andries.Brouwer
2003-11-14  8:18 ` Rogier Wolff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20031109115857.GA15484@win.tue.nl \
    --to=aebr@win.tue.nl \
    --cc=konsti@ludenkalle.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®