LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 09-27-2011, 07:23 AM   #1
trispad
LQ Newbie
 
Registered: Aug 2011
Posts: 4

Rep: Reputation: Disabled
Xen PCI Passthrough RAID Bus Controller


Hi all,

I am trying to setup pci-passthrough to my domU. I am able to pass through of my USB controller, but I cannot pass through my RAID bus controllers. Here are the pci devices in question:
Code:
00:07.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB (rev 01)
...
00:0d.0 RAID bus controller: Silicon Image, Inc. SiI 3124 PCI-X Serial ATA Controller (rev 01)
00:0e.0 RAID bus controller: Silicon Image, Inc. SiI 3124 PCI-X Serial ATA Controller (rev 01)
I believe that I have pci-passthrough setup correctly because I am able to pass the USB controller through. However, if I try to add one or both of the RAID controllers, my domU fails to boot. Here is what I think is relevant xend.log output on a failure:

Code:
[2011-09-27 06:12:48 xend.XendDomainInfo 4808] DEBUG (XendDomainInfo:261) XendDomainInfo.create(['vm', ['name', 'burns'], ['memory', '512'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['vcpus', 1], ['bootloader', '/usr/bin/pygrub'], ['image', ['linux', ['ramdisk', '/var/lib/xen/boot_ramdisk.PEX2J0'], ['kernel', '/var/lib/xen/boot_kernel.bDNxcp'], ['args', 'ro root=/dev/VolGroup_xvda2/LogVol_root console=xvc0 swiotlb=force pcifront  1']]], ['device', ['vbd', ['uname', 'phy:/dev/VolGroup_hda3/LogVol_burns'], ['dev', 'xvda'], ['mode', 'w']]], ['device', ['pci', ['dev', ['domain', '0x0'], ['bus', '0x00'], ['slot', '0x07'], ['func', '0x2']], ['dev', ['domain', '0x0'], ['bus', '0x00'], ['slot', '0x0d'], ['func', '0x0']], ['dev', ['domain', '0x0'], ['bus', '0x00'], ['slot', '0x0e'], ['func', '0x0']]]], ['device', ['vif', ['bridge', 'virtbr1'], ['mac', '00:16:3E:06:44:6C']]]])
[2011-09-27 06:12:48 xend.XendDomainInfo 4808] DEBUG (XendDomainInfo:383) parseConfig: config is ['vm', ['name', 'burns'], ['memory', '512'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['vcpus', 1], ['bootloader', '/usr/bin/pygrub'], ['image', ['linux', ['ramdisk', '/var/lib/xen/boot_ramdisk.PEX2J0'], ['kernel', '/var/lib/xen/boot_kernel.bDNxcp'], ['args', 'ro root=/dev/VolGroup_xvda2/LogVol_root console=xvc0 swiotlb=force pcifront  1']]], ['device', ['vbd', ['uname', 'phy:/dev/VolGroup_hda3/LogVol_burns'], ['dev', 'xvda'], ['mode', 'w']]], ['device', ['pci', ['dev', ['domain', '0x0'], ['bus', '0x00'], ['slot', '0x07'], ['func', '0x2']], ['dev', ['domain', '0x0'], ['bus', '0x00'], ['slot', '0x0d'], ['func', '0x0']], ['dev', ['domain', '0x0'], ['bus', '0x00'], ['slot', '0x0e'], ['func', '0x0']]]], ['device', ['vif', ['bridge', 'virtbr1'], ['mac', '00:16:3E:06:44:6C']]]]
[2011-09-27 06:12:48 xend.XendDomainInfo 4808] DEBUG (XendDomainInfo:507) parseConfig: result is {'features': None, 'hpet': None, 'image': ['linux', ['ramdisk', '/var/lib/xen/boot_ramdisk.PEX2J0'], ['kernel', '/var/lib/xen/boot_kernel.bDNxcp'], ['args', 'ro root=/dev/VolGroup_xvda2/LogVol_root console=xvc0 swiotlb=force pcifront  1']], 'cpus': None, 'vcpu_avail': None, 'backend': [], 'uuid': None, 'on_reboot': 'restart', 'cpu_weight': None, 'memory': 512, 'cpu_cap': None, 'localtime': None, 'timer_mode': None, 'start_time': None, 'on_poweroff': None, 'on_crash': 'restart', 'device': [('vbd', ['vbd', ['uname', 'phy:/dev/VolGroup_hda3/LogVol_burns'], ['dev', 'xvda'], ['mode', 'w']]), ('pci', ['pci', ['dev', ['domain', '0x0'], ['bus', '0x00'], ['slot', '0x07'], ['func', '0x2']], ['dev', ['domain', '0x0'], ['bus', '0x00'], ['slot', '0x0d'], ['func', '0x0']], ['dev', ['domain', '0x0'], ['bus', '0x00'], ['slot', '0x0e'], ['func', '0x0']]]), ('vif', ['vif', ['bridge', 'virtbr1'], ['mac', '00:16:3E:06:44:6C']])], 'bootloader': '/usr/bin/pygrub', 'maxmem': None, 'shadow_memory': None, 'name': 'burns', 'bootloader_args': None, 'vcpus': 1, 'cpu': None}
[2011-09-27 06:12:48 xend.XendDomainInfo 4808] DEBUG (XendDomainInfo:1976) XendDomainInfo.construct: None
[2011-09-27 06:12:48 xend 4808] DEBUG (balloon:146) Balloon: 524532 KiB free; need 4096; done.
[2011-09-27 06:12:48 xend.XendDomainInfo 4808] DEBUG (XendDomainInfo:2151) XendDomainInfo.initDomain: 11 256
[2011-09-27 06:12:48 xend.XendDomainInfo 4808] DEBUG (XendDomainInfo:2192) _initDomain:shadow_memory=0x0, maxmem=0x200, memory=0x200.
[2011-09-27 06:12:48 xend 4808] DEBUG (balloon:146) Balloon: 524532 KiB free; need 524288; done.
[2011-09-27 06:12:48 xend 4808] INFO (image:139) buildDomain os=linux dom=11 vcpus=1
[2011-09-27 06:12:48 xend 4808] DEBUG (image:208) domid          = 11
[2011-09-27 06:12:48 xend 4808] DEBUG (image:209) memsize        = 512
[2011-09-27 06:12:48 xend 4808] DEBUG (image:210) image          = /var/lib/xen/boot_kernel.bDNxcp
[2011-09-27 06:12:48 xend 4808] DEBUG (image:211) store_evtchn   = 1
[2011-09-27 06:12:48 xend 4808] DEBUG (image:212) console_evtchn = 2
[2011-09-27 06:12:48 xend 4808] DEBUG (image:213) cmdline        =  ro root=/dev/VolGroup_xvda2/LogVol_root console=xvc0 swiotlb=force pcifront  1
[2011-09-27 06:12:48 xend 4808] DEBUG (image:214) ramdisk        = /var/lib/xen/boot_ramdisk.PEX2J0
[2011-09-27 06:12:48 xend 4808] DEBUG (image:215) vcpus          = 1
[2011-09-27 06:12:48 xend 4808] DEBUG (image:216) features       = 
[2011-09-27 06:12:49 xend.XendDomainInfo 4808] DEBUG (XendDomainInfo:677) Checking for duplicate for uname: /dev/VolGroup_hda3/LogVol_burns [phy:/dev/VolGroup_hda3/LogVol_burns], dev: xvda, mode: w
[2011-09-27 06:12:49 xend 4808] DEBUG (blkif:27) exception looking up device number for xvda: [Errno 2] No such file or directory: '/dev/xvda'
[2011-09-27 06:12:49 xend 4808] DEBUG (blkif:27) exception looking up device number for xvda: [Errno 2] No such file or directory: '/dev/xvda'
[2011-09-27 06:12:49 xend 4808] DEBUG (DevController:133) DevController: writing {'virtual-device': '51712', 'device-type': 'disk', 'protocol': 'x86_32-abi', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vbd/11/51712'} to /local/domain/11/device/vbd/51712.
[2011-09-27 06:12:49 xend 4808] DEBUG (DevController:135) DevController: writing {'domain': 'burns', 'frontend': '/local/domain/11/device/vbd/51712', 'format': 'raw', 'dev': 'xvda', 'state': '1', 'params': '/dev/VolGroup_hda3/LogVol_burns', 'mode': 'w', 'online': '1', 'frontend-id': '11', 'type': 'phy'} to /local/domain/0/backend/vbd/11/51712.
[2011-09-27 06:12:49 xend 4808] WARNING (pciif:175) pci: 0000:00:07.2: it is on bus 0, but has no PCI Advanced Capabilities for FLR. Will try the Dstate transition method or some vendor specific methods if available.
[2011-09-27 06:12:49 xend 4808] WARNING (pciif:175) pci: 0000:00:0d.0: it is on bus 0, but has no PCI Advanced Capabilities for FLR. Will try the Dstate transition method or some vendor specific methods if available.
[2011-09-27 06:12:49 xend 4808] WARNING (pciif:175) pci: 0000:00:0e.0: it is on bus 0, but has no PCI Advanced Capabilities for FLR. Will try the Dstate transition method or some vendor specific methods if available.
[2011-09-27 06:12:49 xend 4808] INFO (pciquirk:91) NO quirks found for PCI device [8086:7112:0000:0000]
[2011-09-27 06:12:49 xend 4808] DEBUG (pciquirk:131) Permissive mode NOT enabled for PCI device [8086:7112:0000:0000]
[2011-09-27 06:12:49 xend 4808] DEBUG (pciif:365) pci: enabling ioport 0x1020/0x20
[2011-09-27 06:12:49 xend 4808] DEBUG (pciif:408) pci: enabling irq 9
[2011-09-27 06:12:49 xend 4808] INFO (pciquirk:91) NO quirks found for PCI device [1095:3124:1095:7124]
[2011-09-27 06:12:49 xend 4808] DEBUG (pciquirk:129) Permissive mode enabled for PCI device [1095:3124:1095:7124]
[2011-09-27 06:12:49 xend 4808] DEBUG (pciquirk:136) Unconstrained device: 0000:00:0d.0
[2011-09-27 06:12:49 xend 4808] DEBUG (pciif:365) pci: enabling ioport 0x1010/0x10
[2011-09-27 06:12:49 xend 4808] DEBUG (pciif:378) pci: enabling iomem 0xf4008000/0x80 pfn 0xf4008/0x1
[2011-09-27 06:12:49 xend.XendDomainInfo 4808] ERROR (XendDomainInfo:273) Domain construction failed
[2011-09-27 06:12:49 xend.XendDomainInfo 4808] DEBUG (XendDomainInfo:2387) XendDomainInfo.destroy: domid=11
[2011-09-27 06:12:53 xend.XendDomainInfo 4808] INFO (XendDomainInfo:2528) Dev 51712 still active, looping...
[2011-09-27 06:12:53 xend.XendDomainInfo 4808] INFO (XendDomainInfo:2528) Dev 51712 still active, looping...
[2011-09-27 06:12:53 xend.XendDomainInfo 4808] INFO (XendDomainInfo:2528) Dev 51712 still active, looping...
....
...
...
[2011-09-27 06:13:23 xend.XendDomainInfo 4808] INFO (XendDomainInfo:2528) Dev 51712 still active, looping...
[2011-09-27 06:13:23 xend.XendDomainInfo 4808] INFO (XendDomainInfo:2528) Dev 51712 still active, looping...
[2011-09-27 06:13:23 xend.XendDomainInfo 4808] INFO (XendDomainInfo:2534) Dev still active but hit max loop timeout
[2011-09-27 06:13:23 xend.XendDomainInfo 4808] DEBUG (XendDomainInfo:2312) UUID Created: False
[2011-09-27 06:13:23 xend.XendDomainInfo 4808] DEBUG (XendDomainInfo:2313) Devices to release: [], domid = 11
[2011-09-27 06:13:23 xend.XendDomainInfo 4808] DEBUG (XendDomainInfo:2317) Releasing PVFB front-end devices (uuid not created)...
[2011-09-27 06:13:23 xend.XendDomainInfo 4808] DEBUG (XendDomainInfo:2325) Releasing PVFB backend devices
If anyone has thoughts or if I can provide more info, please let me know.

trispad
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Myricom 10Gb PCI Card Detected on PCI Bus but not mapped jeriryan Linux - Hardware 1 01-23-2011 02:09 AM
Get grub to boot from no raid SATA controller pci card sparkbot Linux - Software 6 11-17-2006 05:40 PM
PCI SATA RAID Controller Freaksta Linux - Hardware 0 06-21-2004 02:57 PM
anyone got an InnoVision EIO AP-1680 ATA133 RAID PCI controller card? Jestrik Linux - Hardware 0 12-26-2003 09:50 PM
PCI Raid Controller Finlay Linux - Hardware 1 06-30-2003 01:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 08:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration