From: Nathan Lynch <nathanl@austin.ibm.com>
To: Andrew Morton <akpm@osdl.org>
Cc: lkml <linux-kernel@vger.kernel.org>,
Zwane Mwaikambo <zwane@linuxpower.ca>
Subject: Re: 2.6.8.1-mm1
Date: Tue, 17 Aug 2004 02:05:46 -0500 [thread overview]
Message-ID: <1092726346.3081.145.camel@booger> (raw)
In-Reply-To: <20040816143710.1cd0bd2c.akpm@osdl.org>
> i386-hotplug-cpu.patch
> i386 Hotplug CPU
i386 seems to want something like this to avoid crashing in
find_busiest_group... looks like there's a short window in fixup_irqs
where interrupts are enabled while we're taking a cpu down.
Unable to handle kernel NULL pointer dereference at virtual address 00000008
printing eip:
c011eb2d
*pde = 00000000
Oops: 0000 [#1]
SMP
Modules linked in:
CPU: 1
EIP: 0060:[<c011eb2d>] Not tainted VLI
EFLAGS: 00010002 (2.6.8.1-mm1)
EIP is at find_busiest_group+0x1cd/0x350
eax: db4cfec0 ebx: 00000000 ecx: 00000080 edx: 00000000
esi: 0000007d edi: c05d3460 ebp: db4cfea0 esp: db4cfe54
ds: 007b es: 007b ss: 0068
Process kstopmachine (pid: 3527, threadinfo=db4cf000 task=c157a030)
Stack: c014cb31 dff9bba0 c05b7000 00000000 00000001 00000080 00000000 00004000
00000080 c05d346c 00000000 c05d3460 db4cfec0 00000001 c14119e0 00000001
c14119e0 c1410f60 00000001 db4cfedc c011edad 00000001 dfb70130 dfb70130
Call Trace:
[<c010815a>] show_stack+0x7a/0x90
[<c01082e2>] show_registers+0x152/0x1c0
[<c0108501>] die+0x101/0x1e0
[<c011be11>] do_page_fault+0x301/0x5d1
[<c0107d4d>] error_code+0x2d/0x38
[<c011edad>] load_balance+0x3d/0x280
[<c011f381>] rebalance_tick+0xa1/0xb0
[<c011f4a1>] scheduler_tick+0x111/0x4c0
[<c0118612>] smp_apic_timer_interrupt+0xe2/0xf0
[<c0107cd2>] apic_timer_interrupt+0x1a/0x20
[<c0117e66>] __cpu_disable+0x16/0x30
[<c013d654>] take_cpu_down+0x24/0x50
[<c0143b53>] do_stop+0x63/0x70
[<c013c1a5>] kthread+0xa5/0xb0
[<c0105375>] kernel_thread_helper+0x5/0x10
Code: 02 0f af d6 39 d0 0f 86 05 01 00 00 8b 5d cc 89 ca 8b 45 d4 29 da 29 c8 39
c2 0f 47 d0 8b 45 e4 89 10 8b 5d e0 8b 4b 08 8b 5d dc <8b> 43 08 39 c8 0f 47 c1
0f af c2 8b 55 e4 c1 e8 07 83 f8 7e 89
Signed-off-by: Nathan Lynch <nathanl@austin.ibm.com>
Index: 2.6.8.1-mm1/arch/i386/kernel/apic.c
===================================================================
--- 2.6.8.1-mm1.orig/arch/i386/kernel/apic.c
+++ 2.6.8.1-mm1/arch/i386/kernel/apic.c
@@ -1138,7 +1138,8 @@
* interrupt lock, which is the WrongThing (tm) to do.
*/
irq_enter();
- smp_local_timer_interrupt(®s);
+ if (!cpu_is_offline(cpu))
+ smp_local_timer_interrupt(®s);
irq_exit();
}
next prev parent reply other threads:[~2004-08-17 7:06 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-16 21:37 2.6.8.1-mm1 Andrew Morton
2004-08-16 21:47 ` 2.6.8.1-mm1 Christoph Hellwig
2004-08-17 13:20 ` 2.6.8.1-mm1 Frediano Ziglio
2004-08-18 23:57 ` 2.6.8.1-mm1 Peter Osterlund
2004-08-19 9:45 ` 2.6.8.1-mm1 Christoph Hellwig
2004-08-20 5:44 ` 2.6.8.1-mm1 Peter Osterlund
2004-08-20 6:03 ` 2.6.8.1-mm1 Christoph Hellwig
2004-08-16 22:30 ` 2.6.8.1-mm1 Bartlomiej Zolnierkiewicz
2004-08-16 21:51 ` 2.6.8.1-mm1 Alan Cox
2004-08-16 23:25 ` 2.6.8.1-mm1 Arkadiusz Miskiewicz
2004-08-16 23:39 ` 2.6.8.1-mm1 Martin J. Bligh
2004-08-17 1:32 ` 2.6.8.1-mm1 Nathan Lynch
2004-08-17 6:59 ` 2.6.8.1-mm1 Sam Ravnborg
2004-08-17 6:25 ` 2.6.8.1-mm1 Martin J. Bligh
2004-08-17 6:38 ` 2.6.8.1-mm1 Andrew Morton
2004-08-17 7:00 ` 2.6.8.1-mm1 William Lee Irwin III
2004-08-17 7:05 ` 2.6.8.1-mm1 William Lee Irwin III
2004-08-17 3:07 ` 2.6.8.1-mm1 William Lee Irwin III
2004-08-17 3:09 ` 2.6.8.1-mm1 William Lee Irwin III
2004-08-17 3:19 ` 2.6.8.1-mm1 Andrew Morton
2004-08-17 3:41 ` 2.6.8.1-mm1 William Lee Irwin III
2004-08-17 4:16 ` 2.6.8.1-mm1 Nick Piggin
2004-08-17 14:38 ` 2.6.8.1-mm1 (compile stats) John Cherry
2004-08-17 5:59 ` 2.6.8.1-mm1 Nathan Lynch
2004-08-17 7:19 ` 2.6.8.1-mm1 Rusty Russell
2004-08-17 8:45 ` [patch] new-task-fix.patch, 2.6.8.1-mm1 Ingo Molnar
2004-08-17 11:35 ` Nick Piggin
2004-08-17 11:38 ` 2.6.8.1-mm1 Srivatsa Vaddagiri
2004-08-17 17:53 ` 2.6.8.1-mm1 Andrew Morton
2004-08-18 1:04 ` 2.6.8.1-mm1 Rusty Russell
2004-08-18 17:36 ` 2.6.8.1-mm1 Nathan Lynch
2004-08-17 6:20 ` 2.6.8.1-mm1 William Lee Irwin III
2004-08-17 6:40 ` 2.6.8.1-mm1 sam
2004-08-17 7:05 ` Nathan Lynch [this message]
2004-08-17 13:39 ` 2.6.8.1-mm1 Zwane Mwaikambo
2004-08-17 12:54 ` 2.6.8.1-mm1 William Lee Irwin III
2004-08-17 14:15 ` 2.6.8.1-mm1 William Lee Irwin III
2004-08-17 21:59 ` ldchk -> arch/arm/Makefile? [Was: 2.6.8.1-mm1] Sam Ravnborg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1092726346.3081.145.camel@booger \
--to=nathanl@austin.ibm.com \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=zwane@linuxpower.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.