Bug 18919 - Efibootmgr: Bus error message
Summary: Efibootmgr: Bus error message
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks:
 
Reported: 2016-07-11 10:06 CEST by Ulrich Beckmann
Modified: 2016-07-11 17:03 CEST (History)
2 users (show)

See Also:
Source RPM: efivar-0.24, efibootmgr-0.12-2.mga6.x86_64
CVE:
Status comment:


Attachments
CLI log after update (1.20 KB, text/plain)
2016-07-11 10:13 CEST, Ulrich Beckmann
Details
rpm -qa output for system not showing error (70.25 KB, text/plain)
2016-07-11 14:56 CEST, Barry Jackson
Details

Description Ulrich Beckmann 2016-07-11 10:06:07 CEST
Description of problem:
I invoked efibootmgr to test the recent upgrade of grub2-efi. I get an error message: Bus error (Core dumped).

The command itself worked as intended. grub works fine here. I could not see any issue in my LVM and btrfs multi-boot system.
 
The system is a Sony Vaio E Series SVE1713G4EW notebook (Bios: InsydeH20 Setup Utility Rev. 3.7.).

Best regards
Ulrich
Comment 1 Ulrich Beckmann 2016-07-11 10:13:42 CEST
Created attachment 8155 [details]
CLI log after update
Ulrich Beckmann 2016-07-11 10:17:25 CEST

Source RPM: efibootmgr => efibootmgr-0.12-2.mga6.x86_64

Comment 2 Ulrich Beckmann 2016-07-11 10:28:20 CEST
[root@localhost ~]# modinfo efivarfs
filename:       /lib/modules/4.7.0-desktop-0.rc6.3.mga6/kernel/fs/efivarfs/efivarfs.ko.xz
alias:          fs-efivarfs
license:        GPL
description:    EFI Variable Filesystem
author:         Matthew Garrett, Jeremy Kerr
srcversion:     C832C0CFA96A2FB9D8D4727
depends:
intree:         Y
vermagic:       4.7.0-desktop-0.rc6.3.mga6 SMP mod_unload modversions


Ulrich
Comment 3 Thierry Vignaud 2016-07-11 11:38:10 CEST
What's the output of the following command?
rpm -qa '*efi*'|sort

Keywords: (none) => NEEDINFO
CC: (none) => thierry.vignaud

Comment 4 Ulrich Beckmann 2016-07-11 11:50:40 CEST
[root@localhost ~]# rpm -qa '*efi*'|sort
efibootmgr-0.12-2.mga6
grub2-efi-2.02-0.git10457.10.mga6
lib64akonadi-singlefileresource5-16.04.1-2.mga6
lib64efivar0-0.24-1.mga6
[root@localhost ~]#
Comment 5 Barry Jackson 2016-07-11 14:31:22 CEST
FWIW I am seeing exactly the same:

[root@jackodesktop baz]# efibootmgr
BootCurrent: 0000
Timeout: 1 seconds
BootOrder: 0000,0001,0002,0005,0004,0003
Bus error (core dumped)

[root@jackodesktop baz]# rpm -qa '*efi*'|sort
efibootmgr-0.12-2.mga6
grub2-efi-2.02-0.git10457.10.mga6
lib64akonadi-singlefileresource5-16.04.1-2.mga6
lib64efivar0-0.24-1.mga6

CC: (none) => zen25000

Comment 6 Barry Jackson 2016-07-11 14:56:53 CEST
Created attachment 8156 [details]
rpm -qa output for system not showing error

Another Cauldron system on the same hardware that has not been updated since net-install on 29 June does not have this issue.

[baz@localhost ~]$ su
Password: 
[root@localhost baz]# efibootmgr
BootCurrent: 0000
Timeout: 1 seconds
BootOrder: 0000,0001,0002,0005,0004,0003
Boot0000* master
Boot0001* mageia
Boot0002* opensuse
Boot0003* Hard Drive 
Boot0004* CD/DVD Drive 
Boot0005* Removable Drive 
[root@localhost baz]# rpm -qa --last |head -n50
rtlwifi-firmware-20160608-1.mga6.nonfree.noarch Wed 29 Jun 2016 16:04:32 BST
libpth20-2.0.7-15.mga6.i586                   Wed 29 Jun 2016 16:04:32 BST
radeon-firmware-20160608-1.mga6.nonfree.noarch Wed 29 Jun 2016 16:04:31 BST
iwlwifi-agn-ucode-20160608-1.mga6.nonfree.noarch Wed 29 Jun 2016 16:04:29 BST
ralink-firmware-20160608-1.mga6.nonfree.noarch Wed 29 Jun 2016 16:04:25 BST
python-simplejson-3.8.2-2.mga6.x86_64         Wed 29 Jun 2016 16:04:24 BST
openssh-askpass-qt4-1.0.1-12.mga6.x86_64      Wed 29 Jun 2016 16:04:24 BST
python-kde4-4.14.3-7.mga6.x86_64              Wed 29 Jun 2016 16:04:23 BST
microcode-0.20160513-1.mga6.nonfree.noarch    Wed 29 Jun 2016 16:04:23 BST
python-qt4-4.11.4-9.mga6.x86_64               Wed 29 Jun 2016 16:04:17 BST
grub2-mageia-theme-2.02-0.git10457.8.mga6.noarch Wed 29 Jun 2016 16:04:17 BST
---------snip----------

[root@localhost baz]# uname -r                                                                                            
4.6.3-desktop-1.mga6

[root@localhost baz]# rpm -qa '*efi*'|sort                                                                                                                                         
efibootmgr-0.12-2.mga6                                                                                                                                                             
grub2-efi-2.02-0.git10457.8.mga6                                                                                                                                                   
lib64akonadi-singlefileresource5-16.04.1-2.mga6                                                                                                                                    
lib64efivar0-0.23-1.mga6                                                                                                                                                           
Attaching full rpm -qa output for this system.

(Note to self /dev/sda5)
Comment 7 Ulrich Beckmann 2016-07-11 15:03:15 CEST
The kernel module efivar is missing:

[root@localhost log]# lsmod | grep efi
efivarfs               16384  1
[root@localhost log]#

It worked before, and I did not see that any related package was gone. Btw, I use dnf as packagemanager.

Best regards,
Ulrich
Comment 8 Barry Jackson 2016-07-11 16:01:16 CEST
That is the same as my 29 June system without this bug.

[baz@localhost ~]$ su
Password: 
[root@localhost baz]# lsmod |grep efi
efivarfs               16384  1

I think the efivars module is built into the kernel now so it won't be shown by lsmod.
Comment 9 Thierry Vignaud 2016-07-11 16:15:16 CEST
This is due to the update of efivar to 0.24

Source RPM: efibootmgr-0.12-2.mga6.x86_64 => efivar-0.24, efibootmgr-0.12-2.mga6.x86_64

Comment 11 Thierry Vignaud 2016-07-11 17:03:59 CEST
Fixed in efibootmgr-0.12-3.mga6

Resolution: (none) => FIXED
Status: NEW => RESOLVED


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