[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Help with VGA passthrough
[root@xs ~]# lsmod | grep pciback [root@xs ~]# echo $? 1 [root@xs ~]# modprobe pciback FATAL: Module pciback not found. [root@xs ~]# zgrep -e '^CONFIG_XEN_PCI' /proc/config.gz CONFIG_XEN_PCIDEV_FRONTEND=y CONFIG_XEN_PCIDEV_BACKEND=y CONFIG_XEN_PCIDEV_BACKEND_VPCI=y Well looks like its compiled into the kernel so that's good news. Xenserver 6.2 appears to be a CentOS 5.x (maybe 5.6) box. I installed the proprietary drivers in an Ubuntu 12.04 LTS VM, and it won't get past the splash screen (xencenter display) now after gpu assignment (console or gui). The Ubuntu drivers appear to do nothing; however: $ dmesg | grep -E '(fglrx|ATI|radeon|pci)' [ 0.188377] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug [ 0.251997] pci_bus 0000:00: root bus resource [bus 00-ff] [ 0.252000] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7] [ 0.252000] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff] [ 0.252000] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff] [ 0.252000] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xfbffffff] [ 0.252062] pci 0000:00:00.0: [8086:1237] type 00 class 0x060000 [ 0.253138] pci 0000:00:01.0: [8086:7000] type 00 class 0x060100 [ 0.254100] pci 0000:00:01.1: [8086:7010] type 00 class 0x010180 [ 0.254730] pci 0000:00:01.1: reg 0x20: [io 0xc320-0xc32f] [ 0.255652] pci 0000:00:01.2: [8086:7020] type 00 class 0x0c0300 [ 0.256222] pci 0000:00:01.2: reg 0x20: [io 0xc300-0xc31f] [ 0.257100] pci 0000:00:01.3: [8086:7113] type 00 class 0x068000 [ 0.257833] pci 0000:00:01.3: quirk: [io 0x1f40-0x1f7f] claimed by PIIX4 ACPI [ 0.258529] pci 0000:00:02.0: [1013:00b8] type 00 class 0x030000 [ 0.258684] pci 0000:00:02.0: reg 0x10: [mem 0xf0000000-0xf1ffffff pref] [ 0.258799] pci 0000:00:02.0: reg 0x14: [mem 0xf3044000-0xf3044fff] [ 0.259758] pci 0000:00:03.0: [5853:0001] type 00 class 0x010000 [ 0.259970] pci 0000:00:03.0: reg 0x10: [io 0xc000-0xc0ff] [ 0.260101] pci 0000:00:03.0: reg 0x14: [mem 0xf2000000-0xf2ffffff pref] [ 0.261722] pci 0000:00:05.0: [1002:6779] type 00 class 0x030000 [ 0.268018] pci 0000:00:05.0: reg 0x10: [mem 0xe0000000-0xefffffff 64bit pref] [ 0.276017] pci 0000:00:05.0: reg 0x18: [mem 0xf3000000-0xf301ffff 64bit] [ 0.284008] pci 0000:00:05.0: reg 0x20: [io 0xc200-0xc2ff] [ 0.300024] pci 0000:00:05.0: reg 0x30: [mem 0xf3020000-0xf303ffff pref] [ 0.301115] pci 0000:00:05.0: supports D1 D2 [ 0.301887] pci 0000:00:06.0: [1002:aa98] type 00 class 0x040300 [ 0.302169] pci 0000:00:06.0: reg 0x10: [mem 0xf3040000-0xf3043fff 64bit] [ 0.303969] pci 0000:00:06.0: supports D1 D2 [ 0.332081] PCI: pci_cache_line_size set to 64 bytes [ 1.309926] pci_bus 0000:00: resource 4 [io 0x0000-0x0cf7] [ 1.309930] pci_bus 0000:00: resource 5 [io 0x0d00-0xffff] [ 1.309933] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff] [ 1.309935] pci_bus 0000:00: resource 7 [mem 0xe0000000-0xfbffffff] [ 1.310908] pci 0000:00:00.0: Limiting direct PCI/PCI transfers [ 1.310954] pci 0000:00:01.0: PIIX3: Enabling Passive Release [ 1.311000] pci 0000:00:01.0: Activating ISA DMA hang workarounds [ 1.312047] pci 0000:00:02.0: Boot video device [ 1.312215] pci 0000:00:05.0: Boot video device [ 1.534735] pci_hotplug: PCI Hot Plug PCI Core version: 0.5 [ 1.534744] pciehp: PCI Express Hot Plug Controller Driver version: 0.4 [ 1.576902] ehci-pci: EHCI PCI platform driver [ 1.576942] ohci-pci: OHCI PCI platform driver [ 1.692123] xenbus_probe_frontend: Device with no driver: device/pci/0 [ 6.180380] fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel. [ 6.185911] fglrx: module verification failed: signature and/or required key missing - tainting kernel [ 6.193979] <6>[fglrx] Maximum main memory to use for locked dma buffers: 7247 MBytes. [ 6.194094] <6>[fglrx] vendor: 1002 device: 6779 count: 1 [ 6.194835] <6>[fglrx] ioport: bar 4, base 0xc200, size: 0x100 [ 6.195932] <6>[fglrx] Kernel PAT support is enabled [ 6.195960] <6>[fglrx] module loaded - fglrx 14.10.2 [May 5 2014] with 1 minors [ 6.753214] input: QEMU 0.10.2 QEMU USB Tablet as /devices/pci0000:00/0000:00:01.2/usb1/1-2/1-2:1.0/input/input3 [ 6.764783] input: HD-Audio Generic HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:06.0/sound/card0/input4 [ 11.494543] <6>[fglrx] Firegl kernel thread PID: 1260 [ 11.494773] <6>[fglrx] Firegl kernel thread PID: 1261 [ 11.495004] <6>[fglrx] Firegl kernel thread PID: 1262 [ 11.495154] <6>[fglrx] IRQ 78 Enabled [ 11.541569] <6>[fglrx] Reserved FB block: Shared offset:0, size:1000000 [ 11.541571] <6>[fglrx] Reserved FB block: Unshared offset:f838000, size:4000 [ 11.541572] <6>[fglrx] Reserved FB block: Unshared offset:f83c000, size:4c4000 [ 11.541573] <6>[fglrx] Reserved FB block: Unshared offset:7fff4000, size:c000 So my last boot I got in via SSH, however the displays aren't working. I first tried the HDMI (HDMI - HDMI) display then the DVI (DVI -> DisplayPort) display and my monitor isn't showing anything. Wodnering what I'm missing to get this display up and running. - Brian Menges Principal Engineer, DevOps GoGrid | ServePath | ColoServe | UpStream Networks -----Original Message----- From: xen-users-bounces@xxxxxxxxxxxxx [mailto:xen-users-bounces@xxxxxxxxxxxxx] On Behalf Of Gordan Bobic Sent: Wednesday, June 25, 2014 22:55 To: xen-users@xxxxxxxxxxxxxxxxxxxx Subject: Re: [Xen-users] Help with VGA passthrough On 06/26/2014 12:04 AM, Brian Menges wrote: > I've read through these, however I'm on xenserver 6.2 and would rather > not hack the ramdisk because any future update would obliterate that > (most likely). Not if you modify the dracut scripts to do the right ting. AFAIK XenServer is based on EL. > Per gordon's request, I've reset my system back to factory and here > are the lspci/dmesg/xl dmesg. > > I can confirm that I do not load any radeon or radeon related drivers > in dom0, however I cannot seem to hide the pci bus for it. Are the > modules missing for XenServer 6.2 (xen 4.1.5) ? Not loading the radeon driver is good. The PCI bus should not be hidden, the device you are passing through should just be owned by the xen-pciback driver (which the xl command for making the device assignable will do for you if you aren't pre-loading xen-pciback with appropriate options. > The citrix support guide says nothing about hiding the device at all > (which I tried the extboot.conf stuff to hide the pci devices to no avail). You _shouldn't_ be doing this anyway. All you can do is detach the device to make it disappear, but then you won't be able to pass it through. > If there's a way to confirm xen-pcihide or whichever it is (many > articles .. two names, not sure which is right) as loaded on xenserver > 6.2 that'd be appreciated. lsmod | grep pciback > I have in blacklist.conf: > > blacklist radeon > > blacklist fglrx > > We shouldn't ever touch those two modules... so I should be good for > passthrough right? Yes. Gordan _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx http://lists.xen.org/xen-users ________________________________ The information contained in this message, and any attachments, may contain confidential and legally privileged material. It is solely for the use of the person or entity to which it is addressed. Any review, retransmission, dissemination, or action taken in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you receive this in error, please contact the sender and delete the material from any computer. _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx http://lists.xen.org/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |