From owner-freebsd-sparc64@FreeBSD.ORG Mon Apr 21 06:40:47 2003 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B37D537B401 for ; Mon, 21 Apr 2003 06:40:47 -0700 (PDT) Received: from k6.locore.ca (k6.locore.ca [198.96.117.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id CDD3043F93 for ; Mon, 21 Apr 2003 06:40:46 -0700 (PDT) (envelope-from jake@k6.locore.ca) Received: from k6.locore.ca (localhost.locore.ca [127.0.0.1]) by k6.locore.ca (8.12.8/8.12.8) with ESMTP id h3LDgkxS052724; Mon, 21 Apr 2003 09:42:46 -0400 (EDT) (envelope-from jake@k6.locore.ca) Received: (from jake@localhost) by k6.locore.ca (8.12.8/8.12.8/Submit) id h3LDgjvx052723; Mon, 21 Apr 2003 09:42:45 -0400 (EDT) Date: Mon, 21 Apr 2003 09:42:45 -0400 From: Jake Burkholder To: Anders Andersson Message-ID: <20030421134245.GB50754@locore.ca> References: <20030420081444.GA65836@sushi.andersa.net> <20030421062602.GA62507@sushi.andersa.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030421062602.GA62507@sushi.andersa.net> User-Agent: Mutt/1.4i cc: sparc64@freebsd.org Subject: Re: strange panic X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Apr 2003 13:40:48 -0000 Apparently, On Mon, Apr 21, 2003 at 08:26:02AM +0200, Anders Andersson said words to the effect of; > On Sun, Apr 20, 2003 at 10:14:44AM +0200, Anders Andersson wrote: > > Hi, > > > > I have gotten this panic on ultra10: > > > > db> trace > > panic() at panic+0xcc > > trap() at trap+0x3bc > > -- memory address not aligned sfar=0xc2ddcb1c sfsr=0x4002d %o7=0xc012e8c0 -- > > ipfw_ctl() at ipfw_ctl+0x174 > > rip_ctloutput() at rip_ctloutput+0x164 > > sogetopt() at sogetopt+0x38 > > getsockopt() at getsockopt+0xb0 > > syscall() at syscall+0x2b4 > > -- syscall (118, FreeBSD ELF64, getsockopt) %o7=0x1032c0 -- > > userland() at 0x108598 > > user trace: trap %o7=0x1032c0 > > pc 0x108598, sp 0x7fdfffff121 > > pc 0x107468, sp 0x7fdfffff1f1 > > pc 0x1079ec, sp 0x7fdfffff2b1 > > pc 0x1001dc, sp 0x7fdfffff371 > > pc 0, sp 0x7fdfffff431 > > done ipfw doesn't work well on sparc64. It wasn't written to take architectures with alignment constraints into account, so it causes these panics. The author doesn't seem to acknowledge that such architectures exist. You're probably getting this from the daily periodic scripts listing the firewall rules, you could just comment that out of the periodic scripts. I'll try to get this fixed before 5.1-RELEASE unless someone else beats me to it. Jake > > Since this happens regular every night here is the panic message: > > db> panic > panic: from debugger > Debugger("panic") > Stopped at Debugger+0x1c: ta %xcc, 1 > db> > > gdb doesnt help: > > --- > dmesg: kvm_read: invalid address (0) > --- > #0 0x0000000000000000 in ?? () > (kgdb) where > #0 0x0000000000000000 in ?? () > -- > Anders Andersson > > _______________________________________________ > freebsd-sparc64@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-sparc64 > To unsubscribe, send any mail to "freebsd-sparc64-unsubscribe@freebsd.org"