[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-users] CentOS 4.4 Xen VM/VPS install on CentOS 5 (xen kernel) issues
Ok So I've been able to successfully create a CentOS5 virt-install on xen using LVM created partitions. But have many problems trying to install 4.4 (It does not work with virt-install hence you have to try another method). I Created a name, name-tmp, name-swap, name-root paritions. I did mke2fs and mkswap no problem everything is good. I went on further to mount the name-tmp and name-root paritions accordingly. in order to copy files into the lvm partitions. Now I tried installing two ways. Method 1: Use JailTime.org xen .imgs and then mounting the image and copying the files over to the /mnt/name directory (the one I mounted above). Everything copied over no problems at all. I then proceeded to the final step (creating the xen config file for the VPS) as follows: ==================== kernel = "/boot/vmlinuz-2.6.18-8.1.1.el5xen" name = "geotmp" memory = "1028"disk = ['phy:/dev/linux/geotmp,xvda1,w', 'phy:/dev/linux/geotmp-swap,xvda2,w'] ramdisk = "/boot/kernel-geotmp.img" root = "/dev/hda1 ro" vif = [ '', ] vcpus=2 on_reboot = 'restart' on_crash = 'restart' on_poweroff = 'restart' ====================Somewhat similar to the script from the virt-install running servers plus a few changes. Method 2:yum -c /path/to/centos4.4/yum.conf --installroot=/mnt/<companyname> -y groupinstall Base MAKEDEV -d /mnt/<companyname>/dev -x console MAKEDEV -d /mnt/<companyname>/dev -x null MAKEDEV -d /mnt/<companyname>/dev -x zer This extracts and installs correctly. ===== End methods list =====We've attempted to create our own kernel with xenblk via: mkinitrd --with=xennet --preload=xenblk /boot/kernel-geotmp.img 2.6.18-8.1.1.el5xen But we get the same message error when we try to use either the elfxen or our custom made kernel. Shown below: ======== [root@web1 <mailto:root@web1> boot]# xm create geotmp -c Using config file "/etc/xen/geotmp". Started domain geotmp Bootdata ok (command line is root=/dev/hda1 ro)Linux version 2.6.18-8.1.1.el5xen (mockbuild@xxxxxxxxxxxxxxxxxxx <mailto:mockbuild@xxxxxxxxxxxxxxxxxxx>) (gcc version 4.1.1 20070105 (Red Hat 4.1.1-52)) #1 SMP Mon Apr 9 10:37:31 EDT 2007 BIOS-provided physical RAM map: Xen: 0000000000000000 - 0000000040c00000 (usable) No mptable found. Built 1 zonelists. Total pages: 265216 Kernel command line: root=/dev/hda1 ro Initializing CPU#0 PID hash table entries: 4096 (order: 12, 32768 bytes) Xen reported: 1994.999 MHz processor. Console: colour dummy device 80x25 Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes) Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes) Software IO TLB disabledMemory: 1019136k/1060864k available (2321k kernel code, 32916k reserved, 1312k data, 168k init) Calibrating delay using timer specific routine.. 4988.73 BogoMIPS (lpj=9977474) Security Framework v1.0.0 initialized SELinux: Initializing. SELinux: Starting in permissive mode selinux_register_security: Registering secondary module capability Capability LSM initialized as secondary Mount-cache hash table entries: 256 CPU: L1 I cache: 32K, L1 D cache: 32K CPU: L2 cache: 4096K CPU: Physical Processor ID: 3 CPU: Processor Core ID: 0 (SMP-)alternatives turned off Brought up 1 CPUs checking if image is initramfs... it is Grant table initialized NET: Registered protocol family 16ACPI Exception (utmutex-0262): AE_BAD_PARAMETER, Thread 2D7A0 could not acquire Mutex [2] [20060707] Initializing CPU#1 migration_cost=16352 Brought up 2 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: 65536 (order: 7, 524288 bytes) TCP established hash table entries: 262144 (order: 10, 4194304 bytes) TCP bind hash table entries: 65536 (order: 8, 1048576 bytes) TCP: Hash tables configured (established 262144 bind 65536) TCP reno registeredIA-32 Microcode Update Driver: v1.14-xen <tigran@xxxxxxxxxxx> <mailto:tigran@xxxxxxxxxxx%3E> audit: initializing netlink socket (disabled) audit(1176965129.039:1): initialized VFS: Disk quotas dquot_6.5.1 Dquot-cache hash table entries: 512 (order 0, 4096 bytes) SELinux: Registering netfilter hooks Initializing Cryptographic API ksign: Installing public key data Loading keyring - Added public key 2E65EC0636225012 - 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 Bootdata ok (command line is root=/dev/hda1 ro)Linux version 2.6.18-8.1.1.el5xen (mockbuild@xxxxxxxxxxxxxxxxxxx <mailto:mockbuild@xxxxxxxxxxxxxxxxxxx>) (gcc version 4.1.1 20070105 (Red Hat 4.1.1-52)) #1 SMP Mon Apr 9 10:37:31 EDT 2007 BIOS-provided physical RAM map: Xen: 0000000000000000 - 0000000040c00000 (usable) No mptable found. Built 1 zonelists. Total pages: 265216 Kernel command line: root=/dev/hda1 ro Initializing CPU#0 PID hash table entries: 4096 (order: 12, 32768 bytes) Xen reported: 1994.999 MHz processor. Console: colour dummy device 80x25 Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes) Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes) Software IO TLB disabledMemory: 1019136k/1060864k available (2321k kernel code, 32916k reserved, 1312k data, 168k init) Calibrating delay using timer specific routine.. 4988.73 BogoMIPS (lpj=9977474) Security Framework v1.0.0 initialized SELinux: Initializing. SELinux: Starting in permissive mode selinux_register_security: Registering secondary module capability Capability LSM initialized as secondary Mount-cache hash table entries: 256 CPU: L1 I cache: 32K, L1 D cache: 32K CPU: L2 cache: 4096K CPU: Physical Processor ID: 3 CPU: Processor Core ID: 0 (SMP-)alternatives turned off Brought up 1 CPUs checking if image is initramfs... it is Grant table initialized NET: Registered protocol family 16ACPI Exception (utmutex-0262): AE_BAD_PARAMETER, Thread 2D7A0 could not acquire Mutex [2] [20060707] Initializing CPU#1 migration_cost=16352 Brought up 2 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: 65536 (order: 7, 524288 bytes) TCP established hash table entries: 262144 (order: 10, 4194304 bytes) TCP bind hash table entries: 65536 (order: 8, 1048576 bytes) TCP: Hash tables configured (established 262144 bind 65536) TCP reno registeredIA-32 Microcode Update Driver: v1.14-xen <tigran@xxxxxxxxxxx> <mailto:tigran@xxxxxxxxxxx%3E> audit: initializing netlink socket (disabled) audit(1176965129.039:1): initialized VFS: Disk quotas dquot_6.5.1 Dquot-cache hash table entries: 512 (order 0, 4096 bytes) SELinux: Registering netfilter hooks Initializing Cryptographic API ksign: Installing public key data Loading keyring - Added public key 2E65EC0636225012 - 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. 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 XENBUS: Device with no driver: device/vbd/51713 XENBUS: Device with no driver: device/vbd/51714 XENBUS: Device with no driver: device/vif/0 Write protecting the kernel read-only data: 439k Red Hat nash version 5.1.19.6 starting Mounting proc filesystem Mounting sysfs filesystem Creating /dev Creating initial device nodes Setting up hotplug. Creating block device nodes. Loading xenblk.ko module Registering block device major 202 Loading uhci-hcd.ko module USB Universal Host Controller Interface driver v3.0 Loading ohci-hcd.ko module Loading ehci-hcd.ko module Loading jbd.ko module Loading ext3.ko module Loading scsi_mod.ko module SCSI subsystem initialized Loading sd_mod.ko module Loading 3w-9xxx.ko module 3ware 9000 Storage Controller device driver for Linux v2.26.06.001-2.6.18. Loading usb-storage.ko module Initializing USB Mass Storage driver... usbcore: registered new driver usb-storage USB Mass Storage support registered. Waiting for driver initialization. stabilized: stat /proc/bus/usb/devices: No such file or directory Loading dm-mod.ko moduledevice-mapper: ioctl: 4.11.0-ioctl (2006-09-14) initialised: dm-devel@xxxxxxxxxx <mailto:dm-devel@xxxxxxxxxx> Loading dm-mirror.ko module Loading dm-zero.ko module Loading dm-snapshot.ko module Loading xennet.ko module netfront: Initialising virtual ethernet driver. netfront: device eth0 has flipping receive path. Waiting for driver initialization. Making device-mapper control node Scanning logical volumes Reading all physical volumes. This may take a while... No volume groups found Activating logical volumes Volume group "cat" not found Creating root device. Mounting root filesystem. mount: could not find filesystem '/dev/root' Setting up other filesystems. Setting up new root fs setuproot: moving /dev failed: No such file or directory no fstab.sys, mounting internal defaults setuproot: error mounting /proc: No such file or directory setuproot: error mounting /sys: No such file or directory Switching to new root and running init. unmounting old /dev unmounting old /proc unmounting old /sys switchroot: mount failed: No such file or directory Kernel panic - not syncing: Attempted to kill init! ======So Any reason why CentOS 4.4 cannot be installed at all? Am I missing anything in the kernel? _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |