Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1151571
Summary: | Alpha installer unable to add bootloader EFI entry on AArch64 | ||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Marcin Juszkiewicz <mjuszkie> | ||||||||||||||||||||||||
Component: | efibootmgr | Assignee: | Peter Jones <pjones> | ||||||||||||||||||||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||||||||||
Severity: | unspecified | Docs Contact: | |||||||||||||||||||||||||
Priority: | unspecified | ||||||||||||||||||||||||||
Version: | 21 | CC: | dmarlin, g.kaviyarasu, jonathan, lersek, mjuszkie, pbrobinson, pjones, pwhalen, surya_prabhakar, vanmeeuwen+fedora | ||||||||||||||||||||||||
Target Milestone: | --- | Keywords: | Reopened | ||||||||||||||||||||||||
Target Release: | --- | ||||||||||||||||||||||||||
Hardware: | aarch64 | ||||||||||||||||||||||||||
OS: | Unspecified | ||||||||||||||||||||||||||
Whiteboard: | |||||||||||||||||||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||||||||||||||||||
Doc Text: | Story Points: | --- | |||||||||||||||||||||||||
Clone Of: | Environment: | ||||||||||||||||||||||||||
Last Closed: | 2014-12-03 11:55:51 UTC | Type: | Bug | ||||||||||||||||||||||||
Regression: | --- | Mount Type: | --- | ||||||||||||||||||||||||
Documentation: | --- | CRM: | |||||||||||||||||||||||||
Verified Versions: | Category: | --- | |||||||||||||||||||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||||||||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||||||||||||||
Embargoed: | |||||||||||||||||||||||||||
Bug Depends On: | |||||||||||||||||||||||||||
Bug Blocks: | 922257 | ||||||||||||||||||||||||||
Attachments: |
|
Description
Marcin Juszkiewicz
2014-10-10 17:35:47 UTC
Grub is present in /boot/efi partition just there is no entry in EFI to boot it. UEFI Interactive Shell v2.0 EDK II UEFI v2.40 (X-Gene Mustang Board EFI Aug 21 2014 13:43:15, 0x00000000) Mapping table FS0: Alias(s):HD9b0a1:;BLK1: PciRoot(0x7)/Pci(0x0,0x0)/Sata(0x1,0x0,0x0)/HD(1,GPT,991DEAC7-21D7-4FD8-A072-0CFF9D3351BB,0x800,0x64000) FS1: Alias(s):HD10a0b:;BLK5: PciRoot(0x8)/Pci(0x0,0x0)/USB(0x0,0x0)/HD(1,GPT,07A2CC65-FF01-48F7-9E54-CCB05A154A1D,0x800,0x3B801) BLK7: Alias(s): VenHw(6C9CEEF0-A406-11E3-A5E2-0800200C9A66) BLK6: Alias(s): VenHw(02118005-9DA7-443A-92D5-781F022AEDBB) BLK9: Alias(s): VenHw(F40A3869-92C4-4275-8501-4491A1A20C19) BLK8: Alias(s): VenHw(B225ED30-6DFD-43A9-BF6B-5753358F2F70) BLK0: Alias(s): PciRoot(0x7)/Pci(0x0,0x0)/Sata(0x1,0x0,0x0) BLK2: Alias(s): PciRoot(0x7)/Pci(0x0,0x0)/Sata(0x1,0x0,0x0)/HD(2,GPT,DE4A06FE-FBDE-4065-AF19-993793AD61DE,0x64800,0xFA000) BLK3: Alias(s): PciRoot(0x7)/Pci(0x0,0x0)/Sata(0x1,0x0,0x0)/HD(3,GPT,241871BB-3515-432E-A9B8-8A70D8E46020,0x15E800,0x252D0000) BLK4: Alias(s): PciRoot(0x8)/Pci(0x0,0x0)/USB(0x0,0x0) FS0:\EFI\fedora\> \EFI\fedora\ startup.nsh or any other key to continue. 10/10/2014 17:14 <DIR> 4,096 .FI 10/10/2014 17:14 <DIR> 4,096 .. 10/10/2014 17:14 <DIR> 4,096 fonts 10/10/2014 17:37 3,915 grub.cfg 09/02/2014 10:17 801,792 grubaa64.efi 2 File(s) 805,707 bytes 3 Dir(s) What does the screenshot you attached have to do with the bootloader? That looks like a dependency problem, and thus a problem with the repository. Please attach the log files from the install to this bug as individual, text/plain attachments. Hmmm. When booted system I got: -------------------------------------------------------------- [root@localhost hrw]# efibootmgr -v Timeout: 2 seconds Boot0000* Fedora HD(1,800,64000,991deac7-21d7-4fd8-a072-0cff9d3351bb)File(\EFI\fedora\grubaa64.efi) -------------------------------------------------------------- But in UEFI I do not see Fedora boot option: -------------------------------------------------------------- TianoCore 1.1-rh-0.12-1 UEFI 2.4.0 Aug 21 2014 13:35:29 CPU: APM ARM 64-bit Potenza 2400MHz PCP 2400MHz 32 KB ICACHE, 32 KB DCACHE SOC 2000MHz IOBAXI 400MHz AXI 250MHz AHB 200MHz GFC 125MHz Board: X-Gene Mustang Board The default boot selection will start in 1 second Attempting PXE boot on MAC: 00:01:73:02:0B:73 InstallProtocolInterface: 245DCA21-FB7B-11D3-8F01-00A0C969723B 43FE9600E0 .PXE-E18: Server response timeout. ----------------------- Global FDT Config - VenHw(F40A3869-92C4-4275-8501-4491A1A20C19)/\mustang.dtb ----------------------- [a] Boot Manager [b] Shell [c] Reboot [d] Shutdown Start: -------------------------------------------------------------- (In reply to David Shea from comment #2) > What does the screenshot you attached have to do with the bootloader? That > looks like a dependency problem, and thus a problem with the repository. > Please attach the log files from the install to this bug as individual, > text/plain attachments. Tell me where those logs are on installed system (or how to get them during installation) and I will provide them on Monday. They are copied to /var/log/anaconda on the installed system. During installation they are available in /tmp. Created attachment 946254 [details]
anaconda.log
Created attachment 946255 [details]
journal.log
Created attachment 946256 [details]
packaging.log
Created attachment 946257 [details]
program.log
Created attachment 946258 [details]
storage.log
Created attachment 946259 [details]
syslog
https://bugs.linaro.org/show_bug.cgi?id=101 can be useful too. anaconda.log says 19:21:11,553 ERR anaconda: bootloader.write failed: failed to set new efi boot target. This is most likely a kernel bug. (Also, please switch back to English messages for reproducing / reporting bugs.) Then, program.log says 19:21:01,156 INFO program: Running... efibootmgr -c -w -L Fedora -d /dev/sda -p 1 -l \EFI\fedora\grubaa64.efi 19:21:05,541 DEBUG program: Return code: 1 More information is necessary from efibootmgr (error message eg.) I did new installation without removing UEFI boot entries. Everything went fine and system rebooted to freshly installed Fedora. [root@localhost hrw]# efibootmgr BootCurrent: 0000 Timeout: 2 seconds BootOrder: 0002,0000,0001 Boot0000 USB GRUB Boot0001 Rawhide Boot0002* Fedora Upgraded to 0.13 firmware and did test installs. 1. UEFI has 2 boot entries Fedora 21 alpha installer added 3rd option and rebooted to freshly installed F21. No issues. 2. UEFI without boot entries Before installation I went to UEFI boot manager and removed all entries. Then booted installer. Installation went fine and then: 13:09:34,845 ERR anaconda: bootloader.write failed: failed to remove old efi boot entry. This is most likely a kernel bug. After reboot there were no boot entries defined. Grub is properly installed and boots but boot entry needs to be added. Reopening, this is still happening in TC2. With F21 TC2 this only occurs when 'PXE' is the first menu entry in uefi (including when it is the sole entry, or another installation is listed second). It does not occur when PXE is listed second in the uefi boot menu, or there is no boot entry at all. After the installation failed to remove the boot entry and continuing the installation the system reboots with no boot entries listed. Created attachment 962587 [details]
storage log
Created attachment 962588 [details]
program log
Created attachment 962589 [details]
packaging
Created attachment 962590 [details]
anaconda log
Grabber RC1.1 image. Did two installations. First one was with one boot entry present. F21 got installed and after reboot I landed in F21 nicely. Old boot entry was preserved. Removed all boot entries and did second installation. After reboot EFI read F21 boot entry and booted just into F21 system. |