yaboot problems (still -- suggestions welcome!)
Tom
tdilling at mac.com
Thu May 25 07:52:23 EST 2000
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 at f2000000/pci-bridge at d/pci9004,7850 at 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 at 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 at mac.com
-------------- next part --------------
An embedded message was scrubbed...
From: Mail Delivery Subsystem <postmaster at postoffice.dca.net>
Subject: Returned mail: Host unknown (Name server: lists.linuxppc.com: host not found)
Date: Wed, 24 May 2000 17:50:25 -0400
Size: 5673
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20000524/db51d04f/attachment.eml>
More information about the Linuxppc-dev
mailing list