From owner-freebsd-alpha Fri Dec 8 13:11:23 2000 From owner-freebsd-alpha@FreeBSD.ORG Fri Dec 8 13:11:20 2000 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from pike.osd.bsdi.com (pike.osd.bsdi.com [204.216.28.222]) by hub.freebsd.org (Postfix) with ESMTP id 0BF0137B400; Fri, 8 Dec 2000 13:11:20 -0800 (PST) Received: from laptop.baldwin.cx (john@jhb-laptop.osd.bsdi.com [204.216.28.241]) by pike.osd.bsdi.com (8.11.1/8.9.3) with ESMTP id eB8LAR763961; Fri, 8 Dec 2000 13:10:27 -0800 (PST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20001208212540.A750@freebie.demon.nl> Date: Fri, 08 Dec 2000 13:11:16 -0800 (PST) From: John Baldwin To: Wilko Bulte Subject: Re: cvs commit: src/sys/alpha/conf GENERIC Cc: Bill Paul , alpha@FreeBSD.org Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 08-Dec-00 Wilko Bulte wrote: > On Fri, Dec 08, 2000 at 11:23:55AM -0800, John Baldwin wrote: >> >> On 08-Dec-00 Wilko Bulte wrote: >> > On Fri, Dec 08, 2000 at 11:00:04AM -0800, John Baldwin wrote: >> >> [ moved to -alpha ] >> >> >> >> On 08-Dec-00 Bill Paul wrote: >> >> >> mx5# ifconfig tx0 10.0.0.1 >> >> >> >> >> >> fatal kernel trap: >> >> >> >> >> >> trap entry = 0x2 (memory management fault) >> >> >> a0 = 0x464000 >> >> >> a1 = 0x1 >> >> >> a2 = 0x0 >> >> >> pc = 0xfffffc000046b008 >> >> >> ra = 0xfffffc0000469dac >> >> >> curproc = 0xfffffe00042f5e40 >> >> >> pid = 206, comm = ifconfig >> >> >> >> >> >> panic: trap >> >> > >> >> > Hm. This doesn't look like an alignment problem. Unfortunately, I'd >> >> > need >> >> > an EPIC card to fix this, and I don't have one. >> >> >> >> Looks like a NULL dereference. ra is the offending address. Wilko, if >> >> you >> >> have >> >> a kernel.debug laying around, do a gdb -k kernel.debug /dev/mem and then >> >> do >> >> 'l *0xfffffc0000469dac' to get the source line associated with the panic. >> >> Argh, ok. ra is where the function was called. Oops. So now we know it is >> in >> the epic_init_rings() function. Can you do a 'l *' on the pc address? This >> should give us the actual line it died on. > > You mean this? Yes, it looks like sc->rx_desc[i] (pointer arith ugly) is NULL. I can't say more w/o digging into the code though as I don't know how/when the RX descriptors are set up. -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message