SCSI command + panic : ---------------------- llm07:/home/murali/dtt_tools # ./ttutils set -p SCSI_DISPATCH_CMD -t panic -c 100 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 0x0000000000401a6d in ?? () (gdb) info threads 2 process 180 0xffffffff80251297 in crash_kexec (regs=0x0) at kexec.h:64 * 1 process 2699 0x0000000000401a6d in ?? () (gdb) bt #0 0x0000000000401a6d in ?? () Cannot access memory at address 0x7fffc616ec70 (gdb) thread 2 [Switching to thread 2 (process 180)]#0 0xffffffff80251297 in crash_kexec (regs=0x0) at kexec.h:64 64 kexec.h: No such file or directory. in kexec.h (gdb) bt #0 0xffffffff80251297 in crash_kexec (regs=0x0) at kexec.h:64 #1 0xffffffff80231162 in panic (fmt=0xffffffff80576308 "dumptest") at kernel/panic.c:89 #2 0xffffffff80472d3f in cpoint_default_exit (hook=Variable "hook" is not available. ) at drivers/dtt/khdtt.c:306 #3 0x0000000000000000 in ?? () #4 0xffffffff803efc69 in SCSI_DISPATCH_CMD_hook () at drivers/scsi/scsi.c:642 #5 0xffff81000cde9000 in ?? () #6 0xffff810135699d80 in ?? () #7 0xffffffff803f3dfc in scsi_request_fn (q=0xffff81013e3da760) at drivers/scsi/scsi_lib.c:1632 #8 0xffffffff80335bd9 in __generic_unplug_device (q=0xffff81000cde1308) at block/ll_rw_blk.c:1596 #9 0xffffffff80335f5b in generic_unplug_device (q=0xffff81000cde1308) at block/ll_rw_blk.c:1615 #10 0xffffffff80332bf3 in blk_backing_dev_unplug (bdi=Variable "bdi" is not available. ) at block/ll_rw_blk.c:1632 #11 0xffffffff8027b4b5 in sync_buffer (word=0x0) at blkdev.h:638 #12 0xffffffff80500af3 in __wait_on_bit (wq=Variable "wq" is not available. ) at kernel/wait.c:162 #13 0xffffffff80500ba5 in out_of_line_wait_on_bit (word=Variable "word" is not available. ) at kernel/wait.c:175 #14 0xffffffff802cc876 in flush_commit_list (s=0xffff8100bd4d6000, jl=0xffff81013e2247c0, flushall=1) at buffer_head.h:295 #15 0xffffffff802d05aa in do_journal_end (th=0xffff81013e1c5dc8, p_s_sb=0xffff8100bd4d6000, nblocks=Variable "nblocks" is not available. ) at fs/reiserfs/journal.c:4220 #16 0xffffffff802c1319 in reiserfs_sync_fs (s=0xffff8100bd4d6000, wait=Variable "wait" is not available. ) at fs/reiserfs/super.c:71 #17 0xffffffff8027e8e7 in sync_supers () at fs/super.c:335 #18 0xffffffff8025b357 in wb_kupdate (arg=Variable "arg" is not available. ) at mm/page-writeback.c:413 #19 0xffffffff8025b9f1 in pdflush (dummy=Variable "dummy" is not available. ) at mm/pdflush.c:126 #20 0xffffffff80243b78 in kthread (_create=Variable "_create" is not available. ) at kernel/kthread.c:96 #21 0xffffffff8020a8d6 in child_rip () at cpumask.h:183 #22 0xffffffff80243a39 in kthread_create (threadfn=Variable "threadfn" is not available. ) at kernel/kthread.c:156 #23 0xffff81013e071da8 in ?? () ---Type <return> to continue, or q <return> to quit--- #24 0x0000000000000216 in ?? () #25 0xffff81013dddd1c0 in ?? () #26 0xffff81013e071d50 in ?? () #27 0xffff81013e071da8 in ?? () #28 0x0000000000000000 in ?? () #29 0x0000000000000297 in ?? () #30 0x0000000000000297 in ?? () #31 0xffff81000cc46000 in ?? () #32 0x0000000000000000 in ?? () #33 0x0000000000000001 in ?? () #34 0x0000000000000611 in ?? () #35 0xffff81013e071da8 in ?? () #36 0xffffffff80243aaf in kthread_should_stop () at kernel/kthread.c:51 #37 0x0000000000000000 in ?? () #38 0xffffffff8020a8ce in kernel_thread () at cpumask.h:183 #39 0x0000000000000010 in ?? () #40 0x0000000000000200 in ?? () #41 0xffff81013e1c5f58 in ?? () #42 0x0000000000000000 in ?? () #43 0xffff8100bd59c860 in ?? () #44 0xffffffff805aa8e0 in update_sched_domains_nb.6 () #45 0x0000000000000000 in ?? () #46 0x0000000000000000 in ?? () #47 0xffffffffffffffff in ?? () #48 0xffffffff8023ab8d in recalc_sigpending_tsk (t=0x0) at kernel/signal.c:224 #49 0x0000000000000000 in ?? () #50 0x0000000000000000 in ?? () #51 0x0000000000000000 in ?? () ---Type <return> to continue, or q <return> to quit--- #52 0x0000000000000000 in ?? () #53 0x0000000000000060 in ?? () #54 0x0000000000000000 in ?? () #55 0x0000000000000000 in ?? () #56 0x0000000000000000 in ?? () #57 0x0000000000000020 in ?? () #58 0x0000000000000000 in ?? () #59 0x0000000000000010 in ?? () #60 0x0000000000000000 in ?? () #61 0x0000000000000060 in ?? () #62 0x0000000000000000 in ?? () #63 0x0000000000000000 in ?? () #64 0x0000000000000000 in ?? ()