SCSI command + bug : --------------------- llm07:/home/murali/dtt_tools # ./ttutils set -p SCSI_DISPATCH_CMD -t bug -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 0xffffffff805001a2 in cond_resched () at kernel/sched.c:4336 4336 { (gdb) info threads 2 process 11295 0xffffffff80251297 in crash_kexec (regs=0x0) at kexec.h:64 * 1 process 2743 0xffffffff805001a2 in cond_resched () at kernel/sched.c:4336 (gdb) info registers rax 0x53ca 21450 rbx 0x0 0 rcx 0x53c9 21449 rdx 0x3c 60 rsi 0x202 514 rdi 0xffffffff80231f0b -2145181941 rbp 0x20000 0x20000 rsp 0xffff81013bd1be58 0xffff81013bd1be58 r8 0x1 1 r9 0x0 0 r10 0x286 646 r11 0x0 0 r12 0x0 0 r13 0x506e20 5271072 r14 0x0 0 r15 0x0 0 rip 0xffffffff805001a2 0xffffffff805001a2 <cond_resched+1> eflags 0x246 582 cs 0x10 16 ss 0x18 24 ds 0x0 0 es 0x0 0 fs 0x0 0 gs 0x0 0 (gdb) bt #0 0xffffffff805001a2 in cond_resched () at kernel/sched.c:4336 #1 0xffffffff80231f59 in do_syslog (type=Variable "type" is not available. ) at kernel/printk.c:221 #2 0xffffffff802ab68b in kmsg_read (file=Variable "file" is not available. ) at fs/proc/kmsg.c:38 #3 0xffffffff8027941c in vfs_read (file=0xffff8100bbb078c0, buf=0x506e20 <Address 0x506e20 out of bounds>, count=Variable "count" is not available. ) at fs/read_write.c:264 #4 0xfffffffffffffff7 in ?? () #5 0xffffffff80279578 in sys_read (fd=Variable "fd" is not available. ) at fs/read_write.c:351 #6 0xffffffff8020979a in system_call () at cpumask.h:183 #7 0x0000000000000246 in ?? () #8 0x0000000000000001 in ?? () #9 0x00002af6e7175560 in ?? () #10 0x0000000000020000 in ?? () #11 0x0000000000000000 in ?? () #12 0x00000000000003c4 in ?? () #13 0x0000000000020000 in ?? () #14 0x0000000000506e20 in ?? () #15 0x0000000000000000 in ?? () #16 0x0000000000000000 in ?? () #17 0x00002af6e72231e2 in ?? () #18 0x0000000000000033 in ?? () #19 0x0000000000010216 in ?? () #20 0x00007fffc3a495d8 in ?? () #21 0x000000000000002b in ?? () #22 0x7f0a102302000014 in ?? () #23 0x0018007c18000a66 in ?? () #24 0x0307100a20230200 in ?? () #25 0x02000015cf7d1800 in ?? () #26 0x180005fab40a2023 in ?? () ---Type <return> to continue, or q <return> to quit---q Quit (gdb) thread 2 [Switching to thread 2 (process 11295)]#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 0xffff8100bd534800 in ?? () #6 0xffff81013e1a15c0 in ?? () #7 0xffffffff803f3dfc in scsi_request_fn (q=0xffff81013dd76760) at drivers/scsi/scsi_lib.c:1632 #8 0xffffffff80335bd9 in __generic_unplug_device (q=0xffff8100bd414000) at block/ll_rw_blk.c:1596 #9 0xffffffff80335f5b in generic_unplug_device (q=0xffff8100bd414000) 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 0xffffffff80279da5 in block_sync_page (page=0xffffffff805aaaa8) at blkdev.h:638 #12 0xffff81013fd313e0 in ?? () #13 0xffffffff80255ab1 in sync_page (word=0x0) at mm/filemap.c:170 #14 0xffff81013fd313e0 in ?? () #15 0xffffffff805009fa in __wait_on_bit_lock (wq=Variable "wq" is not available. ) at kernel/wait.c:188 #16 0xffffffff80255a6b in __lock_page (page=Variable "page" is not available. ) at mm/filemap.c:545 #17 0xffffffff80256623 in do_generic_mapping_read (mapping=0xffff8100b3aa23b0, _ra=0xffff810139746c28, filp=0xffff810139746bc0, ppos=0xffff81013539ff50, desc=0xffff81013539fdb8, actor=0xffffffff802557b1 <file_read_actor>) at pagemap.h:175 #18 0xffffffff80257cb0 in __generic_file_aio_read (iocb=Variable "iocb" is not available. ) at fs.h:1639 #19 0xffffffff80257e3b in generic_file_read (filp=Variable "filp" is not available. ) at mm/filemap.c:1122 #20 0xffffffff8027941c in vfs_read (file=0xffff810139746bc0, buf=0x2b648ae27000 <Address 0x2b648ae27000 out of bounds>, count=Variable "count" is not available. ) at fs/read_write.c:264 #21 0xfffffffffffffff7 in ?? () #22 0xffffffff80279578 in sys_read (fd=Variable "fd" is not available. ) at fs/read_write.c:351 #23 0xffffffff8020979a in system_call () at cpumask.h:183 ---Type <return> to continue, or q <return> to quit--- #24 0x0000000000000246 in ?? () #25 0x0000000000000000 in ?? () #26 0x00002b648b1496e0 in ?? () #27 0x00002b648b1496e0 in ?? () #28 0x0000000000000000 in ?? () #29 0x0000000000000000 in ?? () #30 0x0000000000020000 in ?? () #31 0x00002b648ae27000 in ?? () #32 0x0000000000000003 in ?? () #33 0x0000000000000000 in ?? () #34 0x00002b648afd41e2 in ?? () #35 0x0000000000000033 in ?? ()