Bug 754441

Summary: grubby misses adding an initrd line for new kernels.
Product: [Fedora] Fedora Reporter: Jonas Wielicki <j.wielicki>
Component: grubbyAssignee: Peter Jones <pjones>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 16CC: bcl, gansalmon, itamar, jonathan, kernel-maint, madhu.chinakonda, mads, pjones
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-25 16:43:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Photo of the kernel panic
none
grub config none

Description Jonas Wielicki 2011-11-16 14:09:58 UTC
Created attachment 534026 [details]
Photo of the kernel panic

Description of problem:
Kernel panic at boot (see attached “screenshot”)

Version-Release number of selected component (if applicable):
3.1.1-1.fc16.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Not sure which prequisites are needed, seems not to be common 
2. Install kernel 3.1.1-1
3. Reboot with kernel 3.1.1-1
  
Actual results:
Kernel panic after loading initramfs

Expected results:
Booting fedora

Additional info:
Not sure what further debug info I can supply. Give me a hint, I'll provide any data needed!

Comment 1 Jonas Wielicki 2011-11-16 14:11:04 UTC
Currently on kernel 3.1.0-7 by the way (last kernel which was installed before 3.1.1-1), which works fine.

Comment 2 Jonas Wielicki 2011-11-16 14:20:31 UTC
Created attachment 534031 [details]
grub config

Can it be a problem with the grub config tool? Attached grub.cfg, seems to be missing the initrd entry for the 3.1.1 boot entry.

Comment 3 Josh Boyer 2011-11-16 14:39:31 UTC
(In reply to comment #2)
> Created attachment 534031 [details]
> grub config
> 
> Can it be a problem with the grub config tool? Attached grub.cfg, seems to be
> missing the initrd entry for the 3.1.1 boot entry.

Yes, that's exactly it.  Was there an error message during the yum update of the kernel?  The initramfs is generated after that, and grubby should have added a line there for it.

Comment 4 Jonas Wielicki 2011-11-16 16:55:30 UTC
I less'd messages and yum.log, I was able to find the messages which relate to installing kernel-3.1.1-1, but there are no errors around it.

Comment 5 Mads Kiilerich 2011-11-25 15:58:53 UTC
Please try to reproduce the problem. Uninstall the latest kernel, verify that grub.cfg contains valid entries for 3.1.0-7, run 'yum update' and see if you get the same problem or any error messages.

Comment 6 Jonas Wielicki 2011-11-25 16:01:34 UTC
I was not able to reproduce. When installing kernel-3.1.1-2, grubby did what it's supposed to do. I was able to boot fine.

Comment 7 Mads Kiilerich 2011-11-25 16:43:01 UTC
Please reopen or file a new bug report if you see it again.