http://bugzilla.novell.com/show_bug.cgi?id=619030 http://bugzilla.novell.com/show_bug.cgi?id=619030#c0 Summary: sata_sil24 pci passthrough fails after upgrade from 11.2 -> 11.3 Classification: openSUSE Product: openSUSE 11.3 Version: Factory Platform: x86-64 OS/Version: openSUSE 11.3 Status: NEW Severity: Major Priority: P5 - None Component: Xen AssignedTo: jdouglas@novell.com ReportedBy: 0.bugs.only.0@gmail.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.6) Gecko/20100626 SUSE/3.6.6-1.1 Firefox/3.6.6 i've upgraded a test Xen server host from opensuse 11.2 -> 11.3. currently, i've, uname -a Linux devtest 2.6.34-5-xen #1 SMP 2010-06-29 02:39:08 +0200 x86_64 x86_64 x86_64 GNU/Linux lsb_release -a LSB Version: core-2.0-noarch:core-3.2-noarch:core-4.0-noarch:core-2.0-x86_64:core-3.2-x86_64:core-4.0-x86_64:desktop-4.0-amd64:desktop-4.0-noarch:graphics-2.0-amd64:graphics-2.0-noarch:graphics-3.2-amd64:graphics-3.2-noarch:graphics-4.0-amd64:graphics-4.0-noarch Distributor ID: SUSE LINUX Description: openSUSE 11.3 (x86_64) Release: 11.3 Codename: n/a with, rpm -qa | grep -i ^xen xen-4.0.0_21091_05-67.2.x86_64 xen-libs-4.0.0_21091_05-67.2.x86_64 xen-tools-4.0.0_21091_05-67.2.x86_64 on this box, I pass through three PCI cards to DomUs, 02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01) 04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02) 05:07.0 RAID bus controller: Silicon Image, Inc. SiI 3124 PCI-X Serial ATA Controller (rev 02) with, cat /boot/brub/menu.lst, ... title Xen4 root (hd0,0) kernel /xen.gz loglvl=all loglvl_guest=all apic_verbosity=debug dom0_mem=1024M ... iommu=soft dom0_max_vcpus=4 dom0_vcpus_pin=true sched=credit cpuidle=1 cpufreq=xen clocksource=acpi numa=on module /vmlinuz-xen root=/dev/VG0/ROOT rootfstype=ext4 rootflags=journal_checksum resume=/dev/VG0/SWAP ... pciback.permissive pciback.hide=(05:07.0)(02:00.0)(04:00.0) iommu=soft noirqdebug clocksource=xen mce=off module /initrd-xen ... and, cat /etc/modprobe.d/99-local.conf ... alias scsi_hostadapter2 sata_sil24 ... alias eth1 r8169 alias eth2 r8169 ... install r8169 /sbin/modprobe pciback ; /sbin/modprobe --first-time --ignore-install r8169 install sata_sil24 /sbin/modprobe pciback ; /sbin/modprobe --first-time --ignore-install sata_sil24 under 11.2, all three PCI cards are properly passed-thru dmesg | grep seiz [ 16.161302] pciback 0000:02:00.0: seizing device [ 16.161460] pciback 0000:04:00.0: seizing device [ 16.161962] pciback 0000:05:07.0: seizing device and their respective DomU can see/use the cards as expected. i.e., works perfectly. under 11.3, however, only the Ethernet cards are seized ... dmesg | grep seiz [ 14.142426] pciback 0000:02:00.0: seizing device [ 14.142512] pciback 0000:04:00.0: seizing device i.e, the sata_sil24 card is not. as expected, DomU can't see/use the sata_sil24 card. @ logs in the 11.3 case, xm dmesg | egrep "02:00.0|04:00.0|05:07.0|sata_sil24" (XEN) [2010-07-01 01:44:14] PCI add device 05:07.0 (XEN) [2010-07-01 01:44:27] PCI add device 02:00.0 (XEN) [2010-07-01 01:44:27] PCI add device 04:00.0 dmesg | egrep "02:00.0|04:00.0|05:07.0|sata_sil24" [ 0.000000] Command line: root=/dev/VG0/ROOT rootfstype=ext4 rootflags=journal_checksum resume=/dev/VG0/SWAP showopts splash=silent selinux=0 SELINUX_INIT=NO apparmor=0 elevator=cfq vga=0x31a console=tty0 console=xvc0,57600 pciback.permissive pciback.hide=(05:07.0)(02:00.0)(04:00.0) iommu=soft noirqdebug clocksource=xen mce=off [ 0.000000] Kernel command line: root=/dev/VG0/ROOT rootfstype=ext4 rootflags=journal_checksum resume=/dev/VG0/SWAP showopts splash=silent selinux=0 SELINUX_INIT=NO apparmor=0 elevator=cfq vga=0x31a console=tty0 console=xvc0,57600 pciback.permissive pciback.hide=(05:07.0)(02:00.0)(04:00.0) iommu=soft noirqdebug clocksource=xen mce=off [ 0.195383] pci 0000:02:00.0: reg 10: [io 0xb800-0xb8ff] [ 0.195404] pci 0000:02:00.0: reg 18: [mem 0xfbcff000-0xfbcfffff 64bit] [ 0.195426] pci 0000:02:00.0: reg 30: [mem 0xfbcc0000-0xfbcdffff pref] [ 0.195474] pci 0000:02:00.0: supports D1 D2 [ 0.195475] pci 0000:02:00.0: PME# supported from D1 D2 D3hot D3cold [ 0.195480] pci 0000:02:00.0: PME# disabled [ 0.195505] pci 0000:02:00.0: disabling ASPM on pre-1.1 PCIe device. You can enable it with 'pcie_aspm=force' [ 0.195805] pci 0000:04:00.0: reg 10: [io 0xd800-0xd8ff] [ 0.195826] pci 0000:04:00.0: reg 18: [mem 0xfafff000-0xfaffffff 64bit pref] [ 0.195840] pci 0000:04:00.0: reg 20: [mem 0xfafe0000-0xfafeffff 64bit pref] [ 0.195847] pci 0000:04:00.0: reg 30: [mem 0xfbef0000-0xfbefffff pref] [ 0.195886] pci 0000:04:00.0: supports D1 D2 [ 0.195888] pci 0000:04:00.0: PME# supported from D0 D1 D2 D3hot D3cold [ 0.195892] pci 0000:04:00.0: PME# disabled [ 0.200135] pci 0000:05:07.0: reg 10: [mem 0xfbfffc00-0xfbfffc7f 64bit] [ 0.200153] pci 0000:05:07.0: reg 18: [mem 0xfbff0000-0xfbff7fff 64bit] [ 0.200163] pci 0000:05:07.0: reg 20: [io 0xec00-0xec0f] [ 0.200181] pci 0000:05:07.0: reg 30: [mem 0xfbf00000-0xfbf7ffff pref] [ 0.200224] pci 0000:05:07.0: supports D1 D2 [ 2.620898] sata_sil24 0000:05:07.0: version 1.1 [ 2.620933] sata_sil24 0000:05:07.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21 [ 2.621549] scsi8 : sata_sil24 [ 2.621705] scsi9 : sata_sil24 [ 2.621904] scsi10 : sata_sil24 [ 2.622054] scsi11 : sata_sil24 [ 16.161302] pciback 0000:02:00.0: seizing device [ 16.161460] pciback 0000:04:00.0: seizing device [ 16.161668] pciback 0000:04:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18 [ 16.161808] pciback 0000:04:00.0: PCI INT A disabled [ 16.161984] pciback 0000:02:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18 [ 16.162127] pciback 0000:02:00.0: PCI INT A disabled [ 57.677589] pciback: vpci: 0000:02:00.0: assign to virtual slot 0 [ 57.684327] pciback: vpci: 0000:04:00.0: assign to virtual slot 1 [ 67.298144] pciback 0000:02:00.0: enabling device (0000 -> 0003) [ 67.298167] pciback 0000:02:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18 [ 67.298886] pciback 0000:02:00.0: setting latency timer to 64 [ 67.299518] pciback 0000:02:00.0: get owner: 1 [ 67.299564] pciback 0000:02:00.0: irq 55 for dom1 MSI/MSI-X [ 67.314695] pciback 0000:04:00.0: enabling device (0000 -> 0003) [ 67.314702] pciback 0000:04:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18 [ 67.314983] pciback 0000:04:00.0: setting latency timer to 64 [ 67.316312] pciback 0000:04:00.0: get owner: 1 [ 67.316336] pciback 0000:04:00.0: irq 54 for dom1 MSI/MSI-X [ 78.359249] pciback 0000:02:00.0: Driver tried to write to a read-only configuration space field at offset 0x68, size 2. This may be harmless, but if you have problems with your device: shows no oops. so, unclear if it's a bug, a req'd config change, etc. if add'l info is req'd -- happy to provide it. Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.