Sarika Ray
2008-Nov-26 22:29 UTC
[Xen-users] How to put X into DomU? Problems with Debian Etch Image created with xen-tools
Hi, I am not so familiar with Xen. So I need help. I have put Xen (3.2) and
XenoLinux (2.6.18.8) into Fedora8.
After that I have created a Debian-Etch DomU image using Xen-tools. I used
the role scripts to put xdm functionality into it. With only this I tried to
boot the domU image, but got some segmentation fault error while booting the
domU.
.
.
Adding 131064k swap on /dev/sda1. Priority:-1 extents:1 across:131064k
EXT3 FS on sda2, internal journal
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver
Xvnc[948]: segfault at 00000000688bc348 rip 00002b076870926b rsp
00007fff42ae33e0 error 4
Xvnc[951]: segfault at 00000000349ab348 rip 00002b60347f826b rsp
00007fff769f41a0 error 4
So following the direction in Xen-3.2.0/tools/examples/vnc/ I modified the
/etc/X11/xdm/Xservers & /usr/X11R6/bin/Xvnc-xen
in domU accordingly. After booting the DomU I start a vncviewer in Dom0 to
look at my DomU output. But I just get a tty type output. I do not get any
X. I am attaching a screen-shot for the above process (Screenshot-2.png)
Even when I try starting x exclusively using startx I get some error like
''no screens found''. I am attaching a screenshot for that also.
(Screenshot-3.png).
My domU config file is as follows:
#
# Configuration file for the Xen instance domU.test.one, created
# by xen-tools 3.9 on Sat Nov 22 20:05:46 2008.
#
#
# Kernel + memory size
#
kernel = ''/boot/vmlinuz-2.6.18.8-xen''
ramdisk = ''/boot/initrd-2.6.18.8-xen.img''
memory = ''128''
#
# Disk device(s).
#
root = ''/dev/sda2 ro''
disk = [
''phy:/dev/DomUVols/domU.test.one-swap,sda1,w'',
''phy:/dev/DomUVols/domU.test.one-disk,sda2,w'',
]
#
# Hostname
#
name = ''domU.test.one''
#
# Networking
#
vif = [ ''ip=192.168.1.1,mac=00:16:3E:88:27:1E'' ]
vfb = [''type=vnc'']
#
# Behaviour
#
on_poweroff = ''destroy''
on_reboot = ''restart''
on_crash = ''restart''
extra = "xencons=xvc console=xvc console=tty"
Putting udev into DomU also did not help.
I am not sure if I am missing any step.
If some one willing to help needs some other information please let me know.
Thanks.
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Sarika Ray
2008-Nov-27 02:17 UTC
[Xen-users] How to put X into DomU? Problems with Debian Etch Image created with xen-tools
Hi, I am not so familiar with Xen. So I need help. I have put Xen (3.2) and
XenoLinux (2.6.18.8) into Fedora8.
After that I have created a Debian-Etch DomU image using Xen-tools. I used
the role scripts to put xdm functionality into it. With only this I tried to
boot the domU image, but got some segmentation fault error while booting the
domU.
.
.
Adding 131064k swap on /dev/sda1. Priority:-1 extents:1 across:131064k
EXT3 FS on sda2, internal journal
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver
Xvnc[948]: segfault at 00000000688bc348 rip 00002b076870926b rsp
00007fff42ae33e0 error 4
Xvnc[951]: segfault at 00000000349ab348 rip 00002b60347f826b rsp
00007fff769f41a0 error 4
So following the direction in Xen-3.2.0/tools/examples/vnc/ I modified the
/etc/X11/xdm/Xservers & /usr/X11R6/bin/Xvnc-xen
in domU accordingly. After booting the DomU I start a vncviewer in Dom0 to
look at my DomU output. But I just get a tty type output. I do not get any
X. I am attaching a screen-shot for the above process (Screenshot-2.png)
Even when I try starting x exclusively using startx I get some error like
''no screens found''. I am attaching a screenshot for that also.
(Screenshot-3.png).
My domU config file is as follows:
#
# Configuration file for the Xen instance domU.test.one, created
# by xen-tools 3.9 on Sat Nov 22 20:05:46 2008.
#
#
# Kernel + memory size
#
kernel = ''/boot/vmlinuz-2.6.18.8-xen''
ramdisk = ''/boot/initrd-2.6.18.8-xen.img''
memory = ''128''
#
# Disk device(s).
#
root = ''/dev/sda2 ro''
disk = [
''phy:/dev/DomUVols/domU.test.one-swap,sda1,w'',
''phy:/dev/DomUVols/domU.test.one-disk,sda2,w'',
]
#
# Hostname
#
name = ''domU.test.one''
#
# Networking
#
vif = [ ''ip=192.168.1.1,mac=00:16:3E:88:27:1E'' ]
vfb = [''type=vnc'']
#
# Behaviour
#
on_poweroff = ''destroy''
on_reboot = ''restart''
on_crash = ''restart''
extra = "xencons=xvc console=xvc console=tty"
Putting udev into DomU also did not help.
I am not sure if I am missing any step.
If some one willing to help needs some other information please let me know.
Thanks.
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Sarika Ray
2008-Nov-27 02:19 UTC
[Xen-users] How to put X into DomU? Problems with Debian Etch Image created with xen-tools
Hi, I am not so familiar with Xen. So I need help. I have put Xen (3.2) and
XenoLinux (2.6.18.8) into Fedora8.
After that I have created a Debian-Etch DomU image using Xen-tools. I used
the role scripts to put xdm functionality into it. With only this I tried to
boot the domU image, but got some segmentation fault error while booting the
domU.
.
.
Adding 131064k swap on /dev/sda1. Priority:-1 extents:1 across:131064k
EXT3 FS on sda2, internal journal
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver
Xvnc[948]: segfault at 00000000688bc348 rip 00002b076870926b rsp
00007fff42ae33e0 error 4
Xvnc[951]: segfault at 00000000349ab348 rip 00002b60347f826b rsp
00007fff769f41a0 error 4
So following the direction in Xen-3.2.0/tools/examples/vnc/ I modified the
/etc/X11/xdm/Xservers & /usr/X11R6/bin/Xvnc-xen
in domU accordingly. After booting the DomU I start a vncviewer in Dom0 to
look at my DomU output. But I just get a tty type output. I do not get any
X. I am attaching a screen-shot for the above process (Screenshot-2.png)
Even when I try starting x exclusively using startx I get some error like
''no screens found''. I am attaching a screenshot for that also.
(Screenshot-3.png).
My domU config file is as follows:
#
# Configuration file for the Xen instance domU.test.one, created
# by xen-tools 3.9 on Sat Nov 22 20:05:46 2008.
#
#
# Kernel + memory size
#
kernel = ''/boot/vmlinuz-2.6.18.8-xen''
ramdisk = ''/boot/initrd-2.6.18.8-xen.img''
memory = ''128''
#
# Disk device(s).
#
root = ''/dev/sda2 ro''
disk = [
''phy:/dev/DomUVols/domU.test.one-swap,sda1,w'',
''phy:/dev/DomUVols/domU.test.one-disk,sda2,w'',
]
#
# Hostname
#
name = ''domU.test.one''
#
# Networking
#
vif = [ ''ip=192.168.1.1,mac=00:16:3E:88:27:1E'' ]
vfb = [''type=vnc'']
#
# Behaviour
#
on_poweroff = ''destroy''
on_reboot = ''restart''
on_crash = ''restart''
extra = "xencons=xvc console=xvc console=tty"
Putting udev into DomU also did not help.
I am not sure if I am missing any step.
If some one willing to help needs some other information please let me know.
Thanks.
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Thomas Goirand
2008-Nov-27 04:09 UTC
Re: [Xen-users] How to put X into DomU? Problems with Debian Etch Image created with xen-tools
Sarika Ray wrote:> After that I have created a Debian-Etch DomU image using Xen-tools. I > used the role scripts to put xdm functionality into it. With only this I > tried to boot the domU image, but got some segmentation fault error > while booting the domU.Hi, Instead of installing a normal X server, you''d better install NX server (see nomachine.com). It''s perfect for opening sessions remotely, and it''s a lot faster than VNC. Thomas _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users