tcpdump hang and system gone in freeze state
Varun Sharma
vsdssd at gmail.com
Fri Jul 12 01:03:44 EDT 2013
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 at gmail.com>wrote:
> Can you list what changes have you done ?
>
> Varun Sharma <vsdssd at gmail.com> 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, 0
>
>
> tcpdump hang in pcap_activate . whereas if run tcpdump in original kernel
> it works fine.can anybody know the reason?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130712/08a4b2ba/attachment.html
More information about the Kernelnewbies
mailing list