[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-users] Problem on upgrade domU kernel to PV Linux kernel 2.6.31.14
Currently my xen environment is: xen 4.0.0 on RHEL5.3 dom0: kernel.org 2.6.31.5 with xen-patches-2.6.31-10 HVM domU: 2.6.18
Blow is my domU building steps, according to http://wiki.xensource.com/xenwiki/Kernel.org_Linux_on_Xen 1. download kernel.org 2.6.31.14 and copy it to HVM guest disk image 2. "make defconfig" and enable building option CONFIG_XEN=y CONFIG_HVC_DRIVER=y CONFIG_HVC_XEN=y CONFIG_XEN_BLKDEV_FRONTEND=y CONFIG_XEN_NETDEV_FRONTEND=y 3. make and copy arch/x86/boot/bzImage to /boot 4. make modules_install and mkinitrd initrd.img 2.6.31.14 But lack of USB driver, error message: "No module ehci-hcd found for kernel". Since the USB drivers are by default compiled in the PV-OPS kernel, not as modules. So I config those UBS option as blow: CONFIG_SCSI_BUSLOGIC=M CONFIG_USB_HCD_UHCI=M CONFIG_USB_EHCI_HCD=M CONFIG_USB_OHCI_HCD=M CONFIG_ATA_PIIX=M 5. reboot HVM domU to kernel 2.6.31.14 but meet kernel panic mount: could not find filesystem '/dev/root' setuproot: moving /dev failed: No such file or directory setuproot: error mounting /proc: No such file or directory setuproot: error mounting /sys: No such file or directory switchroot: mount failed: No such file or directory Kernel panic - not syncing: Attempted to kill init! It seems initrd.img does not contain correct driver. Do I need enable other options in kernel config? Really appreciate your suggestion.
Blow is my HVM config file for your consideration: import os, re arch = os.uname()[4] if re.search('64', arch): arch_libdir = 'lib64' else: arch_libdir = 'lib' kernel = "/usr/lib/xen/boot/hvmloader" builder='hvm' memory = 1024 vcpus=1 pae=1 cpus = "0" # all vcpus run on CPU0 disk = [ 'file:/root/sdp/img/ia64.img,hda,w' ]
Best regards, Lin.
_______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |