Bug 205550 - use yaboot for booting Pegasos PPC
Summary: use yaboot for booting Pegasos PPC
Status: RESOLVED WORKSFORME
: 115410 141214 (view as bug list)
Alias: None
Product: openSUSE 10.3
Classification: openSUSE
Component: Installation (show other bugs)
Version: Alpha 1
Hardware: PowerPC Other
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: Alexander Osthof
QA Contact: Jiri Srain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-13 20:35 UTC by peter czanik
Modified: 2007-08-08 09:43 UTC (History)
0 users

See Also:
Found By: Third Party Developer/Partner
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
lilo-pegasos.patch (3.56 KB, patch)
2006-10-23 11:29 UTC, Olaf Hering
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description peter czanik 2006-09-13 20:35:51 UTC
As discussed in e-mail, please use yaboot to boot Pegasos PPC machines:
"It just needs some tweaking in the lilo script to do the right thing
with copying yaboot and possible the yaboot.conf file over to the boot
partition."
Comment 1 peter czanik 2006-09-13 21:01:00 UTC
*** Bug 141214 has been marked as a duplicate of this bug. ***
Comment 2 peter czanik 2006-09-13 21:25:32 UTC
Also make sure, that /boot is on an Pegasos OpenFirmware readable partition. Ext2 works best, but ext3, (v)fat should also work. ReiserFS does not work!
Comment 3 Olaf Hering 2006-09-15 12:46:34 UTC
need a 'boot=/dev/hdaN' not 'boot=/dev/hda' in lilo.conf
need to evaluate if 'boot=' can point to a mount point
need to copy yaboot to that partition, in the root dir
need to leave the filesystem on hdaN alone
need to document that one has to run 'setenv boot-device hd:$((N-1))' in OF
need to create a yaboot.cnf with no hardcoded device paths, use &device; instead
Comment 4 Olaf Hering 2006-10-23 11:29:29 UTC
Created attachment 102264 [details]
lilo-pegasos.patch

do something on pegasos.
create a config file, put it into yaboot itself and copy the yaboot to /

boot hd:6 yaboot  on the OF cmdline
Comment 6 peter czanik 2006-11-03 14:51:28 UTC
factory from 2006. Nov. 03. was installed to /dev/hdd4 I tried to boot it with:

ok boot hd3:4 yaboot

which resulted in (copy&paste from serial console):

Welcome to yaboot version 10.1.19-r858.SuSE
booted from '/pci@80000000/ide@C,1/disk@1,1:4,yaboot'
Using configfile 'built-in'
Enter "help" to get some basic usage information
boot: linux
type 2 of '/pci@80000000/ide@C,1/disk@1' not handled
/pci@80000000/ide@C,1/disk@1:4,/boot/vmlinux: Unable to parse
Please wait, loading kernel...
boot: linux
type 2 of '/pci@80000000/ide@C,1/disk@1' not handled
/pci@80000000/ide@C,1/disk@1:4,/boot/vmlinux: Unable to parse
Please wait, loading kernel...
boot: linux
type 2 of '/pci@80000000/ide@C,1/disk@1' not handled
/pci@80000000/ide@C,1/disk@1:4,/boot/vmlinux: Unable to parse
Please wait, loading kernel...

etc.
Comment 7 Olaf Hering 2006-11-07 08:38:29 UTC
open a new bug for yaboot failure, this bug is all about perl-Bootloader
Comment 8 peter czanik 2006-11-07 09:35:53 UTC
Done: #218692
I don't know, if it belongs to here, or a separate bug: yaboot only gets installed, if a PREP boot partition is there.
Comment 9 Joachim Plack 2006-11-07 14:50:11 UTC
this is not a blocker, pegasos not mandatory as far as I know.
Not enough ressources to do this for 10.2
Comment 10 Olaf Hering 2006-11-10 16:22:12 UTC
*** Bug 115410 has been marked as a duplicate of this bug. ***
Comment 11 Joachim Plack 2006-11-17 11:37:34 UTC
postponed to 10.3
Comment 12 Alexander Osthof 2007-03-26 17:44:42 UTC
Will take care as load for SP1 get lower...
Comment 13 Christoph Thiel 2007-08-08 09:30:47 UTC
Stefan, what's the status on this bug?
Comment 14 peter czanik 2007-08-08 09:36:17 UTC
Works fine on 10.2 and also on 10.3-factory.
Comment 15 Christoph Thiel 2007-08-08 09:43:04 UTC
Closing WORKSFORME. Please feel free to reopen, in case the problem persists.