initramfs-tools: please include separated nfs modules

Bug #1217041 reported by Ryan Tandy
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
Fix Released
Undecided
Unassigned
Precise
Fix Released
Undecided
Unassigned
Quantal
Invalid
Undecided
Unassigned
Raring
Fix Released
Undecided
Unassigned
Saucy
Fix Released
Undecided
Unassigned

Bug Description

In newer kernels (>= 3.6) the nfs modules were split up and we have to include nfsv3, nfsv4, and nfs_acl now. This was already fixed in raring in initramfs-tools 0.103ubuntu0.3, but precise with lts-raring kernel is still affected.

Marking those modules for inclusion even on older kernels where they don't exist seems to be safe. initramfs-tools doesn't complain.

[Impact]

We have to manually configure the initramfs to include nfsv3/nfsv4 modules before we can boot from NFS.

It is not possible to boot the 12.04.3 LiveCD from NFS (regression compared to .0/.1/.2).

[Test Case]

With linux-image-generic-lts-raring installed, list the contents of the initramfs and check for nfs related modules:

gunzip -c /boot/initrd.img-3.8.0-* | cpio -t | grep nfs

nfsv3.ko and nfsv4.ko should both be present.

[Regression Potential]

Minimal. The change adds three extra modules to the initramfs, and they are ignored on kernels that don't have them.

Revision history for this message
Ryan Tandy (rtandy) wrote :
Changed in initramfs-tools (Ubuntu Quantal):
status: New → Invalid
Changed in initramfs-tools (Ubuntu Raring):
status: New → Fix Released
Changed in initramfs-tools (Ubuntu Saucy):
status: New → Fix Released
Changed in initramfs-tools (Ubuntu Precise):
status: New → Confirmed
Revision history for this message
Adam Conrad (adconrad) wrote : Please test proposed package

Hello Ryan, or anyone else affected,

Accepted initramfs-tools into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/initramfs-tools/0.99ubuntu13.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in initramfs-tools (Ubuntu Precise):
status: Confirmed → Fix Committed
tags: added: verification-needed
Revision history for this message
Yung Shen (kaxing) wrote :

By generating initrd.lz with initramfs-tools 0.99ubuntu13.2 on stock live image and replace old on pxe server,
Tested and it works.

Detailed Steps:

1. booting system with current stock 12.04.3 image on usb
2. and enable -proposed in software-center-properties then apt-get udpate
3. apt-get install initramfs-tools
4. mkinitramfs -c lzma -o /tmp/initrd.lz `uname -r`
5. unlzma -c -S .lz /tmp/initrd.lz| cpio -t | grep nfs
6. verified that nfs3 and nfs4 are both in initrd.lz

tags: added: verification-done-precise
Revision history for this message
Ryan Tandy (rtandy) wrote :

Looks good here. Diskless clients are booting with the 3.8 kernel now.

tags: added: verification-done
removed: verification-done-precise verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package initramfs-tools - 0.99ubuntu13.2

---------------
initramfs-tools (0.99ubuntu13.2) precise; urgency=low

  * Add nfsv3, nfsv4 and nfs_acl to the base modules to fix nfs booting with
    newer kernels. (LP: #1217041)
 -- Ryan Tandy <email address hidden> Mon, 26 Aug 2013 10:46:56 -0700

Changed in initramfs-tools (Ubuntu Precise):
status: Fix Committed → Fix Released
Revision history for this message
Colin Watson (cjwatson) wrote : Update Released

The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

Revision history for this message
Shu Shen (shu-shen) wrote :

This bug fix is not found in the milestone ubuntu-12.04.4.
Shouldn't it be included for 12.04.4 so that the CDs will be able to boot from NFS?

Or maybe it's automatically included as the initramfs package has been released to -updates?
Just want to make sure that the 12.04.4 CD is tested for this fix and will actually boot from NFS.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.