List Subscriber
2006-Aug-05 04:23 UTC
[Xen-users] Is the VNC setting available for non-hvm DomU''s?
I have been scouring this list''s archives and have consumed any and all how-to guides I could find but am still unsure. All discussion in this list on this issue is around hvm/vti DomU''s. Has anyone been able to attach a vnc client to a vanilla (non-hvm) DomU using the VNC console setting? On an FC5 (2.6.16-1.2080_FC5xen0) kernel deployed on vanilla (non-hvm) hardware, setting VNC=1 for a DomU doesn''t appear to work. ''Connection Refused(111)''. I am using ''vncviewer <dom0_ip>:<domU_id>'' to connect. Any thoughts? Also, if there is a definitive howto/guide/man-page/doc/wiki on the frambuffer related config parameters (vnc, vncviewer, vnc, stdvga, etc) and their usage semantics, I''d greatly appreciate a pointer. Thanks in advance. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
William Man
2006-Aug-05 10:21 UTC
RE: [Xen-users] Is the VNC setting available for non-hvm DomU''s?
Hi, I althought I''m not 100% what you are after, but here is a link to allow the domU X11 to use a VNCserver http://www.debian-administration.org/articles/322 I have also written a debian script that creates vncservers using a vncserver config file that will generate the vnc server for each of the users, using the password within the users home directory. Let me know if want that too, cos I need to dig it out Hope this helps. W From: List Subscriber Reply-To: list-subscriber@mindspring.com To: xen-users@lists.xensource.com Subject: [Xen-users] Is the VNC setting available for non-hvm DomU''s? Date: Fri, 04 Aug 2006 21:23:10 -0700 MIME-Version: 1.0 X-Originating-IP: 67.101.47.34 Received: from lists.xensource.com ([217.147.82.229]) by bay0-mc5-f6.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444); Fri, 4 Aug 2006 21:26:43 -0700 Received: from localhost ([127.0.0.1] helo=lists.xensource.com)by host-192-168-0-1-bcn-london with esmtp (Exim 4.50)id 1G9Dmt-0001Xx-1q; Sat, 05 Aug 2006 04:29:23 +0000 Received: from [192.168.0.10] (helo=lists.xensource.com)by host-192-168-0-1-bcn-london with esmtp (Exim 4.50)id 1G9Dmd-0001SL-Vsfor xen-users@lists.xensource.com; Sat, 05 Aug 2006 04:29:08 +0000 Received: from elasmtp-dupuy.atl.sa.earthlink.net ([209.86.89.62])by lists.xensource.com with esmtp (Exim 4.50) id 1G9DeZ-0000us-P1for xen-users@lists.xensource.com; Sat, 05 Aug 2006 04:20:48 +0000 Received: from [67.101.47.34] (helo=[192.168.123.158])by elasmtp-dupuy.atl.sa.earthlink.net with asmtp (Exim 4.34)id 1G9Dgv-0005EI-2Cfor xen-users@lists.xensource.com; Sat, 05 Aug 2006 00:23:13 -0400 >I have been scouring this list''s archives and have consumed any and >all how-to guides I could find but am still unsure. All discussion >in this list on this issue is around hvm/vti DomU''s. Has anyone been >able to attach a vnc client to a vanilla (non-hvm) DomU using the >VNC console setting? > >On an FC5 (2.6.16-1.2080_FC5xen0) kernel deployed on vanilla >(non-hvm) hardware, setting VNC=1 for a DomU doesn''t appear to >work. ''Connection Refused(111)''. I am using ''vncviewer >:'' to connect. Any thoughts? > >Also, if there is a definitive howto/guide/man-page/doc/wiki on the >frambuffer related config parameters (vnc, vncviewer, vnc, stdvga, >etc) and their usage semantics, I''d greatly appreciate a pointer. > >Thanks in advance. > >_______________________________________________ >Xen-users mailing list >Xen-users@lists.xensource.com >http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
List Subscriber
2006-Aug-05 23:43 UTC
Re: [Xen-users] Is the VNC setting available for non-hvm DomU''s?
William, Thanks for your response. Configuring a vncserver explicitly within a DomU diskimage is certainly a good solution. However, I am rather looking to use the vnc property setting in the domain conf file (look at /etc/xen/xmexamples.hvm for an example) to export the DomU console upon startup. This is apparently working well in hvm cases ... I was wondering if it is intended to work in non-hvm DomU''s as well. cheers. William Man wrote:> > Hi, > > I althought I''m not 100% what you are after, but here is a link to > allow the domU X11 to use a VNCserver > http://www.debian-administration.org/articles/322 > > I have also written a debian script that creates vncservers using a > vncserver config file that will generate the vnc server for each of > the users, using the password within the users home directory. > > Let me know if want that too, cos I need to dig it out > > Hope this helps. > > > W > > > > > > > > ------------------------------------------------------------------------ > From: /List Subscriber <list-subscriber@mindspring.com>/ > Reply-To: /list-subscriber@mindspring.com/ > To: /xen-users@lists.xensource.com/ > Subject: /[Xen-users] Is the VNC setting available for non-hvm > DomU''s?/ > Date: /Fri, 04 Aug 2006 21:23:10 -0700/ > MIME-Version: /1.0/ > X-Originating-IP: /67.101.47.34/ > Received: /from lists.xensource.com ([217.147.82.229]) by > bay0-mc5-f6.bay0.hotmail.com with Microsoft > SMTPSVC(6.0.3790.2444); Fri, 4 Aug 2006 21:26:43 -0700/ > Received: /from localhost ([127.0.0.1] > helo=lists.xensource.com)by host-192-168-0-1-bcn-london with esmtp > (Exim 4.50)id 1G9Dmt-0001Xx-1q; Sat, 05 Aug 2006 04:29:23 +0000/ > Received: /from [192.168.0.10] (helo=lists.xensource.com)by > host-192-168-0-1-bcn-london with esmtp (Exim 4.50)id > 1G9Dmd-0001SL-Vsfor xen-users@lists.xensource.com; Sat, 05 Aug > 2006 04:29:08 +0000/ > Received: /from elasmtp-dupuy.atl.sa.earthlink.net > ([209.86.89.62])by lists.xensource.com with esmtp (Exim 4.50) id > 1G9DeZ-0000us-P1for xen-users@lists.xensource.com; Sat, 05 Aug > 2006 04:20:48 +0000/ > Received: /from [67.101.47.34] (helo=[192.168.123.158])by > elasmtp-dupuy.atl.sa.earthlink.net with asmtp (Exim 4.34)id > 1G9Dgv-0005EI-2Cfor xen-users@lists.xensource.com; Sat, 05 Aug > 2006 00:23:13 -0400/ > >I have been scouring this list''s archives and have consumed any and > >all how-to guides I could find but am still unsure. All discussion > >in this list on this issue is around hvm/vti DomU''s. Has anyone been > >able to attach a vnc client to a vanilla (non-hvm) DomU using the > >VNC console setting? > > > >On an FC5 (2.6.16-1.2080_FC5xen0) kernel deployed on vanilla > >(non-hvm) hardware, setting VNC=1 for a DomU doesn''t appear to > >work. ''Connection Refused(111)''. I am using ''vncviewer > ><dom0_ip>:<domU_id>'' to connect. Any thoughts? > > > >Also, if there is a definitive howto/guide/man-page/doc/wiki on the > >frambuffer related config parameters (vnc, vncviewer, vnc, stdvga, > >etc) and their usage semantics, I''d greatly appreciate a pointer. > > > >Thanks in advance. > > > >_______________________________________________ > >Xen-users mailing list > >Xen-users@lists.xensource.com > >http://lists.xensource.com/xen-users > > ------------------------------------------------------------------------ > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Stephen Yum
2006-Aug-06 06:10 UTC
[Xen-users] Help Please! 64bit Xen/CentOS_64 on quad-core Opteron 12gig RAM
Hi all, I''m having a hell of a time trying to get 64 bit Xen on a machine with 2 x dual core Opteron system with 12GB of RAM. No matter what I do, the dom0 boot bombs out with kernel panic saying low memory out of space. This is my first foray into the 64 bit land. In the 32 bit world, everything worked okay, seemingly no matter what i do. Can someone tell me what I''m doing wrong here? Thanks in advance!! S _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Stephen Yum
2006-Aug-06 09:15 UTC
Re: [Xen-users] Help Please! 64bit Xen/CentOS_64 on quad-core Opteron 12gig RAM
Thanks for suggestion. It just turned out that I set too little memory dom0 - 64M. I upped it to 128M and it boots okay now, although in the 32-bit world, 64M for dom0 and domU''s work just fine. In x86_64 based Xen, is the minimum memory for domains 128MB? And just out of curiosity, is there a big difference between Fedora 64bit vs. CentOS 64bit? Not much I would think. S On Aug 6, 2006, at 2:01 AM, Jerone Young wrote:> I would first suggest finding a Xen ready distribution and not hacking > it your self to work the first time. Best to try Fedora Core 5 x86-64. > Use the xen packages there (yum install xen kernel-xen0) It will make > life easier. Then from their people can help you more. > > > On Sat, 2006-08-05 at 23:10 -0700, Stephen Yum wrote: >> Hi all, >> >> I''m having a hell of a time trying to get 64 bit Xen on a machine >> with 2 x dual core Opteron system with 12GB of RAM. No matter what I >> do, the dom0 boot bombs out with kernel panic saying low memory out >> of space. >> >> This is my first foray into the 64 bit land. In the 32 bit world, >> everything worked okay, seemingly no matter what i do. >> >> Can someone tell me what I''m doing wrong here? >> >> Thanks in advance!! >> >> S >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Petersson, Mats
2006-Aug-07 14:04 UTC
RE: [Xen-users] Help Please! 64bit Xen/CentOS_64 on quad-core Opteron 12gig RAM
> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > Stephen Yum > Sent: 06 August 2006 10:15 > To: xen-users@lists.xensource.com > Subject: Re: [Xen-users] Help Please! 64bit Xen/CentOS_64 on > quad-core Opteron 12gig RAM > > Thanks for suggestion. It just turned out that I set too little > memory dom0 - 64M. I upped it to 128M and it boots okay now, > although > in the 32-bit world, 64M for dom0 and domU''s work just fine.That''s probably more because the 32-bit kernel is more optimised to run on a small system (very few people with a small memory machine are likely to have a 64-bit processor, so the "wasting memory" problems aren''t being so apparent). Also page-tables take up more space in 64-bit, a little bit more than twice the amount of space needed for 32-bit-non-PAE (twice the memory is accounted as PAE-mode which uses 64-bit page-table entries, vs. non-PAE-mode pagetable entries that use 32-bit entries. On top of thise, there is the fact that the page-table is now 4-level, which means that there is more table to deal with, but that''s a relatively small amount - 4KB for every 512 x 2MB -> 1GB of memory, so 12 x 4 -> 48KB for your entire 12GB of RAM [actually, with multiple page-tables, it may be a few times it, but then every one of those page-tables wouldn''t have entries for all the memory, so although it''s hard to give an exact number, it''s unlikely to be MUCH more than 4KB per gigabyte overall).> > In x86_64 based Xen, is the minimum memory for domains 128MB?It''s possibly somewhat lower. As discussed above, page tables takes 2x+ amount of space, but many other things may only be marginally larger (data structures that contain a few pointers and many other things may not grow more than a few percent). But if you have 12GB, I''m sure that 64MB +/- on the Dom0 isn''t going to matter. DomU will most likely require less space, as it''s got fewer drivers. How much less is harder to say - I haven''t experimented to find out... Also depends on whether you use the same or a different kernel in DomU of course - if you use the same kernel, the difference is modules that will not get loaded in DomU.> > And just out of curiosity, is there a big difference between Fedora > 64bit vs. CentOS 64bit? Not much I would think.I would think so too. The main difference would be that Fedora comes with a pre-built "know to work" Xen binary, so you don''t need to build your own... -- Mats> > S > > On Aug 6, 2006, at 2:01 AM, Jerone Young wrote: > > > I would first suggest finding a Xen ready distribution and > not hacking > > it your self to work the first time. Best to try Fedora > Core 5 x86-64. > > Use the xen packages there (yum install xen kernel-xen0) > It will make > > life easier. Then from their people can help you more. > > > > > > On Sat, 2006-08-05 at 23:10 -0700, Stephen Yum wrote: > >> Hi all, > >> > >> I''m having a hell of a time trying to get 64 bit Xen on a machine > >> with 2 x dual core Opteron system with 12GB of RAM. No > matter what I > >> do, the dom0 boot bombs out with kernel panic saying low memory out > >> of space. > >> > >> This is my first foray into the 64 bit land. In the 32 bit world, > >> everything worked okay, seemingly no matter what i do. > >> > >> Can someone tell me what I''m doing wrong here? > >> > >> Thanks in advance!! > >> > >> S > >> > >> _______________________________________________ > >> Xen-users mailing list > >> Xen-users@lists.xensource.com > >> http://lists.xensource.com/xen-users > > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users