Ping Failed when creating new XEN machines

7 posts / 0 new
Last post
#1 Wed, 03/30/2011 - 17:40
eXcalibre

Ping Failed when creating new XEN machines

When ever i create a Xen instance i get the completed successfully notification apart from the error below and ping always fails to the vm.

"xen instance was started, but could not be accessed via SSH after 60 seconds"

i can access the machine only via the console and not via ssh or web (locally or externally)

It seems it is something in my configs as the machine is obviously running ok and i can connect via console.

I realy don't know where to start looking for config files via cloudmin gpl.

If i do a ifconfig in the console then i get the requested IP i assigned but i cannot ping the gateway (the host machine or web addresses).

This is the part of the boot log i think is relevent to networking.

netfront: Initialising virtual ethernet driver. netfront: device eth0 has flipping receive path.

any advice appreciated.

Wed, 03/30/2011 - 20:58
eXcalibre

This is the output from the console when booting.

Linux version 2.6.18-194.32.1.el5xen (mockbuild@builder10.centos.org) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)) #1 SMP Wed Jan 5 19:32:33 EST 2011 BIOS-provided physical RAM map: Xen: 0000000000000000 - 0000000100800000 (usable) 3376MB HIGHMEM available. 727MB LOWMEM available. Using x86 segment limits to approximate NX protection ACPI in unprivileged domain disabled Built 1 zonelists. Total pages: 1050624 Kernel command line: root=/dev/sda1 ro Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Initializing CPU#0 CPU 0 irqstacks, hard=c0758000 soft=c0738000 PID hash table entries: 4096 (order: 12, 16384 bytes) Xen reported: 2787.666 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: 474752k/4202496k available (2186k kernel code, 49148k reserved, 895k data, 176k init, 3457032k highmem) Checking if this processor honours the WP bit even in supervisor mode... Ok. Calibrating delay using timer specific routine.. 6978.06 BogoMIPS (lpj=13956120) 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: Trace cache: 12K uops, L1 D cache: 8K CPU: L2 cache: 512K Checking 'hlt' instruction... OK. SMP alternatives: switching to UP code Freeing SMP alternatives: 13k freed Brought up 1 CPUs checking if image is initramfs... it is Freeing initrd memory: 5808k 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(1301536236.326:1): initialized 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 59F555817D939EA9 - 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/2049 XENBUS: Device with no driver: device/vif/0 Initalizing network drop monitor service Freeing unused kernel memory: 176k freed Write protecting the kernel read-only data: 395k XENBUS: Waiting for devices to initialise: 295s...290s...285s...280s...275s...270s...265s...260s...255s...250s...245s...240s...235s...230s...225s...220s...215s...210s...205s...200s...195s...190s...185s...180s...175s...170s...165s...160s...155s...150s...145s...140s...135s...130s...125s...120s...115s...110s...105s...100s...95s...90s...85s...80s...75s...70s...65s...60s...55s...50s...45s...40s...35s...30s...25s...20s...15s...10s...5s...0s... XENBUS: Timeout connecting to device: device/vbd/2049 (local state 3, remote state 2) netfront: Initialising virtual ethernet driver. USB Universal Host Controller Interface driver v3.0 SCSI subsystem initialized device-mapper: uevent: version 1.0.3 device-mapper: ioctl: 4.11.5-ioctl (2007-12-12) initialised: dm-devel@redhat.com device-mapper: dm-raid45: initialized v0.2594l Kernel panic - not syncing: Attempted to kill init!

Wed, 04/06/2011 - 10:14
eXcalibre

All sorted now thanks.

Wed, 04/13/2011 - 14:49 (Reply to #3)
heritage727

I'm having the exact same issue. What did you do to take care of the problem? Thanks.

Thu, 08/02/2012 - 07:47 (Reply to #4)
netizen

It apprears you did not get an answer when you had that issue. I happen to be in the same position as you back then. How did you solve it?

Fri, 08/03/2012 - 04:55 (Reply to #5)
netizen

How did you solve it? I have the same problem!

Thank you

Tue, 10/17/2017 - 16:01
HarryZink

Has anyone ever found out what the solution to this was, as I am having the exact same issue (except with KVM, not XEN VMs).

Anyone?

Topic locked