[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 Tue, Mar 20, 2012 at 11:47 AM, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:
On Tue, 2012-03-20 at 16:39 +0000, Su Zhang wrote:

> After I reboot (with "modprobe xen-gntdev" added into xencommons), the
> domainU seems to be offline. When I was starting the domU, there is
> another error
> popped out.
> [root@XenTester su]# xm list
> Name                                        ID   Mem VCPUs      State
> Time(s)
> Domain-0                                     0  3328     2     r-----
> 57.3
> cent5                                            768     1
> 0.0
> [root@XenTester su]# xm start cent5
> Error: Boot loader didn't return any data!
> Usage: xm start <DomainName>

> Can you see a problem here?

I expect that because you couldn't get to the console the VM was never
installed so there is nothing to boot. You probably need to destroy and

After I rebooted &&deleted&& reinstalled domU, an interesting thing happened, the error seems to have gone away, instead, there is a long script following the command line, but it just stuck there. nothing can be done here, here is the running script:

[root@XenTester su]# xm console cent5
Linux version 2.6.18-308.el5xen (mockbuild@xxxxxxxxxxxxxxxxxxxx) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-52)) #1 SMP Tue Feb 21 21:26:03 EST 2012
BIOS-provided physical RAM map:
 Xen: 0000000000000000 - 0000000030800000 (usable)
48MB HIGHMEM available.
727MB LOWMEM available.
NX (Execute Disable) protection: active
ACPI in unprivileged domain disabled
Built 1 zonelists.  Total pages: 198656
Kernel command line: method=http://mirror.centos.org/centos/5/os/i386/
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
CPU 0 irqstacks, hard=c0784000 soft=c0764000
PID hash table entries: 4096 (order: 12, 16384 bytes)
Xen reported: 2527.042 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Software IO TLB disabled
vmalloc area: ee000000-f4ffe000, maxmem 2d7fe000
Memory: 757676k/794624k available (2212k kernel code, 28436k reserved, 1038k data, 184k init, 49160k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 6351.52 BogoMIPS (lpj=12703058)
Security Framework v1.0.0 initialized
SELinux:  Initializing.
selinux_register_security:  Registering secondary module capability
Capability LSM initialized as secondary
Mount-cache hash table entries: 512
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 6144K
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 14k freed
Brought up 1 CPUs
checking if image is initramfs... it is
Freeing initrd memory: 14496k freed
Grant table initialized
NET: Registered protocol family 16
Brought up 1 CPUs
PCI: setting up Xen PCI frontend stub
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI: disabled
xen_mem: Initialising balloon driver.
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: System does not support PCI
PCI: System does not support PCI
NetLabel: Initializing
NetLabel:  domain hash size = 128
NetLabel:  protocols = UNLABELED CIPSOv4
NetLabel:  unlabeled traffic allowed by default
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
audit: initializing netlink socket (disabled)
type=2000 audit(1332262662.268:1): initialized
highmem bounce pool size: 64 pages
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Initializing Cryptographic API
alg: No test for crc32c (crc32c-generic)
ksign: Installing public key data
Loading keyring
- Added public key E4B7FFDB66F0F649
- User ID: CentOS (Kernel Module GPG key)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
rtc: IRQ 8 is not free.
Non-volatile memory driver v1.2
Linux agpgart interface v0.101 (c) Dave Jones
brd: module loaded
Xen virtual console successfully installed as xvc0
Event-channel device installed.
Console: switching to colour frame buffer device 100x37
input: Xen Virtual Keyboard/Mouse as /class/input/input0
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
ide-floppy driver 0.99.newide
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
PNP: No PS/2 controller found. Probing ports directly.
i8042.c: No controller found.
mice: PS/2 mouse device common for all mice
md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: bitmap version 4.39
TCP bic registered
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI No-Shortcut mode
XENBUS: Device with no driver: device/vbd/51712
XENBUS: Device with no driver: device/vif/0
XENBUS: Device with no driver: device/console/0
Initalizing network drop monitor service
Freeing unused kernel memory: 184k freed
Write protecting the kernel read-only data: 401k

Anything can be done to get it around?
> Here is the iptable output,
> [root@XenTester su]# iptables -nL
> Chain INPUT (policy ACCEPT)
> target     prot opt source               destination
> ACCEPT     all  --             state RELATED,ESTABLISHED
> ACCEPT     icmp --  
> ACCEPT     all  --  
> ACCEPT     tcp  --             state NEW tcp dpt:22
> REJECT     all  --             reject-with icmp-host-prohibited

> Chain FORWARD (policy ACCEPT)
> target     prot opt source               destination
> REJECT     all  --             reject-with icmp-host-prohibited
> Chain OUTPUT (policy ACCEPT)
> target     prot opt source               destination
> [root@XenTester su]#
> Does it look ok to you?

It seems to reject all non-ssh connections, which would explain things I

Try flushing your firewall rules perhaps? Or reconfigure to allow

Thanks a lot. I've already re-configured the firewall rules to allow 5900-6000 [both in and out]. The command "vncviewer localhost:5901" can bring a VNC window to me.

Right now the only issue left seems to be how to get through the stuck virtual machine after I do "xm console cent5"

> there may be a firewall at the gateway blocked the connection. I may
> double check with our system admin.

That shouldn't impact localhost connections.


Su Zhang
Ph.D Candidate
Computing and Information Sciences
Kansas State University
Xen-users mailing list



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