[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] xenconsole: Could not read tty from store: No such file or directory



On Mon, 2012-03-19 at 17:49 +0000, Su Zhang wrote:
> 
> 
> On Mon, Mar 19, 2012 at 11:53 AM, Ian Campbell
> <Ian.Campbell@xxxxxxxxxx> wrote:
>         On Mon, 2012-03-19 at 16:39 +0000, Su Zhang wrote:
>         
>         >
>         > Thanks Ian, I am actually installing a PV DomU here. Do you
>         mean that
>         > it is better for Dom0 and DomU using the same type OS?
>         
>         
>         Not at all, you should be free to mix and match. My point was
>         that you
>         may need slightly different configuration for a PV guest vs an
>         HVM one.
>         
>         > I am a newbie to Xen. What I want to do right now is to
>         install a
>         > usable domU ASAP. However, I encountered different errors by
>         using
>         > different approaches. Do you know which way is the easiest
>         way to
>         > install a domU system?
>         
>         
>         The approach you are taking should be easy, I'm at a loss to
>         explain why
>         it doesn't work for you.
>         
>         Did you try connecting to the VNC as I suggested?
>         
> I tried to connect to VNC, but the connection cannot be established,
> here is the running script:
> 
> [su@XenTester xen]$ vncviewer localhost:5901

I think that VNC ports are offset by 5900 already so you would need
"vncviewer localhost:1". You can override that offsetting (i.e. provide
a literal port number) by using ::, so the alternative is
localhost::5900.

[...]
>         Have you looked in /var/log/xen to see if there are any
>         interesting
>         messages under there?
> 
> After I read the logs (qemu-de-*.log), I found all of them include
> several "common" errors:
> 
> xs_read(/local/domain/0/
> device-model/3/xen_extended_power_mgmt): read error
> xs_read(): vncpasswd get
> error. /vm/a11e9c05-7bed-f7cd-e0e7-00506415b739/vncpasswd.
> Log-dirty: no command yet.
> xen be core: xen be core: can't open gnttab device
> can't open gnttab device

This one might mean you need to "modprobe xen-gntdev". Which may help.
What modules do you have loaded (e.g. the output of lsmod)

[...]
> I am running Xen 4.1.2 and built it from source. Indeed I need a
> runnable guest ASAP but we want to run it on a built-from-source Xen
> because we want to modify Xen source code a bit later. By the way, I
> am running on CentOS 6.2 

OK.

Getting something running with "known good" packages might have been a
useful first step before attempting to build something yourself but now
that you have taken that leap we may as well continue to try and figure
out what is going on.

What is your dom0 kernel?

Ian.



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.