I'm using KVM 84 with Gentoo as host and guest. All hosts and guest running with kernel 2.6.28-r(2-3) and the servers are HP DL380 with Intel Xeon CPU L5420. From time to time it happens that the guest crashes during compilation of a new kernel or update the OS (mostly when compiling a new kernel). Here are two examples: Crash 1 KVM startup options: /usr/bin/kvm -m 192 -smp 2 -daemonize -k de -vnc 127.0.0.1:4 -monitor telnet:172.18.105.4:4447,server,nowait -localtime -pidfile /tmp/kvm-athen.pid -drive file=/data/kvm/kvmimages/athen.qcow2,if=virtio,boot=on -drive file=/data/kvm/kvmimages/athen-vdb.qcow2,if=virtio,boot=off -net nic,vlan=104,model=virtio,macaddr=00:ff:48:a3:29:5b -net tap,vlan=104,ifname=tap.b.athen,script=no -net nic,vlan=96,model=virtio,macaddr=00:ff:48:a3:29:5c -net tap,vlan=96,ifname=tap.f.athen,script=no See attachment crash1. Crash 2 KVM startup options: /usr/bin/kvm -m 512 -smp 2 -daemonize -k de -vnc 127.0.0.1:254 -monitor telnet:172.18.105.6:4698,server,nowait -localtime -pidfile /tmp/kvm-tmp.pid -drive file=/data/kvm/kvmimages/tmp.qcow2,if=virtio,boot=on -netnic,vlan=104,model=virtio,macaddr=98:84:44:78:12:e0 -net tap,vlan=104,ifname=tap.b.tmp,script=no -net nic,vlan=96,model=virtio,macaddr=98:84:44:78:12:e2 -net tap,vlan=96,ifname=tap.f.tmp,script=no See attachment crash2. Reproducible: Sometimes Steps to Reproduce: 1. Start guest with the options mentioned in the description 2. Try to compile a new kernel with: genkernel --menuconfig --lvm --oldconfig all Actual Results: Sometimes I get a "BUG: unable to handle kernel paging request" in the host OS (/var/log/messages). The KVM is running at 100% CPU time. emerge --info from guest (crash 1): athen:~ # emerge --info Portage 2.1.6.7 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.28-gentoo-r2 x86_64) ================================================================= System uname: Linux-2.6.28-gentoo-r2-x86_64-QEMU_Virtual_CPU_version_0.9.1-with-glibc2.2.5 Timestamp of tree: Tue, 24 Mar 2009 08:20:01 +0000 app-shells/bash: 3.2_p39 dev-lang/python: 2.5.2-r7 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.63 sys-devel/automake: 1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=nocona -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo " LDFLAGS="-Wl,-O1" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="acl amd64 apache2 berkdb bzip2 cli cracklib crypt dri encode exif expat fortran ftp gd gdbm gif gpm iconv idn imagemagick innodb ipv6isdnlog jabber jpeg jpeg2k kerberos ldap lzo mhash midi mime mmx mudflap multilib mysql ncurses nls nptl nptlonly openmp pam pcre pdf perlphp png posix postgres pppd python readline reflection sasl session simplexml snmp soap sockets spl sse sse2 ssl svg sysfs tcpd tidy tiff truetype unicode vhosts xml xorg xsl zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY emerge --info from host (crash 1): riga:~ $ emerge --info Portage 2.1.6.7 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.28-gentoo-r3 x86_64) ================================================================= System uname: Linux-2.6.28-gentoo-r3-x86_64-Intel-R-_Xeon-R-_CPU_L5420_@_2.50GHz-with-glibc2.2.5 Timestamp of tree: Wed, 25 Mar 2009 05:45:01 +0000 app-shells/bash: 3.2_p39 dev-lang/python: 2.5.2-r7 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.63 sys-devel/automake: 1.7.9-r1, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=nocona -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo " LDFLAGS="-Wl,-O1" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="acl amd64 apache2 berkdb bzip2 cli cracklib crypt dri encode exif expat fortran ftp gd gdbm gif gpm iconv idn imagemagick innodb ipv6isdnlog jabber jpeg jpeg2k kerberos ldap lzo mhash midi mime mmx mudflap multilib mysql ncurses nls nptl nptlonly openmp pam pcre pdf perlphp png posix postgres pppd python readline reflection sasl session simplexml snmp soap sockets spl sse sse2 ssl svg sysfs tcpd tidy tiff truetype unicode vhosts xml xorg xsl zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Created attachment 186193 [details] /var/log/messages output of crash 1
Created attachment 186194 [details] /var/log/messages output of crash 2
Created attachment 186199 [details] .config file of guest crash1
Created attachment 186200 [details] .config file of host crash1
You don't have kernel symbols enabled, so the backtraces in your OOPS output is useless. Could you enable kernel symbols under General Setup -> Configure standard kernel features for small system -> Load all symbols for debugging/ksymoops in your kernels, and post any resulting oopses?
I've upgraded to kernel 2.6.29 for hosts and guests. Until now I couldn't repeat the problem. So I'm closing this for now. Thanks for your help anyway!