mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Paul Bolle <pebolle@tiscali.nl>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: markk@clara.co.uk, bugme-daemon@bugzilla.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [Bugme-new] [Bug 37682] New: Kernel mis-detects size/position of partition created with Seagate DiscWizard (OnTrack Disk Manager)
Date: Sat, 18 Jun 2011 03:01:48 +0200	[thread overview]
Message-ID: <1308358960.2166.20.camel@t41.thuisdomein> (raw)
In-Reply-To: <20110617143104.3b883bda.akpm@linux-foundation.org>

On Fri, 2011-06-17 at 14:31 -0700, Andrew Morton wrote:
> > In case it helps to diagnose the problem, I have attached the first 0x11000
> > bytes of this disk.

0) $ /sbin/sfdisk -l First_0x11000_bytes.bin 
Disk First_0x11000_bytes.bin: cannot get geometry

Disk First_0x11000_bytes.bin: 0 cylinders, 255 heads, 63 sectors/track
detected Disk Manager - unable to handle that
 First_0x11000_bytes.bin: unrecognized partition table type
No partitions found

1) $ dd if=First_0x11000_bytes.bin of=First_0x9200_bytes.bin bs=512 skip=63
73+0 records in
73+0 records out
37376 bytes (37 kB) copied, 0.0224746 s, 1.7 MB/s

2) $ /sbin/sfdisk -l -uS First_0x9200_bytes.bin 
Disk First_0x9200_bytes.bin: cannot get geometry

Disk First_0x9200_bytes.bin: 0 cylinders, 255 heads, 63 sectors/track
Units = sectors of 512 bytes, counting from 0

   Device Boot    Start       End   #sectors  Id  System
First_0x9200_bytes.bin1   *        63  39102209   39102147   c  W95 FAT32 (LBA)
		end: (c,h,s) expected (1023,254,63) found (385,254,63)
First_0x9200_bytes.bin2             0         -          0   0  Empty
First_0x9200_bytes.bin3             0         -          0   0  Empty
First_0x9200_bytes.bin4             0         -          0   0  Empty

39102147 seems to be close to what the reporter expects to see.

3) Some searches suggest there used to be a "hda=remap63" boot option
for this, ie OnTrack Disk Manager, but I can't find it grepping the
source nor could I find the commit(s) that removed it.


Paul Bolle


  reply	other threads:[~2011-06-18  1:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-37682-10286@https.bugzilla.kernel.org/>
2011-06-17 21:31 ` Andrew Morton
2011-06-18  1:01   ` Paul Bolle [this message]
2011-06-18  1:16   ` Paul Bolle
2011-06-18  8:51     ` markk
2011-06-18 10:38       ` Paul Bolle
2011-06-18 14:34         ` Arnd Bergmann

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=1308358960.2166.20.camel@t41.thuisdomein \
    --to=pebolle@tiscali.nl \
    --cc=akpm@linux-foundation.org \
    --cc=bugme-daemon@bugzilla.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=markk@clara.co.uk \
    /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®