Dear David Techer, I have read through your article on Xen VGA passthrough on http://www.davidgis.fr. It appears that the following command on your blog doesn''t work. dmesg | grep 01:00.0 | grep BAR The above command shows nothing at all. Is there an alternative solution? Thank you very much. Yours sincerely, Teo En Ming (Zhang Enming)
Hi Teo, The 3 first lines with pattern ''pci.*mem'' need to be returned U need to use somethign like root@gemini:~# lspci |grep VGA 02:00.0 VGA compatible controller: nVidia Corporation Device 0ca2 (rev a2) root@gemini:~# dmesg|grep 02:00.0 |grep '' pci [0-9].*mem''|head -n3 [ 0.174458] pci 0000:02:00.0: reg 10: [mem 0xfb000000-0xfbffffff] [ 0.174466] pci 0000:02:00.0: reg 14: [mem 0xd0000000-0xdfffffff 64bit pref] [ 0.174475] pci 0000:02:00.0: reg 1c: [mem 0xee000000-0xefffffff 64bit pref] Kind regards ________________________________ De : Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@gmail.com> À : "xen-users@lists.xen.org" <xen-users@lists.xen.org>; David TECHER <davidtecher@yahoo.fr>; Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@gmail.com> Envoyé le : Mardi 20 mars 2012 8h39 Objet : Xen VGA Passthrough Questions Dear David Techer, I have read through your article on Xen VGA passthrough on http://www.davidgis.fr. It appears that the following command on your blog doesn''t work. dmesg | grep 01:00.0 | grep BAR The above command shows nothing at all. Is there an alternative solution? Thank you very much. Yours sincerely, Teo En Ming (Zhang Enming) _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
You''re welcome. Keep in mind that if you are going to upgrade BIOS for your motherboard, those values for your card may changed. I was in this situation last time BIOS was upgraded. It does mean that those values will changed each time you upgrade your motherboad BIOS but having thos values changed after a BIOS upgrade could occur for a specific upgrade. Don''t ask me why...I do not know. So you will be well advised to heck those values for each BIOS upgrade. Moreover don''t waste your time to test VGA PassThrough for NVIDIA for Windows 7. For Windows 7 use ATI. I did my tests for playing with wine 1.4/1.5 on domU Ubuntu Lucid 10.04.4 PV HVM (game like Crysis 2) and it rocks :) My configuration: Manufacturer: MSI / Product Name: H61MU-E35 (MS-7680) Bios version: V10.11 ________________________________ De : Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@gmail.com> À : David TECHER <davidtecher@yahoo.fr> Cc : "xen-users@lists.xen.org" <xen-users@lists.xen.org>; Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@gmail.com> Envoyé le : Mardi 20 mars 2012 16h02 Objet : Re: Re : Xen VGA Passthrough Questions Dear David Techer, Thank you. I think the following command is sufficient. dmesg | grep 01:00.0 | grep "pci.*mem" Yours sincerely, Teo En Ming (Zhang Enming) On 20/03/2012 17:54, David TECHER wrote: Hi Teo,> > >The 3 first lines with pattern ''pci.*mem'' need to be returned > > > >U need to use somethign like > > > >root@gemini:~# lspci |grep VGA >02:00.0 VGA compatible controller: nVidia Corporation Device0ca2 (rev a2)>root@gemini:~# dmesg|grep 02:00.0 |grep '' pci[0-9].*mem''|head -n3>[ 0.174458] pci 0000:02:00.0: reg 10: [mem0xfb000000-0xfbffffff]>[ 0.174466] pci 0000:02:00.0: reg 14: [mem0xd0000000-0xdfffffff 64bit pref]>[ 0.174475] pci 0000:02:00.0: reg 1c: [mem0xee000000-0xefffffff 64bit pref]> > > >Kind regards > > > > > > >________________________________ > De : Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@gmail.com> >À : "xen-users@lists.xen.org" <xen-users@lists.xen.org>; David TECHER <davidtecher@yahoo.fr>; Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@gmail.com> >Envoyé le : Mardi 20 mars 2012 8h39 >Objet : Xen VGA Passthrough Questions > >Dear David Techer, > >I have read through your article on Xen VGA passthrough on http://www.davidgis.fr. > >It appears that the following command on your blog doesn''twork.> >dmesg | grep 01:00.0 | grep BAR > >The above command shows nothing at all. Is there analternative solution?> >Thank you very much. > >Yours sincerely, > >Teo En Ming (Zhang Enming) > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Teo En Ming (Zhang Enming)
2012-Mar-20 15:39 UTC
Re: Re : Re : Xen VGA Passthrough Questions
Hello, Supposedly both the board & CPU must have VT-d, the E6300 does not: http://ark.intel.com/products/41493/Intel-Pentium-Processor-E6300-(2M-Cache-2_80-GHz-1066-MHz-FSB) If pciback was compiled into your kernel (not a module) then you can add "xen-pciback.hide=(01:00.0)" to the module line in your grub.cfg, substituting your lspci device names. nVidia supposedly requires patches and only works in Windows XP, there are a few Windows 7 success stories, but they seem rare. Most people have success without patches using AMD cards. Best of luck. ~Casey DeLorme On Tue, Mar 20, 2012 at 11:39 AM, Teo En Ming (Zhang Enming) < singapore.mr.teo.en.ming@gmail.com> wrote:> Dear David Techer and others, > > I thought Intel H61 chipset and MSI motherboards officially don''t support > VT-x and VT-d? There is no VT-d enabling option in MSI motherboard BIOS. > > I want to test Xen VGA passthrough for Windows 8 Consumer Preview 64-bit > English HVM domU with my Intel DQ45CB motherboard and Intel Pentium Dual > Core E6300 2800 MHz. > > By the way, I am using Linux kernel 3.3.0 Final. Should I use PCIBACK or > PCI-STUB? If I use pciback, what arguments should I parse to the kernel > command line in GRUB2? Please point me to the documentation for kernel > command line arguments in the linux kernel source tree. > > My graphics card: Palit NVIDIA Geforce 8400 GS PCI Express x16 SGD$44 > > > Thank you very much. > > Yours sincerely, > > Teo En Ming (Zhang Enming) > > > On 20/03/2012 23:17, David TECHER wrote: > > You''re welcome. > > Keep in mind that if you are going to upgrade BIOS for your motherboard, > those values for your card may changed. > > I was in this situation last time BIOS was upgraded. > > It does mean that those values will changed each time you upgrade your > motherboad BIOS but having thos values changed after a BIOS upgrade could > occur for a specific upgrade. > > Don''t ask me why...I do not know. > > So you will be well advised to heck those values for each BIOS upgrade. > > Moreover don''t waste your time to test VGA PassThrough for NVIDIA for > Windows 7. For Windows 7 use ATI. > > I did my tests for playing with wine 1.4/1.5 on domU Ubuntu Lucid > 10.04.4 PV HVM (game like Crysis 2) and it rocks :) > > My configuration: > > Manufacturer: MSI / Product Name: H61MU-E35 (MS-7680) > Bios version: V10.11 > > > > ------------------------------ > *De :* Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@gmail.com><singapore.mr.teo.en.ming@gmail.com> > *À :* David TECHER <davidtecher@yahoo.fr> <davidtecher@yahoo.fr> > *Cc :* "xen-users@lists.xen.org" <xen-users@lists.xen.org> > <xen-users@lists.xen.org> <xen-users@lists.xen.org>; Teo En Ming (Zhang > Enming) <singapore.mr.teo.en.ming@gmail.com><singapore.mr.teo.en.ming@gmail.com> > *Envoyé le :* Mardi 20 mars 2012 16h02 > *Objet :* Re: Re : Xen VGA Passthrough Questions > > Dear David Techer, > > Thank you. > > I think the following command is sufficient. > > dmesg | grep 01:00.0 | grep "pci.*mem" > > Yours sincerely, > > Teo En Ming (Zhang Enming) > > On 20/03/2012 17:54, David TECHER wrote: > > Hi Teo, > > The 3 first lines with pattern ''pci.*mem'' need to be returned > > U need to use somethign like > > root@gemini:~# lspci |grep VGA > 02:00.0 VGA compatible controller: nVidia Corporation Device 0ca2 (rev a2) > root@gemini:~# dmesg|grep 02:00.0 |grep '' pci [0-9].*mem''|head -n3 > [ 0.174458] pci 0000:02:00.0: reg 10: [mem 0xfb000000-0xfbffffff] > [ 0.174466] pci 0000:02:00.0: reg 14: [mem 0xd0000000-0xdfffffff 64bit > pref] > [ 0.174475] pci 0000:02:00.0: reg 1c: [mem 0xee000000-0xefffffff 64bit > pref] > > Kind regards > > > ------------------------------ > *De :* Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@gmail.com><singapore.mr.teo.en.ming@gmail.com> > *À :* "xen-users@lists.xen.org" <xen-users@lists.xen.org> > <xen-users@lists.xen.org> <xen-users@lists.xen.org>; David TECHER > <davidtecher@yahoo.fr> <davidtecher@yahoo.fr>; Teo En Ming (Zhang Enming) > <singapore.mr.teo.en.ming@gmail.com> <singapore.mr.teo.en.ming@gmail.com> > *Envoyé le :* Mardi 20 mars 2012 8h39 > *Objet :* Xen VGA Passthrough Questions > > Dear David Techer, > > I have read through your article on Xen VGA passthrough on > http://www.davidgis.fr. > > It appears that the following command on your blog doesn''t work. > > dmesg | grep 01:00.0 | grep BAR > > The above command shows nothing at all. Is there an alternative solution? > > Thank you very much. > > Yours sincerely, > > Teo En Ming (Zhang Enming) > > > > > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xen.org > http://lists.xen.org/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Teo En Ming (Zhang Enming)
2012-Mar-21 04:06 UTC
Re: Re : Re : Xen VGA Passthrough Questions
Teo En Ming (Zhang Enming)
2012-Mar-21 04:17 UTC
How to Stop lightdm Display Manager and X.org X Server in UBUNTU 11.10 and Unload nouveau Kernel Module? (Xen VGA Passthrough)
You need to add nouveau.blacklist=1 in the grub.cfg of your domU Have access to partition table of your domU using kpartx kpart -va /dev/path/to/your/LVM/domU mount /dev/mapper/.../.... /path/where/to/mount vim //path/where/to/mount/boot/grub/grub.cfg add nouveau.blacklist=1 to the module line. Umount /path/where/to/mount kpart -vd /dev/path/to/your/LVM/domU boot your domU Install NVIDIA driver. ________________________________ De : Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@gmail.com> À : Casey DeLorme <cdelorme@gmail.com> Cc : David TECHER <davidtecher@yahoo.fr>; "xen-users@lists.xen.org" <xen-users@lists.xen.org>; Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@gmail.com> Envoyé le : Mercredi 21 mars 2012 5h06 Objet : Re: [Xen-users] Re : Re : Xen VGA Passthrough Questions Hi, How do I stop lightdm display manager and X.org server in Ubuntu 11.10 and unload the nouveau vga driver? I can run "sudo killall lightdm" and lightdm and X.org X server will be terminated successfully, but I cannot force nouveau to unload at all. It always say nouveau module is in use even if I use "sudo modprobe --force --remove nouveau". I need to unload the following kernel modules for successful Xen VGA passthrough. rmmod nouveau rmmod ttm rmmod drm_kms_helper rmmod drm Please read Deactivating KMS and unloading Nouveau at http://nouveau.freedesktop.org/wiki/KernelModeSetting But setting "echo 0 > /sys/class/vtconsole/vtcon1/bind" causes the display to hang and I can''t do anything more at all. I can''t force nouveau,ttm,drm_kms_helper,drm kernel modules to unload. Help!!! Also, if I add xen-pciback.hide=(01:00.0) to the module line in GRUB2, the display turns blank while booting and I can''t do anything at all. Any ideas? Thank you very much. Yours sincerely, Teo En Ming (Zhang Enming) On 21/03/2012 00:36, Casey DeLorme wrote: Hello,> > >Supposedly both the board & CPU must have VT-d, the E6300 does not: >http://ark.intel.com/products/41493/Intel-Pentium-Processor-E6300-(2M-Cache-2_80-GHz-1066-MHz-FSB) > > >If pciback was compiled into your kernel (not a module) then you can add "xen-pciback.hide=(01:00.0)" to the module line in your grub.cfg, substituting your lspci device names. > > >nVidia supposedly requires patches and only works in Windows XP, there are a few Windows 7 success stories, but they seem rare. Most people have success without patches using AMD cards. > > >Best of luck. > > >~Casey DeLorme > > > > >On Tue, Mar 20, 2012 at 11:39 AM, Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@gmail.com> wrote: > >Dear David Techer and others, >> >>I thought Intel H61 chipset and MSI motherboardsofficially don''t support VT-x and VT-d? There is no VT-d enabling option in MSI motherboard BIOS.>> >>I want to test Xen VGA passthrough for Windows 8 ConsumerPreview 64-bit English HVM domU with my Intel DQ45CB motherboard and Intel Pentium Dual Core E6300 2800 MHz.>> >>By the way, I am using Linux kernel 3.3.0 Final. Should Iuse PCIBACK or PCI-STUB? If I use pciback, what arguments should I parse to the kernel command line in GRUB2? Please point me to the documentation for kernel command line arguments in the linux kernel source tree.>> >>My graphics card: Palit NVIDIA Geforce 8400 GS PCI Expressx16 SGD$44>> >> >>Thank you very much. >> >>Yours sincerely, >> >>Teo En Ming (Zhang Enming) >> >> >> >>On 20/03/2012 23:17, David TECHER wrote: >>You''re welcome. >>> >>> >>>Keep in mind that if you are going to upgrade BIOS for your motherboard, those values for your card may changed. >>> >>> >>>I was in this situation last time BIOS was upgraded. >>> >>> >>>It does mean that those values will changed each time you upgrade your motherboad BIOS but having thos values changed after a BIOS upgrade could occur for a specific upgrade. >>> >>> >>>Don''t ask me why...I do not know. >>> >>> >>>So you will be well advised to heck those values for each BIOS upgrade. >>> >>> >>>Moreover don''t waste your time to test VGA PassThrough for NVIDIA for Windows 7. For Windows 7 use ATI. >>> >>> >>> >>>I did my tests for playing with wine 1.4/1.5 on domU Ubuntu Lucid 10.04.4 PV HVM (game like Crysis 2) and it rocks :) >>> >>> >>> >>>My configuration: >>> >>> >>>Manufacturer: MSI / Product Name: H61MU-E35 (MS-7680) >>> >>>Bios version: V10.11 >>> >>> >>> >>> >>> >>> >>> >>> >>>________________________________ >>> De : Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@gmail.com> >>>À : David TECHER <davidtecher@yahoo.fr> >>>Cc : "xen-users@lists.xen.org" <xen-users@lists.xen.org>; Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@gmail.com> >>>Envoyé le : Mardi 20 mars 2012 16h02 >>>Objet : Re: Re : Xen VGA Passthrough Questions >>> >>> >>>Dear David Techer, >>> >>>Thank you. >>> >>>I think the following command issufficient.>>> >>>dmesg | grep 01:00.0 | grep "pci.*mem" >>> >>>Yours sincerely, >>> >>>Teo En Ming (Zhang Enming) >>> >>>On 20/03/2012 17:54, David TECHER wrote: >>>Hi Teo, >>>> >>>> >>>>The 3 first lines with pattern ''pci.*mem'' need to be returned >>>> >>>> >>>> >>>>U need to use somethign like >>>> >>>> >>>> >>>>root@gemini:~# lspci |grep VGA >>>>02:00.0 VGA compatible controller:nVidia Corporation Device 0ca2 (rev a2)>>>>root@gemini:~# dmesg|grep 02:00.0|grep '' pci [0-9].*mem''|head -n3>>>>[ 0.174458] pci 0000:02:00.0:reg 10: [mem 0xfb000000-0xfbffffff]>>>>[ 0.174466] pci 0000:02:00.0:reg 14: [mem 0xd0000000-0xdfffffff 64bit pref]>>>>[ 0.174475] pci 0000:02:00.0:reg 1c: [mem 0xee000000-0xefffffff 64bit pref]>>>> >>>> >>>> >>>>Kind regards >>>> >>>> >>>> >>>> >>>> >>>> >>>>________________________________ >>>> De : Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@gmail.com> >>>>À : "xen-users@lists.xen.org" <xen-users@lists.xen.org>; David TECHER <davidtecher@yahoo.fr>; Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@gmail.com> >>>>Envoyé le : Mardi 20 mars 2012 8h39 >>>>Objet : Xen VGA Passthrough Questions >>>> >>>>Dear David Techer, >>>> >>>>I have read through your articleon Xen VGA passthrough on http://www.davidgis.fr.>>>> >>>>It appears that the followingcommand on your blog doesn''t work.>>>> >>>>dmesg | grep 01:00.0 | grep BAR >>>> >>>>The above command shows nothing atall. Is there an alternative solution?>>>> >>>>Thank you very much. >>>> >>>>Yours sincerely, >>>> >>>>Teo En Ming (Zhang Enming) >>>> >>>> >>>> >>> >>> >>> >> >>_______________________________________________ >>Xen-users mailing list >>Xen-users@lists.xen.org >>http://lists.xen.org/xen-users >> >_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
You need to add nouveau.blacklist=1 in the module line of grub.cfg To do for a domU =========== Have access to partition table of your domU using kpartx kpart -va /dev/path/to/your/LVM/domU mount /dev/mapper/.../.... /path/where/to/mount vim //path/where/to/mount/boot/grub/grub.cfg add nouveau.blacklist=1 to the module line. Umount /path/where/to/mount kpart -vd /dev/path/to/your/LVM/domU boot your domU Install NVIDIA driver. ________________________________ De : David TECHER <davidtecher@yahoo.fr> À : Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@gmail.com>; Casey DeLorme <cdelorme@gmail.com> Cc : "xen-users@lists.xen.org" <xen-users@lists.xen.org> Envoyé le : Mercredi 21 mars 2012 10h25 Objet : Re : [Xen-users] Re : Re : Xen VGA Passthrough Questions You need to add nouveau.blacklist=1 in the grub.cfg of your domU Have access to partition table of your domU using kpartx kpart -va /dev/path/to/your/LVM/domU mount /dev/mapper/.../.... /path/where/to/mount vim //path/where/to/mount/boot/grub/grub.cfg add nouveau.blacklist=1 to the module line. Umount /path/where/to/mount kpart -vd /dev/path/to/your/LVM/domU boot your domU Install NVIDIA driver. ________________________________ De : Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@gmail.com> À : Casey DeLorme <cdelorme@gmail.com> Cc : David TECHER <davidtecher@yahoo.fr>; "xen-users@lists.xen.org" <xen-users@lists.xen.org>; Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@gmail.com> Envoyé le : Mercredi 21 mars 2012 5h06 Objet : Re: [Xen-users] Re : Re : Xen VGA Passthrough Questions Hi, How do I stop lightdm display manager and X.org server in Ubuntu 11.10 and unload the nouveau vga driver? I can run "sudo killall lightdm" and lightdm and X.org X server will be terminated successfully, but I cannot force nouveau to unload at all. It always say nouveau module is in use even if I use "sudo modprobe --force --remove nouveau". I need to unload the following kernel modules for successful Xen VGA passthrough. rmmod nouveau rmmod ttm rmmod drm_kms_helper rmmod drm Please read Deactivating KMS and unloading Nouveau at http://nouveau.freedesktop.org/wiki/KernelModeSetting But setting "echo 0 > /sys/class/vtconsole/vtcon1/bind" causes the display to hang and I can''t do anything more at all. I can''t force nouveau,ttm,drm_kms_helper,drm kernel modules to unload. Help!!! Also, if I add xen-pciback.hide=(01:00.0) to the module line in GRUB2, the display turns blank while booting and I can''t do anything at all. Any ideas? Thank you very much. Yours sincerely, Teo En Ming (Zhang Enming) On 21/03/2012 00:36, Casey DeLorme wrote: Hello,> > >Supposedly both the board & CPU must have VT-d, the E6300 does not: >http://ark.intel.com/products/41493/Intel-Pentium-Processor-E6300-(2M-Cache-2_80-GHz-1066-MHz-FSB) > > >If pciback was compiled into your kernel (not a module) then you can add "xen-pciback.hide=(01:00.0)" to the module line in your grub.cfg, substituting your lspci device names. > > >nVidia supposedly requires patches and only works in Windows XP, there are a few Windows 7 success stories, but they seem rare. Most people have success without patches using AMD cards. > > >Best of luck. > > >~Casey DeLorme > > > > >On Tue, Mar 20, 2012 at 11:39 AM, Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@gmail.com> wrote: > >Dear David Techer and others, >> >>I thought Intel H61 chipset and MSI motherboardsofficially don''t support VT-x and VT-d? There is no VT-d enabling option in MSI motherboard BIOS.>> >>I want to test Xen VGA passthrough for Windows 8 ConsumerPreview 64-bit English HVM domU with my Intel DQ45CB motherboard and Intel Pentium Dual Core E6300 2800 MHz.>> >>By the way, I am using Linux kernel 3.3.0 Final. Should Iuse PCIBACK or PCI-STUB? If I use pciback, what arguments should I parse to the kernel command line in GRUB2? Please point me to the documentation for kernel command line arguments in the linux kernel source tree.>> >>My graphics card: Palit NVIDIA Geforce 8400 GS PCI Expressx16 SGD$44>> >> >>Thank you very much. >> >>Yours sincerely, >> >>Teo En Ming (Zhang Enming) >> >> >> >>On 20/03/2012 23:17, David TECHER wrote: >>You''re welcome. >>> >>> >>>Keep in mind that if you are going to upgrade BIOS for your motherboard, those values for your card may changed. >>> >>> >>>I was in this situation last time BIOS was upgraded. >>> >>> >>>It does mean that those values will changed each time you upgrade your motherboad BIOS but having thos values changed after a BIOS upgrade could occur for a specific upgrade. >>> >>> >>>Don''t ask me why...I do not know. >>> >>> >>>So you will be well advised to heck those values for each BIOS upgrade. >>> >>> >>>Moreover don''t waste your time to test VGA PassThrough for NVIDIA for Windows 7. For Windows 7 use ATI. >>> >>> >>> >>>I did my tests for playing with wine 1.4/1.5 on domU Ubuntu Lucid 10.04.4 PV HVM (game like Crysis 2) and it rocks :) >>> >>> >>> >>>My configuration: >>> >>> >>>Manufacturer: MSI / Product Name: H61MU-E35 (MS-7680) >>> >>>Bios version: V10.11 >>> >>> >>> >>> >>> >>> >>> >>> >>>________________________________ >>> De : Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@gmail.com> >>>À : David TECHER <davidtecher@yahoo.fr> >>>Cc : "xen-users@lists.xen.org" <xen-users@lists.xen.org>; Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@gmail.com> >>>Envoyé le : Mardi 20 mars 2012 16h02 >>>Objet : Re: Re : Xen VGA Passthrough Questions >>> >>> >>>Dear David Techer, >>> >>>Thank you. >>> >>>I think the following command issufficient.>>> >>>dmesg | grep 01:00.0 | grep "pci.*mem" >>> >>>Yours sincerely, >>> >>>Teo En Ming (Zhang Enming) >>> >>>On 20/03/2012 17:54, David TECHER wrote: >>>Hi Teo, >>>> >>>> >>>>The 3 first lines with pattern ''pci.*mem'' need to be returned >>>> >>>> >>>> >>>>U need to use somethign like >>>> >>>> >>>> >>>>root@gemini:~# lspci |grep VGA >>>>02:00.0 VGA compatible controller:nVidia Corporation Device 0ca2 (rev a2)>>>>root@gemini:~# dmesg|grep 02:00.0|grep '' pci [0-9].*mem''|head -n3>>>>[ 0.174458] pci 0000:02:00.0:reg 10: [mem 0xfb000000-0xfbffffff]>>>>[ 0.174466] pci 0000:02:00.0:reg 14: [mem 0xd0000000-0xdfffffff 64bit pref]>>>>[ 0.174475] pci 0000:02:00.0:reg 1c: [mem 0xee000000-0xefffffff 64bit pref]>>>> >>>> >>>> >>>>Kind regards >>>> >>>> >>>> >>>> >>>> >>>> >>>>________________________________ >>>> De : Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@gmail.com> >>>>À : "xen-users@lists.xen.org" <xen-users@lists.xen.org>; David TECHER <davidtecher@yahoo.fr>; Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@gmail.com> >>>>Envoyé le : Mardi 20 mars 2012 8h39 >>>>Objet : Xen VGA Passthrough Questions >>>> >>>>Dear David Techer, >>>> >>>>I have read through your articleon Xen VGA passthrough on http://www.davidgis.fr.>>>> >>>>It appears that the followingcommand on your blog doesn''t work.>>>> >>>>dmesg | grep 01:00.0 | grep BAR >>>> >>>>The above command shows nothing atall. Is there an alternative solution?>>>> >>>>Thank you very much. >>>> >>>>Yours sincerely, >>>> >>>>Teo En Ming (Zhang Enming) >>>> >>>> >>>> >>> >>> >>> >> >>_______________________________________________ >>Xen-users mailing list >>Xen-users@lists.xen.org >>http://lists.xen.org/xen-users >> >_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Teo En Ming (Zhang Enming)
2012-Mar-21 10:02 UTC
Re: Re : Re : Re : Xen VGA Passthrough Questions
My domU Windows XP works perfectly with changeset 25070 Did you read http://wiki.xen.org/wiki/Xen_VGA_Passthrough carefully? As noticed in your document I am not used to compil my kernel using make world I''ve got a doubt about building your kernel this way, your kernel will have all required support for VGA PassThrough I''m used to compil from 3.1.10 Extract from documentation on Wiki ========= Xen VGA passthru requirements from dom0 kernel Make sure your dom0 Linux kernel has "CONFIG_XEN_PCIDEV_BACKEND_PASS" option enabled. "CONFIG_XEN_PCIDEV_BACKEND_VPCI" should be disabled. For example Debian Squeeze 2.6.32 kernel has the wrong PCIDEV_BACKEND mode as a default.. so in that case you might need to recompile the kernel with custom .config to get the right backend mode in use. BACKEND_PASS mode means the PCI IDs of the PCI device (graphics card) will be the same in the VM as in dom0/host. ============== So you need to download kernel 3.3 sources and compil it properly. Tonight (EST Time so in more than 8 hours ) I will have a try for kernel 3.3 and see if I have the same error an will let you know. ________________________________ De : Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@gmail.com> À : David TECHER <davidtecher@yahoo.fr> Cc : Casey DeLorme <cdelorme@gmail.com>; "xen-users@lists.xen.org" <xen-users@lists.xen.org>; Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@gmail.com> Envoyé le : Mercredi 21 mars 2012 11h02 Objet : Re: Re : [Xen-users] Re : Re : Xen VGA Passthrough Questions Dear David Techer, Thank you for your reply. I am using Windows XP / Windows 8 Consumer Preview HVM domU and not Linux HVM domU. Please read my Xen VGA Passthrough - Version 1.0.PDF and see whether I am missing out or making any wrong steps. Yours sincerely, Teo En Ming (Zhang Enming) On 21/03/2012 17:25, David TECHER wrote: You need to add nouveau.blacklist=1 in the grub.cfg of your domU> >Have access to partition table of your domU using kpartx > >kpart -va /dev/path/to/your/LVM/domU > >mount /dev/mapper/.../.... /path/where/to/mount > >vim //path/where/to/mount/boot/grub/grub.cfg > >add nouveau.blacklist=1 to the module line. > >Umount /path/where/to/mount > >kpart -vd /dev/path/to/your/LVM/domU > >boot your domU > >Install NVIDIA driver. > > > > > > >________________________________ > De : Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@gmail.com> >À : Casey DeLorme <cdelorme@gmail.com> >Cc : David TECHER <davidtecher@yahoo.fr>; "xen-users@lists.xen.org" <xen-users@lists.xen.org>; Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@gmail.com> >Envoyé le : Mercredi 21 mars 2012 5h06 >Objet : Re: [Xen-users] Re : Re : Xen VGA Passthrough Questions > > >Hi, > >How do I stop lightdm display manager and X.org serverin Ubuntu 11.10 and unload the nouveau vga driver?> >I can run "sudo killall lightdm" and lightdm and X.org Xserver will be terminated successfully, but I cannot force nouveau to unload at all. It always say nouveau module is in use even if I use "sudo modprobe --force --remove nouveau".> >I need to unload the following kernel modules forsuccessful Xen VGA passthrough.> >rmmod nouveau rmmod ttm rmmod drm_kms_helper rmmod drm Please read Deactivating KMS and unloading Nouveau at http://nouveau.freedesktop.org/wiki/KernelModeSetting >But setting "echo 0 > /sys/class/vtconsole/vtcon1/bind" causes the display to hang and I can''t do anything more at all. > >I can''t force nouveau,ttm,drm_kms_helper,drm kernel modules to unload. Help!!! Also, if I add xen-pciback.hide=(01:00.0) to the module line in GRUB2, the display turns blank while booting and I can''t do anything at all. Any ideas? Thank you very much. Yours sincerely, Teo En Ming (Zhang Enming) >On 21/03/2012 00:36, Casey DeLorme wrote: >Hello, >> >> >>Supposedly both the board & CPU must have VT-d, the E6300 does not: >>http://ark.intel.com/products/41493/Intel-Pentium-Processor-E6300-(2M-Cache-2_80-GHz-1066-MHz-FSB) >> >> >>If pciback was compiled into your kernel (not a module) then you can add "xen-pciback.hide=(01:00.0)" to the module line in your grub.cfg, substituting your lspci device names. >> >> >>nVidia supposedly requires patches and only works in Windows XP, there are a few Windows 7 success stories, but they seem rare. Most people have success without patches using AMD cards. >> >> >>Best of luck. >> >> >>~Casey DeLorme >> >> >> >> >>On Tue, Mar 20, 2012 at 11:39 AM, Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@gmail.com> wrote: >> >>Dear David Techer and others, >>> >>>I thought Intel H61 chipset and MSImotherboards officially don''t support VT-x and VT-d? There is no VT-d enabling option in MSI motherboard BIOS.>>> >>>I want to test Xen VGA passthrough for Windows8 Consumer Preview 64-bit English HVM domU with my Intel DQ45CB motherboard and Intel Pentium Dual Core E6300 2800 MHz.>>> >>>By the way, I am using Linux kernel 3.3.0Final. Should I use PCIBACK or PCI-STUB? If I use pciback, what arguments should I parse to the kernel command line in GRUB2? Please point me to the documentation for kernel command line arguments in the linux kernel source tree.>>> >>>My graphics card: Palit NVIDIA Geforce 8400 GSPCI Express x16 SGD$44>>> >>> >>>Thank you very much. >>> >>>Yours sincerely, >>> >>>Teo En Ming (Zhang Enming) >>> >>> >>> >>>On 20/03/2012 23:17, David TECHER wrote: >>>You''re welcome. >>>> >>>> >>>>Keep in mind that if you are going to upgrade BIOS for your motherboard, those values for your card may changed. >>>> >>>> >>>>I was in this situation last time BIOS was upgraded. >>>> >>>> >>>>It does mean that those values will changed each time you upgrade your motherboad BIOS but having thos values changed after a BIOS upgrade could occur for a specific upgrade. >>>> >>>> >>>>Don''t ask me why...I do not know. >>>> >>>> >>>>So you will be well advised to heck those values for each BIOS upgrade. >>>> >>>> >>>>Moreover don''t waste your time to test VGA PassThrough for NVIDIA for Windows 7. For Windows 7 use ATI. >>>> >>>> >>>> >>>>I did my tests for playing with wine 1.4/1.5 on domU Ubuntu Lucid 10.04.4 PV HVM (game like Crysis 2) and it rocks :) >>>> >>>> >>>> >>>>My configuration: >>>> >>>> >>>>Manufacturer: MSI / Product Name: H61MU-E35 (MS-7680) >>>> >>>>Bios version: V10.11 >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>>________________________________ >>>> De : Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@gmail.com> >>>>À : David TECHER <davidtecher@yahoo.fr> >>>>Cc : "xen-users@lists.xen.org" <xen-users@lists.xen.org>; Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@gmail.com> >>>>Envoyé le : Mardi 20 mars 2012 16h02 >>>>Objet : Re: Re : Xen VGA Passthrough Questions >>>> >>>> >>>>Dear David Techer, >>>> >>>>Thank you. >>>> >>>>I think the following commandis sufficient.>>>> >>>>dmesg | grep 01:00.0 | grep"pci.*mem">>>> >>>>Yours sincerely, >>>> >>>>Teo En Ming (Zhang Enming) >>>> >>>>On 20/03/2012 17:54, DavidTECHER wrote:>>>>Hi Teo, >>>>> >>>>> >>>>>The 3 first lines with pattern ''pci.*mem'' need to be returned >>>>> >>>>> >>>>> >>>>>U need to use somethign like >>>>> >>>>> >>>>> >>>>>root@gemini:~# lspci |grep VGA >>>>>02:00.0 VGA compatiblecontroller: nVidia Corporation Device 0ca2 (rev a2)>>>>>root@gemini:~#dmesg|grep 02:00.0 |grep '' pci [0-9].*mem''|head -n3>>>>>[ 0.174458] pci0000:02:00.0: reg 10: [mem 0xfb000000-0xfbffffff]>>>>>[ 0.174466] pci0000:02:00.0: reg 14: [mem 0xd0000000-0xdfffffff 64bit pref]>>>>>[ 0.174475] pci0000:02:00.0: reg 1c: [mem 0xee000000-0xefffffff 64bit pref]>>>>> >>>>> >>>>> >>>>>Kind regards >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>>________________________________ >>>>> De : Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@gmail.com> >>>>>À : "xen-users@lists.xen.org" <xen-users@lists.xen.org>; David TECHER <davidtecher@yahoo.fr>; Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@gmail.com> >>>>>Envoyé le : Mardi 20 mars 2012 8h39 >>>>>Objet : Xen VGA Passthrough Questions >>>>> >>>>>Dear David Techer, >>>>> >>>>>I have read throughyour article on Xen VGA passthrough on http://www.davidgis.fr.>>>>> >>>>>It appears that thefollowing command on your blog doesn''t work.>>>>> >>>>>dmesg | grep 01:00.0 |grep BAR>>>>> >>>>>The above commandshows nothing at all. Is there an alternative solution?>>>>> >>>>>Thank you very much. >>>>> >>>>>Yours sincerely, >>>>> >>>>>Teo En Ming (ZhangEnming)>>>>> >>>>> >>>>> >>>> >>>> >>>> >>> >>>_______________________________________________ >>>Xen-users mailing list >>>Xen-users@lists.xen.org >>>http://lists.xen.org/xen-users >>> >> > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Teo En Ming (Zhang Enming)
2012-Mar-21 11:36 UTC
Re: Re : Re : Re : Re : Xen VGA Passthrough Questions
Windows XP......OK Windows 2008...KO 2008 is based on Vista. It may not work for NVIDIA. (ATI should work). I will not waste my time to help you if you don''t take into account these informations. ________________________________ De : Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@gmail.com> À : David TECHER <davidtecher@yahoo.fr> Cc : "xen-users@lists.xen.org" <xen-users@lists.xen.org>; Casey DeLorme <cdelorme@gmail.com>; Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@gmail.com> Envoyé le : Mercredi 21 mars 2012 12h36 Objet : Re: [Xen-users] Re : Re : Re : Re : Xen VGA Passthrough Questions Dear David Techer, Thank you for your reply. I am already using Linux Kernel 3.3.0 final. I will be making changes to my compilation steps for Xen 4.2-unstable changeset 25070. Let''s see how. Yours sincerely, Teo En Ming (Zhang Enming) On 21/03/2012 19:09, David TECHER wrote: My domU Windows XP works perfectly with changeset 25070> >Did you read http://wiki.xen.org/wiki/Xen_VGA_Passthrough carefully? > >As noticed in your document I am not used to compil my kernelusing> > > >make world > > >I''ve got a doubt about building your kernel this way, your kernel will have all required support for VGA PassThrough > > >I''m used to compil from 3.1.10 > > > >Extract from documentation on Wiki > > > >=========> >Xen VGA passthru requirements from dom0 kernel >Make sure your dom0 Linux kernel has "CONFIG_XEN_PCIDEV_BACKEND_PASS" option enabled. "CONFIG_XEN_PCIDEV_BACKEND_VPCI" should be disabled. For example Debian Squeeze 2.6.32 kernel has the wrong PCIDEV_BACKEND mode as a default.. so in that case you might need to recompile the kernel with custom .config to get the right backend mode in use. BACKEND_PASS mode means the PCI IDs of the PCI device (graphics card) will be the same in the VM as in dom0/host. >==============> > > >So you need to download kernel 3.3 sources and compil it properly. > > >Tonight (EST Time so in more than 8 hours ) I will have a try for kernel 3.3 and see if I have the same error an will let you know. > > > > > > > > > > > > > > > > > > > > > >________________________________ > De : Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@gmail.com> >À : David TECHER <davidtecher@yahoo.fr> >Cc : Casey DeLorme <cdelorme@gmail.com>; "xen-users@lists.xen.org" <xen-users@lists.xen.org>; Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@gmail.com> >Envoyé le : Mercredi 21 mars 2012 11h02 >Objet : Re: Re : [Xen-users] Re : Re : Xen VGA Passthrough Questions > > >Dear David Techer, > >Thank you for your reply. > >I am using Windows XP / Windows 8 Consumer Preview HVMdomU and not Linux HVM domU.> >Please read my Xen VGA Passthrough - Version 1.0.PDF andsee whether I am missing out or making any wrong steps.> >Yours sincerely, > >Teo En Ming (Zhang Enming) > >On 21/03/2012 17:25, David TECHER wrote: >You need to add nouveau.blacklist=1 in the grub.cfg of your domU >> >>Have access to partition table of your domU usingkpartx>> >>kpart -va /dev/path/to/your/LVM/domU >> >>mount /dev/mapper/.../..../path/where/to/mount>> >>vim //path/where/to/mount/boot/grub/grub.cfg >> >>add nouveau.blacklist=1 to the module line. >> >>Umount /path/where/to/mount >> >>kpart -vd /dev/path/to/your/LVM/domU >> >>boot your domU >> >>Install NVIDIA driver. >> >> >> >> >> >> >>________________________________ >> De : Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@gmail.com> >>À : Casey DeLorme <cdelorme@gmail.com> >>Cc : David TECHER <davidtecher@yahoo.fr>; "xen-users@lists.xen.org" <xen-users@lists.xen.org>; Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@gmail.com> >>Envoyé le : Mercredi 21 mars 2012 5h06 >>Objet : Re: [Xen-users] Re : Re : Xen VGA Passthrough Questions >> >> >>Hi, >> >>How do I stop lightdm display manager andX.org server in Ubuntu 11.10 and unload the nouveau vga driver?>> >>I can run "sudo killall lightdm" and lightdmand X.org X server will be terminated successfully, but I cannot force nouveau to unload at all. It always say nouveau module is in use even if I use "sudo modprobe --force --remove nouveau".>> >>I need to unload the following kernelmodules for successful Xen VGA passthrough.>> >>rmmod nouveau rmmod ttm rmmod drm_kms_helper rmmod drm Please read Deactivating KMS and unloading Nouveau at http://nouveau.freedesktop.org/wiki/KernelModeSetting >>But setting "echo 0 > /sys/class/vtconsole/vtcon1/bind" causes the display to hang and I can''t do anything more at all. >> >>I can''t force nouveau,ttm,drm_kms_helper,drm kernel modules to unload. Help!!! Also, if I add xen-pciback.hide=(01:00.0) to the module line in GRUB2, the display turns blank while booting and I can''t do anything at all. Any ideas? Thank you very much. Yours sincerely, Teo En Ming (Zhang Enming) >>On 21/03/2012 00:36, Casey DeLorme wrote: >>Hello, >>> >>> >>>Supposedly both the board & CPU must have VT-d, the E6300 does not: >>>http://ark.intel.com/products/41493/Intel-Pentium-Processor-E6300-(2M-Cache-2_80-GHz-1066-MHz-FSB) >>> >>> >>>If pciback was compiled into your kernel (not a module) then you can add "xen-pciback.hide=(01:00.0)" to the module line in your grub.cfg, substituting your lspci device names. >>> >>> >>>nVidia supposedly requires patches and only works in Windows XP, there are a few Windows 7 success stories, but they seem rare. Most people have success without patches using AMD cards. >>> >>> >>>Best of luck. >>> >>> >>>~Casey DeLorme >>> >>> >>> >>> >>>On Tue, Mar 20, 2012 at 11:39 AM, Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@gmail.com> wrote: >>> >>>Dear David Techer and others, >>>> >>>>I thought Intel H61 chipset andMSI motherboards officially don''t support VT-x and VT-d? There is no VT-d enabling option in MSI motherboard BIOS.>>>> >>>>I want to test Xen VGA passthroughfor Windows 8 Consumer Preview 64-bit English HVM domU with my Intel DQ45CB motherboard and Intel Pentium Dual Core E6300 2800 MHz.>>>> >>>>By the way, I am using Linuxkernel 3.3.0 Final. Should I use PCIBACK or PCI-STUB? If I use pciback, what arguments should I parse to the kernel command line in GRUB2? Please point me to the documentation for kernel command line arguments in the linux kernel source tree.>>>> >>>>My graphics card: Palit NVIDIAGeforce 8400 GS PCI Express x16 SGD$44>>>> >>>> >>>>Thank you very much. >>>> >>>>Yours sincerely, >>>> >>>>Teo En Ming (Zhang Enming) >>>> >>>> >>>> >>>>On 20/03/2012 23:17, David TECHER wrote: >>>>You''re welcome. >>>>> >>>>> >>>>>Keep in mind that if you are going to upgrade BIOS for your motherboard, those values for your card may changed. >>>>> >>>>> >>>>>I was in this situation last time BIOS was upgraded. >>>>> >>>>> >>>>>It does mean that those values will changed each time you upgrade your motherboad BIOS but having thos values changed after a BIOS upgrade could occur for a specific upgrade. >>>>> >>>>> >>>>>Don''t ask me why...I do not know. >>>>> >>>>> >>>>>So you will be well advised to heck those values for each BIOS upgrade. >>>>> >>>>> >>>>>Moreover don''t waste your time to test VGA PassThrough for NVIDIA for Windows 7. For Windows 7 use ATI. >>>>> >>>>> >>>>> >>>>>I did my tests for playing with wine 1.4/1.5 on domU Ubuntu Lucid 10.04.4 PV HVM (game like Crysis 2) and it rocks :) >>>>> >>>>> >>>>> >>>>>My configuration: >>>>> >>>>> >>>>>Manufacturer: MSI / Product Name: H61MU-E35 (MS-7680) >>>>> >>>>>Bios version: V10.11 >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>>________________________________ >>>>> De : Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@gmail.com> >>>>>À : David TECHER <davidtecher@yahoo.fr> >>>>>Cc : "xen-users@lists.xen.org" <xen-users@lists.xen.org>; Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@gmail.com> >>>>>Envoyé le : Mardi 20 mars 2012 16h02 >>>>>Objet : Re: Re : Xen VGA Passthrough Questions >>>>> >>>>> >>>>>Dear David Techer, >>>>> >>>>>Thank you. >>>>> >>>>>I think thefollowing command is sufficient.>>>>> >>>>>dmesg | grep01:00.0 | grep "pci.*mem">>>>> >>>>>Yours sincerely, >>>>> >>>>>Teo En Ming (ZhangEnming)>>>>> >>>>>On 20/03/201217:54, David TECHER wrote:>>>>>Hi Teo, >>>>>> >>>>>> >>>>>>The 3 first lines with pattern ''pci.*mem'' need to be returned >>>>>> >>>>>> >>>>>> >>>>>>U need to use somethign like >>>>>> >>>>>> >>>>>> >>>>>>root@gemini:~# lspci |grep VGA >>>>>>02:00.0 VGAcompatible controller: nVidia Corporation Device 0ca2 (rev a2)>>>>>>root@gemini:~#dmesg|grep 02:00.0 |grep '' pci [0-9].*mem''|head -n3>>>>>>[ 0.174458]pci 0000:02:00.0: reg 10: [mem 0xfb000000-0xfbffffff]>>>>>>[ 0.174466]pci 0000:02:00.0: reg 14: [mem 0xd0000000-0xdfffffff 64bit pref]>>>>>>[ 0.174475]pci 0000:02:00.0: reg 1c: [mem 0xee000000-0xefffffff 64bit pref]>>>>>> >>>>>> >>>>>> >>>>>>Kind regards >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>>________________________________ >>>>>> De : Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@gmail.com> >>>>>>À : "xen-users@lists.xen.org" <xen-users@lists.xen.org>; David TECHER <davidtecher@yahoo.fr>; Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@gmail.com> >>>>>>Envoyé le : Mardi 20 mars 2012 8h39 >>>>>>Objet : Xen VGA Passthrough Questions >>>>>> >>>>>>Dear DavidTecher,>>>>>> >>>>>>I have readthrough your article on Xen VGA passthrough on http://www.davidgis.fr.>>>>>> >>>>>>It appearsthat the following command on your blog doesn''t work.>>>>>> >>>>>>dmesg | grep01:00.0 | grep BAR>>>>>> >>>>>>The abovecommand shows nothing at all. Is there an alternative solution?>>>>>> >>>>>>Thank you verymuch.>>>>>> >>>>>>Yourssincerely,>>>>>> >>>>>>Teo En Ming(Zhang Enming)>>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>> >>>>_______________________________________________ >>>>Xen-users mailing list >>>>Xen-users@lists.xen.org >>>>http://lists.xen.org/xen-users >>>> >>> >> >> >> > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Teo En Ming (Zhang Enming)
2012-Mar-21 14:19 UTC
Re: Re : Re : Re : Re : Re : Xen VGA Passthrough Questions
David TECHER
2012-Mar-21 16:44 UTC
Re : Re : Re : Re : Re : Re : Xen VGA Passthrough Questions
And now install NVIDIA drivers and let me know if it is a real success. Reboot your domU, when logged open your Device manager, use the scroll-bar OR open Internet Explorer, use the the scrollbar. Let me know if you don''t have any freeze. David. ________________________________ De : Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@gmail.com> À : David TECHER <davidtecher@yahoo.fr> Cc : "xen-users@lists.xen.org" <xen-users@lists.xen.org>; Casey DeLorme <cdelorme@gmail.com>; Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@gmail.com>; Ian Campbell <Ian.Campbell@citrix.com> Envoyé le : Mercredi 21 mars 2012 15h19 Objet : Re: Re : [Xen-users] Re : Re : Re : Re : Xen VGA Passthrough Questions Dear David Techer, I have just had great success with Xen VGA Passthrough to Windows 8 Consumer Preview HVM domU and Windows XP HVM domU with Xen 4.2-unstable changeset 25070 in Ubuntu 11.10 64-bit dom0. I am using Linux kernel 3.3.0. I can observe that you are using Debian 6.0.2 from your blog. But I am using Ubuntu 11.10. My favorite distro. Please read my latest documentation "Xen VGA Passthrough - Version 1.1.pdf". It is a great success, especially Xen VGA Passthrough to Windows 8 Consumer Preview. Thank you for your blog. Yours sincerely, Teo En Ming (Zhang Enming) On 21/03/2012 21:40, David TECHER wrote: Windows XP......OK> > >Windows 2008...KO > > > >2008 is based on Vista. It may not work for NVIDIA. (ATI should work). > > > >I will not waste my time to help you if you don''t take into account these informations. > > > > > > > > > >________________________________ > De : Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@gmail.com> >À : David TECHER <davidtecher@yahoo.fr> >Cc : "xen-users@lists.xen.org" <xen-users@lists.xen.org>; Casey DeLorme <cdelorme@gmail.com>; Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@gmail.com> >Envoyé le : Mercredi 21 mars 2012 12h36 >Objet : Re: [Xen-users] Re : Re : Re : Re : Xen VGA Passthrough Questions > > >Dear David Techer, > >Thank you for your reply. > >I am already using Linux Kernel 3.3.0 final. > >I will be making changes to my compilation steps for Xen4.2-unstable changeset 25070.> >Let''s see how. > >Yours sincerely, > >Teo En Ming (Zhang Enming) > >On 21/03/2012 19:09, David TECHER wrote: >My domU Windows XP works perfectly with changeset 25070 >> >>Did you read http://wiki.xen.org/wiki/Xen_VGA_Passthrough carefully? >> >>As noticed in your document I am not used to compilmy kernel using>> >> >> >>make world >> >> >>I''ve got a doubt about building your kernel this way, your kernel will have all required support for VGA PassThrough >> >> >>I''m used to compil from 3.1.10 >> >> >> >>Extract from documentation on Wiki >> >> >> >>=========>> >>Xen VGA passthru requirements from dom0 kernel >>Make sure your dom0 Linux kernel has "CONFIG_XEN_PCIDEV_BACKEND_PASS" option enabled. "CONFIG_XEN_PCIDEV_BACKEND_VPCI" should be disabled. For example Debian Squeeze 2.6.32 kernel has the wrong PCIDEV_BACKEND mode as a default.. so in that case you might need to recompile the kernel with custom .config to get the right backend mode in use. BACKEND_PASS mode means the PCI IDs of the PCI device (graphics card) will be the same in the VM as in dom0/host. >>==============>> >> >> >>So you need to download kernel 3.3 sources and compil it properly. >> >> >>Tonight (EST Time so in more than 8 hours ) I will have a try for kernel 3.3 and see if I have the same error an will let you know. >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >>________________________________ >> De : Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@gmail.com> >>À : David TECHER <davidtecher@yahoo.fr> >>Cc : Casey DeLorme <cdelorme@gmail.com>; "xen-users@lists.xen.org" <xen-users@lists.xen.org>; Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@gmail.com> >>Envoyé le : Mercredi 21 mars 2012 11h02 >>Objet : Re: Re : [Xen-users] Re : Re : Xen VGA Passthrough Questions >> >> >>Dear David Techer, >> >>Thank you for your reply. >> >>I am using Windows XP / Windows 8 ConsumerPreview HVM domU and not Linux HVM domU.>> >>Please read my Xen VGA Passthrough - Version1.0.PDF and see whether I am missing out or making any wrong steps.>> >>Yours sincerely, >> >>Teo En Ming (Zhang Enming) >> >>On 21/03/2012 17:25, David TECHER wrote: >>You need to add nouveau.blacklist=1 in the grub.cfg of your domU >>> >>>Have access to partition table of yourdomU using kpartx>>> >>>kpart -va /dev/path/to/your/LVM/domU >>> >>>mount /dev/mapper/.../..../path/where/to/mount>>> >>>vim//path/where/to/mount/boot/grub/grub.cfg>>> >>>add nouveau.blacklist=1 to the moduleline.>>> >>>Umount /path/where/to/mount >>> >>>kpart -vd /dev/path/to/your/LVM/domU >>> >>>boot your domU >>> >>>Install NVIDIA driver. >>> >>> >>> >>> >>> >>> >>>________________________________ >>> De : Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@gmail.com> >>>À : Casey DeLorme <cdelorme@gmail.com> >>>Cc : David TECHER <davidtecher@yahoo.fr>; "xen-users@lists.xen.org" <xen-users@lists.xen.org>; Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@gmail.com> >>>Envoyé le : Mercredi 21 mars 2012 5h06 >>>Objet : Re: [Xen-users] Re : Re : Xen VGA Passthrough Questions >>> >>> >>>Hi, >>> >>>How do I stop lightdm displaymanager and X.org server in Ubuntu 11.10 and unload the nouveau vga driver?>>> >>>I can run "sudo killall lightdm"and lightdm and X.org X server will be terminated successfully, but I cannot force nouveau to unload at all. It always say nouveau module is in use even if I use "sudo modprobe --force --remove nouveau".>>> >>>I need to unload the followingkernel modules for successful Xen VGA passthrough.>>> >>>rmmod nouveau rmmod ttm rmmod drm_kms_helper rmmod drm Please read Deactivating KMS and unloading Nouveau at http://nouveau.freedesktop.org/wiki/KernelModeSetting >>>But setting "echo 0 > /sys/class/vtconsole/vtcon1/bind" causes the display to hang and I can''t do anything more at all. >>> >>>I can''t force nouveau,ttm,drm_kms_helper,drm kernel modules to unload. Help!!! Also, if I add xen-pciback.hide=(01:00.0) to the module line in GRUB2, the display turns blank while booting and I can''t do anything at all. Any ideas? Thank you very much. Yours sincerely, Teo En Ming (Zhang Enming) >>>On 21/03/2012 00:36, CaseyDeLorme wrote:>>>Hello, >>>> >>>> >>>>Supposedly both the board & CPU must have VT-d, the E6300 does not: >>>>http://ark.intel.com/products/41493/Intel-Pentium-Processor-E6300-(2M-Cache-2_80-GHz-1066-MHz-FSB) >>>> >>>> >>>>If pciback was compiled into your kernel (not a module) then you can add "xen-pciback.hide=(01:00.0)" to the module line in your grub.cfg, substituting your lspci device names. >>>> >>>> >>>>nVidia supposedly requires patches and only works in Windows XP, there are a few Windows 7 success stories, but they seem rare. Most people have success without patches using AMD cards. >>>> >>>> >>>>Best of luck. >>>> >>>> >>>>~Casey DeLorme >>>> >>>> >>>> >>>> >>>>On Tue, Mar 20, 2012 at 11:39 AM, Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@gmail.com> wrote: >>>> >>>>Dear David Techer and others, >>>>> >>>>>I thought Intel H61chipset and MSI motherboards officially don''t support VT-x and VT-d? There is no VT-d enabling option in MSI motherboard BIOS.>>>>> >>>>>I want to test Xen VGApassthrough for Windows 8 Consumer Preview 64-bit English HVM domU with my Intel DQ45CB motherboard and Intel Pentium Dual Core E6300 2800 MHz.>>>>> >>>>>By the way, I am usingLinux kernel 3.3.0 Final. Should I use PCIBACK or PCI-STUB? If I use pciback, what arguments should I parse to the kernel command line in GRUB2? Please point me to the documentation for kernel command line arguments in the linux kernel source tree.>>>>> >>>>>My graphics card:Palit NVIDIA Geforce 8400 GS PCI Express x16 SGD$44>>>>> >>>>> >>>>>Thank you very much. >>>>> >>>>>Yours sincerely, >>>>> >>>>>Teo En Ming (ZhangEnming)>>>>> >>>>> >>>>> >>>>>On 20/03/2012 23:17, David TECHER wrote: >>>>>You''re welcome. >>>>>> >>>>>> >>>>>>Keep in mind that if you are going to upgrade BIOS for your motherboard, those values for your card may changed. >>>>>> >>>>>> >>>>>>I was in this situation last time BIOS was upgraded. >>>>>> >>>>>> >>>>>>It does mean that those values will changed each time you upgrade your motherboad BIOS but having thos values changed after a BIOS upgrade could occur for a specific upgrade. >>>>>> >>>>>> >>>>>>Don''t ask me why...I do not know. >>>>>> >>>>>> >>>>>>So you will be well advised to heck those values for each BIOS upgrade. >>>>>> >>>>>> >>>>>>Moreover don''t waste your time to test VGA PassThrough for NVIDIA for Windows 7. For Windows 7 use ATI. >>>>>> >>>>>> >>>>>> >>>>>>I did my tests for playing with wine 1.4/1.5 on domU Ubuntu Lucid 10.04.4 PV HVM (game like Crysis 2) and it rocks :) >>>>>> >>>>>> >>>>>> >>>>>>My configuration: >>>>>> >>>>>> >>>>>>Manufacturer: MSI / Product Name: H61MU-E35 (MS-7680) >>>>>> >>>>>>Bios version: V10.11 >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>>________________________________ >>>>>> De : Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@gmail.com> >>>>>>À : David TECHER <davidtecher@yahoo.fr> >>>>>>Cc : "xen-users@lists.xen.org" <xen-users@lists.xen.org>; Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@gmail.com> >>>>>>Envoyé le : Mardi 20 mars 2012 16h02 >>>>>>Objet : Re: Re : Xen VGA Passthrough Questions >>>>>> >>>>>> >>>>>>Dear David Techer, >>>>>> >>>>>>Thank you. >>>>>> >>>>>>I think thefollowing command is sufficient.>>>>>> >>>>>>dmesg | grep01:00.0 | grep "pci.*mem">>>>>> >>>>>>Yourssincerely,>>>>>> >>>>>>Teo En Ming(Zhang Enming)>>>>>> >>>>>>On 20/03/201217:54, David TECHER wrote:>>>>>>Hi Teo, >>>>>>> >>>>>>> >>>>>>>The 3 first lines with pattern ''pci.*mem'' need to be returned >>>>>>> >>>>>>> >>>>>>> >>>>>>>U need to use somethign like >>>>>>> >>>>>>> >>>>>>> >>>>>>>root@gemini:~# lspci |grep VGA >>>>>>>02:00.0 VGAcompatible controller: nVidia Corporation Device 0ca2 (rev a2)>>>>>>>root@gemini:~#dmesg|grep 02:00.0 |grep '' pci [0-9].*mem''|head -n3>>>>>>>[ 0.174458]pci 0000:02:00.0: reg 10: [mem 0xfb000000-0xfbffffff]>>>>>>>[ 0.174466]pci 0000:02:00.0: reg 14: [mem 0xd0000000-0xdfffffff 64bit pref]>>>>>>>[ 0.174475]pci 0000:02:00.0: reg 1c: [mem 0xee000000-0xefffffff 64bit pref]>>>>>>> >>>>>>> >>>>>>> >>>>>>>Kind regards >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>________________________________ >>>>>>> De : Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@gmail.com> >>>>>>>À : "xen-users@lists.xen.org" <xen-users@lists.xen.org>; David TECHER <davidtecher@yahoo.fr>; Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@gmail.com> >>>>>>>Envoyé le : Mardi 20 mars 2012 8h39 >>>>>>>Objet : Xen VGA Passthrough Questions >>>>>>> >>>>>>>Dear DavidTecher,>>>>>>> >>>>>>>I have readthrough your article on Xen VGA passthrough on http://www.davidgis.fr.>>>>>>> >>>>>>>It appearsthat the following command on your blog doesn''t work.>>>>>>> >>>>>>>dmesg | grep01:00.0 | grep BAR>>>>>>> >>>>>>>The abovecommand shows nothing at all. Is there an alternative solution?>>>>>>> >>>>>>>Thank you verymuch.>>>>>>> >>>>>>>Yourssincerely,>>>>>>> >>>>>>>Teo En Ming(Zhang Enming)>>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>>_______________________________________________ >>>>>Xen-users mailing list >>>>>Xen-users@lists.xen.org >>>>>http://lists.xen.org/xen-users >>>>> >>>> >>> >>> >>> >> >> >> > >_______________________________________________ >Xen-users mailing list >Xen-users@lists.xen.org >http://lists.xen.org/xen-users > >_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Seemingly Similar Threads
- [SUCCESS REPORT] Xen VGA Passthrough to Windows 8 Consumer Preview HVM domU and Windows XP Home Edition HVM domU with Xen 4.2-unstable Changeset 25070 in Ubuntu 11.10 amd64 Dom0
- [SUCCESS REPORT] Xen VGA Passthrough to Windows 8 Consumer Preview HVM domU and Windows XP Home Edition HVM domU with Xen 4.2-unstable Changeset 25070 in Ubuntu 11.10 amd64 Dom0
- [REQUEST] Request for Xen Users to Attempt Jean David Techer's Xen 4.2-unstable VGA Passthrough Documentation
- [REQUEST] Request for Xen Users to Attempt Jean David Techer's Xen 4.2-unstable VGA Passthrough Documentation
- VGA Passthrough with Xen 4.3-unstable?