[Top] [All Lists]

Re: [patch] cmdline.c rewrite

Subject: Re: [patch] cmdline.c rewrite
From: Guido Guenther <>
Date: Wed, 5 Feb 2003 01:07:35 +0100
In-reply-to: <>
Mail-followup-to: Guido Guenther <>,
Original-recipient: rfc822;
References: <> <20030204092417.GR16674@bogon.ms20.nix> <> <20030204231203.GY16674@bogon.ms20.nix> <> <20030204234529.GZ16674@bogon.ms20.nix> <>
User-agent: Mutt/1.4i
On Wed, Feb 05, 2003 at 10:55:43AM +1100, Andrew Clausen wrote:
> No.  I can't figure out why.  In any case, the PROM uses OSLoadPartition
> to find the kernel.
On IP22 the PROM uses SystemPartition to find the kernel/bootloader.
We set it to something like scsi(0)disk(1)rdisk(0)partition(8) to grab
it from the vh. Is SystemPartition used differently on IP27?

> So, we should obviously support OSLoadPartition=/dev/sda1 (=> root=/dev/sda1),
> but it would also be nice to support OSLoadPartition=dksc(0,1,3).
Well we could either check if OSLoadPartition matches the linux device
naming scheme or the other way around and see if it looks like a valid
device identifier used by the PROM (I'd prefer the later, though) - or
simply make the OSLoadPartition <-> root= mapping '#ifdef CONFIG_SGI_IP22'.
 -- Guido

<Prev in Thread] Current Thread [Next in Thread>