From owner-freebsd-alpha Fri Dec 8 11:18:22 2000 From owner-freebsd-alpha@FreeBSD.ORG Fri Dec 8 11:18:19 2000 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from post.mail.nl.demon.net (post-11.mail.nl.demon.net [194.159.73.21]) by hub.freebsd.org (Postfix) with ESMTP id 6F17237B401; Fri, 8 Dec 2000 11:18:18 -0800 (PST) Received: from [212.238.54.101] (helo=freebie.demon.nl) by post.mail.nl.demon.net with smtp (Exim 3.14 #4) id 144T28-000I8S-00; Fri, 08 Dec 2000 19:18:17 +0000 Received: (from wkb@localhost) by freebie.demon.nl (8.11.1/8.11.0) id eB8JHu300439; Fri, 8 Dec 2000 20:17:56 +0100 (CET) (envelope-from wkb) Date: Fri, 8 Dec 2000 20:17:56 +0100 From: Wilko Bulte To: John Baldwin Cc: Bill Paul , alpha@FreeBSD.org Subject: Re: cvs commit: src/sys/alpha/conf GENERIC Message-ID: <20001208201756.A418@freebie.demon.nl> References: <20001208174515.1CD8637B400@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from jhb@FreeBSD.org on Fri, Dec 08, 2000 at 11:00:04AM -0800 X-OS: FreeBSD 4.2-STABLE X-PGP: finger wilko@freebsd.org Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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. Your wish is my command: (kgdb) l *0xfffffc0000469dac 0xfffffc0000469dac is in epic_init (../../pci/if_tx.c:1296). 1291 1292 /* Workaround for Application Note 7-15 */ 1293 for (i=0; i<16; i++) CSR_WRITE_4(sc, TEST1, TEST1_CLOCK_TEST); 1294 1295 /* Initialize rings */ 1296 if( epic_init_rings( sc ) ) { 1297 printf(EPIC_FORMAT ": failed to init rings\n",EPIC_ARGS(sc)); 1298 splx(s); 1299 return -1; 1300 } (kgdb) hth -- Wilko Bulte Arnhem, the Netherlands wilko@freebsd.org http://www.freebsd.org http://www.nlfug.nl To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message