[Bug 800035] New: OpenSuSE 12.2 install DVD won't boot in UEFI mode, ELILO error (memory map has changed)
https://bugzilla.novell.com/show_bug.cgi?id=800035 https://bugzilla.novell.com/show_bug.cgi?id=800035#c0 Summary: OpenSuSE 12.2 install DVD won't boot in UEFI mode, ELILO error (memory map has changed) Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: x86-64 OS/Version: openSUSE 12.2 Status: NEW Severity: Normal Priority: P5 - None Component: Installation AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: davdeclerck@yahoo.fr QAContact: jsrain@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 I'm trying to install OpenSuSE 12.2 on my laptop (Dell Inspiron 15z 5523) in UEFI mode. When I choose the DVD drive un the UEFI menu, it starts loading ELILO, then shows an error message and immediately reboots. This is the exact output I have : ELILO boot: .......... Loading kernel linux... done Loading file initrd...done elilo.c(line 276): ExitBootSvcs: failed, memory map has changed. elilo.c(line 279):Main_Loop: Retrying,... have to rebuild boot params The installation DVD works find in legacy mode. Same result disabling the SecureBoot option. Reproducible: Always Steps to Reproduce: 1. Just boot on the installation DVD in UEFI mode Actual Results: ELILO error message and instant reboot Expected Results: Should have displayed the installer menu -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=800035 https://bugzilla.novell.com/show_bug.cgi?id=800035#c1 Andrey Borzenkov <arvidjaar@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |arvidjaar@gmail.com --- Comment #1 from Andrey Borzenkov <arvidjaar@gmail.com> 2013-01-23 08:59:14 UTC --- Did you check if there are BIOS updates for your system? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=800035 https://bugzilla.novell.com/show_bug.cgi?id=800035#c2 --- Comment #2 from Andrey Borzenkov <arvidjaar@gmail.com> 2013-01-23 09:18:56 UTC --- Also could try to boot using on ELILO prompt: linux add_efi_memmap -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=800035 https://bugzilla.novell.com/show_bug.cgi?id=800035#c3 --- Comment #3 from David Declerck <davdeclerck@yahoo.fr> 2013-01-23 13:28:56 UTC --- BIOS version is A02, which seems to be the latest available BIOS for this system (checked on Google and could not find a more recent BIOS). I tried linux add_efi_memmap at the ELILO prompt as suggested, and the result was the same (I tried several times to be sure). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=800035 https://bugzilla.novell.com/show_bug.cgi?id=800035#c4 Steffen Winterfeldt <snwint@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |duwe@suse.com, rw@suse.com AssignedTo|bnc-team-screening@forge.pr |mchang@suse.com |ovo.novell.com | --- Comment #4 from Steffen Winterfeldt <snwint@suse.com> 2013-02-21 12:02:29 CET --- We have such a machine here and it doesn't work with 12.3 (using grub2) either. What happens is: 1) using linuxefi, the 'boot' command just hangs 2) using 'linux' 'boot' fails with "couldn't terminate EFI services" and grub2 says "overlap detected" after the next few commands. Also, grub2 thinks it's in a submenu. When you return to the main menu you can then boot with both 'linux' or 'linuxefi'. So this looks like an issue with the inspiron's bios (google shows similar reports). I don't know enough about efi internals to debug this further, though. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=800035 https://bugzilla.novell.com/show_bug.cgi?id=800035#c5 --- Comment #5 from Andrey Borzenkov <arvidjaar@gmail.com> 2013-02-21 11:17:39 UTC --- There is user report on forum for Dell 5523 which I assume is Ispirion. It also something with memory allocator: https://forums.opensuse.org/english/get-technical-help-here/pre-release-beta... http://susepaste.org/10571814 (In reply to comment #4)
We have such a machine here and it doesn't work with 12.3 (using grub2) either. Could you please go into grub2 command line immediately after boot (press `c' in menu screen) and do
set pager=20 lsefimmap lsmap then press ESC to exit to menu and try to boot and when it fails repeat lsefimap, lsmap again. If you could attach them as text would be great. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=800035 https://bugzilla.novell.com/show_bug.cgi?id=800035#c6 Steffen Winterfeldt <snwint@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |coolo@suse.com, | |snwint@suse.com --- Comment #6 from Steffen Winterfeldt <snwint@suse.com> 2013-02-21 17:11:40 CET --- coolo has it now -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=800035 https://bugzilla.novell.com/show_bug.cgi?id=800035#c7 --- Comment #7 from Stephan Kulow <coolo@suse.com> 2013-02-21 17:23:41 CET --- I have a 5523 too, yes, which is an Inspiron 15z -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=800035 https://bugzilla.novell.com/show_bug.cgi?id=800035#c8 --- Comment #8 from Stephan Kulow <coolo@suse.com> 2013-02-21 17:29:16 CET --- I assume I'm too stupid to use grub2, but lsefimmap and lsmap are not valid commands here. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=800035 https://bugzilla.novell.com/show_bug.cgi?id=800035#c9 --- Comment #9 from Andrey Borzenkov <arvidjaar@gmail.com> 2013-02-21 16:33:28 UTC --- This is lsmmap (for memory map; sorry for typo, but grub2 has completion, you know ... :) ) lsefimmap exists only on grub2 for EFI platforms. Did you install using legacy BIOS? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=800035 https://bugzilla.novell.com/show_bug.cgi?id=800035#c10 David Declerck <davdeclerck@yahoo.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |davdeclerck@yahoo.fr --- Comment #10 from David Declerck <davdeclerck@yahoo.fr> 2013-02-21 21:52:12 UTC --- I have some additional information. I have tried with ELILO 3.14 (compiled by myself), with the same result (OpenSuSE 12.2 comes with version 3.12). So, I decided to have a look at the code and went for a dirty (really, really, really dirty) hack. Basically, this part of the code in elilo.c is where the error happens : 272 retry: 273 status = uefi_call_wrapper(BS->ExitBootServices, 2, image, cookie); 274 if (EFI_ERROR(status)) 275 { 276 ERR_PRT((L"\nExitBootSvcs: failed, memory map has changed.\n")); 277 if (retries < 2) 278 { 279 ERR_PRT((L"Main_Loop: Retrying,... have to rebuild boot params")); 280 retries++; 281 free_boot_params(bp); 282 if ((bp=create_boot_params(cmdline, &imem, &mmem, &cookie)) == 0) goto error; 283 goto retry; 284 } else { 285 ERR_PRT((L"\nMain_Loop: tried ExitBootSvcs 3 times... retries exceeded.... giving up\n")); 286 goto bad_exit; 287 } 288 } The call to uefi_call_wrapper on line 273 returns an error code. Subsequent calls also return an error code. Well, I completely ignored the return code (commenting out lines 274-288), and doing so, the system boots (and "seems" to operate normally, although this still has to be proven, considering how dirty this hack is). The SourceForge project for ELILO mentions this : "The x86_64 implementation converts the EFI memory map into E820 map and passes it in the bootparameter supplied to the kernel". Maybe the error lies somewhere in this conversion ? I'm not familiar with these notions... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=800035 https://bugzilla.novell.com/show_bug.cgi?id=800035#c11 --- Comment #11 from Andrey Borzenkov <arvidjaar@gmail.com> 2013-03-05 07:50:59 UTC --- (In reply to comment #8)
I assume I'm too stupid to use grub2, but lsefimmap and lsmap are not valid commands here.
There is yet another report of the same memory allocation issues with GRUB2, now for asus X202e / S200 / VivoBook. https://forums.opensuse.org/english/get-technical-help-here/pre-release-beta... User indicates that other distro using grub2 have similar issue, so it appears to be upstream problem. Now I suspect I understand what happens. grub2 is unable to even read in the modules with these commands. It is possible to add these modules to core.img, it may help. It is also possible to build rescue DVD containing everything as memory disk. I believe at this point it makes sense to open upstream bug report and ask for guidance. Should I add you to Cc on it, so you can provide debug info if requested? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=800035 https://bugzilla.novell.com/show_bug.cgi?id=800035#c12 --- Comment #12 from Stephan Kulow <coolo@suse.com> 2013-03-05 09:12:22 CET --- The laptop is still sitting here with just win8, you can CC me. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=800035 https://bugzilla.novell.com/show_bug.cgi?id=800035#c13 Andrey Borzenkov <arvidjaar@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |coolo@suse.com --- Comment #13 from Andrey Borzenkov <arvidjaar@gmail.com> 2013-03-08 06:49:01 UTC --- I built grub2 with patch suggested in http://savannah.gnu.org/bugs/?38479 in home:arvidjaar:bnc:800035/grub2. Could you test booting with it? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=800035 https://bugzilla.novell.com/show_bug.cgi?id=800035#c14 --- Comment #14 from Stephan Kulow <coolo@suse.com> 2013-03-08 09:04:12 CET --- Hmm, I'm not sure how. I have no live USB that I can change easily - as they are ISOs and I have no linux installation on that system (as I can't boot UEFI I can't install without erasing w8) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=800035 https://bugzilla.novell.com/show_bug.cgi?id=800035#c15 --- Comment #15 from Andrey Borzenkov <arvidjaar@gmail.com> 2013-03-08 08:11:01 UTC --- (In reply to comment #14)
(as I can't boot UEFI I can't install without erasing w8)
It should be possible to install in legacy BIOS mode on GPT. There was (is) YaST2 bug that it defaults to installing bootloader on partition even on GPT, which does not work; so you need to make sure it is installed in MBR. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=800035 https://bugzilla.novell.com/show_bug.cgi?id=800035#c16 --- Comment #16 from Andrey Borzenkov <arvidjaar@gmail.com> 2013-03-08 08:17:39 UTC --- (In reply to comment #8)
I assume I'm too stupid to use grub2, but lsefimmap and lsmap are not valid commands here.
Oh, stupid me. You did it off installation DVD? I guess, it does not even include those modules (and if grub is signed, module loading is disabled anyway). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=800035 https://bugzilla.novell.com/show_bug.cgi?id=800035#c17 --- Comment #17 from Stephan Kulow <coolo@suse.com> 2013-03-08 09:21:26 CET --- for testing the bug it can be any medium -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=800035 https://bugzilla.novell.com/show_bug.cgi?id=800035#c18 --- Comment #18 from Michael Chang <mchang@suse.com> 2013-03-08 08:51:38 UTC --- (In reply to comment #16)
Oh, stupid me. You did it off installation DVD? I guess, it does not even include those modules (and if grub is signed, module loading is disabled anyway).
If turn off secure boot the module loading is revived. Can't we use grub2-mkresuce to create a iso and test booting via disable secure boot .. ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=800035 https://bugzilla.novell.com/show_bug.cgi?id=800035#c19 --- Comment #19 from Steffen Winterfeldt <snwint@suse.com> 2013-03-08 10:50:34 CET ---
It should be possible to install in legacy BIOS mode on GPT. There was (is) YaST2 bug that it defaults to installing bootloader on partition even on GPT, which does not work; so you need to make sure it is installed in MBR.
That's not true. There is (should, at least) bootcode added to the protective MBR that can boot off GPT. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=800035 https://bugzilla.novell.com/show_bug.cgi?id=800035#c20 --- Comment #20 from Andrey Borzenkov <arvidjaar@gmail.com> 2013-03-08 10:02:11 UTC --- (In reply to comment #19)
It should be possible to install in legacy BIOS mode on GPT. There was (is) YaST2 bug that it defaults to installing bootloader on partition even on GPT, which does not work; so you need to make sure it is installed in MBR.
That's not true. There is (should, at least) bootcode added to the protective MBR that can boot off GPT.
This is bnc#794126, I see it is marked as fixed, so hopefully it works now. It did install generic MBR which tried to boot off active partition, but there is no active partition with GPT. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=800035 https://bugzilla.novell.com/show_bug.cgi?id=800035#c21 --- Comment #21 from Steffen Winterfeldt <snwint@suse.com> 2013-03-08 11:58:22 CET --- The partition to boot is marked in the GPT using attribute bit 2 (iirc). parted knows about it (it's one of the countless boot flags there). There is special boot code for this. If you look into /var/log/YaST2/y2log this is logged after something like 'Updating code in MBR'. It should note the GPT and go for gptmbr.bin. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=800035 https://bugzilla.novell.com/show_bug.cgi?id=800035#c22 --- Comment #22 from Andrey Borzenkov <arvidjaar@gmail.com> 2013-03-08 11:17:43 UTC --- (In reply to comment #18)
(In reply to comment #16)
Oh, stupid me. You did it off installation DVD? I guess, it does not even include those modules (and if grub is signed, module loading is disabled anyway).
If turn off secure boot the module loading is revived. Can't we use grub2-mkresuce to create a iso and test booting via disable secure boot .. ?
I created http://dl.dropbox.com/u/25585681/bnc800035.iso with i386-pc, i386-efi and x86_64-efi and linux kernel so we have something to boot. Boot from ISO and issue (TAB completion works) linux (cd)/vmlinuz-3.7.10-1.1-desktop initrd (cd)/initrd-3.7.10-1.1-desktop boot -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=800035 https://bugzilla.novell.com/show_bug.cgi?id=800035#c23 --- Comment #23 from Stephan Kulow <coolo@suse.com> 2013-03-08 13:20:17 CET --- it booted, but it wasn't seen as UEFI device, so I could only test legacy -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=800035 https://bugzilla.novell.com/show_bug.cgi?id=800035#c24 --- Comment #24 from Andrey Borzenkov <arvidjaar@gmail.com> 2013-03-08 12:31:13 UTC --- (In reply to comment #23)
it booted, but it wasn't seen as UEFI device, so I could only test legacy
I tested in QEMU with OVMF EFI BIOS, it boots. When booted in EFI, device is called (cd0), at least here. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=800035 https://bugzilla.novell.com/show_bug.cgi?id=800035#c25 Stephan Kulow <coolo@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|coolo@suse.com | --- Comment #25 from Stephan Kulow <coolo@suse.com> 2013-03-08 13:37:02 CET --- yeah, my fault. the bios was set to legacy - I think I did that yesterday to test a rescue image for debugging something. So with EFI I have indeed (cd0), but booting says (I'm tying from one screen to another :): error: no suitable video mode found. Booting in blind mode Trying to terminate EFI services again after that nothing -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=800035 https://bugzilla.novell.com/show_bug.cgi?id=800035#c26 Andrey Borzenkov <arvidjaar@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |coolo@suse.com --- Comment #26 from Andrey Borzenkov <arvidjaar@gmail.com> 2013-03-08 13:09:37 UTC --- Could you try do "insmod all_video" as the first command? Should fix "no suitable video mode found". -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=800035 https://bugzilla.novell.com/show_bug.cgi?id=800035#c27 Stephan Kulow <coolo@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- InfoProvider|coolo@suse.com |mmeister@suse.com --- Comment #27 from Stephan Kulow <coolo@suse.com> 2013-04-17 13:02:06 CEST --- I asked Max to continue debugging this machine -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=800035 https://bugzilla.novell.com/show_bug.cgi?id=800035#c28 --- Comment #28 from Max Meister <mmeister@suse.com> 2013-04-18 12:50:05 UTC --- lsmmap and lsefimmap are present on the installation DVD, i could load them and took some screenshots. lsmmap-1 - http://susepaste.org/56557191 lsmmap-2 - http://susepaste.org/19612253 lsmmap-3 - http://susepaste.org/49569458 lsmmap-4 - http://susepaste.org/7734625 lsefimmap-1 - http://susepaste.org/83498125 lsefimmap-2 - http://susepaste.org/88447177 lsefimmap-3 - http://susepaste.org/44084063 lsefimmap-3 - http://susepaste.org/7321773 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=800035 https://bugzilla.novell.com/show_bug.cgi?id=800035#c29 --- Comment #29 from David Declerck <davdeclerck@yahoo.fr> 2013-09-07 19:49:13 UTC --- It went a bit off topic since my first message, but I have new information regarding my initial ELILO problem. The new ELILO version, 3.16, does fix the issue. It should replace the old 3.12 version used in OpenSuSE 12.2 and still used in 12.3... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=800035 https://bugzilla.novell.com/show_bug.cgi?id=800035#c30 Jeffrey Cheung <jcheung@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |CLOSED CC| |jcheung@suse.com InfoProvider|mmeister@suse.com | Resolution| |WONTFIX --- Comment #30 from Jeffrey Cheung <jcheung@suse.com> 2014-02-11 04:27:13 UTC --- First great to hear that new ELILO v3.16 fixed the issue. With the release of the gnumeric on January 27th, 2014 the SUSE sponsored maintenance of openSUSE 12.2 has ended. openSUSE 12.2 is now officially discontinued and out of support by SUSE. So, I am going to close this issue as WONTFIX. If openSUSE 13.1 has the same problem, please create a new one and place your comment of using ELILO v3.16 as the solution. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com