mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: John Huttley <john@mwk.co.nz>
To: linux kernel <linux-kernel@vger.kernel.org>
Cc: Hugo Rabson <hugo@firstlinux.net>, Andre Hedrick <andre@linux-ide.org>
Subject: Need to force IDE geometry
Date: 15 Feb 2002 12:04:44 +1300	[thread overview]
Message-ID: <1013727888.13272.51.camel@fileserver.mwk.co.nz> (raw)


Hello,

I have a problem with the way the kernel handles geometry.

AFAIK, if a disk has partitions which were created in LBA mode,
the kernel automagically puts the disk into LBA mode. (good)

If the disk has no partitions.. then
	If its the first disk it will be in LBA mode (good)
Else it will be in CHS mode. (ungood)

There seems to be no way to tell the kernel to put the second disk into
LBA mode. Sure, you can force the geometry as a boot option, but that is
not the same as putting it in LBA mode.

Any bios settings to put the disk into LBA are ignored by the kernel.


This causes problems when installing a RAID enabled linux onto a
dual IDE system. RedHat 7X suffers this and so does the Mondo Rescue
restore system. It makes it very difficult to setup 2 disks so they are
of identical geometry. Trust me, its a PINA.

Are there any ioctl's controlling this?
Can we create a boot option? Or simply read the bios setting? Or just
default to LBA rather than CHS?

Any help gratefully received.
As I'm not on this list, would you please CC me.

Regards

John




             reply	other threads:[~2002-02-14 23:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-14 23:04 John Huttley [this message]
2002-02-15 21:26 Andries.Brouwer
2002-02-16  1:32 ` Andre Hedrick

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=1013727888.13272.51.camel@fileserver.mwk.co.nz \
    --to=john@mwk.co.nz \
    --cc=andre@linux-ide.org \
    --cc=hugo@firstlinux.net \
    --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®