Mr. Teo En Ming (Zhang Enming)
2009-Aug-24 16:17 UTC
[Xen-devel] Xen Paravirt Operations Domain 0 Serial Console Problem
Hi All, I have tried to configure serial console for Xen hypervisor, dom 0 kernel and Linux login but it does not seem to be working. Here is my grub configuration for serial console: title Fedora (2.6.31-rc6-enming.teo) Serial Console root (hd0,0) kernel /xen.gz iommu=1 com1=115200,8n1 console=com1 module /vmlinuz-2.6.31-rc6-enming.teo ro root=/dev/mapper/vg_fedora11_host-lv_root selinux=0 console=ttyS0,115200 module /initrd-2.6.31-rc6-enming.teo.img Is the above configuration correct? On my Intel Desktop Board DQ45CB, I have a COM1 header on the PCB and I have connected an external serial port to this header and also enabled COM1 in the BIOS. After selecting the above entry in GRUB still on VGA, a cursor at the top left corner of the monitor shows up, which means Xen and Dom 0 kernel are booting up on the serial console and not on VGA. However, after some time, a login prompt finally displays on my VGA monitor! Isn''t it NOT supposed to show up on VGA and should show up in serial console instead? All the while I get nothing displayed on the Windows laptop connected to the serial console of the Xen machine. I am using Windows Hyper Terminal with a null modem cable and a USB-to-Serial converter cable. After seeing nothing on Hyper Terminal, I go to the VGA console (tty1) and keyboard and pressed CTRL-ALT-DEL to reboot the Xen machine. Then finally I see this screenshot: http://2.bp.blogspot.com/_zzjv8MCM2sk/SpK6D_eSIfI/AAAAAAAAATs/NdSPpfddTvQ/s1600-h/xen+serial+console.JPG After that, I select rebooting using serial console but I still see nothing on Hyper Terminal. May I know what''s happening and what''s wrong with serial console? Thank you. -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com Alma Maters: Singapore Polytechnic, National University of Singapore _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Mr. Teo En Ming (Zhang Enming)
2009-Aug-24 16:21 UTC
Re: [Xen-devel] Xen Paravirt Operations Domain 0 Serial Console Problem
Hi, The main purpose of doing this is that I want to boot using serial console and free up the VGA card for direct access by the Windows HVM guest using VT-d IOMMU. But it seems I cannot get serial console working. Please advise. Thank you. -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com Alma Maters: Singapore Polytechnic, National University of Singapore On 08/25/2009 12:17 AM, Mr. Teo En Ming (Zhang Enming) wrote:> Hi All, > > I have tried to configure serial console for Xen hypervisor, dom 0 > kernel and Linux login but it does not seem to be working. > > Here is my grub configuration for serial console: > > title Fedora (2.6.31-rc6-enming.teo) Serial Console > root (hd0,0) > kernel /xen.gz iommu=1 com1=115200,8n1 console=com1 > module /vmlinuz-2.6.31-rc6-enming.teo ro > root=/dev/mapper/vg_fedora11_host-lv_root selinux=0 console=ttyS0,115200 > module /initrd-2.6.31-rc6-enming.teo.img > > Is the above configuration correct? On my Intel Desktop Board DQ45CB, > I have a COM1 header on the PCB and I have connected an external > serial port to this header and also enabled COM1 in the BIOS. > > After selecting the above entry in GRUB still on VGA, a cursor at the > top left corner of the monitor shows up, which means Xen and Dom 0 > kernel are booting up on the serial console and not on VGA. > > However, after some time, a login prompt finally displays on my VGA > monitor! Isn''t it NOT supposed to show up on VGA and should show up in > serial console instead? > > All the while I get nothing displayed on the Windows laptop connected > to the serial console of the Xen machine. I am using Windows Hyper > Terminal with a null modem cable and a USB-to-Serial converter cable. > > After seeing nothing on Hyper Terminal, I go to the VGA console (tty1) > and keyboard and pressed CTRL-ALT-DEL to reboot the Xen machine. > > Then finally I see this screenshot: > > http://2.bp.blogspot.com/_zzjv8MCM2sk/SpK6D_eSIfI/AAAAAAAAATs/NdSPpfddTvQ/s1600-h/xen+serial+console.JPG > > > After that, I select rebooting using serial console but I still see > nothing on Hyper Terminal. > > May I know what''s happening and what''s wrong with serial console? > > Thank you. >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Pasi Kärkkäinen
2009-Aug-24 16:44 UTC
Re: [Xen-devel] Xen Paravirt Operations Domain 0 Serial Console Problem
On Tue, Aug 25, 2009 at 12:17:53AM +0800, Mr. Teo En Ming (Zhang Enming) wrote:> Hi All, > > I have tried to configure serial console for Xen hypervisor, dom 0 > kernel and Linux login but it does not seem to be working. > > Here is my grub configuration for serial console: > > title Fedora (2.6.31-rc6-enming.teo) Serial Console > root (hd0,0) > kernel /xen.gz iommu=1 com1=115200,8n1 console=com1 > module /vmlinuz-2.6.31-rc6-enming.teo ro > root=/dev/mapper/vg_fedora11_host-lv_root selinux=0 console=ttyS0,115200 > module /initrd-2.6.31-rc6-enming.teo.img >http://wiki.xensource.com/xenwiki/XenParavirtOps paste from that page: Working example grub.conf with serial console output: title pv_ops dom0-test (2.6.29-rc7-tip) with serial console root (hd0,0) kernel /xen-3.3.gz dom0_mem=1024M loglvl=all guest_loglvl=all com1=19200,8n1 console=com1 module /vmlinuz-2.6.29-rc7-tip ro root=/dev/vg00/lv01 console=hvc0 earlyprintk=xen module /initrd-2.6.29-rc7-tip.img> Is the above configuration correct? On my Intel Desktop Board DQ45CB, I > have a COM1 header on the PCB and I have connected an external serial > port to this header and also enabled COM1 in the BIOS. > > After selecting the above entry in GRUB still on VGA, a cursor at the > top left corner of the monitor shows up, which means Xen and Dom 0 > kernel are booting up on the serial console and not on VGA. > > However, after some time, a login prompt finally displays on my VGA > monitor! Isn''t it NOT supposed to show up on VGA and should show up in > serial console instead? >You also need to have the gettys configured properly. -- Pasi _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Mr. Teo En Ming (Zhang Enming)
2009-Aug-24 17:34 UTC
Re: [Xen-devel] Xen Paravirt Operations Domain 0 Serial Console Problem
Dear Pasi, Thanks for your help! It works! I wonder why this didn''t work: title Fedora (2.6.31-rc6-enming.teo) Serial Console root (hd0,0) kernel /xen.gz iommu=1 com1=115200,8n1 console=com1 module /vmlinuz-2.6.31-rc6-enming.teo ro root=/dev/mapper/vg_fedora11_host-lv_root selinux=0 console=ttyS0,115200 module /initrd-2.6.31-rc6-enming.teo.img And this worked: title pv_ops dom0-test (2.6.29-rc7-tip) with serial console root (hd0,0) kernel /xen-3.3.gz dom0_mem=1024M loglvl=all guest_loglvl=all com1=19200,8n1 console=com1 module /vmlinuz-2.6.29-rc7-tip ro root=/dev/vg00/lv01 console=hvc0 earlyprintk=xen module /initrd-2.6.29-rc7-tip.img Anyway, I still got a tty1 output! I thought that after using serial console, it is not supposed to output to a monitor anymore? As a result of this, I still can''t hide the VGA card from dom 0 and pass it through to the Windows Dom U. Any ideas? -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com Alma Maters: Singapore Polytechnic, National University of Singapore On 08/25/2009 12:44 AM, Pasi Kärkkäinen wrote:> On Tue, Aug 25, 2009 at 12:17:53AM +0800, Mr. Teo En Ming (Zhang Enming) wrote: > >> Hi All, >> >> I have tried to configure serial console for Xen hypervisor, dom 0 >> kernel and Linux login but it does not seem to be working. >> >> Here is my grub configuration for serial console: >> >> title Fedora (2.6.31-rc6-enming.teo) Serial Console >> root (hd0,0) >> kernel /xen.gz iommu=1 com1=115200,8n1 console=com1 >> module /vmlinuz-2.6.31-rc6-enming.teo ro >> root=/dev/mapper/vg_fedora11_host-lv_root selinux=0 console=ttyS0,115200 >> module /initrd-2.6.31-rc6-enming.teo.img >> >> > http://wiki.xensource.com/xenwiki/XenParavirtOps > > paste from that page: > > > Working example grub.conf with serial console output: > > title pv_ops dom0-test (2.6.29-rc7-tip) with serial console > root (hd0,0) > kernel /xen-3.3.gz dom0_mem=1024M loglvl=all guest_loglvl=all com1=19200,8n1 console=com1 > module /vmlinuz-2.6.29-rc7-tip ro root=/dev/vg00/lv01 console=hvc0 earlyprintk=xen > module /initrd-2.6.29-rc7-tip.img > > > >> Is the above configuration correct? On my Intel Desktop Board DQ45CB, I >> have a COM1 header on the PCB and I have connected an external serial >> port to this header and also enabled COM1 in the BIOS. >> >> After selecting the above entry in GRUB still on VGA, a cursor at the >> top left corner of the monitor shows up, which means Xen and Dom 0 >> kernel are booting up on the serial console and not on VGA. >> >> However, after some time, a login prompt finally displays on my VGA >> monitor! Isn''t it NOT supposed to show up on VGA and should show up in >> serial console instead? >> >> > You also need to have the gettys configured properly. > > -- Pasi >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Mr. Teo En Ming (Zhang Enming)
2009-Aug-24 17:37 UTC
Re: [Xen-devel] Xen Paravirt Operations Domain 0 Serial Console Problem
See my latest screenshot here: http://3.bp.blogspot.com/_zzjv8MCM2sk/SpLOXl9IoWI/AAAAAAAAAT0/rdlMAFeQAKY/s1600-h/xen+serial+console+02.JPG -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com Alma Maters: Singapore Polytechnic, National University of Singapore On 08/25/2009 01:34 AM, Mr. Teo En Ming (Zhang Enming) wrote:> Dear Pasi, > > Thanks for your help! It works! > > I wonder why this didn''t work: > > title Fedora (2.6.31-rc6-enming.teo) Serial Console > root (hd0,0) > kernel /xen.gz iommu=1 com1=115200,8n1 console=com1 > module /vmlinuz-2.6.31-rc6-enming.teo ro > root=/dev/mapper/vg_fedora11_host-lv_root selinux=0 console=ttyS0,115200 > module /initrd-2.6.31-rc6-enming.teo.img > > And this worked: > > title pv_ops dom0-test (2.6.29-rc7-tip) with serial console > root (hd0,0) > kernel /xen-3.3.gz dom0_mem=1024M loglvl=all guest_loglvl=all > com1=19200,8n1 console=com1 > module /vmlinuz-2.6.29-rc7-tip ro root=/dev/vg00/lv01 > console=hvc0 earlyprintk=xen > module /initrd-2.6.29-rc7-tip.img > > Anyway, I still got a tty1 output! I thought that after using serial > console, it is not supposed to output to a monitor anymore? > > As a result of this, I still can''t hide the VGA card from dom 0 and > pass it through to the Windows Dom U. > > Any ideas? >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Pasi Kärkkäinen
2009-Aug-24 17:57 UTC
Re: [Xen-devel] Xen Paravirt Operations Domain 0 Serial Console Problem
On Tue, Aug 25, 2009 at 01:34:54AM +0800, Mr. Teo En Ming (Zhang Enming) wrote:> Dear Pasi, > > Thanks for your help! It works! > > I wonder why this didn''t work: > > title Fedora (2.6.31-rc6-enming.teo) Serial Console > root (hd0,0) > kernel /xen.gz iommu=1 com1=115200,8n1 console=com1 > module /vmlinuz-2.6.31-rc6-enming.teo ro > root=/dev/mapper/vg_fedora11_host-lv_root selinux=0 console=ttyS0,115200 > module /initrd-2.6.31-rc6-enming.teo.img > > And this worked: > > title pv_ops dom0-test (2.6.29-rc7-tip) with serial console > root (hd0,0) > kernel /xen-3.3.gz dom0_mem=1024M loglvl=all guest_loglvl=all > com1=19200,8n1 console=com1 > module /vmlinuz-2.6.29-rc7-tip ro root=/dev/vg00/lv01 console=hvc0 > earlyprintk=xen > module /initrd-2.6.29-rc7-tip.img > > Anyway, I still got a tty1 output! I thought that after using serial > console, it is not supposed to output to a monitor anymore? >Well you still haven''t disabled the VGA display adapter.. And most probably you still have gettys configured aswell.> As a result of this, I still can''t hide the VGA card from dom 0 and pass it > through to the Windows Dom U. >See: http://wiki.xensource.com/xenwiki/VTdHowTo Especially the section "Binding at Boot-Time". -- Pasi> Any ideas? > > -- > Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) > BEng(Hons)(Mechanical Engineering) > Technical Support Engineer > Information Technology Department > Asiasoft Online Pte Ltd > Tampines Central 1 #04-01 Tampines Plaza > Singapore 529541 > Republic of Singapore > Mobile: +65-9648-9798 > MSN: teoenming@hotmail.com > Alma Maters: Singapore Polytechnic, National University of Singapore > > > > On 08/25/2009 12:44 AM, Pasi Kärkkäinen wrote: > >On Tue, Aug 25, 2009 at 12:17:53AM +0800, Mr. Teo En Ming (Zhang Enming) > >wrote: > > > >>Hi All, > >> > >>I have tried to configure serial console for Xen hypervisor, dom 0 > >>kernel and Linux login but it does not seem to be working. > >> > >>Here is my grub configuration for serial console: > >> > >>title Fedora (2.6.31-rc6-enming.teo) Serial Console > >> root (hd0,0) > >> kernel /xen.gz iommu=1 com1=115200,8n1 console=com1 > >> module /vmlinuz-2.6.31-rc6-enming.teo ro > >>root=/dev/mapper/vg_fedora11_host-lv_root selinux=0 console=ttyS0,115200 > >> module /initrd-2.6.31-rc6-enming.teo.img > >> > >> > >http://wiki.xensource.com/xenwiki/XenParavirtOps > > > >paste from that page: > > > > > >Working example grub.conf with serial console output: > > > >title pv_ops dom0-test (2.6.29-rc7-tip) with serial console > > root (hd0,0) > > kernel /xen-3.3.gz dom0_mem=1024M loglvl=all guest_loglvl=all > > com1=19200,8n1 console=com1 > > module /vmlinuz-2.6.29-rc7-tip ro root=/dev/vg00/lv01 > > console=hvc0 earlyprintk=xen > > module /initrd-2.6.29-rc7-tip.img > > > > > > > >>Is the above configuration correct? On my Intel Desktop Board DQ45CB, I > >>have a COM1 header on the PCB and I have connected an external serial > >>port to this header and also enabled COM1 in the BIOS. > >> > >>After selecting the above entry in GRUB still on VGA, a cursor at the > >>top left corner of the monitor shows up, which means Xen and Dom 0 > >>kernel are booting up on the serial console and not on VGA. > >> > >>However, after some time, a login prompt finally displays on my VGA > >>monitor! Isn''t it NOT supposed to show up on VGA and should show up in > >>serial console instead? > >> > >> > >You also need to have the gettys configured properly. > > > >-- Pasi > > > > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Pasi Kärkkäinen
2009-Aug-24 17:59 UTC
Re: [Xen-devel] Xen Paravirt Operations Domain 0 Serial Console Problem
On Mon, Aug 24, 2009 at 08:57:47PM +0300, Pasi Kärkkäinen wrote:> On Tue, Aug 25, 2009 at 01:34:54AM +0800, Mr. Teo En Ming (Zhang Enming) wrote: > > Dear Pasi, > > > > Thanks for your help! It works! > > > > I wonder why this didn''t work: > > > > title Fedora (2.6.31-rc6-enming.teo) Serial Console > > root (hd0,0) > > kernel /xen.gz iommu=1 com1=115200,8n1 console=com1 > > module /vmlinuz-2.6.31-rc6-enming.teo ro > > root=/dev/mapper/vg_fedora11_host-lv_root selinux=0 console=ttyS0,115200 > > module /initrd-2.6.31-rc6-enming.teo.img > > > > And this worked: > > > > title pv_ops dom0-test (2.6.29-rc7-tip) with serial console > > root (hd0,0) > > kernel /xen-3.3.gz dom0_mem=1024M loglvl=all guest_loglvl=all > > com1=19200,8n1 console=com1 > > module /vmlinuz-2.6.29-rc7-tip ro root=/dev/vg00/lv01 console=hvc0 > > earlyprintk=xen > > module /initrd-2.6.29-rc7-tip.img > > > > Anyway, I still got a tty1 output! I thought that after using serial > > console, it is not supposed to output to a monitor anymore? > > > > Well you still haven''t disabled the VGA display adapter.. > And most probably you still have gettys configured aswell. > > > As a result of this, I still can''t hide the VGA card from dom 0 and pass it > > through to the Windows Dom U. > > > > See: http://wiki.xensource.com/xenwiki/VTdHowTo > > Especially the section "Binding at Boot-Time". >Oh, I guess pv_ops dom0 still doesn''t have pciback. I wonder how to do it then.. -- Pasi> > > Any ideas? > > > > -- > > Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) > > BEng(Hons)(Mechanical Engineering) > > Technical Support Engineer > > Information Technology Department > > Asiasoft Online Pte Ltd > > Tampines Central 1 #04-01 Tampines Plaza > > Singapore 529541 > > Republic of Singapore > > Mobile: +65-9648-9798 > > MSN: teoenming@hotmail.com > > Alma Maters: Singapore Polytechnic, National University of Singapore > > > > > > > > On 08/25/2009 12:44 AM, Pasi Kärkkäinen wrote: > > >On Tue, Aug 25, 2009 at 12:17:53AM +0800, Mr. Teo En Ming (Zhang Enming) > > >wrote: > > > > > >>Hi All, > > >> > > >>I have tried to configure serial console for Xen hypervisor, dom 0 > > >>kernel and Linux login but it does not seem to be working. > > >> > > >>Here is my grub configuration for serial console: > > >> > > >>title Fedora (2.6.31-rc6-enming.teo) Serial Console > > >> root (hd0,0) > > >> kernel /xen.gz iommu=1 com1=115200,8n1 console=com1 > > >> module /vmlinuz-2.6.31-rc6-enming.teo ro > > >>root=/dev/mapper/vg_fedora11_host-lv_root selinux=0 console=ttyS0,115200 > > >> module /initrd-2.6.31-rc6-enming.teo.img > > >> > > >> > > >http://wiki.xensource.com/xenwiki/XenParavirtOps > > > > > >paste from that page: > > > > > > > > >Working example grub.conf with serial console output: > > > > > >title pv_ops dom0-test (2.6.29-rc7-tip) with serial console > > > root (hd0,0) > > > kernel /xen-3.3.gz dom0_mem=1024M loglvl=all guest_loglvl=all > > > com1=19200,8n1 console=com1 > > > module /vmlinuz-2.6.29-rc7-tip ro root=/dev/vg00/lv01 > > > console=hvc0 earlyprintk=xen > > > module /initrd-2.6.29-rc7-tip.img > > > > > > > > > > > >>Is the above configuration correct? On my Intel Desktop Board DQ45CB, I > > >>have a COM1 header on the PCB and I have connected an external serial > > >>port to this header and also enabled COM1 in the BIOS. > > >> > > >>After selecting the above entry in GRUB still on VGA, a cursor at the > > >>top left corner of the monitor shows up, which means Xen and Dom 0 > > >>kernel are booting up on the serial console and not on VGA. > > >> > > >>However, after some time, a login prompt finally displays on my VGA > > >>monitor! Isn''t it NOT supposed to show up on VGA and should show up in > > >>serial console instead? > > >> > > >> > > >You also need to have the gettys configured properly. > > > > > >-- Pasi > > > > > > > > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Mr. Teo En Ming (Zhang Enming)
2009-Aug-24 18:06 UTC
Re: [Xen-devel] Xen Paravirt Operations Domain 0 Serial Console Problem
Dear Pasi, How do I disable the VGA display adapter? Stop the vga card kernel module from loading? Add it to /etc/modprobe.d/blacklist.conf? Under pv-ops dom 0, there is no nouveau kernel module. And nvidia kernel module cannot work in pv-ops dom 0 too. How do I disable all the various tty from 1 to 7? I still need to leave ttyS0 enabled, as I need the serial console. As for hiding vga card from dom 0, I cannot use pciback as I am using pv-ops dom 0. I need to use pci-stub. -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com Alma Maters: Singapore Polytechnic, National University of Singapore On 08/25/2009 01:57 AM, Pasi Kärkkäinen wrote:> On Tue, Aug 25, 2009 at 01:34:54AM +0800, Mr. Teo En Ming (Zhang Enming) wrote: > >> Dear Pasi, >> >> Thanks for your help! It works! >> >> I wonder why this didn''t work: >> >> title Fedora (2.6.31-rc6-enming.teo) Serial Console >> root (hd0,0) >> kernel /xen.gz iommu=1 com1=115200,8n1 console=com1 >> module /vmlinuz-2.6.31-rc6-enming.teo ro >> root=/dev/mapper/vg_fedora11_host-lv_root selinux=0 console=ttyS0,115200 >> module /initrd-2.6.31-rc6-enming.teo.img >> >> And this worked: >> >> title pv_ops dom0-test (2.6.29-rc7-tip) with serial console >> root (hd0,0) >> kernel /xen-3.3.gz dom0_mem=1024M loglvl=all guest_loglvl=all >> com1=19200,8n1 console=com1 >> module /vmlinuz-2.6.29-rc7-tip ro root=/dev/vg00/lv01 console=hvc0 >> earlyprintk=xen >> module /initrd-2.6.29-rc7-tip.img >> >> Anyway, I still got a tty1 output! I thought that after using serial >> console, it is not supposed to output to a monitor anymore? >> >> > Well you still haven''t disabled the VGA display adapter.. > And most probably you still have gettys configured aswell. > > >> As a result of this, I still can''t hide the VGA card from dom 0 and pass it >> through to the Windows Dom U. >> >> > See: http://wiki.xensource.com/xenwiki/VTdHowTo > > Especially the section "Binding at Boot-Time". > > -- Pasi > > >> Any ideas? >> >> -- >> Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) >> BEng(Hons)(Mechanical Engineering) >> Technical Support Engineer >> Information Technology Department >> Asiasoft Online Pte Ltd >> Tampines Central 1 #04-01 Tampines Plaza >> Singapore 529541 >> Republic of Singapore >> Mobile: +65-9648-9798 >> MSN: teoenming@hotmail.com >> Alma Maters: Singapore Polytechnic, National University of Singapore >> >> >> >> On 08/25/2009 12:44 AM, Pasi Kärkkäinen wrote: >> >>> On Tue, Aug 25, 2009 at 12:17:53AM +0800, Mr. Teo En Ming (Zhang Enming) >>> wrote: >>> >>> >>>> Hi All, >>>> >>>> I have tried to configure serial console for Xen hypervisor, dom 0 >>>> kernel and Linux login but it does not seem to be working. >>>> >>>> Here is my grub configuration for serial console: >>>> >>>> title Fedora (2.6.31-rc6-enming.teo) Serial Console >>>> root (hd0,0) >>>> kernel /xen.gz iommu=1 com1=115200,8n1 console=com1 >>>> module /vmlinuz-2.6.31-rc6-enming.teo ro >>>> root=/dev/mapper/vg_fedora11_host-lv_root selinux=0 console=ttyS0,115200 >>>> module /initrd-2.6.31-rc6-enming.teo.img >>>> >>>> >>>> >>> http://wiki.xensource.com/xenwiki/XenParavirtOps >>> >>> paste from that page: >>> >>> >>> Working example grub.conf with serial console output: >>> >>> title pv_ops dom0-test (2.6.29-rc7-tip) with serial console >>> root (hd0,0) >>> kernel /xen-3.3.gz dom0_mem=1024M loglvl=all guest_loglvl=all >>> com1=19200,8n1 console=com1 >>> module /vmlinuz-2.6.29-rc7-tip ro root=/dev/vg00/lv01 >>> console=hvc0 earlyprintk=xen >>> module /initrd-2.6.29-rc7-tip.img >>> >>> >>> >>> >>>> Is the above configuration correct? On my Intel Desktop Board DQ45CB, I >>>> have a COM1 header on the PCB and I have connected an external serial >>>> port to this header and also enabled COM1 in the BIOS. >>>> >>>> After selecting the above entry in GRUB still on VGA, a cursor at the >>>> top left corner of the monitor shows up, which means Xen and Dom 0 >>>> kernel are booting up on the serial console and not on VGA. >>>> >>>> However, after some time, a login prompt finally displays on my VGA >>>> monitor! Isn''t it NOT supposed to show up on VGA and should show up in >>>> serial console instead? >>>> >>>> >>>> >>> You also need to have the gettys configured properly. >>> >>> -- Pasi >>> >>> >> >> >>_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Mr. Teo En Ming (Zhang Enming)
2009-Aug-24 18:15 UTC
Re: [Xen-devel] Xen Paravirt Operations Domain 0 Serial Console Problem
Ah I know where to disable all the tty already It''s no longer in /etc/inittab. Fedora 11 is using upstart. tty1 to tty6 are in /etc/event.d /etc/event.d/tty1 /etc/event.d/tty2 /etc/event.d/tty3 /etc/event.d/tty4 /etc/event.d/tty5 /etc/event.d/tty6 If I disable all the above tty, will I be able to hide vga card from dom 0 since it is no longer displaying to the monitor? Or do I still need to disable the vga card? How do I do that? Thank you. -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com Alma Maters: Singapore Polytechnic, National University of Singapore On 08/25/2009 02:06 AM, Mr. Teo En Ming (Zhang Enming) wrote:> Dear Pasi, > > How do I disable the VGA display adapter? Stop the vga card kernel > module from loading? Add it to /etc/modprobe.d/blacklist.conf? Under > pv-ops dom 0, there is no nouveau kernel module. And nvidia kernel > module cannot work in pv-ops dom 0 too. > > How do I disable all the various tty from 1 to 7? > > I still need to leave ttyS0 enabled, as I need the serial console. > > As for hiding vga card from dom 0, I cannot use pciback as I am using > pv-ops dom 0. I need to use pci-stub. >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Mr. Teo En Ming (Zhang Enming)
2009-Aug-24 18:28 UTC
Re: [Xen-devel] Xen Paravirt Operations Domain 0 Serial Console Problem
Dear Pasi, I wonder how this guy Ng Beng Heng at the University of Michigan did it. http://article.gmane.org/gmane.comp.emulators.xen.devel/67132 -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com Alma Maters: Singapore Polytechnic, National University of Singapore On 08/25/2009 02:15 AM, Mr. Teo En Ming (Zhang Enming) wrote:> Ah I know where to disable all the tty already > > It''s no longer in /etc/inittab. Fedora 11 is using upstart. > > tty1 to tty6 are in /etc/event.d > > /etc/event.d/tty1 > /etc/event.d/tty2 > /etc/event.d/tty3 > /etc/event.d/tty4 > /etc/event.d/tty5 > /etc/event.d/tty6 > > If I disable all the above tty, will I be able to hide vga card from > dom 0 since it is no longer displaying to the monitor? > > Or do I still need to disable the vga card? How do I do that? > > Thank you. >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Mr. Teo En Ming (Zhang Enming)
2009-Aug-24 18:31 UTC
Re: [Xen-devel] Xen Paravirt Operations Domain 0 Serial Console Problem
http://article.gmane.org/gmane.comp.emulators.xen.devel/67243 -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com Alma Maters: Singapore Polytechnic, National University of Singapore On 08/25/2009 02:28 AM, Mr. Teo En Ming (Zhang Enming) wrote:> Dear Pasi, > > I wonder how this guy Ng Beng Heng at the University of Michigan did it. > > http://article.gmane.org/gmane.comp.emulators.xen.devel/67132 >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Mr. Teo En Ming (Zhang Enming)
2009-Aug-24 18:35 UTC
Re: [Xen-devel] Xen Paravirt Operations Domain 0 Serial Console Problem
The entire topic is here at the Xen developers mailing list: http://lists.xensource.com/archives/html/xen-devel/2009-06/msg00245.html -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com Alma Maters: Singapore Polytechnic, National University of Singapore On 08/25/2009 02:31 AM, Mr. Teo En Ming (Zhang Enming) wrote:> http://article.gmane.org/gmane.comp.emulators.xen.devel/67243 >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Alan Cox
2009-Aug-24 18:45 UTC
Re: [Xen-devel] Xen Paravirt Operations Domain 0 Serial Console Problem
> If I disable all the above tty, will I be able to hide vga card from dom > 0 since it is no longer displaying to the monitor?No> Or do I still need to disable the vga card? How do I do that?The video card is enabled by the BIOS and the kernel and also Xen then always use it. Alan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Pasi Kärkkäinen
2009-Aug-24 19:13 UTC
Re: [Xen-devel] Xen Paravirt Operations Domain 0 Serial Console Problem
On Mon, Aug 24, 2009 at 07:45:52PM +0100, Alan Cox wrote:> > If I disable all the above tty, will I be able to hide vga card from dom > > 0 since it is no longer displaying to the monitor? > > No > > > Or do I still need to disable the vga card? How do I do that? > > The video card is enabled by the BIOS and the kernel and also Xen then > always use it. >So I guess you need to have additional/extra video card that you''ll passthrough. -- Pasi _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Mr. Teo En Ming (Zhang Enming)
2009-Aug-24 19:23 UTC
Re: [Xen-devel] Xen Paravirt Operations Domain 0 Serial Console Problem
I have both the onboard Intel GMA 4500 and the PCI Express x16 NVIDIA Geforce 8400 GS. Ng Beng Heng at the University of Michigan has done it. He''s using the same Intel DQ45CB as me. -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com Alma Maters: Singapore Polytechnic, National University of Singapore On 08/25/2009 03:13 AM, Pasi Kärkkäinen wrote:> On Mon, Aug 24, 2009 at 07:45:52PM +0100, Alan Cox wrote: > >>> If I disable all the above tty, will I be able to hide vga card from dom >>> 0 since it is no longer displaying to the monitor? >>> >> No >> >> >>> Or do I still need to disable the vga card? How do I do that? >>> >> The video card is enabled by the BIOS and the kernel and also Xen then >> always use it. >> >> > So I guess you need to have additional/extra video card that you''ll > passthrough. > > -- Pasi > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Mr. Teo En Ming (Zhang Enming)
2009-Aug-24 19:33 UTC
Re: [Xen-devel] Xen Paravirt Operations Domain 0 Serial Console Problem
I find that following the instructions here at Xen Wiki VtdHowTo don''t work: Binding Devices to pci-stub If using pv-ops dom0, also can use pci-stub to hide devices for assignment (example PCI device 01:00.0) * lspci -n * locate the entry for device 01:00.0 and note down the vendor & device ID 8086:10b9 . ... 01:00.0 0200: 8086:10b9 (rev 06) ... * then use following commands to hide it: . echo "8086 10b9"> /sys/bus/pci/drivers/pci-stub/new_id echo "0000:01:00.0"> /sys/bus/pci/devices/0000:01:00.0/driver/unbind echo "0000:01:00.0"> /sys/bus/pci/drivers/pci-stub/bind When I tried to "cat /sys/bus/pci/drivers/pci-stub/new_id", it says permission denied. My NVIDIA graphics card is using BDF 01:00.0. When I change directory to /sys/bus/pci/devices/0000:01:00.0/, sub-directory driver is not found at all. Then when I put in pci = [ ''01:00.0'' ] for the Windows XP Home HVM config, it complains about pciback but I am using paravirt-ops dom 0 kernel. And when I tried the "xm pci-list-assignable-devices", nothing shows up. I have already specified iommu=1 in grub. Hope the Intel folks can assist in this matter. -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com Alma Maters: Singapore Polytechnic, National University of Singapore On 08/25/2009 03:23 AM, Mr. Teo En Ming (Zhang Enming) wrote:> I have both the onboard Intel GMA 4500 and the PCI Express x16 NVIDIA > Geforce 8400 GS. > > Ng Beng Heng at the University of Michigan has done it. He''s using the > same Intel DQ45CB as me. >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Mr. Teo En Ming (Zhang Enming)
2009-Aug-24 19:35 UTC
Re: [Xen-devel] Xen Paravirt Operations Domain 0 Serial Console Problem
I have already compiled CONFIG_PCI_STUB=y statically into the kernel. -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com Alma Maters: Singapore Polytechnic, National University of Singapore On 08/25/2009 03:33 AM, Mr. Teo En Ming (Zhang Enming) wrote:> I find that following the instructions here at Xen Wiki VtdHowTo don''t > work: > > > Binding Devices to pci-stub > > If using pv-ops dom0, also can use pci-stub to hide devices for > assignment (example PCI device 01:00.0) * lspci -n * locate the entry > for device 01:00.0 and note down the vendor & device ID 8086:10b9 . > > ... > 01:00.0 0200: 8086:10b9 (rev 06) > ... > > * then use following commands to hide it: . > > echo "8086 10b9"> /sys/bus/pci/drivers/pci-stub/new_id > echo "0000:01:00.0"> /sys/bus/pci/devices/0000:01:00.0/driver/unbind > echo "0000:01:00.0"> /sys/bus/pci/drivers/pci-stub/bind > > When I tried to "cat /sys/bus/pci/drivers/pci-stub/new_id", it says permission denied. > > My NVIDIA graphics card is using BDF 01:00.0. When I change directory to > /sys/bus/pci/devices/0000:01:00.0/, sub-directory driver is not found at all. > > Then when I put in pci = [ ''01:00.0'' ] for the Windows XP Home HVM config, it complains about pciback but I am using paravirt-ops dom 0 kernel. > > And when I tried the "xm pci-list-assignable-devices", nothing shows up. > > I have already specified iommu=1 in grub. > > Hope the Intel folks can assist in this matter. > > > -- > Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) > Technical Support Engineer > Information Technology Department > Asiasoft Online Pte Ltd > Tampines Central 1 #04-01 Tampines Plaza > Singapore 529541 > Republic of Singapore > Mobile: +65-9648-9798 > MSN:teoenming@hotmail.com > Alma Maters: Singapore Polytechnic, National University of Singapore > > > On 08/25/2009 03:23 AM, Mr. Teo En Ming (Zhang Enming) wrote: >> I have both the onboard Intel GMA 4500 and the PCI Express x16 NVIDIA >> Geforce 8400 GS. >> >> Ng Beng Heng at the University of Michigan has done it. He''s using >> the same Intel DQ45CB as me. >> >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Mr. Teo En Ming (Zhang Enming)
2009-Aug-25 00:49 UTC
Re: [Xen-devel] Xen Paravirt Operations Domain 0 Serial Console Problem
Hi When I boot up the computer using onboard Intel GMA 4500 as the primary VGA controller, I could still see the NVIDIA Geforce 8400 GS PCI Express x16 card in lspci. 00:02.0 VGA compatible controller: Intel Corporation 4 Series Chipset Integrated Graphics Controller (rev 03) 01:00.0 VGA compatible controller: nVidia Corporation GeForce 8400 GS (rev a1) -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com Alma Maters: Singapore Polytechnic, National University of Singapore On 08/25/2009 03:35 AM, Mr. Teo En Ming (Zhang Enming) wrote:> I have already compiled CONFIG_PCI_STUB=y statically into the kernel. > > -- > Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) > Technical Support Engineer > Information Technology Department > Asiasoft Online Pte Ltd > Tampines Central 1 #04-01 Tampines Plaza > Singapore 529541 > Republic of Singapore > Mobile: +65-9648-9798 > MSN:teoenming@hotmail.com > Alma Maters: Singapore Polytechnic, National University of Singapore > > > On 08/25/2009 03:33 AM, Mr. Teo En Ming (Zhang Enming) wrote: >> I find that following the instructions here at Xen Wiki VtdHowTo >> don''t work: >> >> >> Binding Devices to pci-stub >> >> If using pv-ops dom0, also can use pci-stub to hide devices for >> assignment (example PCI device 01:00.0) * lspci -n * locate the entry >> for device 01:00.0 and note down the vendor & device ID 8086:10b9 . >> >> ... >> 01:00.0 0200: 8086:10b9 (rev 06) >> ... >> >> * then use following commands to hide it: . >> >> echo "8086 10b9"> /sys/bus/pci/drivers/pci-stub/new_id >> echo "0000:01:00.0"> /sys/bus/pci/devices/0000:01:00.0/driver/unbind >> echo "0000:01:00.0"> /sys/bus/pci/drivers/pci-stub/bind >> >> When I tried to "cat /sys/bus/pci/drivers/pci-stub/new_id", it says permission denied. >> >> My NVIDIA graphics card is using BDF 01:00.0. When I change directory to >> /sys/bus/pci/devices/0000:01:00.0/, sub-directory driver is not found at all. >> >> Then when I put in pci = [ ''01:00.0'' ] for the Windows XP Home HVM config, it complains about pciback but I am using paravirt-ops dom 0 kernel. >> >> And when I tried the "xm pci-list-assignable-devices", nothing shows up. >> >> I have already specified iommu=1 in grub. >> >> Hope the Intel folks can assist in this matter. >> >> >> -- >> Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) >> Technical Support Engineer >> Information Technology Department >> Asiasoft Online Pte Ltd >> Tampines Central 1 #04-01 Tampines Plaza >> Singapore 529541 >> Republic of Singapore >> Mobile: +65-9648-9798 >> MSN:teoenming@hotmail.com >> Alma Maters: Singapore Polytechnic, National University of Singapore >> >> >> On 08/25/2009 03:23 AM, Mr. Teo En Ming (Zhang Enming) wrote: >>> I have both the onboard Intel GMA 4500 and the PCI Express x16 >>> NVIDIA Geforce 8400 GS. >>> >>> Ng Beng Heng at the University of Michigan has done it. He''s using >>> the same Intel DQ45CB as me. >>> >> >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Mr. Teo En Ming (Zhang Enming)
2009-Aug-25 00:57 UTC
Re: [Xen-devel] Xen Paravirt Operations Domain 0 Serial Console Problem
Dear Beng Heng, I understand that you got VGA passthrough working with Intel DQ45CB and an PCI-E x16 ATI Graphics card. I have Intel DQ45CB and NVIDIA Geforce 8400 GS PCI-E x16. Could you share with me in details how you got VGA passthrough to work with ATI PCI-E x16 when you set onboard VGA as your primary video adapter? Thank you. -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com Alma Maters: Singapore Polytechnic, National University of Singapore On 08/25/2009 08:49 AM, Mr. Teo En Ming (Zhang Enming) wrote:> Hi > > When I boot up the computer using onboard Intel GMA 4500 as the > primary VGA controller, I could still see the NVIDIA Geforce 8400 GS > PCI Express x16 card in lspci. > > 00:02.0 VGA compatible controller: Intel Corporation 4 Series Chipset > Integrated Graphics Controller (rev 03) > 01:00.0 VGA compatible controller: nVidia Corporation GeForce 8400 GS > (rev a1) > > > -- > Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) > Technical Support Engineer > Information Technology Department > Asiasoft Online Pte Ltd > Tampines Central 1 #04-01 Tampines Plaza > Singapore 529541 > Republic of Singapore > Mobile: +65-9648-9798 > MSN:teoenming@hotmail.com > Alma Maters: Singapore Polytechnic, National University of Singapore > > > On 08/25/2009 03:35 AM, Mr. Teo En Ming (Zhang Enming) wrote: >> I have already compiled CONFIG_PCI_STUB=y statically into the kernel. >> >> -- >> Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) >> Technical Support Engineer >> Information Technology Department >> Asiasoft Online Pte Ltd >> Tampines Central 1 #04-01 Tampines Plaza >> Singapore 529541 >> Republic of Singapore >> Mobile: +65-9648-9798 >> MSN:teoenming@hotmail.com >> Alma Maters: Singapore Polytechnic, National University of Singapore >> >> >> On 08/25/2009 03:33 AM, Mr. Teo En Ming (Zhang Enming) wrote: >>> I find that following the instructions here at Xen Wiki VtdHowTo >>> don''t work: >>> >>> >>> Binding Devices to pci-stub >>> >>> If using pv-ops dom0, also can use pci-stub to hide devices for >>> assignment (example PCI device 01:00.0) * lspci -n * locate the >>> entry for device 01:00.0 and note down the vendor & device ID >>> 8086:10b9 . >>> >>> ... >>> 01:00.0 0200: 8086:10b9 (rev 06) >>> ... >>> >>> * then use following commands to hide it: . >>> >>> echo "8086 10b9"> /sys/bus/pci/drivers/pci-stub/new_id >>> echo "0000:01:00.0"> /sys/bus/pci/devices/0000:01:00.0/driver/unbind >>> echo "0000:01:00.0"> /sys/bus/pci/drivers/pci-stub/bind >>> >>> When I tried to "cat /sys/bus/pci/drivers/pci-stub/new_id", it says permission denied. >>> >>> My NVIDIA graphics card is using BDF 01:00.0. When I change directory to >>> /sys/bus/pci/devices/0000:01:00.0/, sub-directory driver is not found at all. >>> >>> Then when I put in pci = [ ''01:00.0'' ] for the Windows XP Home HVM config, it complains about pciback but I am using paravirt-ops dom 0 kernel. >>> >>> And when I tried the "xm pci-list-assignable-devices", nothing shows up. >>> >>> I have already specified iommu=1 in grub. >>> >>> Hope the Intel folks can assist in this matter. >>> >>> >>> -- >>> Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) >>> Technical Support Engineer >>> Information Technology Department >>> Asiasoft Online Pte Ltd >>> Tampines Central 1 #04-01 Tampines Plaza >>> Singapore 529541 >>> Republic of Singapore >>> Mobile: +65-9648-9798 >>> MSN:teoenming@hotmail.com >>> Alma Maters: Singapore Polytechnic, National University of Singapore >>> >>> >>> On 08/25/2009 03:23 AM, Mr. Teo En Ming (Zhang Enming) wrote: >>>> I have both the onboard Intel GMA 4500 and the PCI Express x16 >>>> NVIDIA Geforce 8400 GS. >>>> >>>> Ng Beng Heng at the University of Michigan has done it. He''s using >>>> the same Intel DQ45CB as me. >>>> >>> >> > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Mr. Teo En Ming (Zhang Enming)
2009-Aug-25 00:59 UTC
[Xen-devel] VGA Passthrough with Intel DQ45CB and NVIDIA Geforce 8400 GS PCI Express x16
Hi, I should probably rename the subject of this email. -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com Alma Maters: Singapore Polytechnic, National University of Singapore On 08/25/2009 08:57 AM, Mr. Teo En Ming (Zhang Enming) wrote:> Dear Beng Heng, > > I understand that you got VGA passthrough working with Intel DQ45CB > and an PCI-E x16 ATI Graphics card. > > I have Intel DQ45CB and NVIDIA Geforce 8400 GS PCI-E x16. > > Could you share with me in details how you got VGA passthrough to work > with ATI PCI-E x16 when you set onboard VGA as your primary video adapter? > > Thank you. > -- > Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) > Technical Support Engineer > Information Technology Department > Asiasoft Online Pte Ltd > Tampines Central 1 #04-01 Tampines Plaza > Singapore 529541 > Republic of Singapore > Mobile: +65-9648-9798 > MSN:teoenming@hotmail.com > Alma Maters: Singapore Polytechnic, National University of Singapore > > > On 08/25/2009 08:49 AM, Mr. Teo En Ming (Zhang Enming) wrote: >> Hi >> >> When I boot up the computer using onboard Intel GMA 4500 as the >> primary VGA controller, I could still see the NVIDIA Geforce 8400 GS >> PCI Express x16 card in lspci. >> >> 00:02.0 VGA compatible controller: Intel Corporation 4 Series Chipset >> Integrated Graphics Controller (rev 03) >> 01:00.0 VGA compatible controller: nVidia Corporation GeForce 8400 GS >> (rev a1) >> >> >> -- >> Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) >> Technical Support Engineer >> Information Technology Department >> Asiasoft Online Pte Ltd >> Tampines Central 1 #04-01 Tampines Plaza >> Singapore 529541 >> Republic of Singapore >> Mobile: +65-9648-9798 >> MSN:teoenming@hotmail.com >> Alma Maters: Singapore Polytechnic, National University of Singapore >> >> >> On 08/25/2009 03:35 AM, Mr. Teo En Ming (Zhang Enming) wrote: >>> I have already compiled CONFIG_PCI_STUB=y statically into the kernel. >>> >>> -- >>> Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) >>> Technical Support Engineer >>> Information Technology Department >>> Asiasoft Online Pte Ltd >>> Tampines Central 1 #04-01 Tampines Plaza >>> Singapore 529541 >>> Republic of Singapore >>> Mobile: +65-9648-9798 >>> MSN:teoenming@hotmail.com >>> Alma Maters: Singapore Polytechnic, National University of Singapore >>> >>> >>> On 08/25/2009 03:33 AM, Mr. Teo En Ming (Zhang Enming) wrote: >>>> I find that following the instructions here at Xen Wiki VtdHowTo >>>> don''t work: >>>> >>>> >>>> Binding Devices to pci-stub >>>> >>>> If using pv-ops dom0, also can use pci-stub to hide devices for >>>> assignment (example PCI device 01:00.0) * lspci -n * locate the >>>> entry for device 01:00.0 and note down the vendor & device ID >>>> 8086:10b9 . >>>> >>>> ... >>>> 01:00.0 0200: 8086:10b9 (rev 06) >>>> ... >>>> >>>> * then use following commands to hide it: . >>>> >>>> echo "8086 10b9"> /sys/bus/pci/drivers/pci-stub/new_id >>>> echo "0000:01:00.0"> /sys/bus/pci/devices/0000:01:00.0/driver/unbind >>>> echo "0000:01:00.0"> /sys/bus/pci/drivers/pci-stub/bind >>>> >>>> When I tried to "cat /sys/bus/pci/drivers/pci-stub/new_id", it says permission denied. >>>> >>>> My NVIDIA graphics card is using BDF 01:00.0. When I change directory to >>>> /sys/bus/pci/devices/0000:01:00.0/, sub-directory driver is not found at all. >>>> >>>> Then when I put in pci = [ ''01:00.0'' ] for the Windows XP Home HVM config, it complains about pciback but I am using paravirt-ops dom 0 kernel. >>>> >>>> And when I tried the "xm pci-list-assignable-devices", nothing shows up. >>>> >>>> I have already specified iommu=1 in grub. >>>> >>>> Hope the Intel folks can assist in this matter. >>>> >>>> >>>> -- >>>> Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) >>>> Technical Support Engineer >>>> Information Technology Department >>>> Asiasoft Online Pte Ltd >>>> Tampines Central 1 #04-01 Tampines Plaza >>>> Singapore 529541 >>>> Republic of Singapore >>>> Mobile: +65-9648-9798 >>>> MSN:teoenming@hotmail.com >>>> Alma Maters: Singapore Polytechnic, National University of Singapore >>>> >>>> >>>> On 08/25/2009 03:23 AM, Mr. Teo En Ming (Zhang Enming) wrote: >>>>> I have both the onboard Intel GMA 4500 and the PCI Express x16 >>>>> NVIDIA Geforce 8400 GS. >>>>> >>>>> Ng Beng Heng at the University of Michigan has done it. He''s using >>>>> the same Intel DQ45CB as me. >>>>> >>>> >>> >> >> > > > ------------------------------------------------------------------------ > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Han, Weidong
2009-Aug-25 02:04 UTC
RE: [Xen-devel] Xen Paravirt Operations Domain 0 Serial Console Problem
What version of Xen are you using? Make sure after c/s 19893, which enables pci-stub to hide devices for assignment. It works fine for me. > When I tried to "cat /sys/bus/pci/drivers/pci-stub/new_id", it says permission denied It doesn't matter. It is the same to pciback. You will get the same message when you do "cat /sys/bus/pci/drivers/pciback/new_id". After use commands to hide 01:00.0 with pci-stub, can you see it use command 'ls /sys/bus/pci/drivers/pci-stub/'? Regards, Weidong ________________________________ From: Mr. Teo En Ming (Zhang Enming) [mailto:enming.teo@asiasoftsea.net] Sent: 2009年8月25日 3:33 To: enming.teo@asiasoftsea.net Cc: pasik@iki.fi; xen-devel@lists.xensource.com; Alan Cox; Han, Weidong Subject: Re: [Xen-devel] Xen Paravirt Operations Domain 0 Serial Console Problem I find that following the instructions here at Xen Wiki VtdHowTo don't work: Binding Devices to pci-stub If using pv-ops dom0, also can use pci-stub to hide devices for assignment (example PCI device 01:00.0) * lspci -n * locate the entry for device 01:00.0 and note down the vendor & device ID 8086:10b9 . ... 01:00.0 0200: 8086:10b9 (rev 06) ... * then use following commands to hide it: . echo "8086 10b9" > /sys/bus/pci/drivers/pci-stub/new_id echo "0000:01:00.0" > /sys/bus/pci/devices/0000:01:00.0/driver/unbind echo "0000:01:00.0" > /sys/bus/pci/drivers/pci-stub/bind When I tried to "cat /sys/bus/pci/drivers/pci-stub/new_id", it says permission denied. My NVIDIA graphics card is using BDF 01:00.0. When I change directory to /sys/bus/pci/devices/0000:01:00.0/, sub-directory driver is not found at all. Then when I put in pci = [ '01:00.0' ] for the Windows XP Home HVM config, it complains about pciback but I am using paravirt-ops dom 0 kernel. And when I tried the "xm pci-list-assignable-devices", nothing shows up. I have already specified iommu=1 in grub. Hope the Intel folks can assist in this matter. -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com<mailto:teoenming@hotmail.com> Alma Maters: Singapore Polytechnic, National University of Singapore On 08/25/2009 03:23 AM, Mr. Teo En Ming (Zhang Enming) wrote: I have both the onboard Intel GMA 4500 and the PCI Express x16 NVIDIA Geforce 8400 GS. Ng Beng Heng at the University of Michigan has done it. He's using the same Intel DQ45CB as me. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Han, Weidong
2009-Aug-25 02:09 UTC
[Xen-devel] RE: VGA Passthrough with Intel DQ45CB and NVIDIA Geforce 8400 GS PCI Express x16
Per our investigation, you cannot copy VGA bios from host 0xc0000 to guest for secondary gfx assignment. You can load it from a file. In addition, if you want to passthrough Nvidia G8400, you need to 1:1 map its MMIO BARs. Regards, Weidong ________________________________ From: Mr. Teo En Ming (Zhang Enming) [mailto:enming.teo@asiasoftsea.net] Sent: 2009年8月25日 8:59 To: enming.teo@asiasoftsea.net Cc: bengheng@eecs.umich.edu; xen-devel@lists.xensource.com; Han, Weidong; Alan Cox Subject: VGA Passthrough with Intel DQ45CB and NVIDIA Geforce 8400 GS PCI Express x16 Hi, I should probably rename the subject of this email. -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com<mailto:teoenming@hotmail.com> Alma Maters: Singapore Polytechnic, National University of Singapore On 08/25/2009 08:57 AM, Mr. Teo En Ming (Zhang Enming) wrote: Dear Beng Heng, I understand that you got VGA passthrough working with Intel DQ45CB and an PCI-E x16 ATI Graphics card. I have Intel DQ45CB and NVIDIA Geforce 8400 GS PCI-E x16. Could you share with me in details how you got VGA passthrough to work with ATI PCI-E x16 when you set onboard VGA as your primary video adapter? Thank you. -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com<mailto:teoenming@hotmail.com> Alma Maters: Singapore Polytechnic, National University of Singapore On 08/25/2009 08:49 AM, Mr. Teo En Ming (Zhang Enming) wrote: Hi When I boot up the computer using onboard Intel GMA 4500 as the primary VGA controller, I could still see the NVIDIA Geforce 8400 GS PCI Express x16 card in lspci. 00:02.0 VGA compatible controller: Intel Corporation 4 Series Chipset Integrated Graphics Controller (rev 03) 01:00.0 VGA compatible controller: nVidia Corporation GeForce 8400 GS (rev a1) -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com<mailto:teoenming@hotmail.com> Alma Maters: Singapore Polytechnic, National University of Singapore On 08/25/2009 03:35 AM, Mr. Teo En Ming (Zhang Enming) wrote: I have already compiled CONFIG_PCI_STUB=y statically into the kernel. -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com<mailto:teoenming@hotmail.com> Alma Maters: Singapore Polytechnic, National University of Singapore On 08/25/2009 03:33 AM, Mr. Teo En Ming (Zhang Enming) wrote: I find that following the instructions here at Xen Wiki VtdHowTo don't work: Binding Devices to pci-stub If using pv-ops dom0, also can use pci-stub to hide devices for assignment (example PCI device 01:00.0) * lspci -n * locate the entry for device 01:00.0 and note down the vendor & device ID 8086:10b9 . ... 01:00.0 0200: 8086:10b9 (rev 06) ... * then use following commands to hide it: . echo "8086 10b9" > /sys/bus/pci/drivers/pci-stub/new_id echo "0000:01:00.0" > /sys/bus/pci/devices/0000:01:00.0/driver/unbind echo "0000:01:00.0" > /sys/bus/pci/drivers/pci-stub/bind When I tried to "cat /sys/bus/pci/drivers/pci-stub/new_id", it says permission denied. My NVIDIA graphics card is using BDF 01:00.0. When I change directory to /sys/bus/pci/devices/0000:01:00.0/, sub-directory driver is not found at all. Then when I put in pci = [ '01:00.0' ] for the Windows XP Home HVM config, it complains about pciback but I am using paravirt-ops dom 0 kernel. And when I tried the "xm pci-list-assignable-devices", nothing shows up. I have already specified iommu=1 in grub. Hope the Intel folks can assist in this matter. -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com<mailto:teoenming@hotmail.com> Alma Maters: Singapore Polytechnic, National University of Singapore On 08/25/2009 03:23 AM, Mr. Teo En Ming (Zhang Enming) wrote: I have both the onboard Intel GMA 4500 and the PCI Express x16 NVIDIA Geforce 8400 GS. Ng Beng Heng at the University of Michigan has done it. He's using the same Intel DQ45CB as me. ________________________________ _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com<mailto:Xen-devel@lists.xensource.com> http://lists.xensource.com/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Teo En Ming (Zhang Enming)
2009-Aug-25 02:40 UTC
RE: [Xen-devel] Xen Paravirt Operations Domain 0 Serial ConsoleProblem
Hi Weidong, I believe I am using Xen 3.4.1 with changeset of 6 August 2009. I can''t remember the changeset number. I will check and get back to you later. Thank you. Regards, Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com _____ From: Han, Weidong [mailto:weidong.han@intel.com] Sent: Tuesday, August 25, 2009 10:04 AM To: ''enming.teo@asiasoftsea.net'' Cc: ''pasik@iki.fi''; ''xen-devel@lists.xensource.com''; ''Alan Cox'' Subject: RE: [Xen-devel] Xen Paravirt Operations Domain 0 Serial ConsoleProblem What version of Xen are you using? Make sure after c/s 19893, which enables pci-stub to hide devices for assignment. It works fine for me. > When I tried to "cat /sys/bus/pci/drivers/pci-stub/new_id", it says permission denied It doesn''t matter. It is the same to pciback. You will get the same message when you do "cat /sys/bus/pci/drivers/pciback/new_id". After use commands to hide 01:00.0 with pci-stub, can you see it use command ''ls /sys/bus/pci/drivers/pci-stub/''? Regards, Weidong _____ From: Mr. Teo En Ming (Zhang Enming) [mailto:enming.teo@asiasoftsea.net] Sent: 2009年8月25日 3:33 To: enming.teo@asiasoftsea.net Cc: pasik@iki.fi; xen-devel@lists.xensource.com; Alan Cox; Han, Weidong Subject: Re: [Xen-devel] Xen Paravirt Operations Domain 0 Serial Console Problem I find that following the instructions here at Xen Wiki VtdHowTo don''t work: Binding Devices to pci-stub If using pv-ops dom0, also can use pci-stub to hide devices for assignment (example PCI device 01:00.0) * lspci -n * locate the entry for device 01:00. 0 and note down the vendor & device ID 8086:10b9 . ... 01:00.0 0200: 8086:10b9 (rev 06) ... * then use following commands to hide it: . echo "8086 10b9" > /sys/bus/pci/drivers/pci-stub/new_id echo "0000:01:00.0" > /sys/bus/pci/devices/0000:01:00.0/driver/unbind echo "0000:01:00.0" > /sys/bus/pci/drivers/pci-stub/bind When I tried to "cat /sys/bus/pci/drivers/pci-stub/new_id", it says permission denied. My NVIDIA graphics card is using BDF 01:00.0. When I change directory to /sys/bus/pci/devices/0000:01:00.0/, sub-directory driver is not found at all. Then when I put in pci = [ ''01:00.0'' ] for the Windows XP Home HVM config, it complains about pciback but I am using paravirt-ops dom 0 kernel. And when I tried the "xm pci-list-assignable-devices", nothing shows up. I have already specified iommu=1 in grub. Hope the Intel folks can assist in this matter. -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com Alma Maters: Singapore Polytechnic, National University of Singapore On 08/25/2009 03:23 AM, Mr. Teo En Ming (Zhang Enming) wrote: I have both the onboard Intel GMA 4500 and the PCI Express x16 NVIDIA Geforce 8400 GS. Ng Beng Heng at the University of Michigan has done it. He''s using the same Intel DQ45CB as me. No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.392 / Virus Database: 270.13.65/2322 - Release Date: 08/23/09 18:03:00 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Teo En Ming (Zhang Enming)
2009-Aug-25 02:44 UTC
[Xen-devel] RE: VGA Passthrough with Intel DQ45CB and NVIDIA Geforce 8400 GS PCI Express x16
Hi Weidong, Any detailed documentation for the two tasks you mentioned? Regards, Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com _____ From: Han, Weidong [mailto:weidong.han@intel.com] Sent: Tuesday, August 25, 2009 10:09 AM To: ''enming.teo@asiasoftsea.net'' Cc: ''bengheng@eecs.umich.edu''; ''xen-devel@lists.xensource.com''; ''Alan Cox'' Subject: RE: VGA Passthrough with Intel DQ45CB and NVIDIA Geforce 8400 GS PCI Express x16 Per our investigation, you cannot copy VGA bios from host 0xc0000 to guest for secondary gfx assignment. You can load it from a file. In addition, if you want to passthrough Nvidia G8400, you need to 1:1 map its MMIO BARs. Regards, Weidong _____ From: Mr. Teo En Ming (Zhang Enming) [mailto:enming.teo@asiasoftsea.net] Sent: 2009年8月25日 8:59 To: enming.teo@asiasoftsea.net Cc: bengheng@eecs.umich.edu; xen-devel@lists.xensource.com; Han, Weidong; Alan Cox Subject: VGA Passthrough with Intel DQ45CB and NVIDIA Geforce 8400 GS PCI Express x16 Hi, I should probably rename the subject of this email. -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com Alma Maters: Singapore Polytechnic, National University of Singapore On 08/25/2009 08:57 AM, Mr. Teo En Ming (Zhang Enming) wrote: Dear Beng Heng, I understand that you got VGA passthrough working with Intel DQ45CB and an PCI-E x16 ATI Graphics card. I have Intel DQ45CB and NVIDIA Geforce 8400 GS PCI-E x16. Could you share with me in details how you got VGA passthrough to work with ATI PCI-E x16 when you set onboard VGA as your primary video adapter? Thank you. -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com Alma Maters: Singapore Polytechnic, National University of Singapore On 08/25/2009 08:49 AM, Mr. Teo En Ming (Zhang Enming) wrote: Hi When I boot up the computer using onboard Intel GMA 4500 as the primary VGA controller, I could still see the NVIDIA Geforce 8400 GS PCI Express x16 card in lspci. 00:02.0 VGA compatible controller: Intel Corporation 4 Series Chipset Integrated Graphics Controller (rev 03) 01:00.0 VGA compatible controller: nVidia Corporation GeForce 8400 GS (rev a1) -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com Alma Maters: Singapore Polytechnic, National University of Singapore On 08/25/2009 03:35 AM, Mr. Teo En Ming (Zhang Enming) wrote: I have already compiled CONFIG_PCI_STUB=y statically into the kernel. -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com Alma Maters: Singapore Polytechnic, National University of Singapore On 08/25/2009 03:33 AM, Mr. Teo En Ming (Zhang Enming) wrote: I find that following the instructions here at Xen Wiki VtdHowTo don''t work: Binding Devices to pci-stub If using pv-ops dom0, also can use pci-stub to hide devices for assignment (example PCI device 01:00.0) * lspci -n * locate the entry for device 01:00. 0 and note down the vendor & device ID 8086:10b9 . ... 01:00.0 0200: 8086:10b9 (rev 06) ... * then use following commands to hide it: . echo "8086 10b9" > /sys/bus/pci/drivers/pci-stub/new_id echo "0000:01:00.0" > /sys/bus/pci/devices/0000:01:00.0/driver/unbind echo "0000:01:00.0" > /sys/bus/pci/drivers/pci-stub/bind When I tried to "cat /sys/bus/pci/drivers/pci-stub/new_id", it says permission denied. My NVIDIA graphics card is using BDF 01:00.0. When I change directory to /sys/bus/pci/devices/0000:01:00.0/, sub-directory driver is not found at all. Then when I put in pci = [ ''01:00.0'' ] for the Windows XP Home HVM config, it complains about pciback but I am using paravirt-ops dom 0 kernel. And when I tried the "xm pci-list-assignable-devices", nothing shows up. I have already specified iommu=1 in grub. Hope the Intel folks can assist in this matter. -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com Alma Maters: Singapore Polytechnic, National University of Singapore On 08/25/2009 03:23 AM, Mr. Teo En Ming (Zhang Enming) wrote: I have both the onboard Intel GMA 4500 and the PCI Express x16 NVIDIA Geforce 8400 GS. Ng Beng Heng at the University of Michigan has done it. He''s using the same Intel DQ45CB as me. _____ _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.392 / Virus Database: 270.13.65/2322 - Release Date: 08/24/09 12:55:00 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Teo En Ming (Zhang Enming)
2009-Aug-25 02:50 UTC
RE: [Xen-devel] Xen Paravirt Operations Domain 0 Serial ConsoleProblem
Hi Weidong, I can confirm that I am using Xen 3.4.1 with changeset of 6 August 2009. However, I can''t remember the changeset number. I need to get home after work to find out. Regards, Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com _____ From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists. xensource.com] On Behalf Of Teo En Ming (Zhang Enming) Sent: Tuesday, August 25, 2009 10:41 AM To: weidong.han@intel.com Cc: xen-devel@lists.xensource.com; ''Alan Cox'' Subject: RE: [Xen-devel] Xen Paravirt Operations Domain 0 Serial ConsoleProblem Hi Weidong, I believe I am using Xen 3.4.1 with changeset of 6 August 2009. I can''t remember the changeset number. I will check and get back to you later. Thank you. Regards, Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com _____ From: Han, Weidong [mailto:weidong.han@intel.com] Sent: Tuesday, August 25, 2009 10:04 AM To: ''enming.teo@asiasoftsea.net'' Cc: ''pasik@iki.fi''; ''xen-devel@lists.xensource.com''; ''Alan Cox'' Subject: RE: [Xen-devel] Xen Paravirt Operations Domain 0 Serial ConsoleProblem What version of Xen are you using? Make sure after c/s 19893, which enables pci-stub to hide devices for assignment. It works fine for me. > When I tried to "cat /sys/bus/pci/drivers/pci-stub/new_id", it says permission denied It doesn''t matter. It is the same to pciback. You will get the same message when you do "cat /sys/bus/pci/drivers/pciback/new_id". After use commands to hide 01:00.0 with pci-stub, can you see it use command ''ls /sys/bus/pci/drivers/pci-stub/''? Regards, Weidong _____ From: Mr. Teo En Ming (Zhang Enming) [mailto:enming.teo@asiasoftsea.net] Sent: 2009年8月25日 3:33 To: enming.teo@asiasoftsea.net Cc: pasik@iki.fi; xen-devel@lists.xensource.com; Alan Cox; Han, Weidong Subject: Re: [Xen-devel] Xen Paravirt Operations Domain 0 Serial Console Problem I find that following the instructions here at Xen Wiki VtdHowTo don''t work: Binding Devices to pci-stub If using pv-ops dom0, also can use pci-stub to hide devices for assignment (example PCI device 01:00.0) * lspci -n * locate the entry for device 01:00. 0 and note down the vendor & device ID 8086:10b9 . ... 01:00.0 0200: 8086:10b9 (rev 06) ... * then use following commands to hide it: . echo "8086 10b9" > /sys/bus/pci/drivers/pci-stub/new_id echo "0000:01:00.0" > /sys/bus/pci/devices/0000:01:00.0/driver/unbind echo "0000:01:00.0" > /sys/bus/pci/drivers/pci-stub/bind When I tried to "cat /sys/bus/pci/drivers/pci-stub/new_id", it says permission denied. My NVIDIA graphics card is using BDF 01:00.0. When I change directory to /sys/bus/pci/devices/0000:01:00.0/, sub-directory driver is not found at all. Then when I put in pci = [ ''01:00.0'' ] for the Windows XP Home HVM config, it complains about pciback but I am using paravirt-ops dom 0 kernel. And when I tried the "xm pci-list-assignable-devices", nothing shows up. I have already specified iommu=1 in grub. Hope the Intel folks can assist in this matter. -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com Alma Maters: Singapore Polytechnic, National University of Singapore On 08/25/2009 03:23 AM, Mr. Teo En Ming (Zhang Enming) wrote: I have both the onboard Intel GMA 4500 and the PCI Express x16 NVIDIA Geforce 8400 GS. Ng Beng Heng at the University of Michigan has done it. He''s using the same Intel DQ45CB as me. No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.392 / Virus Database: 270.13.65/2322 - Release Date: 08/23/09 18:03:00 No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.392 / Virus Database: 270.13.65/2322 - Release Date: 08/24/09 12:55:00 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Han, Weidong
2009-Aug-25 03:03 UTC
RE: [Xen-devel] Xen Paravirt Operations Domain 0 Serial ConsoleProblem
Xen 3.4.1 doesn't include the changeset 19893, so it cannot work for you. Basically, I use 2.6.18 dom0 with Xen 3.4, and use pv-ops dom 0 with xen-unstable. Anyway, you can port the c/s 19893 to your code, and try again. Regards, Weidong ________________________________ From: Teo En Ming (Zhang Enming) [mailto:enming.teo@asiasoftsea.net] Sent: 2009年8月25日 10:50 To: enming.teo@asiasoftsea.net; Han, Weidong Cc: xen-devel@lists.xensource.com; 'Alan Cox' Subject: RE: [Xen-devel] Xen Paravirt Operations Domain 0 Serial ConsoleProblem Hi Weidong, I can confirm that I am using Xen 3.4.1 with changeset of 6 August 2009. However, I can't remember the changeset number. I need to get home after work to find out. Regards, Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com ________________________________ From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Teo En Ming (Zhang Enming) Sent: Tuesday, August 25, 2009 10:41 AM To: weidong.han@intel.com Cc: xen-devel@lists.xensource.com; 'Alan Cox' Subject: RE: [Xen-devel] Xen Paravirt Operations Domain 0 Serial ConsoleProblem Hi Weidong, I believe I am using Xen 3.4.1 with changeset of 6 August 2009. I can't remember the changeset number. I will check and get back to you later. Thank you. Regards, Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com ________________________________ From: Han, Weidong [mailto:weidong.han@intel.com] Sent: Tuesday, August 25, 2009 10:04 AM To: 'enming.teo@asiasoftsea.net' Cc: 'pasik@iki.fi'; 'xen-devel@lists.xensource.com'; 'Alan Cox' Subject: RE: [Xen-devel] Xen Paravirt Operations Domain 0 Serial ConsoleProblem What version of Xen are you using? Make sure after c/s 19893, which enables pci-stub to hide devices for assignment. It works fine for me. > When I tried to "cat /sys/bus/pci/drivers/pci-stub/new_id", it says permission denied It doesn't matter. It is the same to pciback. You will get the same message when you do "cat /sys/bus/pci/drivers/pciback/new_id". After use commands to hide 01:00.0 with pci-stub, can you see it use command 'ls /sys/bus/pci/drivers/pci-stub/'? Regards, Weidong ________________________________ From: Mr. Teo En Ming (Zhang Enming) [mailto:enming.teo@asiasoftsea.net] Sent: 2009年8月25日 3:33 To: enming.teo@asiasoftsea.net Cc: pasik@iki.fi; xen-devel@lists.xensource.com; Alan Cox; Han, Weidong Subject: Re: [Xen-devel] Xen Paravirt Operations Domain 0 Serial Console Problem I find that following the instructions here at Xen Wiki VtdHowTo don't work: Binding Devices to pci-stub If using pv-ops dom0, also can use pci-stub to hide devices for assignment (example PCI device 01:00.0) * lspci -n * locate the entry for device 01:00.0 and note down the vendor & device ID 8086:10b9 . ... 01:00.0 0200: 8086:10b9 (rev 06) ... * then use following commands to hide it: . echo "8086 10b9" > /sys/bus/pci/drivers/pci-stub/new_id echo "0000:01:00.0" > /sys/bus/pci/devices/0000:01:00.0/driver/unbind echo "0000:01:00.0" > /sys/bus/pci/drivers/pci-stub/bind When I tried to "cat /sys/bus/pci/drivers/pci-stub/new_id", it says permission denied. My NVIDIA graphics card is using BDF 01:00.0. When I change directory to /sys/bus/pci/devices/0000:01:00.0/, sub-directory driver is not found at all. Then when I put in pci = [ '01:00.0' ] for the Windows XP Home HVM config, it complains about pciback but I am using paravirt-ops dom 0 kernel. And when I tried the "xm pci-list-assignable-devices", nothing shows up. I have already specified iommu=1 in grub. Hope the Intel folks can assist in this matter. -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com<mailto:teoenming@hotmail.com> Alma Maters: Singapore Polytechnic, National University of Singapore On 08/25/2009 03:23 AM, Mr. Teo En Ming (Zhang Enming) wrote: I have both the onboard Intel GMA 4500 and the PCI Express x16 NVIDIA Geforce 8400 GS. Ng Beng Heng at the University of Michigan has done it. He's using the same Intel DQ45CB as me. No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.392 / Virus Database: 270.13.65/2322 - Release Date: 08/23/09 18:03:00 No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.392 / Virus Database: 270.13.65/2322 - Release Date: 08/24/09 12:55:00 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Han, Weidong
2009-Aug-25 03:05 UTC
[Xen-devel] RE: VGA Passthrough with Intel DQ45CB and NVIDIA Geforce 8400 GS PCI Express x16
No. we observed those problems in your investigation. Regards, Weidong ________________________________ From: Teo En Ming (Zhang Enming) [mailto:enming.teo@asiasoftsea.net] Sent: 2009年8月25日 10:45 To: Han, Weidong Cc: bengheng@eecs.umich.edu; xen-devel@lists.xensource.com; 'Alan Cox' Subject: RE: VGA Passthrough with Intel DQ45CB and NVIDIA Geforce 8400 GS PCI Express x16 Hi Weidong, Any detailed documentation for the two tasks you mentioned? Regards, Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com ________________________________ From: Han, Weidong [mailto:weidong.han@intel.com] Sent: Tuesday, August 25, 2009 10:09 AM To: 'enming.teo@asiasoftsea.net' Cc: 'bengheng@eecs.umich.edu'; 'xen-devel@lists.xensource.com'; 'Alan Cox' Subject: RE: VGA Passthrough with Intel DQ45CB and NVIDIA Geforce 8400 GS PCI Express x16 Per our investigation, you cannot copy VGA bios from host 0xc0000 to guest for secondary gfx assignment. You can load it from a file. In addition, if you want to passthrough Nvidia G8400, you need to 1:1 map its MMIO BARs. Regards, Weidong ________________________________ From: Mr. Teo En Ming (Zhang Enming) [mailto:enming.teo@asiasoftsea.net] Sent: 2009年8月25日 8:59 To: enming.teo@asiasoftsea.net Cc: bengheng@eecs.umich.edu; xen-devel@lists.xensource.com; Han, Weidong; Alan Cox Subject: VGA Passthrough with Intel DQ45CB and NVIDIA Geforce 8400 GS PCI Express x16 Hi, I should probably rename the subject of this email. -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com<mailto:teoenming@hotmail.com> Alma Maters: Singapore Polytechnic, National University of Singapore On 08/25/2009 08:57 AM, Mr. Teo En Ming (Zhang Enming) wrote: Dear Beng Heng, I understand that you got VGA passthrough working with Intel DQ45CB and an PCI-E x16 ATI Graphics card. I have Intel DQ45CB and NVIDIA Geforce 8400 GS PCI-E x16. Could you share with me in details how you got VGA passthrough to work with ATI PCI-E x16 when you set onboard VGA as your primary video adapter? Thank you. -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com<mailto:teoenming@hotmail.com> Alma Maters: Singapore Polytechnic, National University of Singapore On 08/25/2009 08:49 AM, Mr. Teo En Ming (Zhang Enming) wrote: Hi When I boot up the computer using onboard Intel GMA 4500 as the primary VGA controller, I could still see the NVIDIA Geforce 8400 GS PCI Express x16 card in lspci. 00:02.0 VGA compatible controller: Intel Corporation 4 Series Chipset Integrated Graphics Controller (rev 03) 01:00.0 VGA compatible controller: nVidia Corporation GeForce 8400 GS (rev a1) -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com<mailto:teoenming@hotmail.com> Alma Maters: Singapore Polytechnic, National University of Singapore On 08/25/2009 03:35 AM, Mr. Teo En Ming (Zhang Enming) wrote: I have already compiled CONFIG_PCI_STUB=y statically into the kernel. -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com<mailto:teoenming@hotmail.com> Alma Maters: Singapore Polytechnic, National University of Singapore On 08/25/2009 03:33 AM, Mr. Teo En Ming (Zhang Enming) wrote: I find that following the instructions here at Xen Wiki VtdHowTo don't work: Binding Devices to pci-stub If using pv-ops dom0, also can use pci-stub to hide devices for assignment (example PCI device 01:00.0) * lspci -n * locate the entry for device 01:00.0 and note down the vendor & device ID 8086:10b9 . ... 01:00.0 0200: 8086:10b9 (rev 06) ... * then use following commands to hide it: . echo "8086 10b9" > /sys/bus/pci/drivers/pci-stub/new_id echo "0000:01:00.0" > /sys/bus/pci/devices/0000:01:00.0/driver/unbind echo "0000:01:00.0" > /sys/bus/pci/drivers/pci-stub/bind When I tried to "cat /sys/bus/pci/drivers/pci-stub/new_id", it says permission denied. My NVIDIA graphics card is using BDF 01:00.0. When I change directory to /sys/bus/pci/devices/0000:01:00.0/, sub-directory driver is not found at all. Then when I put in pci = [ '01:00.0' ] for the Windows XP Home HVM config, it complains about pciback but I am using paravirt-ops dom 0 kernel. And when I tried the "xm pci-list-assignable-devices", nothing shows up. I have already specified iommu=1 in grub. Hope the Intel folks can assist in this matter. -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com<mailto:teoenming@hotmail.com> Alma Maters: Singapore Polytechnic, National University of Singapore On 08/25/2009 03:23 AM, Mr. Teo En Ming (Zhang Enming) wrote: I have both the onboard Intel GMA 4500 and the PCI Express x16 NVIDIA Geforce 8400 GS. Ng Beng Heng at the University of Michigan has done it. He's using the same Intel DQ45CB as me. ________________________________ _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com<mailto:Xen-devel@lists.xensource.com> http://lists.xensource.com/xen-devel No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.392 / Virus Database: 270.13.65/2322 - Release Date: 08/24/09 12:55:00 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Teo En Ming (Zhang Enming)
2009-Aug-25 03:06 UTC
RE: [Xen-devel] Xen Paravirt Operations Domain 0 SerialConsoleProblem
Dear Weidong, I am using Xen 3.4.1 testing with pv-ops dom 0 kernels 2.6.30-rc3 or 2.6.31-rc6. May I know where I can download changeset 19893 source code and patch Xen 3. 4.1 testing with this changeset? Thank you. Regards, Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com _____ From: Han, Weidong [mailto:weidong.han@intel.com] Sent: Tuesday, August 25, 2009 11:03 AM To: ''enming.teo@asiasoftsea.net'' Cc: ''xen-devel@lists.xensource.com''; ''Alan Cox'' Subject: RE: [Xen-devel] Xen Paravirt Operations Domain 0 SerialConsoleProblem Xen 3.4.1 doesn''t include the changeset 19893, so it cannot work for you. Basically, I use 2.6.18 dom0 with Xen 3.4, and use pv-ops dom 0 with xen-unstable. Anyway, you can port the c/s 19893 to your code, and try again. Regards, Weidong _____ From: Teo En Ming (Zhang Enming) [mailto:enming.teo@asiasoftsea.net] Sent: 2009年8月25日 10:50 To: enming.teo@asiasoftsea.net; Han, Weidong Cc: xen-devel@lists.xensource.com; ''Alan Cox'' Subject: RE: [Xen-devel] Xen Paravirt Operations Domain 0 Serial ConsoleProblem Hi Weidong, I can confirm that I am using Xen 3.4.1 with changeset of 6 August 2009. However, I can''t remember the changeset number. I need to get home after work to find out. Regards, Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com _____ From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists. xensource.com] On Behalf Of Teo En Ming (Zhang Enming) Sent: Tuesday, August 25, 2009 10:41 AM To: weidong.han@intel.com Cc: xen-devel@lists.xensource.com; ''Alan Cox'' Subject: RE: [Xen-devel] Xen Paravirt Operations Domain 0 Serial ConsoleProblem Hi Weidong, I believe I am using Xen 3.4.1 with changeset of 6 August 2009. I can''t remember the changeset number. I will check and get back to you later. Thank you. Regards, Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com _____ From: Han, Weidong [mailto:weidong.han@intel.com] Sent: Tuesday, August 25, 2009 10:04 AM To: ''enming.teo@asiasoftsea.net'' Cc: ''pasik@iki.fi''; ''xen-devel@lists.xensource.com''; ''Alan Cox'' Subject: RE: [Xen-devel] Xen Paravirt Operations Domain 0 Serial ConsoleProblem What version of Xen are you using? Make sure after c/s 19893, which enables pci-stub to hide devices for assignment. It works fine for me. > When I tried to "cat /sys/bus/pci/drivers/pci-stub/new_id", it says permission denied It doesn''t matter. It is the same to pciback. You will get the same message when you do "cat /sys/bus/pci/drivers/pciback/new_id". After use commands to hide 01:00.0 with pci-stub, can you see it use command ''ls /sys/bus/pci/drivers/pci-stub/''? Regards, Weidong _____ From: Mr. Teo En Ming (Zhang Enming) [mailto:enming.teo@asiasoftsea.net] Sent: 2009年8月25日 3:33 To: enming.teo@asiasoftsea.net Cc: pasik@iki.fi; xen-devel@lists.xensource.com; Alan Cox; Han, Weidong Subject: Re: [Xen-devel] Xen Paravirt Operations Domain 0 Serial Console Problem I find that following the instructions here at Xen Wiki VtdHowTo don''t work: Binding Devices to pci-stub If using pv-ops dom0, also can use pci-stub to hide devices for assignment (example PCI device 01:00.0) * lspci -n * locate the entry for device 01:00. 0 and note down the vendor & device ID 8086:10b9 . ... 01:00.0 0200: 8086:10b9 (rev 06) ... * then use following commands to hide it: . echo "8086 10b9" > /sys/bus/pci/drivers/pci-stub/new_id echo "0000:01:00.0" > /sys/bus/pci/devices/0000:01:00.0/driver/unbind echo "0000:01:00.0" > /sys/bus/pci/drivers/pci-stub/bind When I tried to "cat /sys/bus/pci/drivers/pci-stub/new_id", it says permission denied. My NVIDIA graphics card is using BDF 01:00.0. When I change directory to /sys/bus/pci/devices/0000:01:00.0/, sub-directory driver is not found at all. Then when I put in pci = [ ''01:00.0'' ] for the Windows XP Home HVM config, it complains about pciback but I am using paravirt-ops dom 0 kernel. And when I tried the "xm pci-list-assignable-devices", nothing shows up. I have already specified iommu=1 in grub. Hope the Intel folks can assist in this matter. -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com Alma Maters: Singapore Polytechnic, National University of Singapore On 08/25/2009 03:23 AM, Mr. Teo En Ming (Zhang Enming) wrote: I have both the onboard Intel GMA 4500 and the PCI Express x16 NVIDIA Geforce 8400 GS. Ng Beng Heng at the University of Michigan has done it. He''s using the same Intel DQ45CB as me. No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.392 / Virus Database: 270.13.65/2322 - Release Date: 08/23/09 18:03:00 No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.392 / Virus Database: 270.13.65/2322 - Release Date: 08/24/09 12:55:00 No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.392 / Virus Database: 270.13.65/2322 - Release Date: 08/24/09 12:55:00 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Teo En Ming (Zhang Enming)
2009-Aug-25 03:08 UTC
[Xen-devel] RE: VGA Passthrough with Intel DQ45CB and NVIDIA Geforce 8400 GS PCI Express x16
Hi Weidong, What are the steps to go about doing it? Regards, Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com _____ From: Han, Weidong [mailto:weidong.han@intel.com] Sent: Tuesday, August 25, 2009 11:05 AM To: ''enming.teo@asiasoftsea.net'' Cc: ''bengheng@eecs.umich.edu''; ''xen-devel@lists.xensource.com''; ''Alan Cox'' Subject: RE: VGA Passthrough with Intel DQ45CB and NVIDIA Geforce 8400 GS PCI Express x16 No. we observed those problems in your investigation. Regards, Weidong _____ From: Teo En Ming (Zhang Enming) [mailto:enming.teo@asiasoftsea.net] Sent: 2009年8月25日 10:45 To: Han, Weidong Cc: bengheng@eecs.umich.edu; xen-devel@lists.xensource.com; ''Alan Cox'' Subject: RE: VGA Passthrough with Intel DQ45CB and NVIDIA Geforce 8400 GS PCI Express x16 Hi Weidong, Any detailed documentation for the two tasks you mentioned? Regards, Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com _____ From: Han, Weidong [mailto:weidong.han@intel.com] Sent: Tuesday, August 25, 2009 10:09 AM To: ''enming.teo@asiasoftsea.net'' Cc: ''bengheng@eecs.umich.edu''; ''xen-devel@lists.xensource.com''; ''Alan Cox'' Subject: RE: VGA Passthrough with Intel DQ45CB and NVIDIA Geforce 8400 GS PCI Express x16 Per our investigation, you cannot copy VGA bios from host 0xc0000 to guest for secondary gfx assignment. You can load it from a file. In addition, if you want to passthrough Nvidia G8400, you need to 1:1 map its MMIO BARs. Regards, Weidong _____ From: Mr. Teo En Ming (Zhang Enming) [mailto:enming.teo@asiasoftsea.net] Sent: 2009年8月25日 8:59 To: enming.teo@asiasoftsea.net Cc: bengheng@eecs.umich.edu; xen-devel@lists.xensource.com; Han, Weidong; Alan Cox Subject: VGA Passthrough with Intel DQ45CB and NVIDIA Geforce 8400 GS PCI Express x16 Hi, I should probably rename the subject of this email. -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com Alma Maters: Singapore Polytechnic, National University of Singapore On 08/25/2009 08:57 AM, Mr. Teo En Ming (Zhang Enming) wrote: Dear Beng Heng, I understand that you got VGA passthrough working with Intel DQ45CB and an PCI-E x16 ATI Graphics card. I have Intel DQ45CB and NVIDIA Geforce 8400 GS PCI-E x16. Could you share with me in details how you got VGA passthrough to work with ATI PCI-E x16 when you set onboard VGA as your primary video adapter? Thank you. -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com Alma Maters: Singapore Polytechnic, National University of Singapore On 08/25/2009 08:49 AM, Mr. Teo En Ming (Zhang Enming) wrote: Hi When I boot up the computer using onboard Intel GMA 4500 as the primary VGA controller, I could still see the NVIDIA Geforce 8400 GS PCI Express x16 card in lspci. 00:02.0 VGA compatible controller: Intel Corporation 4 Series Chipset Integrated Graphics Controller (rev 03) 01:00.0 VGA compatible controller: nVidia Corporation GeForce 8400 GS (rev a1) -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com Alma Maters: Singapore Polytechnic, National University of Singapore On 08/25/2009 03:35 AM, Mr. Teo En Ming (Zhang Enming) wrote: I have already compiled CONFIG_PCI_STUB=y statically into the kernel. -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com Alma Maters: Singapore Polytechnic, National University of Singapore On 08/25/2009 03:33 AM, Mr. Teo En Ming (Zhang Enming) wrote: I find that following the instructions here at Xen Wiki VtdHowTo don''t work: Binding Devices to pci-stub If using pv-ops dom0, also can use pci-stub to hide devices for assignment (example PCI device 01:00.0) * lspci -n * locate the entry for device 01:00. 0 and note down the vendor & device ID 8086:10b9 . ... 01:00.0 0200: 8086:10b9 (rev 06) ... * then use following commands to hide it: . echo "8086 10b9" > /sys/bus/pci/drivers/pci-stub/new_id echo "0000:01:00.0" > /sys/bus/pci/devices/0000:01:00.0/driver/unbind echo "0000:01:00.0" > /sys/bus/pci/drivers/pci-stub/bind When I tried to "cat /sys/bus/pci/drivers/pci-stub/new_id", it says permission denied. My NVIDIA graphics card is using BDF 01:00.0. When I change directory to /sys/bus/pci/devices/0000:01:00.0/, sub-directory driver is not found at all. Then when I put in pci = [ ''01:00.0'' ] for the Windows XP Home HVM config, it complains about pciback but I am using paravirt-ops dom 0 kernel. And when I tried the "xm pci-list-assignable-devices", nothing shows up. I have already specified iommu=1 in grub. Hope the Intel folks can assist in this matter. -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com Alma Maters: Singapore Polytechnic, National University of Singapore On 08/25/2009 03:23 AM, Mr. Teo En Ming (Zhang Enming) wrote: I have both the onboard Intel GMA 4500 and the PCI Express x16 NVIDIA Geforce 8400 GS. Ng Beng Heng at the University of Michigan has done it. He''s using the same Intel DQ45CB as me. _____ _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.392 / Virus Database: 270.13.65/2322 - Release Date: 08/24/09 12:55:00 No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.392 / Virus Database: 270.13.65/2322 - Release Date: 08/24/09 12:55:00 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Teo En Ming (Zhang Enming)
2009-Aug-25 03:10 UTC
RE: [Xen-devel] Xen Paravirt Operations Domain 0 SerialConsoleProblem
Hi, I downloaded and installed Xen 3.4.1 testing using these instructions: # cd /usr/src # hg clone http://xenbits.xensource.com/xen-3.4-testing.hg # cd xen-3.4-testing.hg # make xen # make install-xen # make tools # make install-tools Regards, Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com _____ From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists. xensource.com] On Behalf Of Teo En Ming (Zhang Enming) Sent: Tuesday, August 25, 2009 11:07 AM To: weidong.han@intel.com Cc: xen-devel@lists.xensource.com; ''Alan Cox'' Subject: RE: [Xen-devel] Xen Paravirt Operations Domain 0 SerialConsoleProblem Dear Weidong, I am using Xen 3.4.1 testing with pv-ops dom 0 kernels 2.6.30-rc3 or 2.6.31-rc6. May I know where I can download changeset 19893 source code and patch Xen 3. 4.1 testing with this changeset? Thank you. Regards, Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com _____ From: Han, Weidong [mailto:weidong.han@intel.com] Sent: Tuesday, August 25, 2009 11:03 AM To: ''enming.teo@asiasoftsea.net'' Cc: ''xen-devel@lists.xensource.com''; ''Alan Cox'' Subject: RE: [Xen-devel] Xen Paravirt Operations Domain 0 SerialConsoleProblem Xen 3.4.1 doesn''t include the changeset 19893, so it cannot work for you. Basically, I use 2.6.18 dom0 with Xen 3.4, and use pv-ops dom 0 with xen-unstable. Anyway, you can port the c/s 19893 to your code, and try again. Regards, Weidong _____ From: Teo En Ming (Zhang Enming) [mailto:enming.teo@asiasoftsea.net] Sent: 2009年8月25日 10:50 To: enming.teo@asiasoftsea.net; Han, Weidong Cc: xen-devel@lists.xensource.com; ''Alan Cox'' Subject: RE: [Xen-devel] Xen Paravirt Operations Domain 0 Serial ConsoleProblem Hi Weidong, I can confirm that I am using Xen 3.4.1 with changeset of 6 August 2009. However, I can''t remember the changeset number. I need to get home after work to find out. Regards, Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com _____ From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists. xensource.com] On Behalf Of Teo En Ming (Zhang Enming) Sent: Tuesday, August 25, 2009 10:41 AM To: weidong.han@intel.com Cc: xen-devel@lists.xensource.com; ''Alan Cox'' Subject: RE: [Xen-devel] Xen Paravirt Operations Domain 0 Serial ConsoleProblem Hi Weidong, I believe I am using Xen 3.4.1 with changeset of 6 August 2009. I can''t remember the changeset number. I will check and get back to you later. Thank you. Regards, Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com _____ From: Han, Weidong [mailto:weidong.han@intel.com] Sent: Tuesday, August 25, 2009 10:04 AM To: ''enming.teo@asiasoftsea.net'' Cc: ''pasik@iki.fi''; ''xen-devel@lists.xensource.com''; ''Alan Cox'' Subject: RE: [Xen-devel] Xen Paravirt Operations Domain 0 Serial ConsoleProblem What version of Xen are you using? Make sure after c/s 19893, which enables pci-stub to hide devices for assignment. It works fine for me. > When I tried to "cat /sys/bus/pci/drivers/pci-stub/new_id", it says permission denied It doesn''t matter. It is the same to pciback. You will get the same message when you do "cat /sys/bus/pci/drivers/pciback/new_id". After use commands to hide 01:00.0 with pci-stub, can you see it use command ''ls /sys/bus/pci/drivers/pci-stub/''? Regards, Weidong _____ From: Mr. Teo En Ming (Zhang Enming) [mailto:enming.teo@asiasoftsea.net] Sent: 2009年8月25日 3:33 To: enming.teo@asiasoftsea.net Cc: pasik@iki.fi; xen-devel@lists.xensource.com; Alan Cox; Han, Weidong Subject: Re: [Xen-devel] Xen Paravirt Operations Domain 0 Serial Console Problem I find that following the instructions here at Xen Wiki VtdHowTo don''t work: Binding Devices to pci-stub If using pv-ops dom0, also can use pci-stub to hide devices for assignment (example PCI device 01:00.0) * lspci -n * locate the entry for device 01:00. 0 and note down the vendor & device ID 8086:10b9 . ... 01:00.0 0200: 8086:10b9 (rev 06) ... * then use following commands to hide it: . echo "8086 10b9" > /sys/bus/pci/drivers/pci-stub/new_id echo "0000:01:00.0" > /sys/bus/pci/devices/0000:01:00.0/driver/unbind echo "0000:01:00.0" > /sys/bus/pci/drivers/pci-stub/bind When I tried to "cat /sys/bus/pci/drivers/pci-stub/new_id", it says permission denied. My NVIDIA graphics card is using BDF 01:00.0. When I change directory to /sys/bus/pci/devices/0000:01:00.0/, sub-directory driver is not found at all. Then when I put in pci = [ ''01:00.0'' ] for the Windows XP Home HVM config, it complains about pciback but I am using paravirt-ops dom 0 kernel. And when I tried the "xm pci-list-assignable-devices", nothing shows up. I have already specified iommu=1 in grub. Hope the Intel folks can assist in this matter. -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com Alma Maters: Singapore Polytechnic, National University of Singapore On 08/25/2009 03:23 AM, Mr. Teo En Ming (Zhang Enming) wrote: I have both the onboard Intel GMA 4500 and the PCI Express x16 NVIDIA Geforce 8400 GS. Ng Beng Heng at the University of Michigan has done it. He''s using the same Intel DQ45CB as me. No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.392 / Virus Database: 270.13.65/2322 - Release Date: 08/23/09 18:03:00 No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.392 / Virus Database: 270.13.65/2322 - Release Date: 08/24/09 12:55:00 No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.392 / Virus Database: 270.13.65/2322 - Release Date: 08/24/09 12:55:00 No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.392 / Virus Database: 270.13.65/2322 - Release Date: 08/24/09 12:55:00 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Han, Weidong
2009-Aug-25 03:28 UTC
RE: [Xen-devel] Xen Paravirt Operations Domain 0 SerialConsoleProblem
I attached it for you. Regards, Weidong ________________________________ From: Teo En Ming (Zhang Enming) [mailto:enming.teo@asiasoftsea.net] Sent: 2009年8月25日 11:07 To: Han, Weidong Cc: xen-devel@lists.xensource.com; 'Alan Cox' Subject: RE: [Xen-devel] Xen Paravirt Operations Domain 0 SerialConsoleProblem Dear Weidong, I am using Xen 3.4.1 testing with pv-ops dom 0 kernels 2.6.30-rc3 or 2.6.31-rc6. May I know where I can download changeset 19893 source code and patch Xen 3.4.1 testing with this changeset? Thank you. Regards, Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com ________________________________ From: Han, Weidong [mailto:weidong.han@intel.com] Sent: Tuesday, August 25, 2009 11:03 AM To: 'enming.teo@asiasoftsea.net' Cc: 'xen-devel@lists.xensource.com'; 'Alan Cox' Subject: RE: [Xen-devel] Xen Paravirt Operations Domain 0 SerialConsoleProblem Xen 3.4.1 doesn't include the changeset 19893, so it cannot work for you. Basically, I use 2.6.18 dom0 with Xen 3.4, and use pv-ops dom 0 with xen-unstable. Anyway, you can port the c/s 19893 to your code, and try again. Regards, Weidong ________________________________ From: Teo En Ming (Zhang Enming) [mailto:enming.teo@asiasoftsea.net] Sent: 2009年8月25日 10:50 To: enming.teo@asiasoftsea.net; Han, Weidong Cc: xen-devel@lists.xensource.com; 'Alan Cox' Subject: RE: [Xen-devel] Xen Paravirt Operations Domain 0 Serial ConsoleProblem Hi Weidong, I can confirm that I am using Xen 3.4.1 with changeset of 6 August 2009. However, I can't remember the changeset number. I need to get home after work to find out. Regards, Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com ________________________________ From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Teo En Ming (Zhang Enming) Sent: Tuesday, August 25, 2009 10:41 AM To: weidong.han@intel.com Cc: xen-devel@lists.xensource.com; 'Alan Cox' Subject: RE: [Xen-devel] Xen Paravirt Operations Domain 0 Serial ConsoleProblem Hi Weidong, I believe I am using Xen 3.4.1 with changeset of 6 August 2009. I can't remember the changeset number. I will check and get back to you later. Thank you. Regards, Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com ________________________________ From: Han, Weidong [mailto:weidong.han@intel.com] Sent: Tuesday, August 25, 2009 10:04 AM To: 'enming.teo@asiasoftsea.net' Cc: 'pasik@iki.fi'; 'xen-devel@lists.xensource.com'; 'Alan Cox' Subject: RE: [Xen-devel] Xen Paravirt Operations Domain 0 Serial ConsoleProblem What version of Xen are you using? Make sure after c/s 19893, which enables pci-stub to hide devices for assignment. It works fine for me. > When I tried to "cat /sys/bus/pci/drivers/pci-stub/new_id", it says permission denied It doesn't matter. It is the same to pciback. You will get the same message when you do "cat /sys/bus/pci/drivers/pciback/new_id". After use commands to hide 01:00.0 with pci-stub, can you see it use command 'ls /sys/bus/pci/drivers/pci-stub/'? Regards, Weidong ________________________________ From: Mr. Teo En Ming (Zhang Enming) [mailto:enming.teo@asiasoftsea.net] Sent: 2009年8月25日 3:33 To: enming.teo@asiasoftsea.net Cc: pasik@iki.fi; xen-devel@lists.xensource.com; Alan Cox; Han, Weidong Subject: Re: [Xen-devel] Xen Paravirt Operations Domain 0 Serial Console Problem I find that following the instructions here at Xen Wiki VtdHowTo don't work: Binding Devices to pci-stub If using pv-ops dom0, also can use pci-stub to hide devices for assignment (example PCI device 01:00.0) * lspci -n * locate the entry for device 01:00.0 and note down the vendor & device ID 8086:10b9 . ... 01:00.0 0200: 8086:10b9 (rev 06) ... * then use following commands to hide it: . echo "8086 10b9" > /sys/bus/pci/drivers/pci-stub/new_id echo "0000:01:00.0" > /sys/bus/pci/devices/0000:01:00.0/driver/unbind echo "0000:01:00.0" > /sys/bus/pci/drivers/pci-stub/bind When I tried to "cat /sys/bus/pci/drivers/pci-stub/new_id", it says permission denied. My NVIDIA graphics card is using BDF 01:00.0. When I change directory to /sys/bus/pci/devices/0000:01:00.0/, sub-directory driver is not found at all. Then when I put in pci = [ '01:00.0' ] for the Windows XP Home HVM config, it complains about pciback but I am using paravirt-ops dom 0 kernel. And when I tried the "xm pci-list-assignable-devices", nothing shows up. I have already specified iommu=1 in grub. Hope the Intel folks can assist in this matter. -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com<mailto:teoenming@hotmail.com> Alma Maters: Singapore Polytechnic, National University of Singapore On 08/25/2009 03:23 AM, Mr. Teo En Ming (Zhang Enming) wrote: I have both the onboard Intel GMA 4500 and the PCI Express x16 NVIDIA Geforce 8400 GS. Ng Beng Heng at the University of Michigan has done it. He's using the same Intel DQ45CB as me. No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.392 / Virus Database: 270.13.65/2322 - Release Date: 08/23/09 18:03:00 No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.392 / Virus Database: 270.13.65/2322 - Release Date: 08/24/09 12:55:00 No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.392 / Virus Database: 270.13.65/2322 - Release Date: 08/24/09 12:55:00 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Teo En Ming (Zhang Enming)
2009-Aug-25 03:51 UTC
RE: [Xen-devel] Xen Paravirt Operations Domain 0 SerialConsoleProblem
Hi Weidong, I have taken a look at the patch code you have attached. The date is 6 July 2009, which is one month older than the Xen 3.4.1 testing code that I am currently using. Is this pci-stub patch already in Xen 3.4.1 testing changeset of 6 August 2009? If it is not merged into Xen 3.4.1 6 Aug 2009 changeset, then I would have to patch my current Xen code using this patch file. Regards, Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com _____ From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists. xensource.com] On Behalf Of Han, Weidong Sent: Tuesday, August 25, 2009 11:28 AM To: ''enming.teo@asiasoftsea.net'' Cc: ''Alan; ''xen-devel@lists.xensource.com''; Cox'' Subject: RE: [Xen-devel] Xen Paravirt Operations Domain 0 SerialConsoleProblem I attached it for you. Regards, Weidong _____ From: Teo En Ming (Zhang Enming) [mailto:enming.teo@asiasoftsea.net] Sent: 2009年8月25日 11:07 To: Han, Weidong Cc: xen-devel@lists.xensource.com; ''Alan Cox'' Subject: RE: [Xen-devel] Xen Paravirt Operations Domain 0 SerialConsoleProblem Dear Weidong, I am using Xen 3.4.1 testing with pv-ops dom 0 kernels 2.6.30-rc3 or 2.6.31-rc6. May I know where I can download changeset 19893 source code and patch Xen 3. 4.1 testing with this changeset? Thank you. Regards, Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com _____ From: Han, Weidong [mailto:weidong.han@intel.com] Sent: Tuesday, August 25, 2009 11:03 AM To: ''enming.teo@asiasoftsea.net'' Cc: ''xen-devel@lists.xensource.com''; ''Alan Cox'' Subject: RE: [Xen-devel] Xen Paravirt Operations Domain 0 SerialConsoleProblem Xen 3.4.1 doesn''t include the changeset 19893, so it cannot work for you. Basically, I use 2.6.18 dom0 with Xen 3.4, and use pv-ops dom 0 with xen-unstable. Anyway, you can port the c/s 19893 to your code, and try again. Regards, Weidong _____ From: Teo En Ming (Zhang Enming) [mailto:enming.teo@asiasoftsea.net] Sent: 2009年8月25日 10:50 To: enming.teo@asiasoftsea.net; Han, Weidong Cc: xen-devel@lists.xensource.com; ''Alan Cox'' Subject: RE: [Xen-devel] Xen Paravirt Operations Domain 0 Serial ConsoleProblem Hi Weidong, I can confirm that I am using Xen 3.4.1 with changeset of 6 August 2009. However, I can''t remember the changeset number. I need to get home after work to find out. Regards, Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com _____ From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists. xensource.com] On Behalf Of Teo En Ming (Zhang Enming) Sent: Tuesday, August 25, 2009 10:41 AM To: weidong.han@intel.com Cc: xen-devel@lists.xensource.com; ''Alan Cox'' Subject: RE: [Xen-devel] Xen Paravirt Operations Domain 0 Serial ConsoleProblem Hi Weidong, I believe I am using Xen 3.4.1 with changeset of 6 August 2009. I can''t remember the changeset number. I will check and get back to you later. Thank you. Regards, Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com _____ From: Han, Weidong [mailto:weidong.han@intel.com] Sent: Tuesday, August 25, 2009 10:04 AM To: ''enming.teo@asiasoftsea.net'' Cc: ''pasik@iki.fi''; ''xen-devel@lists.xensource.com''; ''Alan Cox'' Subject: RE: [Xen-devel] Xen Paravirt Operations Domain 0 Serial ConsoleProblem What version of Xen are you using? Make sure after c/s 19893, which enables pci-stub to hide devices for assignment. It works fine for me. > When I tried to "cat /sys/bus/pci/drivers/pci-stub/new_id", it says permission denied It doesn''t matter. It is the same to pciback. You will get the same message when you do "cat /sys/bus/pci/drivers/pciback/new_id". After use commands to hide 01:00.0 with pci-stub, can you see it use command ''ls /sys/bus/pci/drivers/pci-stub/''? Regards, Weidong _____ From: Mr. Teo En Ming (Zhang Enming) [mailto:enming.teo@asiasoftsea.net] Sent: 2009年8月25日 3:33 To: enming.teo@asiasoftsea.net Cc: pasik@iki.fi; xen-devel@lists.xensource.com; Alan Cox; Han, Weidong Subject: Re: [Xen-devel] Xen Paravirt Operations Domain 0 Serial Console Problem I find that following the instructions here at Xen Wiki VtdHowTo don''t work: Binding Devices to pci-stub If using pv-ops dom0, also can use pci-stub to hide devices for assignment (example PCI device 01:00.0) * lspci -n * locate the entry for device 01:00. 0 and note down the vendor & device ID 8086:10b9 . ... 01:00.0 0200: 8086:10b9 (rev 06) ... * then use following commands to hide it: . echo "8086 10b9" > /sys/bus/pci/drivers/pci-stub/new_id echo "0000:01:00.0" > /sys/bus/pci/devices/0000:01:00.0/driver/unbind echo "0000:01:00.0" > /sys/bus/pci/drivers/pci-stub/bind When I tried to "cat /sys/bus/pci/drivers/pci-stub/new_id", it says permission denied. My NVIDIA graphics card is using BDF 01:00.0. When I change directory to /sys/bus/pci/devices/0000:01:00.0/, sub-directory driver is not found at all. Then when I put in pci = [ ''01:00.0'' ] for the Windows XP Home HVM config, it complains about pciback but I am using paravirt-ops dom 0 kernel. And when I tried the "xm pci-list-assignable-devices", nothing shows up. I have already specified iommu=1 in grub. Hope the Intel folks can assist in this matter. -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com Alma Maters: Singapore Polytechnic, National University of Singapore On 08/25/2009 03:23 AM, Mr. Teo En Ming (Zhang Enming) wrote: I have both the onboard Intel GMA 4500 and the PCI Express x16 NVIDIA Geforce 8400 GS. Ng Beng Heng at the University of Michigan has done it. He''s using the same Intel DQ45CB as me. No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.392 / Virus Database: 270.13.65/2322 - Release Date: 08/23/09 18:03:00 No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.392 / Virus Database: 270.13.65/2322 - Release Date: 08/24/09 12:55:00 No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.392 / Virus Database: 270.13.65/2322 - Release Date: 08/24/09 12:55:00 No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.392 / Virus Database: 270.13.65/2322 - Release Date: 08/24/09 12:55:00 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Teo En Ming (Zhang Enming)
2009-Aug-25 04:17 UTC
RE: [Xen-devel] Xen Paravirt Operations Domain 0 SerialConsoleProblem
Hi Weidong, I understood now. http://xenbits.xensource.com/xen-3.4-testing.hg and http://xenbits.xensource.com/xen-unstable.hg are completely different mercurial branches. I am using xen 3.4.1 testing which means my code won''t have the pci-stub patch you have attached. When I go back home after work I will do: # cd /usr/src # hg clone http://xenbits.xensource.com/xen-unstable.hg # cd xen-unstable.hg # make xen # make install-xen # make tools # make install-tools Is xen-unstable very unstable? Will it work with my pv-ops dom 0 kernels 2.6.30-rc3 and 2.6.31-rc6? I believe I only have to download, compile and install xen-unstable right? I shouldn''t have to do anything with my current pv-ops dom 0 kernels? Thank you. Regards, Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com _____ From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists. xensource.com] On Behalf Of Teo En Ming (Zhang Enming) Sent: Tuesday, August 25, 2009 11:51 AM To: weidong.han@intel.com Cc: ''Alan; xen-devel@lists.xensource.com; ''Cox'''' Subject: RE: [Xen-devel] Xen Paravirt Operations Domain 0 SerialConsoleProblem Hi Weidong, I have taken a look at the patch code you have attached. The date is 6 July 2009, which is one month older than the Xen 3.4.1 testing code that I am currently using. Is this pci-stub patch already in Xen 3.4.1 testing changeset of 6 August 2009? If it is not merged into Xen 3.4.1 6 Aug 2009 changeset, then I would have to patch my current Xen code using this patch file. Regards, Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com _____ From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists. xensource.com] On Behalf Of Han, Weidong Sent: Tuesday, August 25, 2009 11:28 AM To: ''enming.teo@asiasoftsea.net'' Cc: ''Alan; ''xen-devel@lists.xensource.com''; Cox'' Subject: RE: [Xen-devel] Xen Paravirt Operations Domain 0 SerialConsoleProblem I attached it for you. Regards, Weidong _____ From: Teo En Ming (Zhang Enming) [mailto:enming.teo@asiasoftsea.net] Sent: 2009年8月25日 11:07 To: Han, Weidong Cc: xen-devel@lists.xensource.com; ''Alan Cox'' Subject: RE: [Xen-devel] Xen Paravirt Operations Domain 0 SerialConsoleProblem Dear Weidong, I am using Xen 3.4.1 testing with pv-ops dom 0 kernels 2.6.30-rc3 or 2.6.31-rc6. May I know where I can download changeset 19893 source code and patch Xen 3. 4.1 testing with this changeset? Thank you. Regards, Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com _____ From: Han, Weidong [mailto:weidong.han@intel.com] Sent: Tuesday, August 25, 2009 11:03 AM To: ''enming.teo@asiasoftsea.net'' Cc: ''xen-devel@lists.xensource.com''; ''Alan Cox'' Subject: RE: [Xen-devel] Xen Paravirt Operations Domain 0 SerialConsoleProblem Xen 3.4.1 doesn''t include the changeset 19893, so it cannot work for you. Basically, I use 2.6.18 dom0 with Xen 3.4, and use pv-ops dom 0 with xen-unstable. Anyway, you can port the c/s 19893 to your code, and try again. Regards, Weidong _____ From: Teo En Ming (Zhang Enming) [mailto:enming.teo@asiasoftsea.net] Sent: 2009年8月25日 10:50 To: enming.teo@asiasoftsea.net; Han, Weidong Cc: xen-devel@lists.xensource.com; ''Alan Cox'' Subject: RE: [Xen-devel] Xen Paravirt Operations Domain 0 Serial ConsoleProblem Hi Weidong, I can confirm that I am using Xen 3.4.1 with changeset of 6 August 2009. However, I can''t remember the changeset number. I need to get home after work to find out. Regards, Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com _____ From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists. xensource.com] On Behalf Of Teo En Ming (Zhang Enming) Sent: Tuesday, August 25, 2009 10:41 AM To: weidong.han@intel.com Cc: xen-devel@lists.xensource.com; ''Alan Cox'' Subject: RE: [Xen-devel] Xen Paravirt Operations Domain 0 Serial ConsoleProblem Hi Weidong, I believe I am using Xen 3.4.1 with changeset of 6 August 2009. I can''t remember the changeset number. I will check and get back to you later. Thank you. Regards, Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com _____ From: Han, Weidong [mailto:weidong.han@intel.com] Sent: Tuesday, August 25, 2009 10:04 AM To: ''enming.teo@asiasoftsea.net'' Cc: ''pasik@iki.fi''; ''xen-devel@lists.xensource.com''; ''Alan Cox'' Subject: RE: [Xen-devel] Xen Paravirt Operations Domain 0 Serial ConsoleProblem What version of Xen are you using? Make sure after c/s 19893, which enables pci-stub to hide devices for assignment. It works fine for me. > When I tried to "cat /sys/bus/pci/drivers/pci-stub/new_id", it says permission denied It doesn''t matter. It is the same to pciback. You will get the same message when you do "cat /sys/bus/pci/drivers/pciback/new_id". After use commands to hide 01:00.0 with pci-stub, can you see it use command ''ls /sys/bus/pci/drivers/pci-stub/''? Regards, Weidong _____ From: Mr. Teo En Ming (Zhang Enming) [mailto:enming.teo@asiasoftsea.net] Sent: 2009年8月25日 3:33 To: enming.teo@asiasoftsea.net Cc: pasik@iki.fi; xen-devel@lists.xensource.com; Alan Cox; Han, Weidong Subject: Re: [Xen-devel] Xen Paravirt Operations Domain 0 Serial Console Problem I find that following the instructions here at Xen Wiki VtdHowTo don''t work: Binding Devices to pci-stub If using pv-ops dom0, also can use pci-stub to hide devices for assignment (example PCI device 01:00.0) * lspci -n * locate the entry for device 01:00. 0 and note down the vendor & device ID 8086:10b9 . ... 01:00.0 0200: 8086:10b9 (rev 06) ... * then use following commands to hide it: . echo "8086 10b9" > /sys/bus/pci/drivers/pci-stub/new_id echo "0000:01:00.0" > /sys/bus/pci/devices/0000:01:00.0/driver/unbind echo "0000:01:00.0" > /sys/bus/pci/drivers/pci-stub/bind When I tried to "cat /sys/bus/pci/drivers/pci-stub/new_id", it says permission denied. My NVIDIA graphics card is using BDF 01:00.0. When I change directory to /sys/bus/pci/devices/0000:01:00.0/, sub-directory driver is not found at all. Then when I put in pci = [ ''01:00.0'' ] for the Windows XP Home HVM config, it complains about pciback but I am using paravirt-ops dom 0 kernel. And when I tried the "xm pci-list-assignable-devices", nothing shows up. I have already specified iommu=1 in grub. Hope the Intel folks can assist in this matter. -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com Alma Maters: Singapore Polytechnic, National University of Singapore On 08/25/2009 03:23 AM, Mr. Teo En Ming (Zhang Enming) wrote: I have both the onboard Intel GMA 4500 and the PCI Express x16 NVIDIA Geforce 8400 GS. Ng Beng Heng at the University of Michigan has done it. He''s using the same Intel DQ45CB as me. No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.392 / Virus Database: 270.13.65/2322 - Release Date: 08/23/09 18:03:00 No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.392 / Virus Database: 270.13.65/2322 - Release Date: 08/24/09 12:55:00 No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.392 / Virus Database: 270.13.65/2322 - Release Date: 08/24/09 12:55:00 No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.392 / Virus Database: 270.13.65/2322 - Release Date: 08/24/09 12:55:00 No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.392 / Virus Database: 270.13.65/2322 - Release Date: 08/24/09 12:55:00 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Pasi Kärkkäinen
2009-Aug-25 06:53 UTC
Re: [Xen-devel] Xen Paravirt Operations Domain 0 SerialConsoleProblem
On Tue, Aug 25, 2009 at 12:17:19PM +0800, Teo En Ming (Zhang Enming) wrote:> Hi Weidong, > > I understood now. http://xenbits.xensource.com/xen-3.4-testing.hg and > http://xenbits.xensource.com/xen-unstable.hg are completely different > mercurial branches. I am using xen 3.4.1 testing which means my code won''t > have the pci-stub patch you have attached. > > When I go back home after work I will do: > > # cd /usr/src > # hg clone http://xenbits.xensource.com/xen-unstable.hg > # cd xen-unstable.hg > # make xen > # make install-xen > # make tools > # make install-tools > > Is xen-unstable very unstable?It shouldn''t be _very_ unstable, but you might see some problems every now and then.> Will it work with my pv-ops dom 0 kernels 2.6.30-rc3 and 2.6.31-rc6?Yes.> I believe I only have to download, compile and > install xen-unstable right? I shouldn''t have to do anything with my current > pv-ops dom 0 kernels? >Yes, that''s true. -- Pasi> Thank you. > > Regards, > > Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) > BEng(Hons)(Mechanical Engineering) > Technical Support Engineer > Information Technology Department > Asiasoft Online Pte Ltd > Tampines Central 1 #04-01 Tampines Plaza > Singapore 529541 > Republic of Singapore > Mobile: +65-9648-9798 > MSN: teoenming@hotmail.com > > > _____ > > From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists. > xensource.com] On Behalf Of Teo En Ming (Zhang Enming) > Sent: Tuesday, August 25, 2009 11:51 AM > To: weidong.han@intel.com > Cc: ''Alan; xen-devel@lists.xensource.com; ''Cox'''' > Subject: RE: [Xen-devel] Xen Paravirt Operations Domain 0 > SerialConsoleProblem > > > Hi Weidong, > > I have taken a look at the patch code you have attached. The date is 6 July > 2009, which is one month older than the Xen 3.4.1 testing code that I am > currently using. > > Is this pci-stub patch already in Xen 3.4.1 testing changeset of 6 August > 2009? If it is not merged into Xen 3.4.1 6 Aug 2009 changeset, then I would > have to patch my current Xen code using this patch file. > > Regards, > > Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) > BEng(Hons)(Mechanical Engineering) > Technical Support Engineer > Information Technology Department > Asiasoft Online Pte Ltd > Tampines Central 1 #04-01 Tampines Plaza > Singapore 529541 > Republic of Singapore > Mobile: +65-9648-9798 > MSN: teoenming@hotmail.com > > > _____ > > From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists. > xensource.com] On Behalf Of Han, Weidong > Sent: Tuesday, August 25, 2009 11:28 AM > To: ''enming.teo@asiasoftsea.net'' > Cc: ''Alan; ''xen-devel@lists.xensource.com''; Cox'' > Subject: RE: [Xen-devel] Xen Paravirt Operations Domain 0 > SerialConsoleProblem > > > I attached it for you. > > Regards, > Weidong > > _____ > > From: Teo En Ming (Zhang Enming) [mailto:enming.teo@asiasoftsea.net] > Sent: 2009?$BG/8?$B7n25?$BF| 11:07 > To: Han, Weidong > Cc: xen-devel@lists.xensource.com; ''Alan Cox'' > Subject: RE: [Xen-devel] Xen Paravirt Operations Domain 0 > SerialConsoleProblem > > > Dear Weidong, > > I am using Xen 3.4.1 testing with pv-ops dom 0 kernels 2.6.30-rc3 or > 2.6.31-rc6. > > May I know where I can download changeset 19893 source code and patch Xen 3. > 4.1 testing with this changeset? > > Thank you. > > Regards, > > Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) > BEng(Hons)(Mechanical Engineering) > Technical Support Engineer > Information Technology Department > Asiasoft Online Pte Ltd > Tampines Central 1 #04-01 Tampines Plaza > Singapore 529541 > Republic of Singapore > Mobile: +65-9648-9798 > MSN: teoenming@hotmail.com > > > _____ > > From: Han, Weidong [mailto:weidong.han@intel.com] > Sent: Tuesday, August 25, 2009 11:03 AM > To: ''enming.teo@asiasoftsea.net'' > Cc: ''xen-devel@lists.xensource.com''; ''Alan Cox'' > Subject: RE: [Xen-devel] Xen Paravirt Operations Domain 0 > SerialConsoleProblem > > > Xen 3.4.1 doesn''t include the changeset 19893, so it cannot work for you. > Basically, I use 2.6.18 dom0 with Xen 3.4, and use pv-ops dom 0 with > xen-unstable. Anyway, you can port the c/s 19893 to your code, and try > again. > > Regards, > Weidong > > _____ > > From: Teo En Ming (Zhang Enming) [mailto:enming.teo@asiasoftsea.net] > Sent: 2009?$BG/8?$B7n25?$BF| 10:50 > To: enming.teo@asiasoftsea.net; Han, Weidong > Cc: xen-devel@lists.xensource.com; ''Alan Cox'' > Subject: RE: [Xen-devel] Xen Paravirt Operations Domain 0 Serial > ConsoleProblem > > > Hi Weidong, > > I can confirm that I am using Xen 3.4.1 with changeset of 6 August 2009. > However, I can''t remember the changeset number. I need to get home after > work to find out. > > Regards, > > Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) > BEng(Hons)(Mechanical Engineering) > Technical Support Engineer > Information Technology Department > Asiasoft Online Pte Ltd > Tampines Central 1 #04-01 Tampines Plaza > Singapore 529541 > Republic of Singapore > Mobile: +65-9648-9798 > MSN: teoenming@hotmail.com > > > _____ > > From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists. > xensource.com] On Behalf Of Teo En Ming (Zhang Enming) > Sent: Tuesday, August 25, 2009 10:41 AM > To: weidong.han@intel.com > Cc: xen-devel@lists.xensource.com; ''Alan Cox'' > Subject: RE: [Xen-devel] Xen Paravirt Operations Domain 0 Serial > ConsoleProblem > > > Hi Weidong, > > I believe I am using Xen 3.4.1 with changeset of 6 August 2009. I can''t > remember the changeset number. I will check and get back to you later. > > Thank you. > > Regards, > > Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) > BEng(Hons)(Mechanical Engineering) > Technical Support Engineer > Information Technology Department > Asiasoft Online Pte Ltd > Tampines Central 1 #04-01 Tampines Plaza > Singapore 529541 > Republic of Singapore > Mobile: +65-9648-9798 > MSN: teoenming@hotmail.com > > > _____ > > From: Han, Weidong [mailto:weidong.han@intel.com] > Sent: Tuesday, August 25, 2009 10:04 AM > To: ''enming.teo@asiasoftsea.net'' > Cc: ''pasik@iki.fi''; ''xen-devel@lists.xensource.com''; ''Alan Cox'' > Subject: RE: [Xen-devel] Xen Paravirt Operations Domain 0 Serial > ConsoleProblem > > > What version of Xen are you using? Make sure after c/s 19893, which enables > pci-stub to hide devices for assignment. > > It works fine for me. > > > When I tried to "cat /sys/bus/pci/drivers/pci-stub/new_id", it says > permission denied > It doesn''t matter. It is the same to pciback. You will get the same message > when you do "cat /sys/bus/pci/drivers/pciback/new_id". > > After use commands to hide 01:00.0 with pci-stub, can you see it use command > ''ls /sys/bus/pci/drivers/pci-stub/''? > > > Regards, > Weidong > > > > _____ > > From: Mr. Teo En Ming (Zhang Enming) [mailto:enming.teo@asiasoftsea.net] > Sent: 2009?$BG/8?$B7n25?$BF| 3:33 > To: enming.teo@asiasoftsea.net > Cc: pasik@iki.fi; xen-devel@lists.xensource.com; Alan Cox; Han, Weidong > Subject: Re: [Xen-devel] Xen Paravirt Operations Domain 0 Serial Console > Problem > > > I find that following the instructions here at Xen Wiki VtdHowTo don''t work: > > > > Binding Devices to pci-stub > > If using pv-ops dom0, also can use pci-stub to hide devices for assignment > (example PCI device 01:00.0) * lspci -n * locate the entry for device 01:00. > 0 and note down the vendor & device ID 8086:10b9 . > > ... > > 01:00.0 0200: 8086:10b9 (rev 06) > > ... > > > * then use following commands to hide it: . > > echo "8086 10b9" > /sys/bus/pci/drivers/pci-stub/new_id > > echo "0000:01:00.0" > /sys/bus/pci/devices/0000:01:00.0/driver/unbind > > echo "0000:01:00.0" > /sys/bus/pci/drivers/pci-stub/bind > > > > When I tried to "cat /sys/bus/pci/drivers/pci-stub/new_id", it says > permission denied. > > > > My NVIDIA graphics card is using BDF 01:00.0. When I change directory to > > /sys/bus/pci/devices/0000:01:00.0/, sub-directory driver is not found at > all. > > > > Then when I put in pci = [ ''01:00.0'' ] for the Windows XP Home HVM config, > it complains about pciback but I am using paravirt-ops dom 0 kernel. > > > > And when I tried the "xm pci-list-assignable-devices", nothing shows up. > > > > I have already specified iommu=1 in grub. > > > > Hope the Intel folks can assist in this matter. > > > -- > > Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) > BEng(Hons)(Mechanical Engineering) > > Technical Support Engineer > > Information Technology Department > > Asiasoft Online Pte Ltd > > Tampines Central 1 #04-01 Tampines Plaza > > Singapore 529541 > > Republic of Singapore > > Mobile: +65-9648-9798 > > MSN: teoenming@hotmail.com > > Alma Maters: Singapore Polytechnic, National University of Singapore > > > On 08/25/2009 03:23 AM, Mr. Teo En Ming (Zhang Enming) wrote: > > I have both the onboard Intel GMA 4500 and the PCI Express x16 NVIDIA > Geforce 8400 GS. > > Ng Beng Heng at the University of Michigan has done it. He''s using the same > Intel DQ45CB as me. > > > > > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 8.5.392 / Virus Database: 270.13.65/2322 - Release Date: 08/23/09 > 18:03:00 > > > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 8.5.392 / Virus Database: 270.13.65/2322 - Release Date: 08/24/09 > 12:55:00 > > > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 8.5.392 / Virus Database: 270.13.65/2322 - Release Date: 08/24/09 > 12:55:00 > > > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 8.5.392 / Virus Database: 270.13.65/2322 - Release Date: 08/24/09 > 12:55:00 > > > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 8.5.392 / Virus Database: 270.13.65/2322 - Release Date: 08/24/09 > 12:55:00 > >> _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel