Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 209843 - <gentoo-sources-2.6.24-r2 - kernel BUG at drivers/pci/msi.c:152 at shutdown with KVM enabled kernel
Summary: <gentoo-sources-2.6.24-r2 - kernel BUG at drivers/pci/msi.c:152 at shutdown w...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-12 14:03 UTC by Toni Naukkarinen
Modified: 2008-02-13 06:58 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Toni Naukkarinen 2008-02-12 14:03:13 UTC
I get the following kernel bug everytime I shut down my computer if I have KVM enabled in my kernel.

Reproducible: Always

Steps to Reproduce:
Shut down the computer with KVM enabled kernel, this probably has something to do with my hardware.
Actual Results:  
sd 1:0:0:0:0 [sdb] Synchronizing SCSI cache
sd 1:0:0:0:0 [sdb] Stopping disk
sd 0:0:0:0:0 [sda] Synchronizing SCSI cache
sd 0:0:0:0:0 [sda] Stopping disk
Disabling non-boot CPUs ...
kvm: disabling virtualization on CPU1
-----------[ cut here ] -----------
kernel BUG at drivers/pci/msi.c:152
invalid opcode: 0000 [#1]
SMP
Modules linked in: bridge llc hwmon i2c_dev xt_tcpudp xt_state iptable_filter ipt_log ipt_iprange
iptable_nat nf_nat nf_conntrack ipt_tables fglrx(P)
CPU: 1
EIP: 0060:[<c02540a1>] Tainted: P	VLI
EFLAGS: 00010093 (2.6.23-gentoo-r3 #1)
EIP is at read_msi_msg+0xb1/0xb8
eax: 00000000 ebx: 00006c80 ecx: c0117d44 edx: da185f80
esi: e0da8780 edi: da175f80 rbp: 00000001 esp: da185f64
ds: 007b es: 007b fs: 00d8 gs: 0000 ss: 0068
Process kstopmachine (pid 21865, ti=da184000 task=afc1d540 task.ti=da184000)
Stack: 000000d9 00000082 00006c80 000000d9 00000042 00000001 c0117d63 c0117a25
       00000016 01000000 00006c80 000000d9 00000001 00000000 c0105a0e c051fee4
       c0115725 00000001 00000001 dcf45e1c 0000556a c0115ba0 00000001 00000020
Call Trace:
[<c0117d63>] set_msi_irq_affinity+0x1f/0x57
[<c0117a25>] set_ioapic_affinity_irq+0x4a/0x81
[<c0105a0e>] fixup_irqs+0x5a/0xa4
[<c0115725>] remove_siblinginfo+0x6d/0xa4
[<c0115ba0>] __cpu_disable+0x51/0x5e
[<c013bfbd>] take_cpu_down+0x17/0x23
[<c0143d11>] do_stop+0xab/0xf2
[<c0143c66>] do_stop+0x0/0xf2
[<c0132087>] kthread+0x38/0x5d
[<c013204f>] kthread+0x0/0x5d
[<c01049fb>] kernel_thread_helper+0x7/0x10
Code: 64 ff ef 0f b7 44 24 06 eb 17 0f b7 46 02 c1 e0 04 03 46 14 8b 50 04 89 57 04 8b 40 08 89 47 08 59 5b 5e 5f 5d c3 <0f> 0b eb fe 90 90 90 56
89 c6 53 89 d3 31 d2 8b 4c 96 20 81 f9
EIP[<c02540a1>] read_msi_msg+0xb1/0xb8 ss:ESP 0068:da:185f64

Expected Results:  
The computer should have shut down.

My computer's configuration is:
AMD Athlon 64 4800+
2048MB (2x1024MB) Kingston DDR2 667MHz
MSI K9N Neo v1 (nForce 550 MCP chipset)
ATI Radeon X1600 Pro

emerge --info:

Portage 2.1.3.19 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r3 i686) 
================================================================= 
System uname: 2.6.23-gentoo-r3 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 4800+ 
Timestamp of tree: Sat, 09 Feb 2008 09:46:01 +0000 
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] 
ccache version 2.4 [enabled] 
app-shells/bash:     3.2_p17-r1 
dev-java/java-config: 1.3.7, 2.1.4 
dev-lang/python:     2.4.4-r6 
dev-python/pycrypto: 2.0.1-r6 
dev-util/ccache:     2.4-r7 
sys-apps/baselayout: 1.12.10-r5 
sys-apps/sandbox:    1.2.18.1-r2 
sys-devel/autoconf:  2.13, 2.61-r1 
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 
sys-devel/binutils:  2.18-r1 
sys-devel/gcc-config: 1.4.0-r4 
sys-devel/libtool:   1.5.24 
virtual/os-headers:  2.6.23-r3 
ACCEPT_KEYWORDS="x86" 
CBUILD="i686-pc-linux-gnu" 
CFLAGS="-march=k8 -pipe -fomit-frame-pointer -O2" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" 
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d" 
CXXFLAGS="-march=k8 -pipe -fomit-frame-pointer -O2" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" 
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ " 
LANG="fi_FI@euro" 
LC_ALL="fi_FI@euro" 
MAKEOPTS="-j4" 
PKGDIR="/usr/portage/packages" 
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/portage/local" 
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" 
USE="3dnow 3dnowext X a52 aac acl acpi alsa berkdb bitmap-fonts bluetooth bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr fbcon ffmpeg flac fortran ftp gdbm gif glitz gmp gpm gstreamer gtk hal iconv ipv6 isdnlog java joystick jpeg kde midi mmap mmx mmxext mng mp3 mpeg mplayer msn mudflap ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre perl png pppd python qt3 qt4 readline reflection ruby samba sdl session spl sse sse2 ssl svg syslog tcl tcpd tk truetype-fonts type1-fonts unicode win32codecs x86 xcomposite xinerama xorg xv zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="radeon fglrx" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-02-12 18:19:30 UTC
Try with 2.6.24-r2 and report back; thanks.
Comment 2 Toni Naukkarinen 2008-02-13 05:57:31 UTC
(In reply to comment #1)
> Try with 2.6.24-r2 and report back; thanks.
> 

Didn't work in 2.6.24, which I had tried earlier, but works fine in 2.6.24-r2.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2008-02-13 06:58:22 UTC
Looks like FIXED then.