Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 288526 - openvz-sources-2.6.27 kernel panic
Summary: openvz-sources-2.6.27 kernel panic
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Peter Volkov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-11 09:43 UTC by Aniruddha
Modified: 2014-08-03 08:53 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
.config (.config,72.79 KB, text/plain)
2009-10-12 08:54 UTC, Aniruddha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aniruddha 2009-10-11 09:43:04 UTC
I've installed openvz-sources with genkernel. When I try to boot the openvz kernel I almost immediately get a kernel panic. Some information:

$ cat /boot/grub/menu.lst 
default 0
timeout 5
splashimage=(hd0,1)/boot/grub/splash.xpm.gz

title Gentoo Linux 2.6.30-r5
root (hd0,1)
kernel /boot/kernel-genkernel-x86_64-2.6.30-gentoo-r5 root=/dev/ram0 real_root=/dev/sdb2 vga=0x31B
initrd /boot/initramfs-genkernel-x86_64-2.6.30-gentoo-r5

title Gentoo Linux 2.6.27-openvz-briullov.1-r2
root (hd0,1)
kernel /boot/kernel-genkernel-x86_64-2.6.27-openvz-briullov.1-r2 root=/dev/ram0 real_root=/dev/sdb2 vga=0x31B
initrd /boot/initramfs-genkernel-x86_64-2.6.27-openvz-briullov.1-r2

title=Windows Vista
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
makeactive
chainloader +1

# vim:ft=conf:

lspci
00:00.0 Host bridge: Intel Corporation 82975X Memory Controller Hub (rev c0)
00:01.0 PCI bridge: Intel Corporation 82975X PCI Express Root Port (rev c0)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 01)
00:1c.4 PCI bridge: Intel Corporation 82801GR/GH/GHM (ICH7 Family) PCI Express Port 5 (rev 01)
00:1c.5 PCI bridge: Intel Corporation 82801GR/GH/GHM (ICH7 Family) PCI Express Port 6 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
00:1f.2 SATA controller: Intel Corporation 82801GR/GH (ICH7 Family) SATA AHCI Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
01:03.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link)
02:00.0 SATA controller: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 03)
02:00.1 IDE interface: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 03)
03:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet Controller (rev 20)
04:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet Controller (rev 20)
06:00.0 VGA compatible controller: nVidia Corporation Device 0615 (rev a2)

emerge --info
Portage 2.1.6.13 (default/linux/amd64/10.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E8400_@_3.00GHz-with-gentoo-1.12.11.1
Timestamp of tree: Sat, 10 Oct 2009 14:00:17 +0000
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.6.2-r1
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
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 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /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.leaseweb.com/gentoo/ "
LANG="en_US"
LDFLAGS="-Wl,-O1"
LINGUAS="en_US nl"
MAKEOPTS="-j3"
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.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 avahi bash-completion berkdb bluetooth branding bzip2 cairo cdda cddb cdr cli consolekit cracklib crypt cups dbus djvu dri dts dvb dvd dvdr eds emboss encode evo exif fam ffmpeg firefox flac fontconfig fortran gdbm gif gimp gnome gnome-keyring gphoto2 gpm gstreamer gtk hal iconv ipv6 isdnlog java jpeg lcms ldap libnotify mad matroska mikmod mmx mng modules mono mp3 mp4 mpeg mtp mudflap multilib musepack nautilus ncurses nls nptl nptlonly nsplugin ogg opengl openmp oss pam pcre pdf perl php png policykit ppds pppd python qt3support qt4 quicktime raw readline reflection samba scanner sdl session snmp spell spl sse sse2 ssl ssse3 startup-notification svg sysfs tcpd theora thunar tiff truetype unicode usb vcd vorbis wma wmf x264 xml xorg xulrunner xv xvid zeroconf 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 joystick evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US nl" USERLAND="GNU" VIDEO_CARDS="nvidia vesa nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


Reproducible: Always
Comment 1 Peter Volkov (RETIRED) gentoo-dev 2009-10-11 17:15:28 UTC
Please attach .config and console output you see (may be photo). Without this information we have nothing to do...
Comment 2 Aniruddha 2009-10-11 18:10:13 UTC
(In reply to comment #1)
> Please attach .config and console output you see (may be photo). Without this
> information we have nothing to do...
> 

I'll make a photo of the error message (the logs don't show anything). I tried booting with and without initram and with a default kernel. I always got the same kernel panic.
Comment 3 Aniruddha 2009-10-11 20:49:53 UTC
Here is the error message:

BUG: scheduling while atomic: init/1/0x00000002
Modules linked in:
Pid: 1, comm: init Tainted: G                   W 2.6.27-openvz-briullov.1-r2 #1

Call Trace:

{<ffffffff8020a77d>] ? 0xffffffff8020a77d
...
Kernel panic -not syncing: attempted to kill init!
Comment 4 Peter Volkov (RETIRED) gentoo-dev 2009-10-12 07:16:58 UTC
Well, thanks, but still hard to say what's going on there...

> Please attach .config 

And ... is interesting part but since there are addresses, not function names System.map is also required.
Comment 5 Aniruddha 2009-10-12 08:54:05 UTC
Created attachment 206844 [details]
.config
Comment 6 Peter Volkov (RETIRED) gentoo-dev 2009-10-18 08:40:02 UTC
backtrace is not very useful but I'll try to reproduce this problem. At the same time could you try hardmasked -r3 kernel and check if it fails for you too?
Comment 7 Aniruddha 2009-10-18 13:16:05 UTC
(In reply to comment #6)
> backtrace is not very useful but I'll try to reproduce this problem. At the
> same time could you try hardmasked -r3 kernel and check if it fails for you
> too?
> 

Version 2.6.27-briullov.1-r3 works fine. Do you happen to know why it's hard masked?
Comment 8 Peter Volkov (RETIRED) gentoo-dev 2009-10-18 15:36:48 UTC
Basically because I wasn't sure in some small bits there. It's openvz sources git + merge patches from 2.6.27.21-37. But well, since it fixes at least one oops, tomorrow I'll check it in production and if will work I'll unmask and later stabilize it. Thank you for testing.
Comment 9 Peter Volkov (RETIRED) gentoo-dev 2009-11-04 07:57:26 UTC
Ok, 2.6.27.2.1-r3 are stable now. Closing this bug. Thank you.