[systemd-devel] EFI boot generator failing to detect I'm actually booting on EFI

2013-04-30 Thread Léo Gillot-Lamure
Hi.

I run an EFI system with gentoo, gummiboot and systemd 202 (and no initramfs).
I'm expecting my ESP to be mounted on /boot thanks to the
systemd-efi-boot-generator, however it is not. By stracting it for the
open syscall, I can see that the last call is this one, before
EXIT_SUCCESSing :

 open(/sys/firmware/efi/efivars/LoaderDevicePartUUID-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f,
  O_RDONLY|O_NOCTTY|O_CLOEXEC) = -1 ENOENT (No such file or directory)

Thus the failing call is efi_get_loader_device_part_uuid at line 58 of
efi-boot-generator.c not finding the LoaderDevicePartUUID variable.
Is my firmware buggy ? Could the generator be modified to work anyway ?

Thanks.

Léo Gillot-Lamure.
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] EFI boot generator failing to detect I'm actually booting on EFI

2013-04-30 Thread Léo Gillot-Lamure
My module is built in the kernel (actually modules support is disabled
on my kernel), and the /sys/firmware/efi/ is here and properly usable
(for example efibootmgr works).
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] EFI boot generator failing to detect I'm actually booting on EFI

2013-04-30 Thread Kay Sievers
On Tue, Apr 30, 2013 at 6:59 PM, Léo Gillot-Lamure
leo.gil...@navaati.net wrote:
 My module is built in the kernel (actually modules support is disabled
 on my kernel), and the /sys/firmware/efi/ is here and properly usable
 (for example efibootmgr works).

You need:
  /sys/firmware/efi/efivars/
You have that?

Not only:
  /sys/firmware/efi/vars/
which is used by efibootmgr.

Kay
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] EFI boot generator failing to detect I'm actually booting on EFI

2013-04-30 Thread Léo Gillot-Lamure
Yup, I have both.
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel