Block I/O + bug
--------------

llm07:/home/murali/dtt_tools # ./ttutils set -p FS_DEVRW -t bug -c 100

Press AltSysRq + C

llm07:/proc # ls -l vmcore
-r--------  1 root root 5233509408 Apr 23 23:53 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  0xffffffff80208364 in default_idle () at arch/x86_64/kernel/process.c:119
119                             safe_halt();
(gdb) info threads
* 2 process 0  0xffffffff80208364 in default_idle () at arch/x86_64/kernel/process.c:119
* 1 process 0  0xffffffff80208364 in default_idle () at arch/x86_64/kernel/process.c:119
(gdb) bt
#0  0xffffffff80208364 in default_idle () at arch/x86_64/kernel/process.c:119
#1  0x0000000000000000 in ?? ()
#2  0xffffffff802089ea in cpu_idle () at arch/x86_64/kernel/process.c:223
#3  0xffffffff807497b3 in start_kernel () at init/main.c:576
#4  0xffffffff806ad920 in saved_video_mode ()
#5  0xffffffff807492aa in x86_64_start_kernel (real_mode_data=Variable "real_mode_data" is not available.
)
    at arch/x86_64/kernel/head64.c:120
#6  0x00000000ffffffff in ?? ()
#7  0x0000000000000405 in ?? ()
#8  0x0000000000000000 in ?? ()
#9  0x0000000000000000 in ?? ()
#10 0x0000000000000000 in ?? ()
#11 0x00af9b000000ffff in ?? ()
#12 0x00cf93000000ffff in ?? ()
#13 0x00cffa000000ffff in ?? ()
#14 0x00cff3000000ffff in ?? ()
#15 0x00affb000000ffff in ?? ()
#16 0x00cf9b000000ffff in ?? ()
#17 0x0c008b000000206f in ?? ()
#18 0x00000000ffff8100 in ?? ()
#19 0x0000000000000000 in ?? ()
#20 0x0000000000000000 in ?? ()
#21 0x0000000000000000 in ?? ()
#22 0x0000000000000000 in ?? ()
#23 0x0000000000000000 in ?? ()
#24 0x0000000000000000 in ?? ()
#25 0x0000000000000000 in ?? ()
#26 0x0000000000000000 in ?? ()
---Type <return> to continue, or q <return> to quit---quit
Quit
(gdb) thread 2
[Switching to thread 2 (process 0)]#0  0xffffffff80208364 in default_idle ()
    at arch/x86_64/kernel/process.c:119
119                             safe_halt();
(gdb) bt
#0  0xffffffff80208364 in default_idle () at arch/x86_64/kernel/process.c:119
#1  0x0000000000000000 in ?? ()
#2  0xffffffff802089ea in cpu_idle () at arch/x86_64/kernel/process.c:223
#3  0xffffffff807497b3 in start_kernel () at init/main.c:576
#4  0xffffffff806ad920 in saved_video_mode ()
#5  0xffffffff807492aa in x86_64_start_kernel (real_mode_data=Variable "real_mode_data" is not available.
)
    at arch/x86_64/kernel/head64.c:120
#6  0x00000000ffffffff in ?? ()
#7  0x0000000000000405 in ?? ()
#8  0x0000000000000000 in ?? ()
#9  0x0000000000000000 in ?? ()
#10 0x0000000000000000 in ?? ()
#11 0x00af9b000000ffff in ?? ()
#12 0x00cf93000000ffff in ?? ()
#13 0x00cffa000000ffff in ?? ()
#14 0x00cff3000000ffff in ?? ()
#15 0x00affb000000ffff in ?? ()
#16 0x00cf9b000000ffff in ?? ()
#17 0x0c008b000000206f in ?? ()
#18 0x00000000ffff8100 in ?? ()
#19 0x0000000000000000 in ?? ()
#20 0x0000000000000000 in ?? ()
#21 0x0000000000000000 in ?? ()
#22 0x0000000000000000 in ?? ()
#23 0x0000000000000000 in ?? ()
#24 0x0000000000000000 in ?? ()
#25 0x0000000000000000 in ?? ()
#26 0x0000000000000000 in ?? ()
---Type <return> to continue, or q <return> to quit---quit
Quit
(gdb) info registers
rax            0x0      0
rbx            0xffffffff8020832f       -2145352913
rcx            0x0      0
rdx            0xffffffff80737000       -2139918336
rsi            0x1      1
rdi            0xffffffff802089ea       -2145351190
rbp            0x8e000  0x8e000
rsp            0xffffffff80747fb0       0xffffffff80747fb0
r8             0xffffffff80746000       -2139856896
r9             0x0      0
r10            0x0      0
r11            0xffffffff805d13c0       -2141383744
r12            0x0      0
r13            0x0      0
r14            0x0      0
r15            0x0      0
rip            0xffffffff80208364       0xffffffff80208364 <default_idle+53>
eflags         0x246    582
cs             0x10     16
ss             0x18     24
ds             0x18     24
es             0x18     24
fs             0x0      0
gs             0x0      0
(gdb)




If you dont press AltSysRq + C the system hangs here.

