Date: Fri, 8 Dec 2000 20:17:56 +0100 From: Wilko Bulte <wkb@freebie.demon.nl> To: John Baldwin <jhb@FreeBSD.org> Cc: Bill Paul <wpaul@FreeBSD.org>, alpha@FreeBSD.org Subject: Re: cvs commit: src/sys/alpha/conf GENERIC Message-ID: <20001208201756.A418@freebie.demon.nl> In-Reply-To: <XFMail.001208110004.jhb@FreeBSD.org>; from jhb@FreeBSD.org on Fri, Dec 08, 2000 at 11:00:04AM -0800 References: <20001208174515.1CD8637B400@hub.freebsd.org> <XFMail.001208110004.jhb@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001208201756.A418>
