[pso] [Tema4] Not synching in hook

Costin Boldisor costinb at rdslink.ro
Sun May 27 13:48:44 EEST 2007


BUG: unable to handle kernel paging request at virtual address bfc3eeb8
printing eip:
c882b444
*pde = 00000000
Oops: 0000 [#1]
PREEMPT DEBUG_PAGEALLOC
Modules linked in: ipdriver netconsole vmxnet
CPU: 0
EIP: 0060:[<c882b444>] Tainted: P VLI
EFLAGS: 00010283 (2.6.18 #6)
EIP is at myHookOut+0x134/0x210 [ipdriver]
eax: bfc3ee9c ebx: c42a927c ecx: c431d000 edx: 00000001
esi: c4249e70 edi: 00000001 ebp: c431dcac esp: c431dc88
ds: 007b es: 007b ss: 0068
Process test (pid: 2349, ti=c431d000 task=c431c580 task.ti=c431d000)
Stack: 00000000 00000002 00000000 00000000 c038f1bc c0a85e80 c882c6a8 
c431dcf0
c067b558 c431dcd0 c02cde14 c7f0f000 c02d5f40 00000003 c431dd20 00000003
c431dd20 c067b558 c431dd00 c02cdf69 00000000 c7f0f000 c431dcf0 c02d5f40
Call Trace:
[<c02cde14>] nf_iterate+0x54/0x80
[<c02cdf69>] nf_hook_slow+0x49/0xd0
[<c02d84ff>] ip_queue_xmit+0x2af/0x470
[<c02e81fd>] tcp_transmit_skb+0x37d/0x7e0
[<c02eb015>] tcp_connect+0x2c5/0x370
[<c02ee6e4>] tcp_v4_connect+0x3e4/0x700
[<c02f986d>] inet_stream_connect+0x1bd/0x240
[<c02b31d5>] sys_connect+0x55/0x80
[<c02b4232>] sys_socketcall+0x82/0x1e0
[<c010316d>] sysenter_past_esp+0x56/0x99
[<40017410>] 0x40017410
Code: b8 00 c9 82 c8 e8 bd ef 8f f7 8b 1d 84 c6 82 c8 c7 05 80 c6 82 c8 00 
00 00 00 8b 03 0f 18 00 90 81 fb 84 c6 82 c8 74 41 8b 43 fc <8b> 48 1c 51 8b 
50 18 52 8b 78 14 57 8b 48 10 51 8b 50 04 52 8b
EIP: [<c882b444>] myHookOut+0x134/0x210 [ipdriver] SS:ESP 0068:c431dc88
<3>BUG: sleeping function called from invalid context at kernel/rwsem.c:20
in_atomic():1, irqs_disabled():0
[<c0104936>] show_trace_log_lvl+0x176/0x190
[<c0104f0d>] show_trace+0xd/0x10
[<c0104fc9>] dump_stack+0x19/0x20
[<c0112b7a>] __might_sleep+0x9a/0xb0
[<c012d515>] down_read+0x15/0x40
[<c0124a71>] blocking_notifier_call_chain+0x11/0x30
[<c0118851>] profile_task_exit+0x11/0x20
[<c0119f9c>] do_exit+0x1c/0x940
[<c0104ec2>] die+0x2b2/0x2c0
DWARF2 unwinder stuck at die+0x2b2/0x2c0
Leftover inexact backtrace:
[<c0104f0d>] show_trace+0xd/0x10
[<c0104fc9>] dump_stack+0x19/0x20
[<c0112b7a>] __might_sleep+0x9a/0xb0
[<c012d515>] down_read+0x15/0x40
[<c0124a71>] blocking_notifier_call_chain+0x11/0x30
[<c0118851>] profile_task_exit+0x11/0x20
[<c0119f9c>] do_exit+0x1c/0x940
[<c0104ec2>] die+0x2b2/0x2c0
[<c031a488>] do_page_fault+0x2f8/0x620
[<c01042a9>] error_code+0x39/0x40
[<c02cde14>] nf_iterate+0x54/0x80
[<c02cdf69>] nf_hook_slow+0x49/0xd0
[<c02d84ff>] ip_queue_xmit+0x2af/0x470
[<c02e81fd>] tcp_transmit_skb+0x37d/0x7e0
[<c02eb015>] tcp_connect+0x2c5/0x370
[<c02ee6e4>] tcp_v4_connect+0x3e4/0x700
[<c02f986d>] inet_stream_connect+0x1bd/0x240
[<c02b31d5>] sys_connect+0x55/0x80
[<c02b4232>] sys_socketcall+0x82/0x1e0
[<c010316d>] sysenter_past_esp+0x56/0x99
note: test[2349] exited with preempt_count 1
BUG: scheduling while atomic: test/0x00000001/2349
[<c0104936>] show_trace_log_lvl+0x176/0x190
[<c0104f0d>] show_trace+0xd/0x10
[<c0104fc9>] dump_stack+0x19/0x20
[<c031652f>] schedule+0x4ff/0x6a0
[<c02b4eac>] lock_sock+0x6c/0xc0
[<c02b290f>] sock_fasync+0x3f/0x150
[<c02b3a34>] sock_close+0x14/0x40
[<c015dc4c>] __fput+0xac/0x1e0
[<c015ddd8>] fput+0x18/0x20
[<c015b1ce>] filp_close+0x3e/0x70
[<c0118fc1>] put_files_struct+0xb1/0xc0
[<c011a102>] do_exit+0x182/0x940
[<c0104ec2>] die+0x2b2/0x2c0
DWARF2 unwinder stuck at die+0x2b2/0x2c0
Leftover inexact backtrace:
[<c0104f0d>] show_trace+0xd/0x10
[<c0104fc9>] dump_stack+0x19/0x20
[<c031652f>] schedule+0x4ff/0x6a0
[<c02b4eac>] lock_sock+0x6c/0xc0
[<c02b290f>] sock_fasync+0x3f/0x150
[<c02b3a34>] sock_close+0x14/0x40
[<c015dc4c>] __fput+0xac/0x1e0
[<c015ddd8>] fput+0x18/0x20
[<c015b1ce>] filp_close+0x3e/0x70
[<c0118fc1>] put_files_struct+0xb1/0xc0
[<c011a102>] do_exit+0x182/0x940
[<c0104ec2>] die+0x2b2/0x2c0
[<c031a488>] do_page_fault+0x2f8/0x620
[<c01042a9>] error_code+0x39/0x40
[<c02cde14>] nf_iterate+0x54/0x80
[<c02cdf69>] nf_hook_slow+0x49/0xd0
[<c02d84ff>] ip_queue_xmit+0x2af/0x470
[<c02e81fd>] tcp_transmit_skb+0x37d/0x7e0
[<c02eb015>] tcp_connect+0x2c5/0x370
[<c02ee6e4>] tcp_v4_connect+0x3e4/0x700
[<c02f986d>] inet_stream_connect+0x1bd/0x240
[<c02b31d5>] sys_connect+0x55/0x80
[<c02b4232>] sys_socketcall+0x82/0x1e0
[<c010316d>] sysenter_past_esp+0x56/0x99 



More information about the pso mailing list