[et-mgmt-tools] Koan virt install hanging

Michael DeHaan mdehaan at redhat.com
Wed Jan 2 01:29:29 UTC 2008


Jason Hartley wrote:
> Hey,
>
> Happy New Years!
>
>  I am having an issue with doing a koan virt install.  I am trying to
> build a Centos5.1 Xen VM and during the initial boot it hangs at the
> same spot every time.  I am using Cobbler version 0.6.4-2 and Koan
> version 0.6.3-3.  Below is the output from the install during the boot
> where it hangs.  Can some one help direct me on what might be my
> problem?
>
>   
I think I know what is going on.

It's not hanging, what is happening is that the virtualized console no 
longer becomes useful once the VNC graphics mode engages -- in other 
words, you should be able to watch the rest of the install with 
virt-manager.

Older versions of koan had a flag to disable VNC support, but this was 
missing in recent versions (because I was not aware of the virt console 
issue).  In newer versions of koan (such as the test builds... 
http://cobbler.et.redhat.com/download/testing) there is once again a 
--nogfx flag.

When this flag is used, the installation will happen entirely in the 
virt console (and is watchable in text mode), though you will not be 
able to get VNC graphics at the same time.

qemu/KVM (another virtualization type cobbler supports) does not support 
the --nogfx flag.

I suspect most folks using VMs in an automated context would want to 
disable the VNC/graphics bits so that they could use the text consoles.

Since koan in the "testing" directory does not contain any new features 
that require the newer cobbler, I can look at releasing this version 
(with the --nogfx flag) in a few weeks to Fedora/EPEL.

--Michael

> Regards,
> Jason Hartley
>
> Output:
> [root at hydra cobbler]# koan --virt --system=sirrush --server=hydra
> --virt-type=xenpv
> - using kickstart from cobbler:
> http://hydra.troy.3dogs.us/cblr/kickstarts_sys/sirrush/ks.cfg
> libvirt_qemud (pid 3551) is running...
> downloading initrd initrd.img to /var/lib/xen/initrd.img
> url=http://hydra/cobbler/images/centos5.1-xen-i386/initrd.img
> - using kickstart from cobbler:
> http://hydra/cobbler/images/centos5.1-xen-i386/initrd.img
> downloading kernel vmlinuz to /var/lib/xen/vmlinuz
> url=http://hydra/cobbler/images/centos5.1-xen-i386/vmlinuz
> - using kickstart from cobbler:
> http://hydra/cobbler/images/centos5.1-xen-i386/vmlinuz
> use virt-manager or reconnect with virsh console sirrush
> [root at hydra cobbler]#  xm console sirrush
> Linux version 2.6.18-53.el5xen (mockbuild at builder6.centos.org) (gcc
> version 4.1.2 20070626 (Red Hat 4.1.2-14)) #1 SMP Mon Nov 12 03:26:12
> EST 2007
> BIOS-provided physical RAM map:
>  Xen: 0000000000000000 - 0000000010800000 (usable)
> 0MB HIGHMEM available.
> 264MB LOWMEM available.
> NX (Execute Disable) protection: active
> ACPI in unprivileged domain disabled
> Built 1 zonelists.  Total pages: 67584
> Kernel command line:
> ks=http://hydra.troy.3dogs.us/cblr/kickstarts_sys/sirrush/ks.cfg
> ksdevice=eth0 lang=  kssendmac syslog=hydra.troy.3dogs.us:25150 text
> Enabling fast FPU save and restore... done.
> Enabling unmasked SIMD FPU exception support... done.
> Initializing CPU#0
> CPU 0 irqstacks, hard=c0727000 soft=c0707000
> PID hash table entries: 2048 (order: 11, 8192 bytes)
> Xen reported: 1808.694 MHz processor.
> Console: colour dummy device 80x25
> Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
> Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
> Software IO TLB disabled
> vmalloc area: d1000000-f4ffe000, maxmem 2d7fe000
> Memory: 247808k/270336k available (2049k kernel code, 14068k reserved,
> 844k data, 168k init, 0k highmem)
> Checking if this processor honours the WP bit even in supervisor mode... Ok.
> Calibrating delay using timer specific routine.. 4523.54 BogoMIPS (lpj=9047089)
> 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: 64K (64 bytes/line), D cache 64K (64 bytes/line)
> CPU: L2 Cache: 128K (64 bytes/line)
> 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: 6848k freed
> Grant table initialized
> NET: Registered protocol family 16
> ACPI Exception (utmutex-0262): AE_BAD_PARAMETER, Thread C06D7AA0 could
> not acquire Mutex [2] [20060707]
> ACPI Exception (utmutex-0262): AE_BAD_PARAMETER, Thread C06D7AA0 could
> not acquire Mutex [2] [20060707]
> 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: 4096 (order: 2, 16384 bytes)
> TCP established hash table entries: 16384 (order: 5, 131072 bytes)
> TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
> TCP: Hash tables configured (established 16384 bind 8192)
> TCP reno registered
> audit: initializing netlink socket (disabled)
> audit(1199170836.588:1): initialized
> VFS: Disk quotas dquot_6.5.1
> Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
> Initializing Cryptographic API
> ksign: Installing public key data
> Loading keyring
> - Added public key 74432F7696771E6E
> - 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
> RAMDISK driver initialized: 16 RAM disks of 16384K size 4096 blocksize
> 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
> Freeing unused kernel memory: 168k freed
> Write protecting the kernel read-only data: 360k
>
> _______________________________________________
> et-mgmt-tools mailing list
> et-mgmt-tools at redhat.com
> https://www.redhat.com/mailman/listinfo/et-mgmt-tools
>   




More information about the et-mgmt-tools mailing list