[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] RE: [Xen-users] Problem with WinXP install. Can start but not connect via vnc
I've put sdl=1 in the config file but nothing... How can I I check if it is installed? If not, how can I install it? I've debian sarge 3.1 Thanks... --------- Original Message -------- From: Petersson, Mats <Mats.Petersson@xxxxxxx> To: Carlo <carlo@xxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx <xen-users@xxxxxxxxxxxxxxxxxxx> Subject: RE: [Xen-users] Problem with WinXP install. Can start but not connect via vnc Date: 21/12/06 19:27 > > > > -----Original Message----- > > From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx > > [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Carlo > > Sent: 21 December 2006 17:20 > > To: xen-users@xxxxxxxxxxxxxxxxxxx > > Subject: RE: [Xen-users] Problem with WinXP install. Can > > start but not connect via vnc > > > > Hi, I've a problem: I've the same config file, xen 3.0.3 > > installed from > > source. > > I can start windows in a domU but I can't see it with graphic. > > > > If I type "xm list" I can see it in the list and the time is > > not 0 (i think > > that a number that is not 0 it's ok... isn't it?). > > > > if I start it with qemu it work fine but without network (in > > the hardware > > list thereis a network card). > > > > Here I posted a log of qemu-dm: > > > > domid: 5 > > qemu: the number of cpus is 1 > > shared page at pfn:1ffff, mfn: 1c10f > > buffered io page at pfn:1fffd, mfn: 1c111 > > False I/O request ... in-service already: 0, pvalid: 0, port: > > 0, data: 0, > > count: > > 0, size: 0 > > > > > > And my config file is: > > > > kernel = "/usr/lib/xen/boot/hvmloader" > > builder = 'hvm' > > memory = 512 > > name = "winxp" > > vcpus = 1 > > vif = [ '' ] > > disk = [ 'file:/vserver/images/winxp.img,ioemu:hda,w' ] > > device_model = '/usr/lib/xen/bin/qemu-dm' > > cdrom='/dev/hdd' > > ne2000=0 > > boot='c' > > No mention of VNC/SDL at all - you probably can't rely on the defaults > for any of those being "right" for you... > > I find that SDL works better for me than VNC, but that's probably me > rather than the actual quality of either software product. > > -- > Mats > > > > > > I've installed Windows with qemu but also if I try to install > > it with xen > > and a blank image file, it doesn't boot... > > > > If compiled the kernel with TUN/TAP module, any support for > > graphic card ad > > IDE/SATA controller (they work fine). > > > > Any suggestion? > > > > CPU is Athlon 3800+ X2 with AMD-V, MB is ASUS M2V. > > > > Thanks > > > > > > --------- Original Message -------- > > From: Gerhard Possler <gerhard.possler@xxxxxxxxxx> > > To: Benny Pfitzner <pfitzner-lug@xxxxxxx> > > Cc: xen-users@xxxxxxxxxxxxxxxxxxx > > Subject: RE: [Xen-users] Problem with WinXP install. Can start but > > not connect via vnc > > Date: 21/12/06 12:23 > > > > > > > > Hi Benny, > > > > > > i'm not sure that vnc ist working with > > > hvm (MS) you do not have in an standard installation an > > vncserver... but > > > can you ping your guest? > > > > > > (vnc would run with an Linux hvm guest > > > because you have here in many OS's an vncserver allready as default) > > > > > > you should connect to the guest and > > > not to localhost. I use RDP to connect to my XP session, from Linux > > someting > > > like: > > > > > > rdesktop -g 1200x1024 -a 24 -k de 10.0.0.2 > > > > > > 10.0.0.2 is my XP guest. > > > > > > Gerhard > > > > > > xen-users-bounces@xxxxxxxxxxxxxxxxxxx wrote on 20.12.2006 > > > 18:44:53: > > > > > > &gt; Am Mittwoch, den 20.12.2006, 18:18 +0100 schrieb > > Petersson, Mats: > > > &gt; > > > &gt; Hello, > > > &gt; > > > &gt; I started the domain again with &lt;boot='c'&gt; and a > > I saw a lot > > > of I/O > > > &gt; access. But I still don't know how to connect via vnc. > > > &gt; > > > &gt; Here is my most recent qemu-log: > > > &gt; **************************************** > > > &gt; domid: 8 > > > &gt; qemu: the number of cpus is 1 > > > &gt; shared page at pfn:bfff, mfn: 2172b > > > &gt; buffered io page at pfn:bffd, mfn: 2172d > > > &gt; False I/O request ... in-service already: 0, pvalid: > > 0, port: 0, > > data: > > > &gt; 0, count: 0, size: 0 > > > &gt; **************************************** > > > &gt; > > > &gt; And here you can find the last couple of lines in my > > xend.log-file: > > > &gt; http://pastebin.ca/286417 > > > &gt; > > > &gt; I have a qemu running: > > > &gt; **************************** > > > &gt; pfitzner:/var/log/xen# lsof -i|grep qemu > > > &gt; qemu-dm &nbsp; 14352 &nbsp; &nbsp; &nbsp; &nbsp;root > > &nbsp; &nbsp;8u > > > &nbsp;IPv4 &nbsp;26087 &nbsp; &nbsp; &nbsp; TCP > > > &gt; localhost.localdomain:5900 (LISTEN) > > > &gt; pfitzner:/var/log/xen# vncviewer localhost:5900 > > > &gt; vncviewer: ConnectToTcpAddr: connect: Connection refused > > > &gt; Unable to connect to VNC server > > > &gt; **************************** > > > &gt; > > > &gt; > > > &gt; Thank you guys very much. > > > &gt; > > > &gt; Ben > > > &gt; > > > &gt; &gt; &nbsp; > > > &gt; &gt; &gt; -----Original Message----- > > > &gt; &gt; &gt; From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx > > > &gt; &gt; &gt; > > [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf > > > Of > > > &gt; &gt; &gt; Benny Pfitzner > > > &gt; &gt; &gt; Sent: 20 December 2006 17:15 > > > &gt; &gt; &gt; To: xen-users@xxxxxxxxxxxxxxxxxxx > > > &gt; &gt; &gt; Subject: Re: [Xen-users] Problem with WinXP > > install. Can > > > > > > &gt; &gt; &gt; start but not connect via vnc > > > &gt; &gt; &gt; > > > &gt; &gt; &gt; Am Mittwoch, den 20.12.2006, 16:04 +0000 schrieb Ryan > > Worsley: > > > &gt; &gt; &gt; &gt; Hi Benny, > > > &gt; &gt; &gt; &gt; > > > &gt; &gt; &gt; &gt; Benny Pfitzner wrote: > > > &gt; &gt; &gt; &gt; &gt; Hi, > > > &gt; &gt; &gt; &gt; &gt; > > > &gt; &gt; &gt; &gt; &gt; I run debian etch with xen > > packages provided by > > > debian. > > > &gt; &gt; &gt; They are running > > > &gt; &gt; &gt; &gt; &gt; fine. > > > &gt; &gt; &gt; &gt; &gt; Today I tryed to install Windows > > XP. Here is my > > > config: > > > &gt; &gt; &gt; &gt; &gt; > > *********************************************** > > > &gt; &gt; &gt; &gt; &gt; kernel = > > &quot;/usr/lib/xen-3.0.3-1/boot/hvmloader&quot; > > > &gt; &gt; &gt; &gt; &gt; builder = 'hvm' > > > &gt; &gt; &gt; &gt; &gt; memory = 512 > > > &gt; &gt; &gt; &gt; &gt; name = &quot;winxp&quot; > > > &gt; &gt; &gt; &gt; &gt; vcpus = 1 > > > &gt; &gt; &gt; &gt; &gt; vif = [ 'type=ioemu, bridge=xenbr0' ] > > > &gt; &gt; &gt; &gt; &gt; disk = [ > > > &gt; &gt; &gt; > > 'file://vserver/images/domains/winxp/winxp.img,ioemu:hda,w' > > > ] > > > &gt; &gt; &gt; &gt; &gt; device_model = '/usr/lib/xen/bin/qemu-dm' > > > &gt; &gt; &gt; &gt; &gt; #cdrom='/dev/hda' > > > &gt; &gt; &gt; &gt; &gt; > > cdrom='/vserver/images/domains/winxp/winxp.iso' > > > &gt; &gt; &gt; &gt; &gt; &nbsp; > > > &gt; &gt; &gt; &gt; The cdrom= lines had no effect for me, > > I think they're > > > > > > &gt; &gt; &gt; obsolete now or > > > &gt; &gt; &gt; &gt; something, instead I have a disk line > > that looks like > > > this; > > > &gt; &gt; &gt; &gt; > > > &gt; &gt; &gt; &gt; disk = [ > > 'phy:/dev/sys_vg/windows_os,ioemu:hda,w', > > > > > > &gt; &gt; &gt; &gt; > > 'file:/vserver/images/domains/winxp/winxp.iso,hdc:cdrom,r' > > > ] > > > &gt; &gt; &gt; > > > &gt; &gt; &gt; Thank you very much Ryan, > > > &gt; &gt; &gt; > > > &gt; &gt; &gt; you are totally right. They changed it in > > version 3.0.3. > > > &gt; &gt; &gt; > > > &gt; &gt; &gt; I added vncviewer=1 and sdl=1 to my > > configfile and started > > > the domain > > > &gt; &gt; &gt; again. > > > &gt; &gt; &gt; > > > &gt; &gt; &gt; Then I automatically I got vncviewer running my WinXP > > install > > > screen. > > > &gt; &gt; &gt; After formatting the image and so on Windows > > want's to > > reboot. > > > &gt; &gt; &gt; > > > &gt; &gt; &gt; Since then I don't have connection to the domain. > > > &gt; &gt; &gt; > > > &gt; &gt; &gt; I posted my netstat -l output here because I > > just can't > > > find the port: > > > &gt; &gt; &gt; http://pastebin.ca/raw/286397 > > > &gt; &gt; &gt; > > > &gt; &gt; &gt; My logs don't show anything regarding vnc. > > > &gt; &gt; &gt; Here is the output of the most recent qemu-log: > > > &gt; &gt; &gt; ************************************************* > > > &gt; &gt; &gt; domid: 7 > > > &gt; &gt; &gt; qemu: the number of cpus is 1 > > > &gt; &gt; &gt; shared page at pfn:1ffff, mfn: 1d24b > > > &gt; &gt; &gt; buffered io page at pfn:1fffd, mfn: 1d24d > > > &gt; &gt; &gt; ************************************************* > > > &gt; &gt; &gt; > > > &gt; &gt; &gt; Here I posted the last couple of lines from > > the xend.log > > > file. > > > &gt; &gt; &gt; http://pastebin.ca/286403 > > > &gt; &gt; > > > &gt; &gt; I bet you don't have a qemu-dm process for some > > reason... Try > > > starting > > > &gt; &gt; the domain from scratch (booting from the > > hard-disk, not CD-ROM > > > this > > > &gt; &gt; time). > > > &gt; &gt; > > > &gt; &gt; If starting it again doesn't work, can you show > > the qemu-log > > > from the > > > &gt; &gt; new vm? > > > &gt; &gt; > > > &gt; &gt; -- > > > &gt; &gt; Mats > > > &gt; &gt; &gt; > > > &gt; &gt; &gt; > > > &gt; &gt; &gt; Thanks Ben > > > &gt; &gt; &gt; > > > &gt; &gt; &gt; &gt; > > > &gt; &gt; &gt; &gt; &gt; ne2000=0 > > > &gt; &gt; &gt; &gt; &gt; boot='d' > > > &gt; &gt; &gt; &gt; &gt; vif &nbsp;= [ 'ip=192.168.0.205' ] > > > &gt; &gt; &gt; &gt; &gt; vnc=1 > > > &gt; &gt; &gt; &gt; &gt; vncviewer=0 > > > &gt; &gt; &gt; &gt; &gt; &nbsp; > > > &gt; &gt; &gt; &gt; Do you not have to set vncviewer to 1 > > to get it create > > > the > > > &gt; &gt; &gt; window for > > > &gt; &gt; &gt; &gt; you? &nbsp;I personally used SDL > > instead (sdl=1). > > &nbsp;You > > > also say > > > &gt; &gt; &gt; your domain > > > &gt; &gt; &gt; &gt; is 17, I think when I experimented with > > VNC I found > > > it to > > > &gt; &gt; &gt; create the > > > &gt; &gt; &gt; &gt; listening port on something like 4017 > > or whatever. > > > &nbsp;I used > > > &gt; &gt; &gt; netstat -l to > > > &gt; &gt; &gt; &gt; find out what port it was actually on. > > > &gt; &gt; &gt; &gt; > > > &gt; &gt; &gt; &gt; Ben, lastly, could you check your > > /var/log/xen folder > > > for error > > > &gt; &gt; &gt; &gt; messages, specifically check the most > > recent qemu log. > > > &gt; &gt; &gt; &gt; > > > &gt; &gt; &gt; &gt; Thanks, > > > &gt; &gt; &gt; &gt; > > > &gt; &gt; &gt; &gt; Ryan. > > > &gt; &gt; &gt; &gt; &gt; > > *********************************************** > > > &gt; &gt; &gt; &gt; &gt; > > > &gt; &gt; &gt; &gt; &gt; When I try to start the domain it > > seems to run > > > fine: > > > &gt; &gt; &gt; &gt; &gt; > > *********************************************** > > > &gt; &gt; &gt; &gt; &gt; pfitzner:/etc/xen# xm create winxp2 > > > &gt; &gt; &gt; &gt; &gt; Using config file &quot;winxp2&quot;. > > > &gt; &gt; &gt; &gt; &gt; Started domain winxp > > > &gt; &gt; &gt; &gt; &gt; > > *********************************************** > > > &gt; &gt; &gt; &gt; &gt; > > > &gt; &gt; &gt; &gt; &gt; But when I try to connect to the > > domain via vnc > > > I get the > > > &gt; &gt; &gt; message that > > > &gt; &gt; &gt; &gt; &gt; the viewer can't connect: > > > &gt; &gt; &gt; &gt; &gt; > > *********************************************** > > > &gt; &gt; &gt; &gt; &gt; pfitzner:/vserver/images/domains# vncviewer > > pfitzner:17 > > > &gt; &gt; &gt; &gt; &gt; vncviewer: ConnectToTcpAddr: > > connect: Connection > > > refused > > > &gt; &gt; &gt; &gt; &gt; Unable to connect to VNC server > > > &gt; &gt; &gt; &gt; &gt; > > *********************************************** > > > &gt; &gt; &gt; &gt; &gt; > > > &gt; &gt; &gt; &gt; &gt; P.S.: > > > &gt; &gt; &gt; &gt; &gt; 17 is the ID of the domain and I > > have a Intel > > > Pentuim D with VT: > > > &gt; &gt; &gt; &gt; &gt; pfitzner:/vserver/images/domains# > > xm dmesg | grep > > > VMX > > > &gt; &gt; &gt; &gt; &gt; (XEN) VMXON is done > > > &gt; &gt; &gt; &gt; &gt; (XEN) VMXON is done > > > &gt; &gt; &gt; &gt; &gt; > > > &gt; &gt; &gt; &gt; &gt; > > > &gt; &gt; &gt; &gt; &gt; Does somebody might have a idea > > what I did do > > > wrong? > > > &gt; &gt; &gt; &gt; &gt; > > > &gt; &gt; &gt; &gt; &gt; Tanks Ben > > > &gt; &gt; &gt; &gt; &gt; > > > &gt; &gt; &gt; &gt; &gt; > > > &gt; &gt; &gt; &gt; &gt; > > _______________________________________________ > > > &gt; &gt; &gt; &gt; &gt; Xen-users mailing list > > > &gt; &gt; &gt; &gt; &gt; Xen-users@xxxxxxxxxxxxxxxxxxx > > > &gt; &gt; &gt; &gt; &gt; http://lists.xensource.com/xen-users > > > &gt; &gt; &gt; &gt; &gt; &nbsp; > > > &gt; &gt; &gt; &gt; > > > &gt; &gt; &gt; &gt; > > > &gt; &gt; &gt; &gt; _______________________________________________ > > > &gt; &gt; &gt; &gt; Xen-users mailing list > > > &gt; &gt; &gt; &gt; Xen-users@xxxxxxxxxxxxxxxxxxx > > > &gt; &gt; &gt; &gt; http://lists.xensource.com/xen-users > > > &gt; &gt; &gt; > > > &gt; &gt; &gt; > > > &gt; &gt; &gt; _______________________________________________ > > > &gt; &gt; &gt; Xen-users mailing list > > > &gt; &gt; &gt; Xen-users@xxxxxxxxxxxxxxxxxxx > > > &gt; &gt; &gt; http://lists.xensource.com/xen-users > > > &gt; &gt; &gt; > > > &gt; &gt; &gt; > > > &gt; &gt; &gt; > > > &gt; &gt; > > > &gt; > > > &gt; > > > &gt; _______________________________________________ > > > &gt; Xen-users mailing list > > > &gt; Xen-users@xxxxxxxxxxxxxxxxxxx > > > &gt; http://lists.xensource.com/xen-users > > > > > > > > > > > > > > > > > > _______________________________________________ > > > Xen-users mailing list > > > Xen-users@xxxxxxxxxxxxxxxxxxx > > > http://lists.xensource.com/xen-users > > > > ________________________________________________ > > Message sent using UebiMiau 2.7.10 > > > > > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@xxxxxxxxxxxxxxxxxxx > > http://lists.xensource.com/xen-users > > > > > > > > > > _______________________________________________ > Xen-users mailing list > Xen-users@xxxxxxxxxxxxxxxxxxx > http://lists.xensource.com/xen-users > > ________________________________________________ Message sent using UebiMiau 2.7.10 _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |