IRQ handling with IRQs disabled : Loop ------------------------------------------- llm07:/home/murali/dtt_tools # ./ttutils set -p INT_HARDWARE_ENTRY -t loop -c 100 llm07 login: NMI Watchdog detected LOCKUP on CPU 0 CPU 0 Modules linked in: Pid: 0, comm: swapper Not tainted 2.6.16-mm2 #5 RIP: 0010:[] {cpoint_default_exit+87} RSP: 0018:ffffffff806a4f58 EFLAGS: 00000096 RAX: 000000000000000d RBX: ffffffff8073a400 RCX: ffffffff805aaaa8 RDX: ffffffff805aaaa8 RSI: 0000000000000046 RDI: ffffffff805aaaa0 RBP: 0000000000000000 R08: ffffffff805aaaa8 R09: 0000000000000000 R10: 0000000000000000 R11: ffffffff806a4e78 R12: 0000000000000000 R13: ffffffff805a5040 R14: ffffffff80747f08 R15: 0000000000000000 FS: 00002aef98187d80(0000) GS:ffffffff80737000(0000) knlGS:0000000000000000 CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b CR2: 0000000000502d00 CR3: 00000000b9834000 CR4: 00000000000006e0 Process swapper (pid: 0, threadinfo ffffffff80746000, task ffffffff805a3180) Stack: 0000000000000000 ffffffff80254140 ffffffff80747f08 ffffffff80747f08 0000000000000000 0000000000000000 0000000000000000 ffffffff8020bc28 ffff8100af611b48 ffffffff8020832f Call Trace: {INT_HARDWARE_ENTRY_hook+24} {do_IRQ+57} {default_idle+0} {ret_from_intr+0} {default_idle+0} {cpu_idle+160} {default_idle+53} {cpu_idle+160} {start_kernel+486} {_sinittext+682} Code: eb fe 31 ff e8 41 f7 ff ff eb 17 48 c7 c7 3a 63 57 80 eb 07 console shuts up ... llm07:/proc # ls -l vmcore -r-------- 1 root root 5233509408 Apr 24 04:01 vmcore llm07:/proc # gdb /home/murali/linux-2.6.16/vmlinux-1M vmcore GNU gdb 6.1 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "x86_64-suse-linux"...Using host libthread_db library "/lib64/tls/libthread_db.so.1". #0 0xffffffff80251297 in crash_kexec (regs=0x0) at kexec.h:64 64 kexec.h: No such file or directory. in kexec.h (gdb) info threads * 2 process 0 0xffffffff80251297 in crash_kexec (regs=0x0) at kexec.h:64 * 1 process 0 0xffffffff80251297 in crash_kexec (regs=0x0) at kexec.h:64 (gdb) info registers rax 0x0 0 rbx 0xffff8100bd53b400 -139634800348160 rcx 0x0 0 rdx 0x246 582 rsi 0x246 582 rdi 0x0 0 rbp 0xffffffff805a3180 0xffffffff805a3180 rsp 0xffffffff806a7c88 0xffffffff806a7c88 r8 0x2 2 r9 0x0 0 r10 0x0 0 r11 0xffffffff806c5698 -2140383592 r12 0xffffffff806a7f58 -2140504232 r13 0xb 11 r14 0xffffffff80747f08 -2139848952 r15 0x0 0 rip 0xffffffff80251297 0xffffffff80251297 eflags 0x246 582 cs 0x10 16 ss 0x18 24 ds 0x18 24 es 0x18 24 fs 0x0 0 gs 0x0 0 (gdb) bt #0 0xffffffff80251297 in crash_kexec (regs=0x0) at kexec.h:64 #1 0xffffffff80231162 in panic (fmt=0xffffffff80533f8e "Aiee, killing interrupt handler!") at kernel/panic.c:89 #2 0xffffffff80234721 in do_exit (code=Variable "code" is not available. ) at kernel/exit.c:855 #3 0xffffffff80502ba1 in die_nmi (str=Variable "str" is not available. ) at arch/x86_64/kernel/traps.c:463 #4 0xffffffff8050303b in nmi_watchdog_tick (regs=Variable "regs" is not available. ) at arch/x86_64/kernel/nmi.c:495 #5 0xffffffff805029f6 in default_do_nmi (regs=Variable "regs" is not available. ) at arch/x86_64/kernel/traps.c:647 #6 0xffffffff80502f33 in do_nmi (regs=Variable "regs" is not available. ) at arch/x86_64/kernel/nmi.c:531 #7 0xffffffff805025c3 in nmi () at system.h:182 #8 0x0000000000000000 in ?? () #9 0xffffffff80747f08 in init_thread_union () #10 0xffff8100bd4a0e80 in ?? () #11 0x00000000000000a9 in ?? () #12 0x0000000000005480 in ?? () #13 0xffffffff8073f880 in irq_desc () #14 0xffffffff806c5005 in __log_buf () #15 0xffff8100b0fe5b48 in ?? () #16 0xffff8100b0fe5b48 in ?? () #17 0x0000000000000002 in ?? () #18 0x000000000000000d in ?? () #19 0xffff8100b0fe5b48 in ?? () #20 0x0000000000000046 in ?? () #21 0x0000000000000046 in ?? () #22 0xffffffff805aaac0 in log_buf () #23 0xffffffffffffffff in ?? () #24 0xffffffff80472d74 in cpoint_default_exit (hook=Variable "hook" is not available. ) at drivers/dtt/khdtt.c:316 #25 0x0000000000000010 in ?? () #26 0x0000000000000096 in ?? () ---Type to continue, or q to quit--- #27 0xffffffff806a4f58 in boot_cpu_stack () #28 0x0000000000000018 in ?? () #29 0x0000000000000000 in ?? () #30 0x0000000000000000 in ?? () #31 0x0000000000000000 in ?? () #32 0x0000000000000000 in ?? () #33 0x0000000000000000 in ?? () #34 0x0000000000000000 in ?? () #35 0x0000000000000000 in ?? () #36 0x0000000000000000 in ?? () #37 0x0000000000000000 in ?? () #38 0x0000000000000000 in ?? () #39 0x0000000000000000 in ?? () #40 0x0000000000000000 in ?? () #41 0x0000000000000000 in ?? () #42 0x0000000000000000 in ?? () #43 0x0000000000000000 in ?? () #44 0x0000000000000000 in ?? () #45 0x0000000000000000 in ?? () #46 0x0000000000000000 in ?? () #47 0x0000000000000000 in ?? () #48 0x0000000000000000 in ?? () #49 0x0000000000000000 in ?? () #50 0x0000000000000000 in ?? () #51 0x0000000000000000 in ?? () #52 0x0000000000000000 in ?? () #53 0x0000000000000000 in ?? () #54 0x0000000000000000 in ?? () ---Type to continue, or q to quit---quit Quit (gdb) thread 2 [Switching to thread 2 (process 0)]#0 0xffffffff80251297 in crash_kexec (regs=0x0) at kexec.h:64 64 in kexec.h (gdb) bt #0 0xffffffff80251297 in crash_kexec (regs=0x0) at kexec.h:64 #1 0xffffffff80231162 in panic (fmt=0xffffffff80533f8e "Aiee, killing interrupt handler!") at kernel/panic.c:89 #2 0xffffffff80234721 in do_exit (code=Variable "code" is not available. ) at kernel/exit.c:855 #3 0xffffffff80502ba1 in die_nmi (str=Variable "str" is not available. ) at arch/x86_64/kernel/traps.c:463 #4 0xffffffff8050303b in nmi_watchdog_tick (regs=Variable "regs" is not available. ) at arch/x86_64/kernel/nmi.c:495 #5 0xffffffff805029f6 in default_do_nmi (regs=Variable "regs" is not available. ) at arch/x86_64/kernel/traps.c:647 #6 0xffffffff80502f33 in do_nmi (regs=Variable "regs" is not available. ) at arch/x86_64/kernel/nmi.c:531 #7 0xffffffff805025c3 in nmi () at system.h:182 #8 0x0000000000000000 in ?? () #9 0xffffffff80747f08 in init_thread_union () #10 0xffff8100bd4a0e80 in ?? () #11 0x00000000000000a9 in ?? () #12 0x0000000000005480 in ?? () #13 0xffffffff8073f880 in irq_desc () #14 0xffffffff806c5005 in __log_buf () #15 0xffff8100b0fe5b48 in ?? () #16 0xffff8100b0fe5b48 in ?? () #17 0x0000000000000002 in ?? () #18 0x000000000000000d in ?? () #19 0xffff8100b0fe5b48 in ?? () #20 0x0000000000000046 in ?? () #21 0x0000000000000046 in ?? () #22 0xffffffff805aaac0 in log_buf () #23 0xffffffffffffffff in ?? () #24 0xffffffff80472d74 in cpoint_default_exit (hook=Variable "hook" is not available. ) at drivers/dtt/khdtt.c:316 #25 0x0000000000000010 in ?? () #26 0x0000000000000096 in ?? () ---Type to continue, or q to quit---quit Quit (gdb) quit