-virtual kernel missing rtl8139 drivers

Bug #897795 reported by Scott Moser
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
High
Tim Gardner
Precise
Fix Released
High
Tim Gardner

Bug Description

The 3.2.0-2-virtual seems to have lost the 8139cp and 8139too modules.
This driver is used in default configuration of openstack and of kvm also.

The result is that we can't reach an instance booted in openstack.
To reproduce:
  $ wget https://cloud-images.ubuntu.com/server/precise/current/precise-server-cloudimg-i386-disk1.img
  $ qemu-img create -f qcow2 -b precise-server-cloudimg-i386-disk1.img disk.img
  $ kvm -drive file=disk.img,if=virtio,boot=on \
     -cdrom /tmp/ovftransport.iso -serial file:console.log

After 2 minutes or so, you'll be able to log in with 'ubuntu' and 'passw0rd' to look around.
What you will find is that 3.2.0 is missing the 8139 and 8139too modules.
On a system with both 3.2.0-virtual and 3.1.0-2-virtual installed, I see:

$ ls /lib/modules/
3.1.0-2-virtual 3.2.0-2-virtual
$ find /lib/modules/ -name "*8139*.ko"
/lib/modules/3.1.0-2-virtual/kernel/drivers/net/8139cp.ko
/lib/modules/3.1.0-2-virtual/kernel/drivers/net/8139too.ko

Notes
 * 'current' is 20111129 build.
 * above, you can explicitly request 8139 nic with:
  -net nic,model=rtl8139 -net user,hostfwd=tcp::2222-:22
 * ovftransport.iso is an iso created as described at [1]

--
[1] https://help.ubuntu.com/community/UEC/Images#Ubuntu_Cloud_Guest_images_on_Local_Hypervisor_Natty_onward

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: linux-image-3.2.0-2-virtual 3.2.0-2.5
ProcVersionSignature: User Name 3.1.0-2.3-virtual 3.1.0
Uname: Linux 3.1.0-2-virtual i686
AlsaDevices:
 total 0
 crw-rw---T 1 root audio 116, 1 Nov 29 16:47 seq
 crw-rw---T 1 root audio 116, 33 Nov 29 16:47 timer
AplayDevices: Error: [Errno 2] No such file or directory
ApportVersion: 1.26-0ubuntu1
Architecture: i386
ArecordDevices: Error: [Errno 2] No such file or directory
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CRDA: Error: [Errno 2] No such file or directory
CurrentDmesg:
 [ 2125.284385] SGI XFS Quota Management subsystem
 [ 2125.343033] Btrfs loaded
Date: Tue Nov 29 17:23:26 2011
Ec2AMI: ami-000000e2
Ec2AMIManifest: FIXME
Ec2AvailabilityZone: nova
Ec2InstanceType: m1.small
Ec2Kernel: unavailable
Ec2Ramdisk: unavailable
IwConfig:
 lo no wireless extensions.

 eth0 no wireless extensions.
Lsusb: Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: Bochs Bochs
PciMultimedia:

ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.1.0-2-virtual root=LABEL=cloudimg-rootfs ro console=ttyS0
RelatedPackageVersions:
 linux-restricted-modules-3.1.0-2-virtual N/A
 linux-backports-modules-3.1.0-2-virtual N/A
 linux-firmware 1.62
RfKill: Error: [Errno 2] No such file or directory
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 01/01/2007
dmi.bios.vendor: Bochs
dmi.bios.version: Bochs
dmi.chassis.type: 1
dmi.chassis.vendor: Bochs
dmi.modalias: dmi:bvnBochs:bvrBochs:bd01/01/2007:svnBochs:pnBochs:pvr:cvnBochs:ct1:cvr:
dmi.product.name: Bochs
dmi.sys.vendor: Bochs

Revision history for this message
Scott Moser (smoser) wrote :
Revision history for this message
Brad Figg (brad-figg) wrote : Test with newer development kernel (3.2.0-2.5)

Thank you for taking the time to file a bug report on this issue.

However, given the number of bugs that the Kernel Team receives during any development cycle it is impossible for us to review them all. Therefore, we occasionally resort to using automated bots to request further testing. This is such a request.

We have noted that there is a newer version of the development kernel than the one you last tested when this issue was found. Please test again with the newer kernel and indicate in the bug if this issue still exists or not.

If the bug still exists, change the bug status from Incomplete to Confirmed. If the bug no longer exists, change the bug status from Incomplete to Fix Released.

If you want this bot to quit automatically requesting kernel tests, add a tag named: bot-stop-nagging.

 Thank you for your help, we really do appreciate it.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
