* Re: Need to force IDE geometry
@ 2002-02-15 21:26 Andries.Brouwer
2002-02-16 1:32 ` Andre Hedrick
0 siblings, 1 reply; 3+ messages in thread
From: Andries.Brouwer @ 2002-02-15 21:26 UTC (permalink / raw)
To: john, linux-kernel; +Cc: andre, hugo
> I have a problem with the way the kernel handles geometry.
Your question is based on your assumptions about geometry
and LBA. But your assumptions are incorrect, and therefore
your questions do not make sense. Please tell what you do
and what error messages you get.
Andries
> Else it will be in CHS mode. (ungood)
False.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Need to force IDE geometry
2002-02-15 21:26 Need to force IDE geometry Andries.Brouwer
@ 2002-02-16 1:32 ` Andre Hedrick
0 siblings, 0 replies; 3+ messages in thread
From: Andre Hedrick @ 2002-02-16 1:32 UTC (permalink / raw)
To: Andries.Brouwer; +Cc: john, linux-kernel, hugo
On Fri, 15 Feb 2002 Andries.Brouwer@cwi.nl wrote:
> > I have a problem with the way the kernel handles geometry.
>
> Your question is based on your assumptions about geometry
> and LBA. But your assumptions are incorrect, and therefore
> your questions do not make sense. Please tell what you do
> and what error messages you get.
>
> Andries
>
>
> > Else it will be in CHS mode. (ungood)
>
> False.
It is simple, the raid cards force LBA in the BIOS but Linux choose to
NUKE it and thus the offsets for finding the reserved sectors is all
wrong. Again we (you) have forced drives to run in CHS by default and it
is wrong. We can debate but if the drive supports LBA we must force LBA
in the kernel.
Now I am out of this argument.
Cheers,
Andre Hedrick
Linux Disk Certification Project Linux ATA Development
^ permalink raw reply [flat|nested] 3+ messages in thread
* Need to force IDE geometry
@ 2002-02-14 23:04 John Huttley
0 siblings, 0 replies; 3+ messages in thread
From: John Huttley @ 2002-02-14 23:04 UTC (permalink / raw)
To: linux kernel; +Cc: Hugo Rabson, Andre Hedrick
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-02-16 1:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-15 21:26 Need to force IDE geometry Andries.Brouwer
2002-02-16 1:32 ` Andre Hedrick
-- strict thread matches above, loose matches on Subject: below --
2002-02-14 23:04 John Huttley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox