All of lore.kernel.org
 help / color / mirror / Atom feed
* tcpdump hang and system gone in freeze state
@ 2013-07-12  4:59 Youssouf Said
  2013-07-12  5:03 ` Varun Sharma
  0 siblings, 1 reply; 4+ messages in thread
From: Youssouf Said @ 2013-07-12  4:59 UTC (permalink / raw)
  To: kernelnewbies

Can you list what changes have you done ?

Varun Sharma <vsdssd@gmail.com> a ?crit?:

>_______________________________________________
>Kernelnewbies mailing list
>Kernelnewbies at kernelnewbies.org
>http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130712/81609e70/attachment.html 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* tcpdump hang and system gone in freeze state
  2013-07-12  4:59 tcpdump hang and system gone in freeze state Youssouf Said
@ 2013-07-12  5:03 ` Varun Sharma
  2013-07-15  8:35   ` Mulyadi Santosa
  0 siblings, 1 reply; 4+ messages in thread
From: Varun Sharma @ 2013-07-12  5:03 UTC (permalink / raw)
  To: kernelnewbies

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@gmail.com>wrote:

> Can you list what changes have you done ?
>
> Varun Sharma <vsdssd@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 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* tcpdump hang and system gone in freeze state
  2013-07-12  5:03 ` Varun Sharma
@ 2013-07-15  8:35   ` Mulyadi Santosa
  0 siblings, 0 replies; 4+ messages in thread
From: Mulyadi Santosa @ 2013-07-15  8:35 UTC (permalink / raw)
  To: kernelnewbies

On Fri, Jul 12, 2013 at 12:03 PM, Varun Sharma <vsdssd@gmail.com> wrote:
> As such no change in code .I just write printk statement in kernel code flow
> .specfically in send and recv system call flow .

Just maybe, you place printk() in the interrupt handle or atomic context.
-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* tcpdump hang and system gone in freeze state
@ 2013-07-12  4:46 Varun Sharma
  0 siblings, 0 replies; 4+ messages in thread
From: Varun Sharma @ 2013-07-12  4:46 UTC (permalink / raw)
  To: kernelnewbies

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/356b8702/attachment.html 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-07-15  8:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-12  4:59 tcpdump hang and system gone in freeze state Youssouf Said
2013-07-12  5:03 ` Varun Sharma
2013-07-15  8:35   ` Mulyadi Santosa
  -- strict thread matches above, loose matches on Subject: below --
2013-07-12  4:46 Varun Sharma

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.