http://bugzilla.novell.com/show_bug.cgi?id=550787 User 0.bugs.only.0@gmail.com added comment http://bugzilla.novell.com/show_bug.cgi?id=550787#c1 Summary: sata_sil24 driver fails to init in Xen DomU PCI-passthrough Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: x86-64 OS/Version: openSUSE 11.2 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: --- Created an attachment (id=324548) --> (http://bugzilla.novell.com/attachment.cgi?id=324548) dmesg from DomU & Dom0 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2b2pre) Gecko/20091015 SUSE/3.6b1-1.2 Namoroka/3.6b2pre OK in 11.1 full release, sata_sil24 card in Xen Dom0 loads PCI device, attaches drives, and functions without problem. in 11.1 full release, sata_sil24 card in Xen DomU -- via PCI-passthrough -- loads local/Guest PCI device, attaches drives, and functions without problem. in 11.2 RC1/updated release, sata_sil24 card in Xen Dom0 loads PCI device, attaches drives, and functions without problem. FAIL in 11.2 RC1/updated release, sata_sil24 card in Xen DomU -- via PCI-passthrough -- loads local/Guest PCI device, FAILS to init driver, and FAILS to attach drives. sata_sil24 card in 11.1 full release Xen Dom0 loads driver, attaches drives, and functions without problem. from tj@kernel.org, ... In the first log, there's an oops during sil24 initialization. [ 2.596861] BUG: unable to handle kernel NULL pointer dereference at (null) [ 2.599045] IP: [<ffffffff802fbbda>] evtchn_register_pirq+0x9a/0xd0 ... [ 2.600839] Call Trace: [ 2.600839] [<ffffffff803a8159>] pcifront_enable_irq+0x39/0x60 [ 2.600839] [<ffffffff803aa5f1>] pcibios_enable_device+0x51/0x60 [ 2.600839] [<ffffffff8025a4f0>] do_pci_enable_device+0x40/0x80 [ 2.600839] [<ffffffff8025a5b0>] __pci_enable_device_flags+0x80/0xa0 [ 2.600839] [<ffffffff8025a5f1>] pci_enable_device+0x21/0x40 [ 2.600839] [<ffffffff8025a688>] pcim_enable_device+0x78/0xd0 [ 2.600839] [<ffffffffa002f7e9>] sil24_init_one+0xc9/0x310 [sata_sil24] So, the thread which was doing sil24 initialization was killed at that point and it would be very strange if devices attached to sil24 appeared and worked. This looks like a very xen specific bug to me and it would probably be best to file a bug report against xen so that someone who knows it can take a look. ... @ Dom0: 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.2 RC 1 (x86_64) Release: 11.2 Codename: n/a root has logged on pts/0 from 172.30.11.6. uname -a Linux server 2.6.31.3-1-xen #1 SMP 2009-10-08 00:27:25 +0200 x86_64 x86_64 x86_64 GNU/Linux rpm -qa | grep -i xen xen-3.4.1_19718_04-26.1.x86_64 kernel-xen-devel-2.6.31.3-1.1.x86_64 xen-tools-3.4.1_19718_04-26.1.x86_64 kernel-xen-base-2.6.31.3-1.1.x86_64 xen-libs-3.4.1_19718_04-26.1.x86_64 kernel-xen-2.6.31.3-1.1.x86_64 cat /boot/grub.menu.lst ... title Xen (symlink) NORMAL root (hd0,0) kernel /xen.gz dom0_mem=1024M vga=gfx-1280x1024x32 console=vga,com1 com1=57600,8n1 cpufreq=xen:performance cpuidle iommu=1 module /vmlinuz-xen root=/dev/VG_SVR/LV_SVR_DOM0_ROOT rootfstype=ext4 resume=/dev/VG_SVR/LV_SVR_DOM0_SWAP showopts splash=silent vga=0x31a console=tty0 console=xvc0,57600 elevator=cfq guestdev=0000:04:07.0 reassign_resources iommu=off module /initrd-xen ... lspci | grep -i 3124 04:07.0 RAID bus controller: Silicon Image, Inc. SiI 3124 PCI-X Serial ATA Controller (rev 02) cat nas_run.cfg ... pci = [ '04:07.0' ] vfb = [ 'type=vnc, vncdisplay=102, vnclisten=127.0.0.1' ] extra = 'textmode=1 xencons=xvc0 swiotlb=128,force elevator=noop' maxmem = 4096 memory = 4096 vcpus = 4 ... @ DomU: uname -a <-- Factory, as Dom0 Linux nas 2.6.31.3-1-xen #1 SMP 2009-10-08 00:27:25 +0200 x86_64 x86_64 x86_64 GNU/Linux grep ^INITRD /etc/sysconfig/kernel INITRD_MODULES=" xenblk xennet sata_sil24 ext4 ext3 xfs aes sha1 sha256 sha512 dm-mod dm-crypt dm-snapshot raid0 raid1 raid456 raid10 jbd" lspci 00:00.0 RAID bus controller: Silicon Image, Inc. SiI 3124 PCI-X Serial ATA Controller (rev 02) here, i'd expect to see the RAW drives attached, as in 11.1, fdisk -l | grep -i sd | grep GB Disk /dev/sda: 1000.2 GB, 1000204886016 bytes Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes Disk /dev/sdc: 1000.2 GB, 1000204886016 bytes Disk /dev/sdd: 1000.2 GB, 1000204886016 bytes but, I see, in 11.2, only fdisk -l | grep -i gb Disk /dev/xvdc: 12.9 GB, 12884901888 bytes here's dmesg for the DomU's & Dom0: {attachment: dmesg.txt} 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.