Bug 385101
Summary: | Kernel 2.6.23.1-49 fails to boot on LVM-based system | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Andre Costa <andre.ocosta> | ||||||
Component: | mkinitrd | Assignee: | Peter Jones <pjones> | ||||||
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | urgent | Docs Contact: | |||||||
Priority: | low | ||||||||
Version: | 8 | ||||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2008-07-14 20:57:59 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Andre Costa
2007-11-15 17:44:20 UTC
Created attachment 260131 [details]
Photo of the kernel panic message
Can you attach the initrd for the new kernel? Created attachment 260191 [details]
initrd for kernel 2.6.23.1-49
Hi Chuck, thks for the quick reply. I just attached the file you requested, let me know if you need anything else. From the initrd script: mkrootdev -t ext3 -o defaults,noatime,nodiratime,relatime,ro /dev/Fedora/Root Was relatime ever in the fstab? Yes, here's what happened: I decided to try it out along with noatime,nodiratime. I edited /etc/fstab while I was still running .42 but had already installed .49 . When I rebooted, kernel panic. I then rebooted with the rescue cd and edited /mnt/sysimage/etc/fstab to remove the relatime entry. Still, .49 keeps panicking. Is it possible that reinstalling kernel .49 will fix this? Doesn't it work with relatime? What exactly did I do wrong? I reinstalled .49 kernel packages and now all is fine: ~ uname -r 2.6.23.1-49.fc8 Still, I am puzzled: - can I use 'relatime' with kernel .49 after all? - would there be any other recovery path? If had removed .42 kernel (which I usually do after a couple of days testing a new kernel) and decided to try 'relatime', would I be stuck? - why didn't editing fstab with the rescue cd fix the boot problem? Regards, Andre (In reply to comment #7) > - can I use 'relatime' with kernel .49 after all? The built-in mount code in the nash shell on the initrd does not know how to handle the relatime option. And it is the default anyway, unless the kernel is booted with "default_relatime=0" on the command line. The only way to disable relatime otherwise is by doing "mount /filesystem -o remount,norelatime". > - would there be any other recovery path? If had removed .42 kernel (which I > usually do after a couple of days testing a new kernel) and decided to try > 'relatime', would I be stuck? you can always use the rescue CD. # chroot /mnt/sysimage # yum install kernel > - why didn't editing fstab with the rescue cd fix the boot problem? > Because the initrd wasn't updated. Either mkinitrd needs to be run or the kernel would need to be reinstalled, which would automatically build a new initrd. (In reply to comment #8) > (In reply to comment #7) > > - can I use 'relatime' with kernel .49 after all? > > The built-in mount code in the nash shell on the initrd does not know how to > handle the relatime option. And it is the default anyway, unless the kernel is > booted with "default_relatime=0" on the command line. The only way to disable > relatime otherwise is by doing "mount /filesystem -o remount,norelatime". Mmmh... ok. In other words, don't use relatime at all, right? > > - would there be any other recovery path? If had removed .42 kernel (which I > > usually do after a couple of days testing a new kernel) and decided to try > > 'relatime', would I be stuck? > > you can always use the rescue CD. > > # chroot /mnt/sysimage > # yum install kernel Sure, thks. > > - why didn't editing fstab with the rescue cd fix the boot problem? > > > > Because the initrd wasn't updated. Either mkinitrd needs to be run or the kernel > would need to be reinstalled, which would automatically build a new initrd. Ok, got it. But IMHO there should be a more elegant way of dealing with bad mount options (and I believe you agree since you haven't closed this as "NOTABUG" or "WONTFIX" ;-)) Thks for the explanations =) |