Hai All,
I am using Linux-2.4.20-8.
I did some modification inside
<tcp_output.c/tcp_transmit_skb()>.
1) But, during <FTP 202.41.64.203>, I got some error message like,
" Attempt to release TCP socket in state 1 c3d34580 "
"Attempt to release alive inet socket C3d09580"
"KERNEL: assertion (atomic_read(&sk->wmem_alloc) == 0) failed at af_inet.c(174) "
After bye another error message , i.e
" Segmentation Fault"
2) Also during < Telnet 202.41.64.203 > , one error message will come,i.e
" recvmsg bug: copied B60AIAFF Seq B60AIB0B"
Below is the /var/log/message contents ----
Unable to handle kernel NULL pointer dereference at virtual address 000002fc
236 Jun 12 09:47:39 ibm21 kernel: printing eip:
237 Jun 12 09:47:39 ibm21 kernel: c0212713
238 Jun 12 09:47:39 ibm21 kernel: *pde = 00000000
239 Jun 12 09:47:39 ibm21 kernel: Oops: 0000
240 Jun 12 09:47:39 ibm21 kernel: mousedev input i830 agpgart parport_pc lp parport autofs e1 00 ipt_REJECT iptable_filter ip_tables
241 Jun 12 09:47:39 ibm21 kernel: CPU: 0
242 Jun 12 09:47:39 ibm21 kernel: EIP: 0060:[<c0212713>] Not tainted
243 Jun 12 09:47:39 ibm21 kernel: EFLAGS: 00010246
244 Jun 12 09:47:39 ibm21 kernel:
245 Jun 12 09:47:39 ibm21 kernel: EIP is at ip_queue_xmit [kernel] 0x13 ( 2.4.20test)
246 Jun 12 09:47:39 ibm21 kernel: eax: 00000000 ebx: 00000001 ecx: 00000000 edx: cf1a98 80
247 Jun 12 09:47:39 ibm21 kernel: esi: 00000000 edi: cf1a9880 ebp: 00000000 esp: c45edd 94
248 Jun 12 09:47:39 ibm21 kernel: ds: 0068 es: 0068 ss: 0068
249 Jun 12 09:47:39 ibm21 kernel: Process gnome-settings- (pid: 1424, stackpage=c45ed000)
250 Jun 12 09:47:39 ibm21 kernel: Stack: 00000000 00000000 cf1a9880 cf170280 cf170280 c01fa66 0 cf1a98ac cf1702ac
251 Jun 12 09:47:39 ibm21 kernel: 00000030 cf1a9880 00000000 c01fa770 cf1a9880 cf17028 0 c3c4b200 00000001
252 Jun 12 09:47:39 ibm21 kernel: c463e69c c1aa9ea8 00000000 c0222251 cf1a9880 0000002 0 00000028 cf382280
253 Jun 12 09:47:39 ibm21 kernel: Call Trace: [<c01fa660>] copy_skb_header [kernel] 0x90 (0 xc45edda8))
254 Jun 12 09:47:39 ibm21 kernel: [<c01fa770>] skb_copy [kernel] 0xb0 (0xc45eddc0))
255 Jun 12 09:47:39 ibm21 kernel: [<c0222251>] tcp_transmit_skb [kernel] 0x3b1 (0xc45edde0))
256 Jun 12 09:47:39 ibm21 kernel: [<c022420e>] tcp_connect [kernel] 0x21e (0xc45ede20))
257 Jun 12 09:47:39 ibm21 kernel: [<c0226bad>] tcp_v4_connect [kernel] 0x27d (0xc45ede48))
258 Jun 12 09:47:40 ibm21 kernel: [<c0226116>] tcp_v4_get_port [kernel] 0x216 (0xc45ede88))
259 Jun 12 09:47:40 ibm21 kernel: [<c0234ee6>] inet_stream_connect [kernel] 0xf6 (0xc45edebc) )
260 Jun 12 09:47:40 ibm21 kernel: [<c01f76cd>] sys_connect [kernel] 0x7d (0xc45ededc))
261 Jun 12 09:47:40 ibm21 kernel: [<c011735c>] do_page_fault [kernel] 0x16c (0xc45edf08))
262 Jun 12 09:47:40 ibm21 kernel: [<c01f71c5>] sock_create [kernel] 0x85 (0xc45edf28))
263 Jun 12 09:47:40 ibm21 kernel: [<c01f669c>] sock_map_fd [kernel] 0x5c (0xc45edf54))
264 Jun 12 09:47:40 ibm21 kernel: [<c01f729d>] sys_socket [kernel] 0x3d (0xc45edf64))
265 Jun 12 09:47:40 ibm21 kernel: [<c01f81c5>] sys_socketcall [kernel] 0xb5 (0xc45edf80))
266 Jun 12 09:47:40 ibm21 kernel: [<c01171f0>] do_page_fault [kernel] 0x0 (0xc45edfb0))
267 Jun 12 09:47:40 ibm21 kernel: [<c0109628>] error_code [kernel] 0x34 (0xc45edfb8))
268 Jun 12 09:47:40 ibm21 kernel: [<c0109537>] system_call [kernel] 0x33 (0xc45edfc0))
269 Jun 12 09:47:40 ibm21 kernel:
270 Jun 12 09:47:40 ibm21 kernel:
271 Jun 12 09:47:40 ibm21 kernel: Code: 8b ae fc 02 00 00 89 44 24 18 0f 85 b9 00 00 00 8b 5e 40 85
please bhai, guide me how to solve above error message.
Thanks & Regards
Antaryami Sahu.
Antaryami Sahu
Bangalore