<div>Hello, i will describe my approach</div>
<div> </div>
<div>1) I have downloaded Centos5-64bit xen image from <a href="http://jailtime.org">jailtime.org</a></div>
<div>2) I have created own swap image with 512MB file size</div>
<div>3) I have used same as dom0 kernel 2.6.18-53.1.19.el5xen</div>
<div>4) I have mounted my image file and copied /lib/modules/2.6.18-53.1.19.el5xen</div>
<div>5) I have created custom ramdisk for domU with mkinitrd --with=xennet --preload=xenblk /boot/initrd-2.6.18-53.1.19.el5xen.domU.img `uname -r` (uname -r = 2.6.18-53.1.19.el5xen)</div>
<div>6) Here comes my config file :</div>
<div> </div>
<div>kernel = "/boot/vmlinuz-2.6.18-53.1.19.el5xen"</div>
<div>ramdisk = "/boot/initrd-2.6.18-53.1.19.el5xen.domU.img"</div>
<div><br>memory = 512</div>
<div>name = "webdev"</div>
<div> </div>
<div>vcpus = 2</div>
<div> </div>
<div>vif = [ '' ]</div>
<div><br>disk = [ 'tap:aio:/home/xen/webdev/webdev_root.img,sda1,w', 'tap:aio:/home/xen/webdev/webdev_swap.img,sda2,w' ]</div>
<div> </div>
<div> </div>
<div>root = "/dev/sda1 ro"</div>
<div> </div>
<div>7) when i will run domU machine using xm create webdev_config.xen -c , it will start booting </div>
<div>but it will got freeze , exactly at step after starting crond</div>
<div> </div>
<div>Using config file "./webdev_config.xen".<br>Started domain webdev_labs_polarion_com<br>PCI: System does not support PCI<br>PCI: System does not support PCI<br>NetLabel: Initializing<br>NetLabel: domain hash size = 128<br>
NetLabel: protocols = UNLABELED CIPSOv4<br>NetLabel: unlabeled traffic allowed by default<br>NET: Registered protocol family 2<br>IP route cache hash table entries: 32768 (order: 6, 262144 bytes)<br>TCP established hash table entries: 131072 (order: 9, 2097152 bytes)<br>
TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)<br>TCP: Hash tables configured (established 131072 bind 65536)<br>TCP reno registered<br>audit: initializing netlink socket (disabled)<br>audit(1211455944.113:1): initialized<br>
VFS: Disk quotas dquot_6.5.1<br>Dquot-cache hash table entries: 512 (order 0, 4096 bytes)<br>Initializing Cryptographic API<br>ksign: Installing public key data<br>Loading keyring<br>- Added public key 496E59E526CA1803<br>
- User ID: CentOS (Kernel Module GPG key)<br>io scheduler noop registered<br>io scheduler anticipatory registered<br>io scheduler deadline registered<br>io scheduler cfq registered (default)<br>pci_hotplug: PCI Hot Plug PCI Core version: 0.5<br>
rtc: IRQ 8 is not free.<br>Non-volatile memory driver v1.2<br>Linux agpgart interface v0.101 (c) Dave Jones<br>RAMDISK driver initialized: 16 RAM disks of 16384K size 4096 blocksize<br>Xen virtual console successfully installed as xvc0<br>
Bootdata ok (command line is root=/dev/sda1 ro )<br>Linux version 2.6.18-53.1.19.el5xen (<a href="mailto:mockbuild@builder10.centos.org">mockbuild@builder10.centos.org</a>) (gcc version 4.1.2 20070626 (Red Hat 4.1.2-14)) #1 SMP Wed May 7 08:51:05 EDT 2008<br>
BIOS-provided physical RAM map:<br> Xen: 0000000000000000 - 0000000020800000 (usable)<br>No mptable found.<br>Built 1 zonelists. Total pages: 133120<br>Kernel command line: root=/dev/sda1 ro <br>Initializing CPU#0<br>PID hash table entries: 4096 (order: 12, 32768 bytes)<br>
Xen reported: 2387.998 MHz processor.<br>Console: colour dummy device 80x25<br>Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)<br>Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)<br>Software IO TLB disabled<br>
Memory: 499712k/532480k available (2358k kernel code, 23900k reserved, 1325k data, 172k init)<br>Calibrating delay using timer specific routine.. 5973.11 BogoMIPS (lpj=11946225)<br>Security Framework v1.0.0 initialized<br>
SELinux: Initializing.<br>selinux_register_security: Registering secondary module capability<br>Capability LSM initialized as secondary<br>Mount-cache hash table entries: 256<br>CPU: L1 I cache: 32K, L1 D cache: 32K<br>
CPU: L2 cache: 4096K<br>CPU: Physical Processor ID: 0<br>CPU: Processor Core ID: 2<br>(SMP-)alternatives turned off<br>Brought up 1 CPUs<br>checking if image is initramfs... it is<br>Grant table initialized<br>NET: Registered protocol family 16<br>
ACPI Exception (utmutex-0262): AE_BAD_PARAMETER, Thread 377A0 could not acquire Mutex [2] [20060707]<br>ACPI Exception (utmutex-0262): AE_BAD_PARAMETER, Thread 377A0 could not acquire Mutex [2] [20060707]<br>Initializing CPU#1<br>
migration_cost=2742<br>Brought up 2 CPUs<br>PCI: setting up Xen PCI frontend stub<br>ACPI: Interpreter disabled.<br>Linux Plug and Play Support v0.97 (c) Adam Belay<br>pnp: PnP ACPI: disabled<br>xen_mem: Initialising balloon driver.<br>
usbcore: registered new driver usbfs<br>usbcore: registered new driver hub<br>PCI: System does not support PCI<br>PCI: System does not support PCI<br>NetLabel: Initializing<br>NetLabel: domain hash size = 128<br>NetLabel: protocols = UNLABELED CIPSOv4<br>
NetLabel: unlabeled traffic allowed by default<br>NET: Registered protocol family 2<br>IP route cache hash table entries: 32768 (order: 6, 262144 bytes)<br>TCP established hash table entries: 131072 (order: 9, 2097152 bytes)<br>
TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)<br>TCP: Hash tables configured (established 131072 bind 65536)<br>TCP reno registered<br>audit: initializing netlink socket (disabled)<br>audit(1211455944.113:1): initialized<br>
VFS: Disk quotas dquot_6.5.1<br>Dquot-cache hash table entries: 512 (order 0, 4096 bytes)<br>Initializing Cryptographic API<br>ksign: Installing public key data<br>Loading keyring<br>- Added public key 496E59E526CA1803<br>
- User ID: CentOS (Kernel Module GPG key)<br>io scheduler noop registered<br>io scheduler anticipatory registered<br>io scheduler deadline registered<br>io scheduler cfq registered (default)<br>pci_hotplug: PCI Hot Plug PCI Core version: 0.5<br>
rtc: IRQ 8 is not free.<br>Non-volatile memory driver v1.2<br>Linux agpgart interface v0.101 (c) Dave Jones<br>RAMDISK driver initialized: 16 RAM disks of 16384K size 4096 blocksize<br>Xen virtual console successfully installed as xvc0<br>
Event-channel device installed.<br>Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2<br>ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx<br>ide-floppy driver 0.99.newide<br>usbcore: registered new driver hiddev<br>
usbcore: registered new driver usbhid<br>drivers/usb/input/hid-core.c: v2.6:USB HID core driver<br>PNP: No PS/2 controller found. Probing ports directly.<br>i8042.c: No controller found.<br>mice: PS/2 mouse device common for all mice<br>
md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27<br>md: bitmap version 4.39<br>TCP bic registered<br>Initializing IPsec netlink socket<br>NET: Registered protocol family 1<br>NET: Registered protocol family 17<br>XENBUS: Device with no driver: device/vbd/2049<br>
XENBUS: Device with no driver: device/vbd/2050<br>XENBUS: Device with no driver: device/vif/0<br>XENBUS: Device with no driver: device/console/0<br>Write protecting the kernel read-only data: 445k<br>Red Hat nash version <a href="http://5.1.19.6">5.1.19.6</a> starting<br>
Mounting proc filesystem<br>Mounting sysfs filesystem<br>Creating /dev<br>Creating initial device nodes<br>Setting up hotplug.<br>Creating block device nodes.<br>Loading xenblk.ko module<br>Registering block device major 8<br>
Loading uhci-hcd.ko module<br>USB Universal Host Controller Interface driver v3.0<br>Loading ohci-hcd.ko module<br>Loading ehci-hcd.ko module<br>Loading jbd.ko module<br>Loading ext3.ko module<br>Loading raid1.ko module<br>
md: raid1 personality registered for level 1<br>Loading scsi_mod.ko module<br>SCSI subsystem initialized<br>Loading sd_mod.ko module<br>register_blkdev: cannot get major 8 for sd<br>Loading libata.ko module<br>Loading ata_piix.ko module<br>
Loading pata_marvell.ko module<br>Loading dm-mod.ko module<br>device-mapper: ioctl: 4.11.0-ioctl (2006-09-14) initialised: <a href="mailto:dm-devel@redhat.com">dm-devel@redhat.com</a><br>Loading dm-mirror.ko module<br>Loading dm-zero.ko module<br>
Loading dm-snapshot.ko module<br>Loading xennet.ko module<br>netfront: Initialising virtual ethernet driver.<br>netfront: device eth0 has flipping receive path.<br>Waiting for driver initialization.<br>Scanning and configuring dmraid supported devices<br>
md: Autodetecting RAID arrays.<br>md: autorun ...<br>md: ... autorun DONE.<br>Scanning logical volumes<br> Reading all physical volumes. This may take a while...<br> No volume groups found<br>Activating logical volumes<br>
Volume group "VolGroup00" not found<br>Creating root device.<br>Mounting root filesystem.<br>EXT3-fs: INFO: recovery required on readonly filesystem.<br>EXT3-fs: write access will be enabled during recovery.<br>
kjournald starting. Commit interval 5 seconds<br>EXT3-fs: recovery complete.<br>EXT3-fs: mounted filesystem with ordered data mode.<br>Setting up other filesystems.<br>Setting up new root fs<br>no fstab.sys, mounting internal defaults<br>
Switching to new root and running init.<br>unmounting old /dev<br>unmounting old /proc<br>unmounting old /sys<br>INIT: version 2.86 booting<br> Welcome to CentOS release 5 (Final)<br> Press 'I' to enter interactive startup.<br>
Setting clock : Thu May 22 07:32:31 EDT 2008 [ OK ]<br>Starting udev: [ OK ]<br>Setting hostname localhost.localdomain: [ OK ]<br>DM multipath kernel driver not loaded<br>No devices found<br>Setting up Logical Volume Management: No volume groups found<br>
[ OK ]<br>Checking filesystems<br>Checking all file systems.<br>[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a /dev/sda1 <br>/dev/sda1: clean, 19482/128256 files, 110482/256256 blocks<br>[ OK ]<br>Remounting root filesystem in read-write mode: [ OK ]<br>
Mounting local filesystems: [ OK ]<br>Enabling /etc/fstab swaps: [ OK ]<br>INIT: Entering runlevel: 3<br>Entering non-interactive startup<br>Bringing up loopback interface: [ OK ]<br>Bringing up interface eth0: <br>
Determining IP information for eth0... failed.<br>[FAILED]<br>Starting system logger: [ OK ]<br>Starting kernel logger: [ OK ]<br>Starting sshd: [ OK ]<br>Starting crond: [ OK ]</div>
<div> </div>
<div> </div>
<div>Thanks for help!</div>