From owner-freebsd-questions Sun Jan 19 5: 4:34 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9F53637B401 for ; Sun, 19 Jan 2003 05:04:32 -0800 (PST) Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id A3E1B43F18 for ; Sun, 19 Jan 2003 05:04:29 -0800 (PST) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.gr (patr530-b189.otenet.gr [212.205.244.197]) by mailsrv.otenet.gr (8.12.6/8.12.6) with ESMTP id h0JD47Sa006586; Sun, 19 Jan 2003 15:04:08 +0200 (EET) Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.12.6/8.12.6) with ESMTP id h0JCSgaq004432; Sun, 19 Jan 2003 14:28:42 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.gr (8.12.6/8.12.6/Submit) id h0JCSgPd004431; Sun, 19 Jan 2003 14:28:42 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Sun, 19 Jan 2003 14:28:42 +0200 From: Giorgos Keramidas To: Me Cc: freebsd-questions@FreeBSD.ORG Subject: Re: ipfw Message-ID: <20030119122842.GA4144@gothmog.gr> References: <3E2A8F80.1060500@el.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3E2A8F80.1060500@el.net> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2003-01-19 03:44, Me wrote: > hi, i have a serious problem on a freebsd 4.6 on an i386... > > any time i try to use the ipfw command - even for ipfw show - the > machine crashes and reboots automatically... > > the messages log file registers this: > /kernel: Fatal trap 12: page fault while in kernel mode > Jan 18 19:34:09 host /kernel: fault virtual address = 0x0 > Jan 18 19:34:09 host /kernel: fault code = supervisor read, page not present > Jan 18 19:34:09 host /kernel: instruction pointer = 0x8:0x0 > Jan 18 19:34:09 host /kernel: stack pointer = 0x10:0xd2ef5ea8 > Jan 18 19:34:09 host /kernel: frame pointer = 0x10:0xd2ef5ebc > Jan 18 19:34:09 host /kernel: code segment = base 0x0, limit 0xfffff, type 0x1b > Jan 18 19:34:09 host /kernel: = DPL 0, pres 1, def32 1, gran 1 > Jan 18 19:34:09 host /kernel: processor eflags = interrupt enabled, resume, IOPL = 0 > Jan 18 19:34:09 host /kernel: current process = 632 (ipfw) > Jan 18 19:34:09 host /kernel: interrupt mask = none > Jan 18 19:34:09 host /kernel: trap number = 12 > Jan 18 19:34:09 host /kernel: panic: page fault Can you build a kernel that includes debugging information and read the ``Kernel Debugging'' chapter of the FreeBSD Developer's Handbook? After that, you should be able to get a crash dump from your kernel and post the information here. > i have linux background and used to ipchanes... but i'm new to ipfw > on freebsd. That's ok. The FreeBSD documentation for ipfw(8) will help :-) > in the rc.conf file the ipfw type is unknown which means that when > rc.firewall gets called there is no firewall rules set up... i > don't see how this will make the machine crash when i type: > # ipfw -a show > > i'm thinking of recompiling the kernel but not sure if this will > help.... Not just your kernel. That's not the way it works on FreeBSD. Please, when upgrading, read carefully the file /usr/src/UPDATING and follow the instructions it contains. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message