Ahmed Moneeb Azab
2008-Jun-11 03:56 UTC
[Xen-users] CentOS 5.1 Paravirtualized guest hangs during creation
Hi all, I am creating a CentOS 5.1 Paravirtualized guest On Xen 3.2.1 / Fedora 8 Dom0. I built DomU kernel from the Xen Linux 2.6.18.8 source. I also created an initrd image (I face some problems there as I had to manually copy some modules line xennet, ahci and libata). Anyway, I dounloaded the CentOS5.1 image from http://jailtime.org/ and copied it to a new partition. When I create the CentOS (using xm create) the kernel hangs. I got some version conflict warning from the Xen kernel (due to the modules that I had to manually copy), but I do not think this is what causes the problem. My configuration file is attached. Is there any chance that my guest is starting properly but I cannot catch the console? Thanks, Ahmed The following is the output: ---------------------------------------- Using config file "/etc/xen/CentOs.pvm". Started domain centos1 Linux version 2.6.18.8-xenU (root@explorer) (gcc version 4.1.2 20070925 (Red Hat 4.1.2-33)) #1 SMP Fri Jun 6 16:03:50 EDT 2008 BIOS-provided physical RAM map: Xen: 0000000000000000 - 0000000030800000 (usable) 48MB HIGHMEM available. 727MB LOWMEM available. NX (Execute Disable) protection: active Allocating PCI resources starting at 40000000 (gap: 30800000:cf800000) Detected 2992.598 MHz processor. Built 1 zonelists. Total pages: 198656 Kernel command line: root=/dev/sda1 ro Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Initializing CPU#0 PID hash table entries: 4096 (order: 12, 16384 bytes) Xen reported: 2992.484 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-f53fe000, maxmem 2d7fe000 Memory: 766864k/794624k available (1921k kernel code, 19276k reserved, 501k data, 148k init, 49160k highmem) Checking if this processor honours the WP bit even in supervisor mode... Ok. Calibrating delay using timer specific routine.. 5985.96 BogoMIPS (lpj=29929810) 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: 16k freed Brought up 1 CPUs migration_cost=0 checking if image is initramfs... it is Freeing initrd memory: 7132k freed NET: Registered protocol family 16 Brought up 1 CPUs xen_mem: Initialising balloon driver. 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 highmem bounce pool size: 64 pages Initializing Cryptographic API io scheduler noop registered io scheduler anticipatory registered (default) io scheduler deadline registered io scheduler cfq registered RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize Xen virtual console successfully installed as xvc0 Event-channel device installed. netfront: Initialising virtual ethernet driver. xen-vbd: registered block device major 8 blkfront: sda1: barriers enabled blkfront: sda2: barriers enabled i8042.c: No controller found. mice: PS/2 mouse device common for all mice TCP bic registered NET: Registered protocol family 1 NET: Registered protocol family 17 Using IPI No-Shortcut mode vif vif-0: 2 parsing device/vif/0/mac XENBUS: Device with no driver: device/console/0 Freeing unused kernel memory: 148k freed ehci_hcd: version magic ''2.6.18.8-xen SMP mod_unload Xen 686 REGPARM gcc-4.1'' should be ''2.6.18.8-xenU SMP mod_unload Xen 686 gcc-4.1'' ohci_hcd: version magic ''2.6.18.8-xen SMP mod_unload Xen 686 REGPARM gcc-4.1'' should be ''2.6.18.8-xenU SMP mod_unload Xen 686 gcc-4.1'' uhci_hcd: version magic ''2.6.18.8-xen SMP mod_unload Xen 686 REGPARM gcc-4.1'' should be ''2.6.18.8-xenU SMP mod_unload Xen 686 gcc-4.1'' libata: version magic ''2.6.24.7-92.fc8 SMP mod_unload 686 4KSTACKS '' should be ''2.6.18.8-xenU SMP mod_unload Xen 686 gcc-4.1'' ahci: version magic ''2.6.24.7-92.fc8 SMP mod_unload 686 4KSTACKS '' should be ''2.6.18.8-xenU SMP mod_unload Xen 686 gcc-4.1'' libata: version magic ''2.6.24.7-92.fc8 SMP mod_unload 686 4KSTACKS '' should be ''2.6.18.8-xenU SMP mod_unload Xen 686 gcc-4.1'' libata: version magic ''2.6.24.7-92.fc8 SMP mod_unload 686 4KSTACKS '' should be ''2.6.18.8-xenU SMP mod_unload Xen 686 gcc-4.1'' ata_generic: version magic ''2.6.24.7-92.fc8 SMP mod_unload 686 4KSTACKS '' should be ''2.6.18.8-xenU SMP mod_unload Xen 686 gcc-4.1'' kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Boris Derzhavets
2008-Jun-11 08:51 UTC
Re: [Xen-users] CentOS 5.1 Paravirtualized guest hangs during creation
This guest at Xen 3.2.1 F8 Dom0 may be create via virt-manager or virt-install view for details:- Fedora 8 (64-bit) as a flexible target for Xen 3.2.1 Dom0 install http://lxer.com/module/newswire/view/103746/index.html --- On Tue, 6/10/08, Ahmed Moneeb Azab <amazab@ncsu.edu> wrote: From: Ahmed Moneeb Azab <amazab@ncsu.edu> Subject: [Xen-users] CentOS 5.1 Paravirtualized guest hangs during creation To: xen-users@lists.xensource.com Date: Tuesday, June 10, 2008, 11:56 PM Hi all, I am creating a CentOS 5.1 Paravirtualized guest On Xen 3.2.1 / Fedora 8 Dom0. I built DomU kernel from the Xen Linux 2.6.18.8 source. I also created an initrd image (I face some problems there as I had to manually copy some modules line xennet, ahci and libata). Anyway, I dounloaded the CentOS5.1 image from http://jailtime.org/ and copied it to a new partition. When I create the CentOS (using xm create) the kernel hangs. I got some version conflict warning from the Xen kernel (due to the modules that I had to manually copy), but I do not think this is what causes the problem. My configuration file is attached. Is there any chance that my guest is starting properly but I cannot catch the console? Thanks, Ahmed The following is the output: ---------------------------------------- Using config file "/etc/xen/CentOs.pvm". Started domain centos1 Linux version 2.6.18.8-xenU (root@explorer) (gcc version 4.1.2 20070925 (Red Hat 4.1.2-33)) #1 SMP Fri Jun 6 16:03:50 EDT 2008 BIOS-provided physical RAM map: Xen: 0000000000000000 - 0000000030800000 (usable) 48MB HIGHMEM available. 727MB LOWMEM available. NX (Execute Disable) protection: active Allocating PCI resources starting at 40000000 (gap: 30800000:cf800000) Detected 2992.598 MHz processor. Built 1 zonelists. Total pages: 198656 Kernel command line: root=/dev/sda1 ro Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Initializing CPU#0 PID hash table entries: 4096 (order: 12, 16384 bytes) Xen reported: 2992.484 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-f53fe000, maxmem 2d7fe000 Memory: 766864k/794624k available (1921k kernel code, 19276k reserved, 501k data, 148k init, 49160k highmem) Checking if this processor honours the WP bit even in supervisor mode... Ok. Calibrating delay using timer specific routine.. 5985.96 BogoMIPS (lpj=29929810) 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: 16k freed Brought up 1 CPUs migration_cost=0 checking if image is initramfs... it is Freeing initrd memory: 7132k freed NET: Registered protocol family 16 Brought up 1 CPUs xen_mem: Initialising balloon driver. 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 highmem bounce pool size: 64 pages Initializing Cryptographic API io scheduler noop registered io scheduler anticipatory registered (default) io scheduler deadline registered io scheduler cfq registered RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize Xen virtual console successfully installed as xvc0 Event-channel device installed. netfront: Initialising virtual ethernet driver. xen-vbd: registered block device major 8 blkfront: sda1: barriers enabled blkfront: sda2: barriers enabled i8042.c: No controller found. mice: PS/2 mouse device common for all mice TCP bic registered NET: Registered protocol family 1 NET: Registered protocol family 17 Using IPI No-Shortcut mode vif vif-0: 2 parsing device/vif/0/mac XENBUS: Device with no driver: device/console/0 Freeing unused kernel memory: 148k freed ehci_hcd: version magic ''2.6.18.8-xen SMP mod_unload Xen 686 REGPARM gcc-4.1'' should be ''2.6.18.8-xenU SMP mod_unload Xen 686 gcc-4.1'' ohci_hcd: version magic ''2.6.18.8-xen SMP mod_unload Xen 686 REGPARM gcc-4.1'' should be ''2.6.18.8-xenU SMP mod_unload Xen 686 gcc-4.1'' uhci_hcd: version magic ''2.6.18.8-xen SMP mod_unload Xen 686 REGPARM gcc-4.1'' should be ''2.6.18.8-xenU SMP mod_unload Xen 686 gcc-4.1'' libata: version magic ''2.6.24.7-92.fc8 SMP mod_unload 686 4KSTACKS '' should be ''2.6.18.8-xenU SMP mod_unload Xen 686 gcc-4.1'' ahci: version magic ''2.6.24.7-92.fc8 SMP mod_unload 686 4KSTACKS '' should be ''2.6.18.8-xenU SMP mod_unload Xen 686 gcc-4.1'' libata: version magic ''2.6.24.7-92.fc8 SMP mod_unload 686 4KSTACKS '' should be ''2.6.18.8-xenU SMP mod_unload Xen 686 gcc-4.1'' libata: version magic ''2.6.24.7-92.fc8 SMP mod_unload 686 4KSTACKS '' should be ''2.6.18.8-xenU SMP mod_unload Xen 686 gcc-4.1'' ata_generic: version magic ''2.6.24.7-92.fc8 SMP mod_unload 686 4KSTACKS '' should be ''2.6.18.8-xenU SMP mod_unload Xen 686 gcc-4.1'' kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode.kernel = "/boot/vmlinuz-2.6.18.8-xenU" ramdisk= "/boot/initrd-centos-5.img" memory = 768 name = "centos1" vif = [ ''type=ioemu, mac=00:16:3e:38:4a:3d,bridge=virbr0'' ] disk = [ ''phy:/dev/VG_Guests/centos,ioemu:sda1,w'', ''phy:/dev/VG_Guests/centosswap,ioemu:sda2,w''] root = "/dev/sda1 ro"_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users