PDA

View Full Version : Kernel 3 comiling problem under XEN



awdffsadfwer3wferf
16-Jan-2012, 13:16
Hello,

I`m running XEN 4.1.2 on OpenSuse 12.1 x64
I want to compile a new kernel (3.2.1) on SLES 11 SP1 in HVM mode.
It hangs on booting the new kernel. The root partition was not found.

Before booting the new kernel,
the command "mkinitrd -v -k vmlinux-3.2.1 -i initrd-3.2.1" gives somme
error output:

Kernel image: /boot/vmlinux-3.2.1
Initrd image: /boot/initrd-3.2.1
Root device: /dev/hda3 (mounted on / as ext3)
Resume device: /dev/hda2
[BLOCK] /dev/hda -> xenblk
[MODULES] 02-start.sh: xen-vbd ata_piix ata_generic piix
ide_pci_generic processor thermal fan xen-vnif jbd ext3 xen_vbd edd
xennet xenblk
[MODULES] 02-start.sh:
[MODULES] 03-storage.sh: ext3
[MODULES] 11-block.sh: xenblk
[MODULES] 11-usb.sh: usbcore
[MODULES] 11-usb.sh: ohci_hcd
[MODULES] 11-usb.sh: uhci-hcd
[MODULES] 11-usb.sh: ehci_hcd
[MODULES] 11-usb.sh: usbhid
[MODULES] Unsupported kernel (3.2.1-default)
modprobe: Module xen_vbd not found.
WARNING: no dependencies for kernel module 'xen-vbd' found.
modprobe: Module xen_vnif not found.
WARNING: no dependencies for kernel module 'xen-vnif' found.
modprobe: Module xen_vbd not found.
WARNING: no dependencies for kernel module 'xen_vbd' found.
modprobe: Module xennet not found.
WARNING: no dependencies for kernel module 'xennet' found.
Kernel Modules: scsi_mod libata ata_piix ata_generic ide-core piix
ide-pci-generic hwmon thermal_sys processor thermal fan jbd mbcache ext3
edd xen-blkfront usb-common usbcore ohci-hcd ehci-hcd uhci-hcd hid
usbhid
[MOUNT] Root: /dev/hda3
Features: block usb resume.userspace resume.kernel
Shared libs: /lib/udev/activate_vg is a script
/lib/udev/bluetooth.sh is a script
/lib/udev/bluetooth_serial is a script
/lib/udev/collect_lvm is a script
/lib/udev/firmware.sh is a script
/lib/udev/idedma.sh is a script
/lib/udev/iwlwifi-led.sh is a script
/lib/udev/kpartx_id is a script
/lib/udev/packagekit-firmware.sh is a script
/lib/udev/path_id is a script
/lib/udev/write_cd_rules is a script
/lib/udev/write_net_rules is a script
/lib/mkinitrd/bin/ipconfig.sh is a script
/sbin/ifup is a script
/lib/mkinitrd/bin/ipconfig.sh is a script
/lib/mkinitrd/bin/linuxrc is a script
lib64/ld-2.11.1.so lib64/libacl.so.1.1.0 lib64/libattr.so.1.1.0
lib64/libblkid.so.1.1.0 lib64/libc-2.11.1.so lib64/libcom_err.so.2.1
lib64/libdl-2.11.1.so lib64/libe2p.so.2.3 lib64/libext2fs.so.2.4
lib64/libgcc_s.so.1 lib64/libgcrypt.so.11.4.4
lib64/libgpg-error.so.0.4.0 lib64/liblzo2.so.2.0.0 lib64/libm-2.11.1.so
lib64/libncurses.so.5.6 lib64/libpthread-2.11.1.so
lib64/libreadline.so.5.2 lib64/librt-2.11.1.so lib64/libselinux.so.1
lib64/libsepol.so.1 lib64/libutil-2.11.1.so lib64/libuuid.so.1.3.0
lib64/libvolume_id.so.1.0.1 lib64/libz.so.1.2.3
usr/lib64/libdirect-1.2.so.0.3.0 usr/lib64/libdirectfb-1.2.so.0.3.0
usr/lib64/libfusion-1.2.so.0.3.0 usr/lib64/libglib-2.0.so.0.2200.5
usr/lib64/libpcre.so.0.0.1 usr/lib64/libsplashy.so.1.0.0
usr/lib64/libsplashycnf.so.1.0.0 lib64/libnss_dns-2.11.1.so
lib64/libnss_dns.so.2 lib64/libnss_files-2.11.1.so
lib64/libnss_files.so.2 lib64/libgcc_s.so.1

###########################################

Here my kernel .config :

cat /usr/src/linux-3.2.1/.config | grep -i -e "xen" -e "virtua"
CONFIG_XEN=y
CONFIG_XEN_DOM0=y
CONFIG_XEN_PRIVILEGED_GUEST=y
CONFIG_XEN_PVHVM=y
CONFIG_XEN_MAX_DOMAIN_MEMORY=128
CONFIG_XEN_SAVE_RESTORE=y
CONFIG_XEN_DEBUG_FS=y
CONFIG_PCI_XEN=y
CONFIG_XEN_PCIDEV_FRONTEND=y
CONFIG_XEN_BLKDEV_FRONTEND=m
CONFIG_XEN_BLKDEV_BACKEND=m
CONFIG_NETXEN_NIC=m
CONFIG_XEN_NETDEV_FRONTEND=y
CONFIG_XEN_NETDEV_BACKEND=m
CONFIG_INPUT_XEN_KBDDEV_FRONTEND=y
CONFIG_HVC_XEN=y
CONFIG_XEN_WDT=m
CONFIG_REGULATOR_VIRTUAL_CONSUMER=m
CONFIG_FB_VIRTUAL=m
CONFIG_XEN_FBDEV_FRONTEND=y
# Xen driver support
CONFIG_XEN_BALLOON=y
CONFIG_XEN_BALLOON_MEMORY_HOTPLUG=y
CONFIG_XEN_SCRUB_PAGES=y
CONFIG_XEN_DEV_EVTCHN=y
CONFIG_XEN_BACKEND=y
CONFIG_XENFS=y
CONFIG_XEN_COMPAT_XENFS=y
CONFIG_XEN_SYS_HYPERVISOR=y
CONFIG_XEN_XENBUS_FRONTEND=y
CONFIG_XEN_GNTDEV=y
CONFIG_XEN_GRANT_DEV_ALLOC=m
CONFIG_SWIOTLB_XEN=y
CONFIG_XEN_PCIDEV_BACKEND=m
CONFIG_DEBUG_VIRTUAL=y
CONFIG_VIRTUALIZATION=y

Can anybody pleas help me or give me some usefull hints.

Best regards
B.-D.


--
awdffsadfwer3wferf
------------------------------------------------------------------------
awdffsadfwer3wferf's Profile: http://forums.novell.com/member.php?userid=122672
View this thread: http://forums.novell.com/showthread.php?t=450784

Automatic Reply
20-Jan-2012, 21:07
Awdffsadfwer3wferf,

It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.

Has your problem been resolved? If not, you might try one of the following options:

- Visit http://support.novell.com and search the knowledgebase and/or check all
the other self support options and support programs available.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://forums.novell.com)

Be sure to read the forum FAQ about what to expect in the way of responses:
http://forums.novell.com/faq.php

If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.

Good luck!

Your Novell Product Support Forums Team
http://forums.novell.com/