Dietmar Hahn
2010-Jan-27 12:45 UTC
[Xen-devel] Qestion to gfx-passthrough to HVM linux domU
Hi list, I try to get gfx-passthrough on a laptop. I inserted some patches from Weidong Han and I''am able to passthrough the primary card (the only gfx card) to the domU (Linux HVM). To connect to the domU I use the serial console. I boot the domU but can''t see the boot loader (grub) screen. Later the kernel messages are printed (not on every boot!). I can start X11 on the console (with the passthroughed card) and see the kdm screen on the console. If I read the vga-bios from /dev/mem within the domU it''s the same as in dom0. My questions: Where to search for the missing boot console messages? Has this to do with the FLR? How can I debug this? gfx: VGA compatible controller: nVidia Corporation G96M [Quadro FX 770M] Thanks. Dietmar. -- Company details: http://ts.fujitsu.com/imprint.html _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Timothy J. Moore
2010-Jan-27 13:35 UTC
RE: [Xen-devel] Qestion to gfx-passthrough to HVM linux domU
Hi Dietmar, Your card does not support FLR, but it should still work - the 1 time and then Dom0 will need rebooting to reset the VGA card. Sometimes TEXTMODE on the VGA does not work, then kdm loads with VGA mode and you see DomU gfx. Ok! Try creating a Serial port in DomU and using minicom etc in Dom0 (or via SSH to Dom0) and debug via the Serial port. Which patches did you apply? Tim -----Original Message----- From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Dietmar Hahn Sent: 27 January 2010 12:46 To: xen-devel@lists.xensource.com Subject: [Xen-devel] Qestion to gfx-passthrough to HVM linux domU Hi list, I try to get gfx-passthrough on a laptop. I inserted some patches from Weidong Han and I''am able to passthrough the primary card (the only gfx card) to the domU (Linux HVM). To connect to the domU I use the serial console. I boot the domU but can''t see the boot loader (grub) screen. Later the kernel messages are printed (not on every boot!). I can start X11 on the console (with the passthroughed card) and see the kdm screen on the console. If I read the vga-bios from /dev/mem within the domU it''s the same as in dom0. My questions: Where to search for the missing boot console messages? Has this to do with the FLR? How can I debug this? gfx: VGA compatible controller: nVidia Corporation G96M [Quadro FX 770M] Thanks. Dietmar. -- Company details: http://ts.fujitsu.com/imprint.html _______________________________________________ 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
Pasi Kärkkäinen
2010-Jan-27 14:12 UTC
Re: [Xen-devel] Qestion to gfx-passthrough to HVM linux domU
On Wed, Jan 27, 2010 at 01:35:18PM +0000, Timothy J. Moore wrote:> Hi Dietmar, > > Your card does not support FLR, but it should still work - the 1 time and then Dom0 will need rebooting to reset the VGA card. >Is there really no way to reset the card besides FLR? How does Xen Client do this?> Sometimes TEXTMODE on the VGA does not work, then kdm loads with VGA mode and you see DomU gfx. Ok! Try creating a Serial port in DomU and using minicom etc in Dom0 (or via SSH to Dom0) and debug via the Serial port. > > Which patches did you apply? >That would be good to know aswell. -- Pasi> Tim > > -----Original Message----- > From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Dietmar Hahn > Sent: 27 January 2010 12:46 > To: xen-devel@lists.xensource.com > Subject: [Xen-devel] Qestion to gfx-passthrough to HVM linux domU > > Hi list, > > I try to get gfx-passthrough on a laptop. I inserted some patches from > Weidong Han and I''am able to passthrough the primary card (the only gfx > card) to the domU (Linux HVM). To connect to the domU I use the serial console. > I boot the domU but can''t see the boot loader (grub) screen. > Later the kernel messages are printed (not on every boot!). > I can start X11 on the console (with the passthroughed card) and see the > kdm screen on the console. > If I read the vga-bios from /dev/mem within the domU it''s the same as > in dom0. > My questions: > Where to search for the missing boot console messages? > Has this to do with the FLR? > How can I debug this? > > gfx: VGA compatible controller: nVidia Corporation G96M [Quadro FX 770M] > > Thanks. > > Dietmar. > > -- > Company details: http://ts.fujitsu.com/imprint.html > > _______________________________________________ > 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_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Dietmar Hahn
2010-Jan-27 14:26 UTC
Re: [Xen-devel] Qestion to gfx-passthrough to HVM linux domU
Hi Timothy, Am 27.01.2010 schrieb Timothy J. Moore:> Hi Dietmar, > > Your card does not support FLR, but it should still work - the 1 time and then Dom0 will need rebooting to reset the VGA card.I never see the boot loader screen, not either after a dom0 reboot and starting the domU.> > Sometimes TEXTMODE on the VGA does not work, then kdm loads with VGA mode and you see DomU gfx. Ok!Yes, this is what I see.> Try creating a Serial port in DomU and using minicom etc in Dom0 (or via SSH to Dom0) and debug via the Serial port. >I have access via a serial console in domU and the "xm console ..." in dom0.> Which patches did you apply?xen-vBAR-pBAR.patch qemu-change-for-vBAR-pBAR.patch qemu-change-for-vBAR-pBAR.patch parts of xen-load-vbios-file.patch parts of xen-gfx-passthrough-v2.patch I use SLES11 SP1 Beta2 with a xen-4.0.0-pre version. Dietmar.> > Tim > > -----Original Message----- > From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Dietmar Hahn > Sent: 27 January 2010 12:46 > To: xen-devel@lists.xensource.com > Subject: [Xen-devel] Qestion to gfx-passthrough to HVM linux domU > > Hi list, > > I try to get gfx-passthrough on a laptop. I inserted some patches from > Weidong Han and I''am able to passthrough the primary card (the only gfx > card) to the domU (Linux HVM). To connect to the domU I use the serial console. > I boot the domU but can''t see the boot loader (grub) screen. > Later the kernel messages are printed (not on every boot!). > I can start X11 on the console (with the passthroughed card) and see the > kdm screen on the console. > If I read the vga-bios from /dev/mem within the domU it''s the same as > in dom0. > My questions: > Where to search for the missing boot console messages? > Has this to do with the FLR? > How can I debug this? > > gfx: VGA compatible controller: nVidia Corporation G96M [Quadro FX 770M] > > Thanks. > > Dietmar. > >-- Company details: http://ts.fujitsu.com/imprint.html _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Dietmar Hahn
2010-Jan-27 14:28 UTC
Re: [Xen-devel] Qestion to gfx-passthrough to HVM linux domU
Am 27.01.2010 schrieb Pasi Kärkkäinen:> On Wed, Jan 27, 2010 at 01:35:18PM +0000, Timothy J. Moore wrote: > > Hi Dietmar, > > > > Your card does not support FLR, but it should still work - the 1 time and then Dom0 will need rebooting to reset the VGA card. > > > > Is there really no way to reset the card besides FLR? How does Xen Client do this?I already downloaded this source and I''ll have a look. Dietmar.> > > Sometimes TEXTMODE on the VGA does not work, then kdm loads with VGA mode and you see DomU gfx. Ok! Try creating a Serial port in DomU and using minicom etc in Dom0 (or via SSH to Dom0) and debug via the Serial port. > > > > Which patches did you apply? > > > > That would be good to know aswell. > > -- Pasi > > > Tim > > > > -----Original Message----- > > From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Dietmar Hahn > > Sent: 27 January 2010 12:46 > > To: xen-devel@lists.xensource.com > > Subject: [Xen-devel] Qestion to gfx-passthrough to HVM linux domU > > > > Hi list, > > > > I try to get gfx-passthrough on a laptop. I inserted some patches from > > Weidong Han and I''am able to passthrough the primary card (the only gfx > > card) to the domU (Linux HVM). To connect to the domU I use the serial console. > > I boot the domU but can''t see the boot loader (grub) screen. > > Later the kernel messages are printed (not on every boot!). > > I can start X11 on the console (with the passthroughed card) and see the > > kdm screen on the console. > > If I read the vga-bios from /dev/mem within the domU it''s the same as > > in dom0. > > My questions: > > Where to search for the missing boot console messages? > > Has this to do with the FLR? > > How can I debug this? > > > > gfx: VGA compatible controller: nVidia Corporation G96M [Quadro FX 770M] > > > > Thanks. > > > > Dietmar. > > > >-- Company details: http://ts.fujitsu.com/imprint.html _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel