aufs kernel module missing in linux-image-virtual

Bug #829838 reported by Per Foreby
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I'm trying to boot a virtual ubuntu (Xen domU) from an nfsroot (to install the OS using fai), but I get a kernel panic when initramfs tries to mount the root filesystem. Since fai uses live-boot I suspected aufs, and this is what I found:

The kernel config says that aufs should be compiled as a module, but the ko-file is missing. The generic kernel has the same configuration, and that package (which I cannot use for a paravirtualized installation) includes aufs.ko.

I have noticed this problem in two different kernel packages (both x86):

linux-image-2.6.38-10-virtual 2.6.38-10.46
linux-image-2.6.38-11-virtual 2.6.38-11.48

A search for aufs.ko on packages.ubuntu.com confirms that the file only exists in the generic, generic-pae and server flavors.

This typescript illustrates the problem (I cannot include the mandatory lspci output since the commands below are run chrooted to the nfsroot on the fai installation server):

$ chroot /srv/fai/nfsroot-virt/live/filesystem.dir /bin/bash -i

$ grep AUFS_FS /boot/config-2.6.38-11-virtual
CONFIG_AUFS_FS=m

$ grep -i aufs /boot/config-2.6.38-10-generic > /tmp/generic

$ grep -i aufs /boot/config-2.6.38-11-virtual > /tmp/virtual

$ diff -s /tmp/generic /tmp/virtual
Files /tmp/generic and /tmp/virtual are identical

$ dpkg -L linux-image-2.6.38-10-generic|grep aufs
/lib/modules/2.6.38-10-generic/kernel/ubuntu/aufs
/lib/modules/2.6.38-10-generic/kernel/ubuntu/aufs/aufs.ko

$ dpkg -L linux-image-2.6.38-11-virtual|grep aufs
/lib/modules/2.6.38-11-virtual/kernel/ubuntu/aufs

Tags: natty
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 829838

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: natty
Revision history for this message
Per Foreby (per-foreby) wrote :

Since the problem is in an nfsroot which I cannot boot from, it is impossible to supply more information. Besides, it's not that complicated, a missing file is a missing file.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Hi perf,

This looks to be a duplicate of bug 844159 so I am marking it as such. Please continue to track this issue at that report. I've already sent a patch to the Ubuntu kernel team and provided a test kernel in bug 844159. Thanks.

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.