-----Original Message-----
From: Antaryami Sahu [mailto:sahu_nal@xxxxxxxxxxxxxx]
Sent: Tuesday, June 13, 2006 9:46 AM
To: abum@xxxxxxxxx
Subject: Kernel panicRegards
Hai Abum,
I am using Linux-2.4.20-8.
I did some modification inside <tcp_output.c/tcp_transmit_skb()>
But,
1) 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 ----
2037 Jun 12 12:32:35 ibm21 -- root[1283]: ROOT LOGIN ON tty1
2038 Jun 12 12:32:41 ibm21 kernel: Inside loop 0
2039 Jun 12 12:32:41 ibm21 kernel: Value of err = 0
2040 Jun 12 12:32:41 ibm21 kernel: Inside loop 1
2041 Jun 12 12:32:41 ibm21 kernel: Value of err = 0
2042 Jun 12 12:32:41 ibm21 kernel: Inside loop 2
2043 Jun 12 12:32:41 ibm21 kernel: Value of err = 0
2044 Jun 12 12:32:44 ibm21 kernel: Attempt to release TCP socket in state 2 c 3d09580
2045 Jun 12 12:32:44 ibm21 kernel: Address of copy_skb_header(skbuff.c) = 32 23299536<6>Inside loop 0
2046 Jun 12 12:32:44 ibm21 kernel: Value of err = 0
2047 Jun 12 12:32:44 ibm21 kernel: Inside loop 1
2048 Jun 12 12:32:44 ibm21 kernel: Value of err = 0
2049 Jun 12 12:32:44 ibm21 kernel: Inside loop 2
2050 Jun 12 12:32:44 ibm21 kernel: Value of err = 0
2051 Jun 12 12:32:44 ibm21 kernel: Attempt to release alive inet socket c3d09 580
2052 Jun 12 12:32:44 ibm21 kernel: KERNEL: assertion (atomic_read(&sk->wmem_a lloc) == 0) failed at af_inet.c(174)
Please guide me how to solve above error.
Regards
Antaryami
Antaryami Sahu
Bangalore
HI,
Though I am not much into these stuff, but I tried to
look at the code, in af_itet.c at line no 174 an assertion is failed, going by
the stack trace it can be observed that some socket is being tried to close
though its active and is in use.
For
more concrete answer see the kernelnewbies mailing list.
~Abu.