pci passthrough of snd_hda_intel or via usb to oneiric or precise hvm breaks xen pvops drivers
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
When starting oneiric as a xen hvm domain (from oneiric), passing through vga, usb & audio, the audio device seems to cause xen to fail pvops initialization.
The xen domu is running oneiric with kernel 3.0.0-12-server, symptoms are the same for 3.0.0-11-server.
My old ubuntu maverick installation works properly on the same host.
The xen config file for the hvm looks like this:
kernel = "/usr/lib/
builder='hvm'
memory = 900
device_
name = "yavin"
vcpus=8
vif = ['mac=aa:
disk = [
]
boot="cd"
sdl=0
vnc=1
vnclisten="0.0.0.0"
vncdisplay=9
vncunused=1
stdvga=0
serial='pty'
monitor=1
pci = [
'0000:06:00.0', # 06:00.0 usb
'0000:02:00.0', # 02:00.0 fglrx (tried radeon as well)
'0000:02:00.1' # 02:00.1 snd_hda_intel
]
Relevant part of the boot messages:
Loading, please wait...
[ 2.401864] udevd[106]: starting version 173
Begin: Loading essential drivers ... [ 2.456569] xen map irq failed -22
[ 2.475372] xen-platform-pci 0000:00:03.0: PCI INT A: failed to register GSI
[ 2.509994] xen-platform-pci: probe of 0000:00:03.0 failed with error -1
The above error results in the xdv* devices not being created, and thus i'm stuck at the initramfs prompt.
Commenting out the audio device from the above configuration makes things work (albeit without sound).
affects: | ubuntu → ubuntu-xen |
affects: | ubuntu-xen → linux (Ubuntu) |
summary: |
- passthrough snd_hda_intel to oneiric hvm breaks xen pvops drivers + pci passthrough of snd_hda_intel or via usb to oneiric hvm breaks xen + pvops drivers |
tags: | added: regression-update |
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
tags: | added: precise |
summary: |
- pci passthrough of snd_hda_intel or via usb to oneiric hvm breaks xen - pvops drivers + pci passthrough of snd_hda_intel or via usb to oneiric or precise hvm + breaks xen pvops drivers |
I noticed a similar problem when upgrading another ubuntu-maverick hvm to oneiric.
This time it seems to be due to passing through the uhci & ehci devices.
(i tried to determine wether it is due to a single device, but any one of these seems
to cause problems for me)
Configuration: xen/boot/ hvmloader' model=' /usr/lib/ xen/bin/ qemu-dm' vm/cularin- oneiric, hda,w' ] 20:00:00: 02:17, bridge=loc' ] vnclisten= 0.0.0.0, vncdisplay= 7' ]
===========
kernel = '/usr/lib/
builder = 'hvm'
memory = '1000'
device_
serial='pty'
disk = [ 'phy:/dev/
name = 'cularin'
vif = [ 'mac=aa:
boot='c'
vfb = [ 'vnc=1,
usb=1
usbdevice='tablet'
monitor=1
pci = [
'0000:08:01.0', # uhci_hcd: hauppauge pvr 500 #1
'0000:08:01.2', # ehci_hcd: hauppauge pvr 500 #1
'0000:08:02.0', # uhci_hcd: hauppauge pvr 500 #2
'0000:08:02.2', # ehci_hcd: hauppauge pvr 500 #2
]