Mailinglist Archive: opensuse-bugs (13069 mails)

< Previous Next >
[Bug 464252] New: xen PV pci passtrough not working, no interrupts in domU
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Wed, 7 Jan 2009 13:10:32 -0700 (MST)
  • Message-id: <bug-464252-21960@xxxxxxxxxxxxxxxxxxxxxxxxx/>
https://bugzilla.novell.com/show_bug.cgi?id=464252


Summary: xen PV pci passtrough not working, no interrupts in domU
Product: openSUSE 11.0
Version: Final
Platform: x86
OS/Version: openSUSE 11.0
Status: NEW
Severity: Major
Priority: P5 - None
Component: Xen
AssignedTo: cgriffin@xxxxxxxxxx
ReportedBy: frank.mueller@xxxxxxxx
QAContact: qa@xxxxxxx
Found By: Customer


Hi,

i am having problem with doing PCI-passtrough with xen to a PV domU.
I tried now the default xen package in 11.0 and the default xen package in
11.1, both showing same behaviour.

Passing PCI devices into a domU seems to work, device shows up in domu, but
there is no interrupt for the device in domU, i use late binding with pciback
to hide the pci devices from dom0.

1. Interrupts from dom0 before pcihide

interupts dom0 ( 18 and 19 are the pci devices)

CPU0 CPU1
1: 10 0 Phys-irq-level i8042
4: 6 0 Phys-irq-level
5: 0 0 Phys-irq-level parport0
8: 0 0 Phys-irq-level rtc0
9: 0 0 Phys-irq-level acpi
12: 131 0 Phys-irq-level i8042
14: 2513 0 Phys-irq-level ide0
18: 0 0 Phys-irq-level Technisat/B2C2 FlexCop
II/IIb/III
Digital TV PCI Driver
19: 44 0 Phys-irq-level saa7146 (0)

2. Interrupts from dom0 after pcihide

after pcihide:
dom0 cat /proc/interrupts

CPU0 CPU1
1: 10 0 Phys-irq-level i8042
4: 6 0 Phys-irq-level
5: 0 0 Phys-irq-level parport0
8: 0 0 Phys-irq-level rtc0
9: 0 0 Phys-irq-level acpi
12: 131 0 Phys-irq-level i8042
14: 2567 0 Phys-irq-level ide0
19: 45 0 Phys-irq-level

why is 18 not showing up, but 19 still there ?


3. /var/log/messages showing the following:

/var/log/messages:
Jan 7 20:36:14 linux-s8aq kernel: ACPI: PCI interrupt for device 0000:01:00.0
d
isabled
Jan 7 20:36:14 linux-s8aq kernel: pciback 0000:01:00.0: seizing device
Jan 7 20:36:14 linux-s8aq kernel: ACPI: PCI Interrupt 0000:01:00.0[A] -> Link
[
LNKA] -> GSI 19 (level, low) -> IRQ 19
Jan 7 20:36:14 linux-s8aq kernel: ACPI: PCI interrupt for device 0000:01:00.0
d
isabled
Jan 7 20:36:14 linux-s8aq kernel: ACPI: PCI interrupt for device 0000:01:01.0
d
isabled
Jan 7 20:36:14 linux-s8aq kernel: pciback 0000:01:01.0: seizing device
Jan 7 20:36:14 linux-s8aq kernel: ACPI: PCI Interrupt 0000:01:01.0[A] -> Link
[
LNKB] -> GSI 18 (level, low) -> IRQ 18
Jan 7 20:36:14 linux-s8aq kernel: ACPI: PCI interrupt for device 0000:01:01.0
d
isabled

Jan 7 20:39:40 linux-s8aq kernel: pciback: vpci: 0000:01:00.0: assign to
virtua
l slot 0
Jan 7 20:39:40 linux-s8aq kernel: pciback: vpci: 0000:01:01.0: assign to
virtua
l slot 1

4. lspci in domU:

lspci domu:
00:00.0 Network controller: Techsan Electronics Co Ltd B2C2 FlexCopII DVB chip
/
Technisat SkyStar2 DVB card (rev 02)
00:01.0 Multimedia controller: Philips Semiconductors SAA7146 (rev 01)

5. proc/interrupts from domU:

cat /proc/interrupts
CPU0
256: 80368 Dynamic-irq-level timer0
257: 0 Dynamic-irq-level resched0
258: 0 Dynamic-irq-level callfunc0
259: 674 Dynamic-irq-level xenbus
260: 4668 Dynamic-irq-level xencons
261: 2231 Dynamic-irq-level xenfb
262: 0 Dynamic-irq-level xenkbd
263: 421 Dynamic-irq-level eth0
264: 8928 Dynamic-irq-level blkif
265: 2624 Dynamic-irq-level blkif
NMI: 0 Non-maskable interrupts
RES: 0 Rescheduling interrupts
CAL: 0 function call interrupts


Result: device has no interrupt and is NOT working

6. domU cfg and dom0 cfg

domU cfg:
name="easyvdr0.6.2"
ostype="other"
uuid="cc95f138-5965-1945-fc1d-47197cb6283c"
memory=512
vcpus=1
on_crash="restart"
on_poweroff="destroy"
on_reboot="restart"
localtime=0
builder="linux"
extid=0
pci=['01:00.0','01:01.0']
kernel="/boot/vmlinuz-xen"
ramdisk="/boot/initrd-xen"
root="/dev/hda3"
disk=[ 'tap:aio:/data2/xen/images/easyvdrrc1/disk0,hda,w',
'phy:data3/vdrvideo,sda1,w',]
localtime = 0
on_poweroff = 'destroy'
on_reboot = 'restart'
on_crash = 'restart'
vfb=['type=vnc,vncunused=1']
vif=[ 'mac=00:16:3e:58:e4:e9' ]


title Xen -- openSUSE 11.0 - 2.6.25.18-0.2
root (hd0,0)
kernel /boot/xen.gz dom0_mem=356000 acpi=force pci=routeirq noirqdebug
module /boot/vmlinuz-2.6.25.18-0.2-xen
root=/dev/disk/by-id/scsi-SATA_SAMSUNG_HD401LJS0H
VJ13L900569-part1 resume=/dev/sdc2 splash=silent showopts vga=0x317
module /boot/initrd-2.6.25.18-0.2-xen


this settings worked without problems on opensuse 10.3 xen.

Any suggestions what this could be ?

Thanks

Frank


--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >