From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jan-Benedict Glaw Newsgroups: gmane.linux.redhat.axp.kernel Subject: Re: HELP: Segmentation Fault! Date: Sat, 22 Mar 2003 11:59:04 +0100 Sender: axp-kernel-list-admin@redhat.com Message-ID: <20030322105904.GD22528@lug-owl.de> References: Reply-To: axp-kernel-list@redhat.com NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="osDK9TLjxFScVI/L" X-Trace: main.gmane.org 1048330795 19383 80.91.224.249 (22 Mar 2003 10:59:55 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 22 Mar 2003 10:59:55 +0000 (UTC) Cc: Pathmenanthan Ramakrishna Original-X-From: axp-kernel-list-admin@redhat.com Sat Mar 22 11:59:53 2003 Return-path: Original-Received: from listman.redhat.com ([66.187.233.211]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18wgjB-00052T-00 for ; Sat, 22 Mar 2003 11:59:53 +0100 Original-Received: from listman.redhat.com (localhost.localdomain [127.0.0.1]) by listman.redhat.com (Postfix) with ESMTP id F21EA3EBD6; Sat, 22 Mar 2003 06:00:01 -0500 (EST) Original-Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id 2CD733EAC4 for ; Sat, 22 Mar 2003 05:59:06 -0500 (EST) Original-Received: (from mail@localhost) by int-mx1.corp.redhat.com (8.11.6/8.11.6) id h2MAx6Y03257 for axp-kernel-list@listman.redhat.com; Sat, 22 Mar 2003 05:59:06 -0500 Original-Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id h2MAx6V03253 for ; Sat, 22 Mar 2003 05:59:06 -0500 Original-Received: from dvmwest.gt.owl.de (dvmwest.gt.owl.de [62.52.24.140]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id h2MAx5Q15330 for ; Sat, 22 Mar 2003 05:59:06 -0500 Original-Received: by dvmwest.gt.owl.de (Postfix, from userid 1001) id CA9624AB45; Sat, 22 Mar 2003 11:59:04 +0100 (CET) Original-To: axp-kernel-list@redhat.com Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i X-Operating-System: Linux mail 2.4.18 X-gpg-fingerprint: 250D 3BCF 7127 0D8C A444 A961 1DBD 5E75 8399 E1BB X-gpg-key: wwwkeys.de.pgp.net X-Loop: axp-kernel-list@redhat.com Errors-To: axp-kernel-list-admin@redhat.com X-BeenThere: axp-kernel-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Alpha Kernel issues List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.linux.redhat.axp.kernel:125 X-Report-Spam: http://spam.gmane.org/gmane.linux.redhat.axp.kernel:125 --osDK9TLjxFScVI/L Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, 2003-03-21 21:00:42 -0800, Pathmenanthan Ramakrishna wrote in message : [Quoted mail reformatted due to too long lines - please keep < 72 chars!] > i installed a pH a system call IDS response tool where i did recompile > the kernel from Redhat 7.3 as the pH only works on Kernel 2.2. > when i leave the pH running for 2 days,later it stops automatically and > i received "segmentation fault" at the command line.why is this problem > occurs?what are the causes and how do i solve it? Which program receives this segmetation fault? Your IDS - is it an application or some kernel patches? If it's an application, then you shouldn't need to recompile the kernel. In this case, you'd recompile the application additionally using "-g" as a compiler switch (and comment out any lines in the Makefile containing the word "strip"!). Then, run it under gdb's control: $ gdb ..../my/app > run If you application requires root privileges, do it as root... After it crashed, type "bt" into gdb and send the output to the program's author. In case this IDS is kernel-based, throw it away. Esp. for Alphas, my opinion is that 2.2.x is quite old and somewhat rotten in some circumstances (IIRC it's still not fixed that you *always* boot up with correct system time, ...). Stick at 2.4.x (or test 2.5.x, which (for me) is quite stable on my Alphas). > i need help here.Hope anyone could he give me few suggestions. To really help you, we need information. This is (not only, but including): - What Alpha are you running? - What was your old (known-good) kernel's version? Where is it from? Self-compiled? - What IDS do you try to get running? - What's your current (patched) kernel's version? - What distribution do you use? - What is the installed compiler's version? - Are there Oopses, too? (-> "dmesg" output) - ... Without that, even guessing wouldn't make any sense... MfG, JBG --=20 Jan-Benedict Glaw jbglaw@lug-owl.de . +49-172-7608481 "Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg fuer einen Freien Staat voll Freier B=FCrger" | im Internet! | im Ira= k! ret =3D do_actions((curr | FREE_SPEECH) & ~(IRAQ_WAR_2 | DRM | TCPA)); --osDK9TLjxFScVI/L Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+fEH4Hb1edYOZ4bsRAgFfAJ0bpMWIK2x0hWoqc51EwJprOcCbRQCfVqt0 QZX2jWTOZU8bgjUZlVSLDDs= =It3g -----END PGP SIGNATURE----- --osDK9TLjxFScVI/L--