From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754589AbXGIM6q (ORCPT ); Mon, 9 Jul 2007 08:58:46 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752503AbXGIM6f (ORCPT ); Mon, 9 Jul 2007 08:58:35 -0400 Received: from il.qumranet.com ([82.166.9.18]:59884 "EHLO il.qumranet.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751800AbXGIM6e (ORCPT ); Mon, 9 Jul 2007 08:58:34 -0400 Message-ID: <46923100.8000407@qumranet.com> Date: Mon, 09 Jul 2007 15:58:40 +0300 From: Avi Kivity User-Agent: Thunderbird 2.0.0.0 (X11/20070419) MIME-Version: 1.0 To: Jiri Slaby CC: Jeremy Fitzhardinge , Sasa Ostrouska , linux-kernel@vger.kernel.org, Chandra Seetharaman , kvm-devel@lists.sourceforge.net Subject: Re: KVM-AMD OOPS References: <4691BF62.2060207@goop.org> <4691E08F.4050908@gmail.com> In-Reply-To: <4691E08F.4050908@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Jiri Slaby wrote: > Jeremy Fitzhardinge napsal(a): > >> Sasa Ostrouska wrote: >> >>> root@rcserver:~# modprobe kvm-amd >>> int3: 0000 [1] PREEMPT SMP >>> CPU 1 >>> Modules linked in: kvm_amd snd_seq_dummy snd_seq_oss >>> snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss >>> nls_iso8859_1 ntfs nls_base usb_storage libusual capability commoncap >>> lp psmouse snd_hda_intel snd_hda_codec snd_pcm snd_timer ohci_hcd >>> ehci_hcd 8139too rtc_cmos snd soundcore snd_page_alloc usbcore k8temp >>> mii rtc_core rtc_lib i2c_nforce2 parport_pc parport >>> Pid: 2898, comm: modprobe Tainted: P 2.6.21.5 #1 >>> RIP: 0010:[] [] >>> register_cpu_notifier+0x1/0x31 >>> RSP: 0000:ffff81006e34df40 EFLAGS: 00000246 >>> RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00000000c0010117 >>> RDX: 000000000000ffff RSI: ffff81006e219640 RDI: ffffffff80536510 >>> RBP: ffffffff880d8840 R08: 0000000000000000 R09: 000000000006b5f4 >>> R10: 0000000000000000 R11: 0000000000000000 R12: 00000000005296b0 >>> R13: 00007fff51fe55c0 R14: 0000000000000000 R15: 0000000000000000 >>> FS: 00002b4e58e18b00(0000) GS:ffff810002e794c0(0000) >>> knlGS:0000000000000000 >>> CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b >>> CR2: 000000000050df64 CR3: 000000007a0f3000 CR4: 00000000000006e0 >>> Process modprobe (pid: 2898, threadinfo ffff81006e34c000, task >>> ffff81007bc48400) >>> Stack: ffffffff8039e024 ffff81006e34c000 ffffffff880d8840 >>> 0000000000005e19 >>> ffffffff8024537c 0000000000000000 00007fff51fe50c0 00000000004142d0 >>> ffffffff8020967e 0000000000000206 00000000005230e0 000000000052f4c9 >>> Call Trace: >>> [] kvm_init_arch+0x90/0x145 >>> [] sys_init_module+0xad/0x168 >>> [] system_call+0x7e/0x83 >>> >>> >>> Code: cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc >>> >> This is the init section poison pattern. Looks like an init function >> was used after the code was freed. >> > > This? > http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=65edc68c345cbe21d0b0375c3452a3ed5e322868;hp=054cc8a2d808822dadf488a61729e3e550f114c4 > > Could you revert it and test? > > There's actually a patch (by me) after that to allow modules to call the cpu hotplug functions if !CONFIG_HOTPLUG_CPU; but in this case kvm was built in while kvm-amd.ko is a module, which confused that logic. -- error compiling committee.c: too many arguments to function