Red Hat Bugzilla – Bug 356371
nash ignores root mount options with nfsroot
Last modified: 2008-04-30 11:19:33 EDT
Description of problem:
When generating an initrd for mkzimage the specified rootopts put into the init
script in the initrd as mount options for nfsroot.
But when the image is booted and the init script is executed, the mount options
are ignored and are always set to kernel defaults.
Version-Release number of selected component (if applicable):
Every time by building zImage with mkinitrd and mkzimage.
Steps to Reproduce:
1. Create initrd with e.g.
mkinitrd --with=tg3 --rootopts=tcp,nolock,rsize=4096,wsize=4096 --net-dev=eth0
--rootfs=nfs /boot/initrd-2.6.22-5.20070920bsc.img 2.6.22-5.20070920bsc
2. create zImage with
mkzimage /boot/vmlinuz-2.6.22-5.20070920bsc no no
3.boot the image and take a look at /proc/mounts.
rootfs is still mounted with udp even though tcp was specified.
rootfs should be mounted with tcp, rsize=4096, wsize=4096
I created a patch which fixes the problem for me. Will attach to this bug.
Created attachment 241741 [details]
Created attachment 241771 [details]
probable fix, 2nd try
do you have any news on this bugzilla with regards to Fedora 8 or 9 ..?
Will it be fixed with an update for Fedora 8 ..?
Or only with Fedora 9 ..?
Thanks in advance for your support.
This looks like a duplicate of 240745
Yes, looks very similar. AFAICT it is not yet fixed in Fedora.
I suggest to close this bug as a duplicate of yours.
Your bug is 5 months! older. We can celebrate his first birthday in 3 weeks.
*** This bug has been marked as a duplicate of 240745 ***