Red Hat Bugzilla – Bug 78738
nodiratime option on ext3 fs causes kernel panic on boot
Last modified: 2007-04-18 12:48:45 EDT
Description of Problem:
If the mount options specified for the root filesystem are
rw,noatime,nodiratime in /etc/fstab, then despite rebuilding the initrd file
for kernel 2.4.18-18.8.0 the system panics on boot complaining of a mount error
22 and invalid mount option nodiratime.
This configuration works with other machines where ext3 is compiled into the
kernel under RH 7.3
Version-Release number of selected component (if applicable):
RH 8.0 plus all errata patches
Every time system booted in this state
Steps to Reproduce:
1. Change /etc/fstab / options to rw,noatime,nodiratime
2. Rebuild initrd in /boot
3. reboot system
Kernel panic, unable to mount rootfs at all
Normal boot expected!
The "nodiratime" option is not parsed by the kernel --- it is dealt with by the
user-space mount code. The initrd uses a very restricted mount mechanism built
into the "nash" binary. If you want nodiratime to work on an initrd, that needs
nash to understand the option. Reassigning the bug.
fixed in internal CVS -- this will make it into whatever mkinitrd is after 3.4.34