llm07 login: ----------- [cut here ] --------- [please bite here ] ---------
Kernel BUG at drivers/dtt/khdtt.c:310
invalid opcode: 0000 [1] SMP
last sysfs file: /devices/system/cpu/cpu1/crash_notes
CPU 1
Modules linked in:
Pid: 11205, comm: bash Not tainted 2.6.16-mm2 #1
RIP: 0010:[<ffffffff80472d4d>] <ffffffff80472d4d>{cpoint_default_exit+48}
RSP: 0018:ffff810139d4f7d8  EFLAGS: 00010292
RAX: 000000000000000c RBX: ffff81000cca7d68 RCX: ffffffff805aaaa8
RDX: ffffffff805aaaa8 RSI: 0000000000000246 RDI: ffffffff805aaaa0
RBP: 0000000000000000 R08: ffffffff805aaaa8 R09: 0000000000000001
R10: ffff810000000000 R11: ffff810139d4f6f8 R12: 0000000000000000
R13: 0000000000000001 R14: ffff810139d4f860 R15: ffff810139d4fa58
FS:  00002b773b2a60a0(0000) GS:ffff81013e0a3640(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 00000000005bd2c8 CR3: 000000013ac6a000 CR4: 00000000000006e0
Process bash (pid: 11205, threadinfo ffff810139d4e000, task ffff81013dc9e7a0)
Stack: 0000000000000034 ffffffff8027b984 ffff810139d4fa28 000000000000001f
       000000000000001f 0000000000000010 00000000000004c0 ffffffff802c85d5
       000000203a56abe8 ffff810139d4fa28
Call Trace: <ffffffff8027b984>{FS_DEVRW_hook+24} <ffffffff802c85d5>{search_by_key+319}
       <ffffffff8047294d>{cpoint_countdown+61} <ffffffff80472d23>{cpoint_default_exit+6}
       <ffffffff8027b984>{FS_DEVRW_hook+24} <ffffffff802c863e>{search_by_key+424}
       <ffffffff802c863e>{search_by_key+424} <ffffffff802b8a0a>{reiserfs_update_sd_size+127}
       <ffffffff802c139a>{reiserfs_dirty_inode+86} <ffffffff80297e59>{__mark_inode_dirty+40}
       <ffffffff8028eaa9>{touch_atime+173} <ffffffff8028687a>{__link_path_walk+2663}
       <ffffffff80286cee>{link_path_walk+78} <ffffffff8027948a>{vfs_read+281}
       <ffffffff802872f9>{do_path_lookup+607} <ffffffff80287463>{__path_lookup_intent_open+78}
       <ffffffff80282ef0>{open_exec+40} <ffffffff8027948a>{vfs_read+281}
       <ffffffff802a44d5>{load_elf_binary+791} <ffffffff80281c53>{search_binary_handler+148}
       <ffffffff8028310c>{do_execve+370} <ffffffff8020979a>{system_call+126}
       <ffffffff802083bf>{sys_execve+48} <ffffffff80209bbe>{stub_execve+106}

Code: 0f 0b 68 1b 63 57 80 c2 36 01 eb 3d c7 04 25 00 00 00 00 00
RIP <ffffffff80472d4d>{cpoint_default_exit+48} RSP <ffff810139d4f7d8>
 <4>time.c: Lost 155 timer tick(s)! rip 10:INT_HW_IRQ_EN_hook+0x7/0x5e
last clier oops_begin+0x1b/0x6e caller die+0x17/0x42
BUG: warning at kernel/exit.c:848/do_exit()
time.c: Lost 2 timer tick(s)! rip 10:__do_softirq+0x45/0xd3
last clier _spin_lock_irqsave+0x15/0x27 caller release_console_sem+0x17/0x1c3

Call Trace: <ffffffff802346dc>{do_exit+82} <ffffffff80501ef9>{_spin_unlock_irqrestore+8}
       <ffffffff8020b237>{kernel_math_error+0} <ffffffff80502d69>{do_trap+242}
       <ffffffff8020b87e>{do_invalid_op+145} <ffffffff80472d4d>{cpoint_default_exit+48}
       <ffffffff8027ab93>{__find_get_block+423} <ffffffff80231cdd>{printk+141}
       <ffffffff8020a71d>{error_exit+0} <ffffffff80472d4d>{cpoint_default_exit+48}
       <ffffffff80472d4d>{cpoint_default_exit+48} <ffffffff8027b984>{FS_DEVRW_hook+24}
       <ffffffff802c85d5>{search_by_key+319} <ffffffff8047294d>{cpoint_countdown+61}
       <ffffffff80472d23>{cpoint_default_exit+6} <ffffffff8027b984>{FS_DEVRW_hook+24}
       <ffffffff802b8a0a>{reiserfs_update_sd_size+127} <ffffffff802c139a>{reiserfs_dirty_inode+8}       <ffffffff80297e59>{__mark_inode_dirty+40} <ffffffff8028eaa9>{touch_atime+173}
       <ffffffff8028687a>{__link_path_walk+2663} <ffffffff80286cee>{link_path_walk+78}
       <ffffffff8027948a>{vfs_read+281} <ffffffff802872f9>{do_path_lookup+607}
       <ffffffff80287463>{__path_lookup_intent_open+78} <ffffffff80282ef0>{open_exec+40}
       <ffffffff8027948a>{vfs_read+281} <ffffffff802a44d5>{load_elf_binary+791}
       <ffffffff80281c53>{search_binary_handler+148} <ffffffff8028310c>{do_execve+370}
       <ffffffff8020979a>{system_call+126} <ffffffff802083bf>{sys_execve+48}
       <ffffffff80209bbe>{stub_execve+106}

hangs.