On Fri, Feb 04, 2005 at 03:28:26PM -0500, Pedro Sanchez wrote:
> On Fri, 2005-02-04 at 20:00 +0100, Gaudenz Steinlin wrote:
> > On Fri, Feb 04, 2005 at 09:42:45AM -0500, Pedro Sanchez wrote:
> > > On Fri, 2005-02-04 at 11:10 +0100, Gaudenz Steinlin wrote:
> > > > On Thu, Feb 03, 2005 at 02:39:48PM -0800, Brad Boyer wrote:
> > > > > On Thu, Feb 03, 2005 at 10:13:17AM -0500, Pedro Sanchez wrote:
> > > > > > 4. /target/etc/yaboot.config (as installed by the d-i):
> > > > > > 
> > > > > > boot=/dev/sdb2
> > > > > > device=/[EMAIL PROTECTED]/[EMAIL PROTECTED]:
> > > > > 
> > > > > This last line seems odd. My G5 has only one disk and has a very
> > > > > similar line for device. That makes me think that it isn't getting
> > > > > the right OF path for /dev/sdb2. I would have expected the second
> > > > > drive to be on the second sata channel. Without having a second
> > > > > device on sata on my G5, I can't really test, but it seems worth
> > > > > investigating for someone who knows the installer better.
> > > > 
> > > > The installer uses ofpath to translate from device nodes to open
> > > > firmware paths. Pedro: Can you run the following commands in Linux:
> > > > 
> > > > ofpath /dev/sda
> > > > ofpath /dev/sdb
> > > > 
> > > Here's what I get:
> > > 
> > > #ofpath /dev/sda
> > > /[EMAIL PROTECTED],f2000000/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL 
> > > PROTECTED]/[EMAIL PROTECTED]:
> > > 
> > > #ofpath /dev/sdb
> > > /[EMAIL PROTECTED]/[EMAIL PROTECTED]:
> > 
> > This look strange to me. Is /[EMAIL PROTECTED]/[EMAIL PROTECTED]: a valid 
> > OF path on your
> > system? Comparing it to the first path it seems to miss some components.
> > 
> To run these commands I boot from the CD and get all the partitions
> mounted. Then I exit to a shell from the main installer menu. Therefore,
> could it be that because all these partitions on the second drive are
> mounted at that point, the ofpath command simply returns an abbreviated
> version of the full path?
It shouldn't. I'm quite sure this is a bug in ofpath.
> I went to the openfirmware boot and listed the devices (dev /, ls). This
> is the hierarchy that I see (just the sata-relevant lines):
> 
> /[EMAIL PROTECTED],f2000000
>   /[EMAIL PROTECTED]
>     /[EMAIL PROTECTED]
>       /[EMAIL PROTECTED]
>         /[EMAIL PROTECTED]
>       /[EMAIL PROTECTED]
>         /[EMAIL PROTECTED]
> 
> I put the full path in the device=xxx section of yaboot config, run ybin
> again, rebooted, and nothing new happens. Still in the same loop between
> the graphical and text boot menus.
try setting 

ofboot=/[EMAIL PROTECTED],f2000000/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL 
PROTECTED]/[EMAIL PROTECTED]:2

in your yaboot.conf. This tells the first stage ofboot.b where to look
for the yaboot binary.
> 
> Any other ideas?
You can try booting the second stage yaboot from OF like this:
boot /[EMAIL PROTECTED],f2000000/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL 
PROTECTED]/[EMAIL PROTECTED]:2,\yaboot

Gaudenz

Attachment: signature.asc
Description: Digital signature

Reply via email to