<div dir="ltr">As such no change in code .I just write printk statement in kernel code flow .specfically in send and recv system call flow .<br><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jul 12, 2013 at 10:29 AM, Youssouf Said <span dir="ltr"><<a href="mailto:youssouf.kernel@gmail.com" target="_blank">youssouf.kernel@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Can you list what changes have you done ?<br><br>Varun Sharma <<a href="mailto:vsdssd@gmail.com" target="_blank">vsdssd@gmail.com</a>> a écrit :<div>
<div><br><br><div dir="ltr"><div><div>Hi,<br><br></div>I build new kernel (2.6.32.60). when i execute tcpdump on this build kernel ,tcpdump gone in hang state and system gone in freeze state .<br><br><br></div>
<div>ltrace tcpdump output is---<br>
<br>__libc_start_main(0x452220, 1, 0x7fff623b6158, 0x462d70, 0x462d60 <unfinished ...><br>strrchr("tcpdump", '/') = NULL<br>getopt(1, 0x7fff623b6158, "aAB:c:C:dDeE:fF:G:i:IKlLm:M:nNOp"...) = -1<br>
time(NULL) = 1373602325<br>gmtime(0x7fff623b5e68) = 0x313eba03e0<br>localtime(0x7fff623b5e68) = 0x313eba03e0<br>getuid() = 0<br>
pcap_lookupdev(0x7fff623b5f30) = "eth0"<br>pcap_create(0x314d636140, 0x7fff623b5f30, 0x11f6690, 0x313eb9ce90, 11) = 0x11f6ac0<br>pcap_set_snaplen(0x11f6ac0, 65535, 0x8038a0, 0x306874, 0) = 0<br>
pcap_set_promisc(0x11f6ac0, 1, 0, 0x306874, 0) = 0<br>pcap_set_timeout(0x11f6ac0, 1000, 0, 0x306874, 0) = 0<br>pcap_activate(0x11f6ac0, 0, 0, 0x306874, 0<br><br><br></div><div>tcpdump hang in pcap_activate . whereas if run tcpdump in original kernel it works fine.can anybody know the reason?<br>
</div></div>
</div></div></blockquote></div><br></div></div></div>