Bug 1134428 - BootLoaderError: failed to set new efi boot target. This is most likely a kernel bug.
Summary: BootLoaderError: failed to set new efi boot target. This is most likely a ker...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 21
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:7dae61bce1b75353eda10376778...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-08-27 13:44 UTC by Mathieu Bridon
Modified: 2014-11-24 14:47 UTC (History)
11 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-11-24 14:47:16 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (6.63 MB, text/plain)
2014-08-27 13:44 UTC, Mathieu Bridon
no flags Details
File: anaconda.log (77.74 KB, text/plain)
2014-08-27 13:44 UTC, Mathieu Bridon
no flags Details
File: environ (538 bytes, text/plain)
2014-08-27 13:44 UTC, Mathieu Bridon
no flags Details
File: journalctl (5.21 MB, text/plain)
2014-08-27 13:45 UTC, Mathieu Bridon
no flags Details
File: lsblk_output (4.74 KB, text/plain)
2014-08-27 13:45 UTC, Mathieu Bridon
no flags Details
File: nmcli_dev_list (1.93 KB, text/plain)
2014-08-27 13:45 UTC, Mathieu Bridon
no flags Details
File: os_info (377 bytes, text/plain)
2014-08-27 13:45 UTC, Mathieu Bridon
no flags Details
File: program.log (59.93 KB, text/plain)
2014-08-27 13:45 UTC, Mathieu Bridon
no flags Details
File: storage.log (1.21 MB, text/plain)
2014-08-27 13:45 UTC, Mathieu Bridon
no flags Details
File: ifcfg.log (2.93 KB, text/plain)
2014-08-27 13:45 UTC, Mathieu Bridon
no flags Details
File: packaging.log (135 bytes, text/plain)
2014-08-27 13:45 UTC, Mathieu Bridon
no flags Details

Description Mathieu Bridon 2014-08-27 13:44:15 UTC
Description of problem:
I tried installing Fedora Workstation 21 Alpha TC4.

At the end of the installation process, I got this error message.

Version-Release number of selected component:
anaconda-core-21.48.2-1.fc21.x86_64

The following was filed automatically by anaconda:
anaconda 21.48.2-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/bootloader.py", line 1728, in _add_single_efi_boot_target
    raise BootLoaderError("failed to set new efi boot target. This is most likely a kernel bug.")
  File "/usr/lib64/python2.7/site-packages/pyanaconda/bootloader.py", line 1732, in add_efi_boot_target
    self._add_single_efi_boot_target(self.stage1_device)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/bootloader.py", line 1740, in install
    self.add_efi_boot_target()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/bootloader.py", line 1760, in write
    self.install()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/bootloader.py", line 2363, in writeBootLoaderFinal
    storage.bootloader.write()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/bootloader.py", line 2433, in writeBootLoader
    writeBootLoaderFinal(storage, payload, instClass, ksdata)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 235, in doInstall
    writeBootLoader(storage, payload, instClass, ksdata)
  File "/usr/lib64/python2.7/threading.py", line 766, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 227, in run
    threading.Thread.run(self, *args, **kwargs)
BootLoaderError: failed to set new efi boot target. This is most likely a kernel bug.

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
cmdline_file:   BOOT_IMAGE=/isolinux/vmlinuz0 root=live:LABEL=Fedora-Live-Workstation-x86_64-2 ro rd.live.image quiet rhgb rd.live.check
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.16.1-300.fc21.x86_64
other involved packages: python-libs-2.7.8-4.1.fc21.x86_64
product:        Fedora
release:        Fedora release 21 (Twenty One)
type:           anaconda
version:        21

Comment 1 Mathieu Bridon 2014-08-27 13:44:47 UTC
Created attachment 931476 [details]
File: anaconda-tb

Comment 2 Mathieu Bridon 2014-08-27 13:44:50 UTC
Created attachment 931477 [details]
File: anaconda.log

Comment 3 Mathieu Bridon 2014-08-27 13:44:51 UTC
Created attachment 931478 [details]
File: environ

