# Kernel 3 comiling problem under XEN

**URL:** <https://forums.suse.com/t/kernel-3-comiling-problem-under-xen/22083>\
**Category:** SLES Virtualization\
**Created:** [January 16, 2012, 2:16pm UTC](https://forums.suse.com/t/kernel-3-comiling-problem-under-xen/22083 "2012-01-16T14:16:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![System1](https://avatars.discourse-cdn.com/v4/letter/s/51bf81/32.png) [@System1](https://forums.suse.com/u/System1)\
**Post date:** [January 16, 2012, 2:16pm UTC](https://forums.suse.com/t/kernel-3-comiling-problem-under-xen/22083/1 "2012-01-16T14:16:02Z")

</div>

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](http://forums.novell.com/member.php?userid=122672)  
View this thread: [http://forums.novell.com/showthread.php?t=450784](http://forums.novell.com/showthread.php?t=450784)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/5/5012ba89e3ffb5220dac47d5ea0ba032e2fe1cb6.png) [@system](https://forums.suse.com/u/system)\
**Post date:** [January 20, 2012, 10:07pm UTC](https://forums.suse.com/t/kernel-3-comiling-problem-under-xen/22083/2 "2012-01-20T22:07:25Z")

</div>

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](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](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](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/](http://forums.novell.com/)
