Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 120340 - Version bump: sys-boot/efibootmgr
Summary: Version bump: sys-boot/efibootmgr
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Developers for the x86 Architecture
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 120341
  Show dependency tree
 
Reported: 2006-01-25 13:44 UTC by Chris Gianelloni (RETIRED)
Modified: 2006-03-31 13:15 UTC (History)
0 users

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


Attachments
efibootmgr-0.5.3.ebuild (efibootmgr-0.5.3.ebuild,799 bytes, text/plain)
2006-01-25 13:45 UTC, Chris Gianelloni (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Gianelloni (RETIRED) gentoo-dev 2006-01-25 13:44:06 UTC
Here's a new ebuild for efibootmgr 0.5.3 for you guys.  Now, I have compiled this on x86 and it *compiles* fine.  I also used this to compile elilo, and elilo executed.  I was able to read --help and got the following:

# elilo --autoconf
elilo: backing up existing /etc/elilo.conf as /etc/elilo.conf-
elilo: You must specify the device for the bootstrap partition. (ie: -b /dev/hdaX)
elilo: Try `elilo --help' for more information.

Unfortunaltely, I don't have a shiny new x86 Mac to actually test this on or anything.  I guess the main request is to see if this works on IA64 as expected and to get it into the tree, then we can determine if it actually really works on x86.
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2006-01-25 13:45:13 UTC
Created attachment 78103 [details]
efibootmgr-0.5.3.ebuild

# efibootmgr
Fatal: Couldn't open either sysfs or procfs directories for accessing EFI variables.
Try 'modprobe efivars' as root.

I guess I should have added this to the last post, too.
Comment 2 Tim Yamin (RETIRED) gentoo-dev 2006-01-26 10:53:11 UTC
Works fine on IA64; cookie++
Comment 3 Aron Griffis (RETIRED) gentoo-dev 2006-03-10 09:33:41 UTC
I've added this to the tree, it's up to the x86 team to add their keyword
Comment 4 Mark Loeser (RETIRED) gentoo-dev 2006-03-13 22:14:16 UTC
I don't think anyone on the x86 team has the hardware to test this right now.
Comment 5 Chris Gianelloni (RETIRED) gentoo-dev 2006-03-14 12:40:09 UTC
I am working to get access to the hardware now.  If someone else can get access to a machine, or get me access to a machine, that would be great.  I can verify that the software works insofar as it compiles/runs, but I am unable to verify that it can actually talk to EFI on x86 without an EFI-capable motherboard/system.
Comment 6 Thomas Meyer 2006-03-31 12:46:27 UTC
efibootmgr does nothing on an x86 mac, because the efi boot manager isn't used as described in EFI 1.10 specs.

equery l efiboot
[ Searching for package 'efiboot' in all categories among: ]
 * installed packages
[I--] [ ~] sys-boot/efibootmgr-0.5.3 (0)

execute efibootmgr:
hotzenplotz thomas # efibootmgr
hotzenplotz thomas #

as you see nothing happens.

thee current mactel-linux patch has two small changes for efivars (replaces unsigned long with u64; field DataSize), see http://mactel-linux.org

As far as i understand, no efi variables are existent:
$ ls /sys/firmware/efi/vars/
del_var  new_var

so efibootmgr compiles, but is completley useless for x86 macs.
Comment 7 Chris Gianelloni (RETIRED) gentoo-dev 2006-03-31 13:15:53 UTC
OK.  So the bug is "fixed" then with regards to it being bumped.  There's nothing else to be done, since it isn't necessary for Intel-based Mac machines.  Thanks for the info, Thomas!