public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.6.0 and auto geometry resizing?
@ 2003-12-21 15:28 PeteVine
  2003-12-21 17:44 ` Andries Brouwer
  0 siblings, 1 reply; 2+ messages in thread
From: PeteVine @ 2003-12-21 15:28 UTC (permalink / raw)
  To: linux-kernel

I've got this problem with 2.6 kernels, namely I can't use my RAID 
partitions as they are not detected at boot.  I've tracked the issue
to what I believe is auto geometry resizing.

With 2.6 cfdisk shows:

hdc1           Boot, NC       Primary     OnTrackDM6                  33814,13                                   
					Pri/Log     Free Space     		     26205,75


Whereas with 2.4 there's no resizing: 

hdc1                    Primary   Linux swap                        254,99     
hdc5                    Logical   Linux raid autodetect      	98,71    
hdc6                    Logical   Linux raid autodetect		254,99    
hdc7                    Logical   Linux raid autodetect             2599,19    
hdc8                    Logical   Linux raid autodetect            56812,01

The disk in question used to be jumpered to 32 GB 
a few years ago, then treated with ontrack to get the full
capacity. Later the jumper was removed and the disk was
partitioned in Linux 2.4 as shown above. Now, 2.6 even with
auto geometry resizing not compiled in, insists on 
resizing the disk. Any ideas how to get around the problem?


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 2.6.0 and auto geometry resizing?
  2003-12-21 15:28 2.6.0 and auto geometry resizing? PeteVine
@ 2003-12-21 17:44 ` Andries Brouwer
  0 siblings, 0 replies; 2+ messages in thread
From: Andries Brouwer @ 2003-12-21 17:44 UTC (permalink / raw)
  To: PeteVine; +Cc: linux-kernel

On Sun, Dec 21, 2003 at 04:28:50PM +0100, PeteVine wrote:

> I've got this problem with 2.6 kernels, namely I can't use my RAID 
> partitions as they are not detected at boot.  I've tracked the issue
> to what I believe is auto geometry resizing.
> 
> With 2.6 cfdisk shows:
> 
> hdc1           Boot, NC       Primary     OnTrackDM6                  33814,13                                   
> 
> Whereas with 2.4 there's no resizing: 
> 
> hdc1                    Primary   Linux swap                        254,99     

It is clear what happens. Both kernels see different partition tables.
You did not show the 2.4 boot messages, but no doubt they will mention
something about the boot manager shift.
Give 2.6 the appropriate boot parameter and all will be fine.

What parameter? Quoting from ide.c:
 * "hdx=remap63"        : add 63 to all sector numbers (for OnTrack DM)
 * "hdx=remap"          : remap 0->1 (for EZDrive)

So if you have OnTrack you need "hdc=remap63".

Andries


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-12-21 17:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-21 15:28 2.6.0 and auto geometry resizing? PeteVine
2003-12-21 17:44 ` Andries Brouwer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox