linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* yaboot problems (still -- suggestions welcome!)
@ 2000-05-24 21:52 Tom
  2000-05-24 22:11 ` David A. Gatwood
  2000-05-25  6:50 ` Ethan Benson
  0 siblings, 2 replies; 5+ messages in thread
From: Tom @ 2000-05-24 21:52 UTC (permalink / raw)
  To: linuxppc-dev, linuxppc-users

[-- Attachment #1: Type: text/plain, Size: 2161 bytes --]

I've been struggling with it for over a week now, but am still unable to

yaboot (though I think I've made some minimal progress).

I have a G4/500 with linux on a dedicated external scsi drive (Adaptec
2906 card).

Per OF, the card corresponds to:
/pci@f2000000/pci-bridge@d/pci9004,7850@2/@2  (It is device 2 on the
scsi chain, or at least that's what the back of the hard drive implies.)

pdisk says the bootstrap partition is #2:
Partition map (with 512 byte blocks) on '/dev/sda'
 #:                type name                   length   base    ( size )

 1:    Apple_UNIX_SVR2 /            7785303 @ 204     (  3.7G)
 2:    Apple_HFS "bootstrap"         65638 @ 7785507 ( 32.0M)
 3:    Apple_UNIX_SVR2 swap    1048592 @ 7851145 (512.0M)
 [rest deleted]

Set the relevant line in /boot/ofboot.b (which is cp'd from the
menu_ofboot.b):
" Booting Yaboot ..." cr " boot sd:2,yaboot" eval

My /etc/yaboot.conf is as follows:
--------------
default=Linux-Stable

## change to your bootstrap partition ie /dev/hda2
boot=/dev/sda2
device=sd:
timeout=20
install=/boot/yaboot
magicboot=/boot/ofboot.b

image=/boot/vmlinux
 label=Linux-Stable
 root=/dev/sda1
 read-only
 partition=2

append= "video=aty128fb:vmode:17;cmode:24"
-----------------

Now, in OF, when I try to set sd as a devalias, it tells me the nvramrc
isn't valid.  When I printenv, I don't see it showing up anywhere (but
maybe I don't know what to look for, exactly?).

When in OF and I try to boot directly by providing the OF path manually,

I get this error:
method <open> not found ; ihandle=ff9c4980 phandle=ff8a9708 method
<close> not found ihandle=ff9c4980 phandle=ff8a9708 can't OPEN:
/pci@f2000000/.... {etc}.
I don't know what this means or what to do with this information.
(Anyone have any idea?)

One last thing: I have managed in the past week to get ybin working (my
bootstrap was mounted in the mtab).

But I have no idea how to proceed from here.  I'm about to start my
medical internship, and will have no more time to fiddle with this
starting about two weeks from now.

Sorry to whine!  :-)
Any/all suggestions most welcome!  Thanks!

Tom

Thomas Dilling, MD
tdilling@mac.com




[-- Attachment #2: Type: message/rfc822, Size: 5671 bytes --]

[-- Attachment #2.1.1: Type: text/plain, Size: 1017 bytes --]

The original message was received at Wed, 24 May 2000 17:50:22 -0400
from adsl-216-158-26-6.cust.oldcity.dca.net [216.158.26.6]

             * This message generated automatically *

Your e-mail message has been deferred or was unable to be delivered.
Below is the error message from DCANet's mail system.  If you do not
understand what this output means, please forward this entire message
along with a request for assistance to help@dca.net.   You may also call
DCANet's helpdesk toll free at +1 888 4DCANET (+1 888 432 2638) during
regular business hours.

  * Do not reply to this message - for assistance, mail help@dca.net *




   ----- The following addresses had permanent fatal errors -----
<linuxppc-dev@lists.linux.com>
<linuxppc-user@lists.linuxppc.com>

   ----- Transcript of session follows -----
550 <linuxppc-dev@lists.linux.com>... Host unknown (Name server: lists.linux.com: host not found)
550 <linuxppc-user@lists.linuxppc.com>... Host unknown (Name server: lists.linuxppc.com: host not found)

[-- Attachment #2.1.2: Type: message/delivery-status, Size: 496 bytes --]

[-- Attachment #2.1.3: Type: message/rfc822, Size: 2875 bytes --]

From: Tom <tdilling@mac.com>
To: linuxppc-dev@lists.linux.com, linuxppc-user@lists.linuxppc.com, ericpeden@homemail.com
Subject: yaboot problmes (still-- suggestions welcome!)
Date: Wed, 24 May 2000 17:50:17 -0400
Message-ID: <392C4E98.4542D218@mac.com>

I've been struggling with it for over a week now, but am still unable to
yaboot (though I think I've made some minimal progress).

I have a G4/500 with linux on a dedicated external scsi drive (Adaptec
2906 card).

Per OF, the card corresponds to:
/pci@f2000000/pci-bridge@d/pci9004,7850@2/@2  (It is device 2 on the
scsi chain, or at least that's what the back of the hard drive implies.)

pdisk says the bootstrap partition is #2:
Partition map (with 512 byte blocks) on '/dev/sda'
 #:                type name                   length   base    ( size )

 1:    Apple_UNIX_SVR2 /            7785303 @ 204     (  3.7G)
 2:    Apple_HFS "bootstrap"         65638 @ 7785507 ( 32.0M)
 3:    Apple_UNIX_SVR2 swap    1048592 @ 7851145 (512.0M)
 [rest deleted]

Set the relevant line in /boot/ofboot.b (which is cp'd from the
menu_ofboot.b):
" Booting Yaboot ..." cr " boot sd:2,yaboot" eval

My /etc/yaboot.conf is as follows:
--------------
default=Linux-Stable

## change to your bootstrap partition ie /dev/hda2
boot=/dev/sda2
device=sd:
timeout=20
install=/boot/yaboot
magicboot=/boot/ofboot.b

image=/boot/vmlinux
 label=Linux-Stable
 root=/dev/sda1
 read-only
 partition=2

append= "video=aty128fb:vmode:17;cmode:24"
-----------------

Now, in OF, when I try to set sd as a devalias, it tells me the nvramrc
isn't valid.  When I printenv, I don't see it showing up anywhere (but
maybe I don't know what to look for, exactly?).

When in OF and I try to boot directly by providing the OF path manually,
I get this error:
method <open> not found ; ihandle=ff9c4980 phandle=ff8a9708 method
<close> not found ihandle=ff9c4980 phandle=ff8a9708 can't OPEN:
/pci@f2000000/.... {etc}.
I don't know what this means or what to do with this information.
(Anyone have any idea?)

One last thing: I have managed in the past week to get ybin working (my
bootstrap was mounted in the mtab).

But I have no idea how to proceed from here.  I'm about to start my
medical internship, and will have no more time to fiddle with this
starting about two weeks from now.

Sorry to whine!  :-)
Any/all suggestions most welcome!  Thanks!
Tom

Thomas Dilling, MD
tdilling@mac.com



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

end of thread, other threads:[~2000-05-28  3:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-05-24 21:52 yaboot problems (still -- suggestions welcome!) Tom
2000-05-24 22:11 ` David A. Gatwood
2000-05-25  6:50 ` Ethan Benson
2000-05-27 17:33   ` ybin and kernel level Michael A. Peters
2000-05-28  3:15     ` Ethan Benson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).