Comment 4 Mathieu Bridon 2014-08-27 13:45:14 UTC
Created attachment 931479 [details]
File: journalctl

Comment 5 Mathieu Bridon 2014-08-27 13:45:16 UTC
Created attachment 931480 [details]
File: lsblk_output

Comment 6 Mathieu Bridon 2014-08-27 13:45:17 UTC
Created attachment 931481 [details]
File: nmcli_dev_list

Comment 7 Mathieu Bridon 2014-08-27 13:45:18 UTC
Created attachment 931482 [details]
File: os_info

Comment 8 Mathieu Bridon 2014-08-27 13:45:22 UTC
Created attachment 931483 [details]
File: program.log

Comment 9 Mathieu Bridon 2014-08-27 13:45:28 UTC
Created attachment 931484 [details]
File: storage.log

Comment 10 Mathieu Bridon 2014-08-27 13:45:29 UTC
Created attachment 931485 [details]
File: ifcfg.log

Comment 11 Mathieu Bridon 2014-08-27 13:45:30 UTC
Created attachment 931486 [details]
File: packaging.log

Comment 12 Mathieu Bridon 2014-08-27 16:39:54 UTC
Spent some time debugging this through IRC with jwb and pjones.

The conclusion seems to be that my firmware is just bad.

Fortunately, it allows booting through a « legacy » option, which I used to install, and everything works now.

Closing.

Comment 13 Martin 2014-11-06 21:20:38 UTC
Another user experienced a similar problem:

Created USB live medium from Fedora 21 Server DVD iso, with command-line tool. This allowed me to boot into Server installation (GUI live-usb-creator would not create a bootable USB).
During installation, 'got error message that installation of bootloader failed and this machine would not be bootable - which it isn't...

addons:         com_redhat_kdump
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=/syslinux/vmlinuz inst.stage2=hd:UUID=CA81-BDFA rd.live.check quiet
hashmarkername: anaconda
kernel:         3.17.1-302.fc21.x86_64
package:        anaconda-21.48.13-1
product:        Fedora"
reason:         BootLoaderError: failed to set new efi boot target. This is most likely a kernel bug.
release:        Cannot get release name.
version:        Fedora

Comment 14 Martin 2014-11-06 22:02:37 UTC
Can confirm firmware issue: changing settings "fixed" it, in that it doesn't use UEFI any more (although the firmware claims this should be possible).

Comment 15 Igor Gnatenko 2014-11-22 13:36:36 UTC
Another user experienced a similar problem:

I've canceled window wit hthis message

cmdline:        /usr/bin/python  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
cmdline_file:   BOOT_IMAGE=/isolinux/vmlinuz0 root=live:LABEL=Fedora-Live-WS-x86_64-21-T3 ro rd.live.image quiet rhgb rd.live.check
hashmarkername: anaconda
kernel:         3.17.3-300.fc21.x86_64
other involved packages: python-libs-2.7.8-7.fc21.x86_64
package:        anaconda-core-21.48.16-1.fc21.x86_64
product:        Fedora"
reason:         BootLoaderError: failed to set new efi boot target. This is most likely a kernel bug.
release:        Fedora release 21 (Twenty One)
version:        Fedora

Comment 16 Igor Gnatenko 2014-11-22 13:39:46 UTC
First, it's bug. if firmware is bad, we should address bug to kernel maint and shouldn't see crash when closing window in anaconda.

Comment 17 Josh Boyer 2014-11-24 14:47:16 UTC
(In reply to Igor Gnatenko from comment #16)
> First, it's bug. if firmware is bad, we should address bug to kernel maint
> and shouldn't see crash when closing window in anaconda.

And do what exactly?  First, anaconda is the one throwing the traceback here, not the kernel.  Second, the kernel cannot magically fix bad firmware.  Lying to userspace about something succeeding isn't a solution, and the error being returned is what anaconda is throwing its traceback for.


Note You need to log in before you can comment on or make changes to this bug.