WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Devices not available in domain

To: mark.williamson@xxxxxxxxxxxx
Subject: Re: [Xen-users] Devices not available in domain
From: Gisbert Amm <gia@xxxxxxxxxxx>
Date: Fri, 08 Apr 2005 09:29:40 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 08 Apr 2005 07:31:10 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <Prayer.1.0.13.0504071727070.10339@xxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <42555D84.9090202@xxxxxxxxxxx> <Prayer.1.0.13.0504071727070.10339@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040114
M.A. Williamson wrote:
I got my domain up and running, receive an IP via DHCP, can login as root and it works so far.

However, when I try to login as a non-privileged user, I get

bash: /dev/null: Permission denied


That's very odd!  Xen shouldn't really make a difference here.

Can you look at the output of "mount" and check whether your root filesystem is mounted readonly for some reason. Could you post it to the list, please?

# mount
/dev/hda6 on / type ext3 (rw)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)

Can you post the disk lines out of your config file?

disk = ['file:/root/xeninstanzen/lxgia/lxgia.img,hda6,w']
root = "/dev/hda6 rw"

And though the domain claims to be booting into runlevel 5, no X-Server is started. When I try to start X manually, I get this error message:

Fatal server error:
xf86OpenConsole: Cannot open /dev/tty0 (No such file or directory)

For me it looks as if I had to do something about the mode the filesystem is mounted. Is that right? Or is there another reason why some devices are not available?


You can't just start an Xserver in a Xen domain since there isn't (yet) a virtual framebuffer device. The recommended way of doing this is to use remote X or VNC, as you would for graphical access to a physically separate machine.

I see.

Thank you.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users