From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ryan Harper Subject: x86_64 DOM0 SMP oops Date: Mon, 22 Aug 2005 13:52:21 -0500 Message-ID: <20050822185220.GH5523@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org While working/testing the hotplug patch for x86_64, I encountered an [1]oops. When the system was idle or minor load, I didn't have any problems, but as I kicked off an parallel build of the kernel, I hit the oops. changeset: 6315:531ad4bde8f249c318588f41bdbb72d0b0e0ea9c tag: tip parent: 6314:473af43ac65b1a872b058469d01acc6cfa21505d parent: 6313:d8fd24b4308078f6d20aa8a306e540c5833ca5a2 user: cl349@firebug.cl.cam.ac.uk date: Mon Aug 22 05:21:18 2005 summary: merge? 1. Unable to handle kernel NULL pointer dereference at 000000000000001c RIP: {retint_kernel+0} PGD aae067 PUD aaf067 PMD 0 Oops: 0000 [1] PREEMPT SMP CPU 0 Modules linked in: container video thermal processor fan button battery ac amd64_agp agpgart Pid: 0, comm: swapper Not tainted 2.6.12-xen0-smp RIP: e030:[] {retint_kernel+0} RSP: e02b:ffffffff805e5f08 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 00000000ffffffff RCX: 0000000000000000 RDX: ffffffffff577000 RSI: ffff8800059bff50 RDI: ffffffff804be220 RBP: ffffffff804bcf80 R08: 00000000ffffffff R09: ffffffff805e5bb8 R10: 0000000000000002 R11: 0000000000000212 R12: ffffffff80100038 R13: 00000000ffffffff R14: 0000ffffffff8010 R15: ffffffff805e5fb0 FS: 00002aaaaaac1250(0000) GS:ffffffff805cfe00(0000) knlGS:ffffffff805cfe00 CS: e033 DS: 0000 ES: 0000 Process swapper (pid: 0, threadinfo ffffffff805e4000, task ffffffff804be220) Stack: 0000000000000286 0000000000000008 000000010003b14e 000000010003b14e 0000000000000000 ffffffff801102a1 0000000000000000 000000010003b150 0000000000000001 0000000000000011 Call Trace:{xen_idle+193} {xen_idle+193} {cpu_idle+63} {start_kernel+542} {x86_64_start_kernel+337} Code: 83 79 1c 00 0f 85 58 fe ff ff 0f ba 61 10 03 0f 83 4d fe ff RIP {retint_kernel+0} RSP CR2: 000000000000001c <0>Kernel panic - not syncing: Attempted to kill the idle task! stop_this_cpu disable_local_APIC stop_this_cpu disable_local_APIC <0>general protection fault: 0000 [2] PREEMPT SMP CPU 1 Modules linked in: container video thermal processor fan button battery ac amd64_agp agpgart Pid: 0, comm: swapper Not tainted 2.6.12-xen0-smp RIP: e030:[] {smp_really_stop_cpu+16} RSP: e02b:ffff880000a53db8 EFLAGS: 00010292 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff8011745d RDX: ffffffffff577000 RSI: 0000000000000021 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000008 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000246 R12: ffff880000a53e98 R13: 0000000000000107 R14: 0000000000000000 R15: ffff880000a53e98 FS: 00002aaaaaac1250(0000) GS:ffffffff805cfe80(0000) knlGS:ffffffff805cfe80 CS: e033 DS: 002b ES: 002b Process swapper (pid: 0, threadinfo ffff880000a52000, task ffff880000a4cdd0) Stack: ffffffff80653f98 ffffffff8011762e ffff880000a5df00 ffffffff8015621c 0000000000008380 0000000000000107 ffffffff805d9a00 ffffffff805d9a28 ffff880000a5df00 ffffffff80156348 Call Trace:{smp_call_function_interrupt+62} {handle_IRQ_event+140} {__do_IRQ+200} {do_IRQ+52} {evtchn_do_upcall+170} {do_hypervisor_callback+17} {xen_idle+193} {xen_idle+193} {cpu_idle+63} Code: f4 eb fd 66 66 66 90 66 66 90 66 66 90 66 66 90 53 48 c7 c7 RIP {smp_really_stop_cpu+16} RSP <0>Kernel panic - not syncing: Aiee, killing interrupt handler! stop_this_cpu disable_local_APIC Badness in xen_send_IPI_mask at arch/xen/x86_64/kernel/genapic_xen.c:116 Call Trace:{xen_send_IPI_mask+141} {recalc_task_prio+320} {smp_send_reschedule+29} {try_to_wake_up+759} {autoremove_wake_function+9} {__wake_up_common+67} {__wake_up+67} {pipe_writev+1211} {autoremove_wake_function+0} {pipe_write+26} {vfs_write+192} {sys_write+83} {system_call+134} {system_call+0} -- Ryan Harper Software Engineer; Linux Technology Center IBM Corp., Austin, Tx (512) 838-9253 T/L: 678-9253 ryanh@us.ibm.com