Bug 229429

Summary: mkinitrd can't handle 'auto' file system type entry in fstab for '/'
Product: [Fedora] Fedora Reporter: daniel peess <register>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED NOTABUG QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 6CC: wtogami
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: 2007-02-21 00:55:22 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 Flags
error mounting /dev/root on /sysroot kernel panic none

Description daniel peess 2007-02-20 23:55:13 UTC
kernel-2.6.19-1.2911.fc6 doesn't boot, kernel-2.6.19-1.2895.fc6 still boots fine.

during booting this message appears: error mounting /dev/root on /sysroot.
afterwards the kernel panics because it can't mount any root file system.

[root@smeagol ~]# yum -C list | grep 'installed\s*$' | grep 'kernel\|initrd'
kernel.x86_64                            2.6.19-1.2895.fc6      installed       
kernel.x86_64                            2.6.19-1.2911.fc6      installed       
mkinitrd.x86_64                          5.1.19.0.2-1           installed

have a look at the kernel panic screenshot.

Comment 1 daniel peess 2007-02-20 23:55:13 UTC
Created attachment 148459 [details]
error mounting /dev/root on /sysroot kernel panic

Comment 2 daniel peess 2007-02-21 00:17:19 UTC
i've just created a new initrd for the 2.6.19-1.2895.fc6 kernel, now this kernel
also doesn't boot anymore:
error mounting /dev/root on /sysroot as auto: No such device.

so it's probably a bug in mkinitrd-5.1.19.0.2-1.


Comment 3 daniel peess 2007-02-21 00:55:22 UTC
i've compared the two ramdisks:

...
@@ -84,7 +80,7 @@
 lvm vgchange -ay --ignorelockingfailure  VolGroup00
 resume /dev/md1
 echo Creating root device.
-mkrootdev -t ext3 -o defaults,ro /dev/VolGroup00/LogVol00
+mkrootdev -t auto -o defaults,ro /dev/VolGroup00/LogVol00
 echo Mounting root filesystem.
 mount /sysroot
 echo Setting up other filesystems.
...

i've switched the root file system fstab entry from 'ext3' to 'auto' myself...
mkinitrd can't handle that.

works fine now, sorry for the noise.