As such no change in code .I just write printk statement in kernel code flow .specfically in send and recv system call flow .
On Fri, Jul 12, 2013 at 10:29 AM, Youssouf Said <youssouf.kernel@xxxxxxxxx> wrote:
Can you list what changes have you done ?
Varun Sharma <vsdssd@xxxxxxxxx> a écrit :Hi,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 .ltrace tcpdump output is---
__libc_start_main(0x452220, 1, 0x7fff623b6158, 0x462d70, 0x462d60 <unfinished ...>
strrchr("tcpdump", '/') = NULL
getopt(1, 0x7fff623b6158, "aAB:c:C:dDeE:fF:G:i:IKlLm:M:nNOp"...) = -1
time(NULL) = 1373602325
gmtime(0x7fff623b5e68) = 0x313eba03e0
localtime(0x7fff623b5e68) = 0x313eba03e0
getuid() = 0
pcap_lookupdev(0x7fff623b5f30) = "eth0"
pcap_create(0x314d636140, 0x7fff623b5f30, 0x11f6690, 0x313eb9ce90, 11) = 0x11f6ac0
pcap_set_snaplen(0x11f6ac0, 65535, 0x8038a0, 0x306874, 0) = 0
pcap_set_promisc(0x11f6ac0, 1, 0, 0x306874, 0) = 0
pcap_set_timeout(0x11f6ac0, 1000, 0, 0x306874, 0) = 0
pcap_activate(0x11f6ac0, 0, 0, 0x306874, 0tcpdump hang in pcap_activate . whereas if run tcpdump in original kernel it works fine.can anybody know the reason?
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies