|
Bugzilla – Full Text Bug Listing |
| Summary: | The openSUSE 13.1 RC1 install medium is not able to load the kernel when booted via UEFI | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 13.1 | Reporter: | Richard Biener <rguenther> |
| Component: | Bootloader | Assignee: | Michael Chang <mchang> |
| Status: | RESOLVED WONTFIX | QA Contact: | Jiri Srain <jsrain> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | coolo, er2003, jsrain, karstenanderson, lnussel |
| Version: | RC 1 | Flags: | mchang:
needinfo?
(rguenther) coolo: SHIP_STOPPER- |
| Target Milestone: | --- | ||
| Hardware: | x86-64 | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | Development | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Richard Biener
2013-10-21 11:51:48 UTC
Same problem on ASUS notebook N56VJ Dup of bnc#841426. *** This bug has been marked as a duplicate of bug 841426 *** reopen per the reply. I have secure boot disabled but still grub says "Loading kernel ..." "error: Can't read kernel /boot/x86_64/loader/linux." "Loading initial ramdisk ..." "error: you need to load the kernel first." so not sure this is really a duplicate. Note that the Beta1 medium had the very same issue. Hi Richard, How about using USB as installation media ? Are you using AHCI mode ? (In reply to comment #6) > Hi Richard, > > How about using USB as installation media ? Are you using AHCI mode ? Yes, I am using AHCI mode, I did not try using USB as install media (not sure how to set that up and I am currently lacking a USB stick at the office). The DVD works fine when booting via legacy BIOS. We used to have AHCI bugs and fixed(workaround) by smaller chunk reads. The fix is included in our factory (13.1) by this upstream commit revision. ------------------------------------------------------------ revno: 4859 author: Peter Jones <pjones@redhat.com> committer: Vladimir 'phcoder' Serbinenko <phcoder@gmail.com> branch nick: grub timestamp: Mon 2013-04-15 09:12:14 +0200 message: * grub-core/disk/efi/efidisk.c: Limit disk read or write chunk to 0x500 sectors. Based on patch by Peter Jones. In addition, please help to grab some log from your grub shell ? Press 'e' to enter editing mode and add this line set debug=efidisk And F10 or Ctrl+X to boot. And also try use other mode (like IDE) if available to check whether it's AHCI specific or not ? (In reply to comment #9) > In addition, please help to grab some log from your grub shell ? Press 'e' to > enter editing mode and add this line > > set debug=efidisk > > And F10 or Ctrl+X to boot. Stops with reading 0x980 sectors at the secrot 0xa9d0 from cd0 closing cd0 which would confirm the large read issue. > And also try use other mode (like IDE) if available to check whether it's AHCI > specific or not ? Doesn't work with IDE mode either. So this seems NOT AHCI problem we previously have. Based on your report 1. IDE mode not work either 2. You did see error like this "error: failure reading sector 0xab from cd0" I'm trying to figure out what's other possibilities. Could you identify this a "regression" bug or not of openSUSE ? Thanks. (In reply to comment #11) > 2. You did see error like this "error: failure reading sector 0xab from cd0" s/did/didn't/ (In reply to comment #11) > So this seems NOT AHCI problem we previously have. Based on your report > 1. IDE mode not work either > 2. You did see error like this "error: failure reading sector 0xab from cd0" No, I didn't see an error. Previous reads were all short though. > I'm trying to figure out what's other possibilities. Could you identify this a > "regression" bug or not of openSUSE ? I'm sure it will affect SLE12. Not sure if any UEFI DVD media ever worked. > Thanks. (In reply to comment #13) > No, I didn't see an error. Previous reads were all short though. Even without "error: Can't read kernel /boot/x86_64/loader/linux." ? How about this (sorry these are pretty blind shots ) ? press 'c' to enter command mode set debug=all /boot/x86_64/loader/linux boot Correction. press 'c' to enter command mode set debug=all linuxefi /boot/x86_64/loader/linux boot (In reply to comment #14) > (In reply to comment #13) > > > No, I didn't see an error. Previous reads were all short though. > > Even without "error: Can't read kernel /boot/x86_64/loader/linux." ? How about Yes. > this (sorry these are pretty blind shots ) ? > > press 'c' to enter command mode > set debug=all > /boot/x86_64/loader/linux > boot with that the fail is already Detecting iso9660... reading 0x10 sectors at the sector 0x3a0 from cd0 Closing `cd0' closing cd0 I can mount the disk quite fine and also read /boot/x86_64/loader/linux. I'm also getting this failed to load kernel on an Asus S500CA ultrabook. This is using RC1 on a USB stick as there is no DVD drive on the system. I enabled debug mode in grub and this is what it output: Loading kernel... disk/efi/efidisk.c:489: opening hd0 disk/efi/efidisk.c:519: m = 0xbc3df598, last block = f0afff, block size = 200 disk/efi/efidisk.c:529: opening hd0 succeeded disk/efi/efidisk.c:581: reading 0x40 sectors at the sector 0x80 from hd0 disk/efi/efidisk.c:581: reading 0x40 sectors at the sector 0x40 from hd0 disk/efi/efidisk.c:581: reading 0x40 sectors at the sector 0x0 from hd0 disk/efi/efidisk.c:581: reading 0x40 sectors at the sector 0xe80 from hd0 disk/efi/efidisk.c:581: reading 0x40 sectors at the sector 0x2a700 from hd0 disk/efi/efidisk.c:581: reading 0x2600 sectors at the sector 0x2a740 from hd0 disk/efi/efidisk.c:581: reading 0x40 sectors at the sector 0x2cd40 from hd0 Then it just hangs. Let me know if there's any other things I can try to help. I replaced bootx64.efi as outlined in this post: https://bugzilla.novell.com/show_bug.cgi?id=841426#c23 on the USB stick and it booted correctly and got 13.1RC1 installed, so maybe it is related to shim? Probably, honestly I have no idea now. (If you could get 13.1 milestone work but not after Beta or after probably you hit the shim bug ..). Did you try 12.3? Does that one boot? We tried build 82 which has the original 12.3 shim on Richard's machine. DVD didn't work but from a USB stick it worked. Hi Ludwig/Richard, Could you please verify that this is general "read" broken issue on iso9660 ? We need a general grub2 disk which would allow us to run more testings (the installer disk's grub2.efi has no additional modules ..) zypper install libburnia-tools (for xorriso) mkdir isoroot cp -rf /boot isoroot grub2-mkrescue -o test.iso isoroot And burn this test.iso to DVD for testing .. once booted, you should be dropped by grub shell, try these commands to see what happened ? grub> linux /boot/vmlinuz-3.10.6-1.gbd99dce-desktop grub> boot grub> linuxefi /boot/vmlinuz-3.10.6-1.gbd99dce-desktop grub> boot grub> md5sum /boot/vmlinuz-3.10.6-1.gbd99dce-desktop If those all failed then would indicate a general efi problem, and please post any error message you have .. Thanks. Btw you have to disable secureboot for these testings. I've now tried RC2 (build 84) and still get Loading kernel... error: Can't read kernel /boot/x86_64/loader/linux. same debug output as before. I have secureboot disabled anyway. Sorry, didn't get around producing the debug media as stated in comment #22. after talking also with steffen, it seems to be one of these BIOS problems. So I remove the ship stopper flag and we all curse UEFI ;( Close as firmware related problem. |