tags: added: kernel-request-3.2.0-2.5
Scott Moser (smoser)
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Tim Gardner (timg-tpi)
Changed in linux (Ubuntu Precise):
milestone: none → precise-alpha-2
assignee: nobody → Tim Gardner (timg-tpi)
status: Confirmed → In Progress
Revision history for this message
Scott Moser (smoser) wrote :

Just for some possibly helpful information:

$ for v in 3.1.0-2-virtual 3.2.0-2-virtual; do ( cd /lib/modules/$v && find * -name "*.ko" ) | sort > $v.list; done
$ diff -u 3.1.0-2-virtual.list 3.2.0-2-virtual.list | grep "^[^ @]"
--- 3.1.0-2-virtual.list 2011-11-29 17:56:51.552258939 +0000
+++ 3.2.0-2-virtual.list 2011-11-29 17:56:51.572258967 +0000
-kernel/crypto/blowfish.ko
+kernel/crypto/blowfish_common.ko
+kernel/crypto/blowfish_generic.ko
+kernel/crypto/crypto_user.ko
-kernel/drivers/ata/ahci.ko
+kernel/drivers/md/dm-bufio.ko
+kernel/drivers/md/dm-thin-pool.ko
+kernel/drivers/md/persistent-data/dm-persistent-data.ko
-kernel/drivers/net/8139cp.ko
-kernel/drivers/net/8139too.ko
-kernel/drivers/net/8390.ko
-kernel/drivers/net/bsd_comp.ko
-kernel/drivers/net/e1000/e1000.ko
-kernel/drivers/net/e1000e/e1000e.ko
-kernel/drivers/net/igbvf/igbvf.ko
-kernel/drivers/net/ixgbevf/ixgbevf.ko
-kernel/drivers/net/ne2k-pci.ko
-kernel/drivers/net/pcnet32.ko
-kernel/drivers/net/ppp_async.ko
-kernel/drivers/net/ppp_deflate.ko
-kernel/drivers/net/ppp_mppe.ko
-kernel/drivers/net/pppoe.ko
-kernel/drivers/net/pppox.ko
-kernel/drivers/net/ppp_synctty.ko
-kernel/drivers/net/slip.ko
-kernel/drivers/net/tulip/tulip.ko
-kernel/drivers/xen/xen-platform-pci.ko
+kernel/net/can/can-gw.ko
+kernel/net/ieee802154/6lowpan.ko

Revision history for this message
Scott Moser (smoser) wrote :

We've discussed this in #ubuntu-kernel, #ubuntu-server, and then #ubuntu-release [1].
In order to get working cloud-images, its seems the easiest solution is to temporarily add linux-image-extra-3.2.0-2-virtual and re-spin cloud-images.

This will result in the cloud-images having ~ 90M of additional space used due to the larger set of kernel modules. An 'apt-get upgrade' would then only pull in the new linux-image-virtual, and not get -extra for new kernel images.

This seems like a reasonable trade off to me, to get a working cloud-image for openstack by alpha-1 release.
--
[1] http://irclogs.ubuntu.com/2011/11/29/%23ubuntu-release.html#t18:02

Revision history for this message
Tim Gardner (timg-tpi) wrote :

UBUNTU: [Config] Fix virtual inclusion list.

Changed in linux (Ubuntu Precise):
status: In Progress → Fix Committed
Revision history for this message
Scott Moser (smoser) wrote :

I just downloaded 20111130 build and verified it booted in kvm with the process described in the description.
ie, this is worked around for 20111130 images. After alpha 1 releases, we will revert the work around hack in the build scripts at [1].
If we forget, we should start to see build failures to remind us as soon as 'linux-image-extra-3.2.0-2-virtual' is replaced in the archive.

[1] http://bazaar.launchpad.net/~ubuntu-on-ec2/vmbuilder/automated-ec2-builds/revision/432

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux - 3.2.0-2.6

---------------
linux (3.2.0-2.6) precise; urgency=low

  [ Andy Whitcroft ]

  * armhf -- fix omap flavour to build on armhf
  * [Config] CONFIG_PATA_MACIO=y to fix MAC qemu boot

  [ Borislav Petkov ]

  * SAUCE: x86, microcode, AMD: Restrict microcode reporting
    - LP: #892615

  [ Colin Watson ]

  * Add pata_macio to pata-modules

  [ Tim Gardner ]

  * [Config] Prefer crda over wireless-crda
  * [Config] Fix virtual inclusion list.
    - LP: #897795
 -- Leann Ogasawara <email address hidden> Wed, 30 Nov 2011 06:09:35 -0800

Changed in linux (Ubuntu Precise):
status: Fix Committed → Fix Released
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.