From owner-freebsd-hackers Tue May 30 0:37:10 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from hermes.research.kpn.com (hermes.research.kpn.com [139.63.192.8]) by hub.freebsd.org (Postfix) with ESMTP id 3329637BD71 for ; Tue, 30 May 2000 00:37:08 -0700 (PDT) (envelope-from K.J.Koster@kpn.com) Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by research.kpn.com (PMDF V5.2-31 #42699) with ESMTP id <01JQ08RBXFHA0006LR@research.kpn.com> for freebsd-hackers@FreeBSD.ORG; Tue, 30 May 2000 09:37:05 +0200 Received: by l04.research.kpn.com with Internet Mail Service (5.5.2650.21) id ; Tue, 30 May 2000 09:36:55 +0100 Content-return: allowed Date: Tue, 30 May 2000 09:36:45 +0100 From: "Koster, K.J." Subject: RE: system hangs... To: "'G.B.Naidu'" Cc: freebsd-hackers@FreeBSD.ORG Message-id: <59063B5B4D98D311BC0D0001FA7E4522026D75BE@l04.research.kpn.com> MIME-version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > We have made some kernel changes. And accordingly we are > testing the changes using some user level daemon. After > sending some packets, the system hangs. The number of > packets sent before the system hangs varies from time to > time. > What kind of changes? What kind of packets? What kind of deamon? What kind of kernel? > > Could some body tell me how to know what is happening? How > do I find out the reason for hanging? Is there anyway to get > such information through some core dump? I have enabled > taking dumps and it is dumping when the system panics but > not when it hangs. > You can make the system panic manually, and then you have your kernel core. As for how to know what's happening: printf() is your friend. > > Is memory leakage can cause a system hang? If so how do I > find out that there is a memory leakage? > There are many good books and web sites that cover basic debugging techniques. You have to provide a *lot* more information than this. We can only help you if you are able to produce some detailed description of your problem. If you can't tell sitting behind the box, how are we supposed to know what you've done wrong? Kees Jan ============================================== Everyone is responsible for his own actions, and (people tend to forget this) the effect they have on others. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message