[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, Mar 19, 2012 at 2:54 PM, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:
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.

Ian,

I tried both command line, but neither works, here is the process:

[su@XenTester xen]$ vncviewer localhost:1

TigerVNC Viewer for X version 1.0.90 - built Dec  8 2011 01:41:17
Copyright (C) 2002-2005 RealVNC Ltd.
Copyright (C) 2000-2006 TightVNC Group
Copyright (C) 2004-2009 Peter Astrand for Cendio AB
See http://www.tigervnc.org for information on TigerVNC.

Mon Mar 19 20:46:21 2012
 main:        unable connect to socket: Connection refused (111)
[su@XenTester xen]$ vncviewer localhost::5900

TigerVNC Viewer for X version 1.0.90 - built Dec  8 2011 01:41:17
Copyright (C) 2002-2005 RealVNC Ltd.
Copyright (C) 2000-2006 TightVNC Group
Copyright (C) 2004-2009 Peter Astrand for Cendio AB
See http://www.tigervnc.org for information on TigerVNC.

Mon Mar 19 20:47:00 2012
 main:        unable connect to socket: Connection refused (111)
 
[...]
>         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)

When I run '', nothing happened:

[root@XenTester xen]# modprobe xen-gntdev
[root@XenTester xen]#

Does it mean I've loaded necessary modules?

Following is  the output of lsmod:

[root@XenTester xen]# lsmod
Module                  Size  Used by
xen_gntdev             10232  0
ebtable_nat             1999  0
ebtables               27394  1 ebtable_nat
ipt_MASQUERADE          2328  3
iptable_nat             5103  1
nf_nat                 21350  2 ipt_MASQUERADE,iptable_nat
xt_CHECKSUM             1261  1
iptable_mangle          1727  1
bridge                 84951  0
stp                     2131  1 bridge
llc                     5560  2 bridge,stp
fuse                   71295  0
autofs4                32331  3
sunrpc                235886  1
ipt_REJECT              2344  4
nf_conntrack_ipv4       9136  6 iptable_nat,nf_nat
nf_defrag_ipv4          1473  1 nf_conntrack_ipv4
iptable_filter          1714  1
ip_tables              20023  3 iptable_nat,iptable_mangle,iptable_filter
ip6t_REJECT             4502  2
nf_conntrack_ipv6       8239  2
nf_defrag_ipv6         10327  1 nf_conntrack_ipv6
xt_state                1322  5
nf_conntrack           79260  6 ipt_MASQUERADE,iptable_nat,nf_nat,nf_conntrack_ipv4,nf_conntrack_ipv6,xt_state
ip6table_filter         1687  1
ip6_tables             20281  1 ip6table_filter
ipv6                  327216  40 bridge,ip6t_REJECT,nf_conntrack_ipv6,nf_defrag_ipv6
vhost_net              28861  0
macvtap                 9459  1 vhost_net
macvlan                 9827  1 macvtap
tun                    16357  1 vhost_net
uinput                  8401  0
r592                   12817  0
memstick               10517  1 r592
sg                     30105  0
thinkpad_acpi          73526  0
wmi                    10412  0
video                  12975  0
microcode             111929  0
pcspkr                  1926  0
arc4                    1433  2
i2c_i801               10328  0
iTCO_wdt               12450  1
iTCO_vendor_support     2982  1 iTCO_wdt
iwlagn                207520  0
mac80211              213480  1 iwlagn
cfg80211              181481  2 iwlagn,mac80211
rfkill                 18959  3 thinkpad_acpi,cfg80211
snd_hda_codec_conexant    51549  1
snd_hda_intel          24957  2
snd_hda_codec          92970  2 snd_hda_codec_conexant,snd_hda_intel
snd_hwdep               6692  1 snd_hda_codec
snd_seq                55873  0
snd_seq_device          6496  1 snd_seq
snd_pcm                85930  2 snd_hda_intel,snd_hda_codec
snd_timer              22542  2 snd_seq,snd_pcm
snd                    70269  13 thinkpad_acpi,snd_hda_codec_conexant,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_seq,snd_seq_device,snd_pcm,snd_timer
soundcore               7604  1 snd
snd_page_alloc          8428  2 snd_hda_intel,snd_pcm
e1000e                199480  0
ext4                  414435  3
mbcache                 7222  1 ext4
jbd2                   80642  1 ext4
sr_mod                 15692  0
cdrom                  41191  1 sr_mod
sd_mod                 37218  3
crc_t10dif              1499  1 sd_mod
sdhci_pci               9889  0
sdhci                  27230  1 sdhci_pci
mmc_core               96131  1 sdhci
firewire_ohci          31340  0
firewire_core          58296  1 firewire_ohci
crc_itu_t               1675  1 firewire_core
yenta_socket           34666  0
pata_acpi               3691  0
ata_generic             3827  0
ata_piix               23224  2
radeon               1010971  2
ttm                    66780  1 radeon
drm_kms_helper         33063  1 radeon
drm                   226612  4 radeon,ttm,drm_kms_helper
i2c_algo_bit            5928  1 radeon
i2c_core               30420  5 i2c_i801,radeon,drm_kms_helper,drm,i2c_algo_bit
dm_mirror              14316  0
dm_region_hash         10843  1 dm_mirror
dm_log                  9734  2 dm_mirror,dm_region_hash
dm_mod                 79082  13 dm_mirror,dm_log
[root@XenTester xen]#

Could you please take a look and see if necessary modules are loaded? 
[...]
> 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?

Following is dom0 kernel information:

[root@XenTester xen]# uname -a
Linux XenTester 3.1.0-rc9+ #1 SMP Mon Mar 12 18:18:34 CDT 2012 x86_64 x86_64 x86_64 GNU/Linux
[root@XenTester xen]#

Is this dom0 kernel suitable to xen?

Thanks,
Ian.


here is


--
Su Zhang
Ph.D Candidate
Computing and Information Sciences
Kansas State University
_______________________________________________
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®.