From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755225AbYGJMM5 (ORCPT ); Thu, 10 Jul 2008 08:12:57 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753688AbYGJMMt (ORCPT ); Thu, 10 Jul 2008 08:12:49 -0400 Received: from wf-out-1314.google.com ([209.85.200.169]:14259 "EHLO wf-out-1314.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753579AbYGJMMs (ORCPT ); Thu, 10 Jul 2008 08:12:48 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=X4Pu8QyjEoSCp1DLps6r/PyCrT30qHPdcyB0sfUmHJm3dYjfGXXAZxwFhFpLJM06ET boYKk77UX4GSnfesq8wG0PEBIMe3J1cKNLqCnBgU4ErGl0xwMne5d5JVn6B6YcqWt5t5 QRqhLILJ989E841O/DrBLkqU/SK8nFqfKeEzk= Message-ID: <19f34abd0807100512y7fff3716r3ff37305e863f26@mail.gmail.com> Date: Thu, 10 Jul 2008 14:12:47 +0200 From: "Vegard Nossum" To: Yanmin , "Rusty Russell" , "Ingo Molnar" , "Peter Zijlstra" , "Dhaval Giani" , "Gautham R Shenoy" , "Heiko Carstens" , "Dmitry Adamushko" , miaox@cn.fujitsu.com, "Lai Jiangshan" , "Avi Kivity" , linux-kernel@vger.kernel.org Subject: Re: v2.6.26-rc9: kernel BUG at kernel/sched.c:5858! In-Reply-To: <20080710115954.GA3639@damson.getinternet.no> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080710115954.GA3639@damson.getinternet.no> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 10, 2008 at 1:59 PM, Vegard Nossum wrote: > Hi, > > Looks like CPU hotplug still has some problems. Just got this on > latest mainline, and I couldn't find the exact same report on LKML > or kerneloops, maybe it can be helpful for debugging the existing > problem(s)? > > lockdep: fixing up alternatives. > ------------[ cut here ]------------ > kernel BUG at kernel/sched.c:5858! > invalid opcode: 0000 [#1] PREEMPT SMP DEBUG_PAGEALLOC > Pid: 3934, comm: bash Not tainted (2.6.26-rc9-00057-g60d678c #3) > EIP: 0060:[] EFLAGS: 00210046 CPU: 0 > EIP is at migration_call+0x495/0x4d0 > EAX: 00000000 EBX: c0803f00 ECX: f6bd0000 EDX: 017b0000 > ESI: e7d24fb0 EDI: c1fb3f00 EBP: f62e7e78 ESP: f62e7e48 > DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068 > Process bash (pid: 3934, ti=f62e6000 task=f60fbfc0 task.ti=f62e6000) > Stack: 00000000 c06ddf70 f62e7e6c 00200246 c0803f00 00000001 c1fb3f00 f62e7e6c > c0581fcf c074ec70 ffffffff 00000000 f62e7e98 c014d5a7 00000001 00000007 > c074ecf4 ffffffff 00000001 e7c86f90 f62e7eac c014d619 ffffffff 00000000 > Call Trace: > [] ? preempt_schedule+0x3f/0x50 > [] ? notifier_call_chain+0x37/0x70 > [] ? __raw_notifier_call_chain+0x19/0x20 > [] ? raw_notifier_call_chain+0x1a/0x20 > [] ? _cpu_down+0x148/0x240 > [] ? cpu_maps_update_begin+0xf/0x20 > [] ? cpu_down+0x2b/0x40 > [] ? store_online+0x39/0x80 > [] ? store_online+0x0/0x80 > [] ? sysdev_store+0x2b/0x40 > [] ? sysfs_write_file+0xa2/0x100 > [] ? vfs_write+0x96/0x130 > [] ? sysfs_write_file+0x0/0x100 > [] ? sys_write+0x3d/0x70 > [] ? sysenter_past_esp+0x78/0xd1 > ======================= > Code: 45 e8 e8 2f 53 00 00 b8 01 00 00 00 e9 a2 fb ff ff bb 60 36 59 c0 eb 02 8b > 1b 89 f8 ff 53 18 85 c0 89 c6 74 f3 90 e9 89 fe ff ff <0f> 0b eb fe 8d b4 26 00 > 00 00 00 e8 8b 82 bd ff 89 f0 50 9d 0f > EIP: [] migration_call+0x495/0x4d0 SS:ESP 0068:f62e7e48 > > > Oh, I just saw > > commit dc7fab8b3bb388c57c6c4a43ba68c8a32ca25204 > Author: Dmitry Adamushko > Date: Thu Jul 10 00:32:40 2008 +0200 > > sched: fix cpu hotplug > > will apply and retry. Is this likely to fix the oops I saw, though? Nope, I get the same thing (just 2 lines offset): ------------[ cut here ]------------ kernel BUG at kernel/sched.c:5860! invalid opcode: 0000 [#1] PREEMPT SMP DEBUG_PAGEALLOC Pid: 3879, comm: bash Not tainted (2.6.26-rc9-00058-g2515e04 #4) EIP: 0060:[] EFLAGS: 00210046 CPU: 0 EIP is at migration_call+0x495/0x4d0 EAX: 00000000 EBX: c0593600 ECX: c1f65e80 EDX: 017b0000 ESI: f6d08000 EDI: c1fb3f00 EBP: ccdf3e78 ESP: ccdf3e48 DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068 Process bash (pid: 3879, ti=ccdf2000 task=e7bb6f90 task.ti=ccdf2000) Stack: 00000000 c06ddf70 ccdf3e6c 00200246 c0803f00 00000001 c1fb3f00 ccdf3e6c c0581fdf c074ec70 ffffffff 00000000 ccdf3e98 c014d5b7 00000001 00000007 c074ecf4 ffffffff 00000001 e7beafd0 ccdf3eac c014d629 ffffffff 00000000 Call Trace: [] ? preempt_schedule+0x3f/0x50 [] ? notifier_call_chain+0x37/0x70 [] ? __raw_notifier_call_chain+0x19/0x20 [] ? raw_notifier_call_chain+0x1a/0x20 [] ? _cpu_down+0x148/0x240 [] ? cpu_maps_update_begin+0xf/0x20 [] ? cpu_down+0x2b/0x40 [] ? store_online+0x39/0x80 [] ? store_online+0x0/0x80 [] ? sysdev_store+0x2b/0x40 [] ? sysfs_write_file+0xa2/0x100 [] ? vfs_write+0x96/0x130 [] ? sysfs_write_file+0x0/0x100 [] ? sys_write+0x3d/0x70 [] ? sysenter_past_esp+0x78/0xd1 ======================= Code: 45 e8 e8 2f 53 00 00 b8 01 00 00 00 e9 a2 fb ff ff bb 60 36 59 c0 eb 02 8b 1b 89 f8 ff 53 18 85 c0 89 c6 74 f3 90 e9 89 fe ff ff <0f> 0b eb fe 8d b4 26 00 00 00 00 e8 8b 82 bd ff 89 f0 50 9d 0f Vegard -- "The animistic metaphor of the bug that maliciously sneaked in while the programmer was not looking is intellectually dishonest as it disguises that the error is the programmer's own creation." -- E. W. Dijkstra, EWD1036