Xen PVonHVM can't mount rootfs

Bug #804219 reported by Jean Guyader
24
This bug affects 3 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Hi,

I installed natty on Xen and got PVonHVM working but I've noticed that CONFIG_XEN_PLATFORM_PCI isn't build in in the kernel event if the frontends (BLKFRONT and NETFRONT) are.

That mean that before you install linux-image-virtual you have to make sure you put "xen-platform-pci" in /etc/initramfs-tools/modules.

I've checked the virtual kernel config on oneiric and CONFIG_XEN_PLATFORM_PCI is still a module.

I think this problem could be solved in two ways:
   - Make initramfs tools Xen PVonHVM aware
   - Compile CONFIG_XEN_PLATFORM_PCI built in, the frontend are built in so I think it's reasonable to have this driver built in as well.

Jean
---
AlsaDevices:
 total 0
 crw------- 1 root root 116, 1 2011-07-29 14:12 seq
 crw------- 1 root root 116, 33 2011-07-29 14:12 timer
AplayDevices: aplay: device_list:240: no soundcards found...
Architecture: i386
ArecordDevices: arecord: device_list:240: no soundcards found...
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
DistroRelease: Ubuntu 11.04
HibernationDevice: RESUME=UUID=5bf069c0-2ca0-455b-8c95-ab3f927aa2dc
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Beta i386 (20110330)
IwConfig:
 lo no wireless extensions.

 eth0 no wireless extensions.
Lsusb: Error: command ['lsusb'] failed with exit code 1:
MachineType: Xen HVM domU
Package: linux (not installed)
ProcEnviron:
 LANGUAGE=en_GB:en
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-10-virtual root=UUID=6707d767-1aaf-4b2c-ada7-6833d7dee082 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 2.6.38-10.46-virtual 2.6.38.7
Regression: No
RelatedPackageVersions:
 linux-restricted-modules-2.6.38-10-virtual N/A
 linux-backports-modules-2.6.38-10-virtual N/A
 linux-firmware 1.49
Reproducible: Yes
RfKill:

Tags: natty kernel-config needs-upstream-testing
Uname: Linux 2.6.38-10-virtual i686
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

dmi.bios.date: 07/14/2011
dmi.bios.vendor: Xen
dmi.bios.version: 3.4.4-rc1-pre-xc
dmi.board.name: HVM domU
dmi.board.vendor: Xen
dmi.chassis.type: 1
dmi.chassis.vendor: Xen
dmi.modalias: dmi:bvnXen:bvr3.4.4-rc1-pre-xc:bd07/14/2011:svnXen:pnHVMdomU:pvr3.4.4-rc1-pre-xc:rvnXen:rnHVMdomU:rvr:cvnXen:ct1:cvr:
dmi.product.name: HVM domU
dmi.product.version: 3.4.4-rc1-pre-xc
dmi.sys.vendor: Xen

Revision history for this message
Jean Guyader (jean-guyader) wrote :

That is fixed in Debian Squeeze

root@debian:~# grep XEN_PLATFORM_PCI /boot/config-2.6.32-5-xen-686
CONFIG_XEN_PLATFORM_PCI=y

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

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

apport-collect 804219

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
Revision history for this message
Jean Guyader (jean-guyader) wrote : AcpiTables.txt

apport information

tags: added: apport-collected kernel-config natty needs-upstream-testing
description: updated
Revision history for this message
Jean Guyader (jean-guyader) wrote : BootDmesg.txt

apport information

Revision history for this message
Jean Guyader (jean-guyader) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Jean Guyader (jean-guyader) wrote : Lspci.txt

apport information

Revision history for this message
Jean Guyader (jean-guyader) wrote : PciMultimedia.txt

apport information

Revision history for this message
Jean Guyader (jean-guyader) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Jean Guyader (jean-guyader) wrote : ProcCpuinfo_.txt

apport information

Revision history for this message
Jean Guyader (jean-guyader) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Jean Guyader (jean-guyader) wrote : ProcModules.txt

apport information

Revision history for this message
Jean Guyader (jean-guyader) wrote : UdevDb.txt

apport information

Revision history for this message
Jean Guyader (jean-guyader) wrote : UdevLog.txt

apport information

Revision history for this message
Jean Guyader (jean-guyader) wrote : WifiSyslog.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Jean Guyader (jean-guyader) wrote :

I manually put "xen-platform-pci" in /etc/initramfs/modules and recreate the initramfs after I installed the new kernel 2.6.38-10-virtual, then I reboot and gather the info.

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.