Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 218663 - device= variable in <2007.1 incorrect
Summary: device= variable in <2007.1 incorrect
Status: CONFIRMED
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: All ISO (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: PPC Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-20 22:58 UTC by Garrett Cooper
Modified: 2011-05-13 19:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Garrett Cooper 2008-04-20 22:58:41 UTC
device= in yaboot.conf should not be hardcoded as sometimes people can attempt to load from secondary optical drives (cd1, etc), as well as other external optical media via Open Firmware.

There also appears to be an issue with the current version of yaboot included on the ISO's where it's improperly scanning the loaded device, so I'll be debugging the issue and eventually submit a patch upstream to fix this.

Reproducible: Always

Steps to Reproduce:
Comment 1 Andrew Gaffney (RETIRED) gentoo-dev 2008-04-21 00:03:14 UTC
Is this an issue with 2008.0_beta1?
Comment 2 Garrett Cooper 2008-04-21 18:57:22 UTC
It looks correct but I need to shutdown the mac after compiling everything's done, change the jumper, and see if the issue still exists with the 2008.0_beta1 image.

It booted up though properly with the jumper set to master (instead of PATA slave) though, so I think that 2008.0_beta solves this issue.
Comment 3 Garrett Cooper 2008-04-21 19:02:20 UTC
Oh yeah. 2007.1 isn't usable either on my Mac because the kernel doesn't properly detect my PCI ID for the gem NIC. This was fixed in (or before) the kernel included in 2008.0.
Comment 4 Garrett Cooper 2008-04-23 07:54:55 UTC
Actually, after rereading /mnt/cdrom/boot/yaboot.conf, yes this is an issue as it also hard codes in:

device=cd:

(FWIW given my little experience and toying with the sources) yaboot should determine the proper device for you using OF, and if I were to copy over the sources to an NFS serv and netboot it wouldn't just automagically work; the deployer would have to doctor up yaboot. It would be trivial, but with n number of entries it could become tiresome...
Comment 5 Chris Gianelloni (RETIRED) gentoo-dev 2008-05-09 19:26:00 UTC
So what should we have, instead?
Comment 6 Garrett Cooper 2008-05-19 10:33:21 UTC
Shouldn't need the device= string as yaboot will automatically insert the appropriate value (at least with the latest and greatest version -- 1.3.13).

Hopefully grub2 fills this hole soon as it's a much better solution...
Comment 7 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2010-12-01 18:04:29 UTC
@ppc:

Another bug you weren't CCed on.
Any comments?
Comment 8 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2011-05-13 19:45:49 UTC
And another bug I'm reassigning to ppc.