From owner-freebsd-alpha Sat Jan 6 14:41:51 2001 From owner-freebsd-alpha@FreeBSD.ORG Sat Jan 6 14:41:48 2001 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 0023C37B400 for ; Sat, 6 Jan 2001 14:41:47 -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 14F21y-000OMS-00; Sat, 06 Jan 2001 22:41:46 +0000 Received: (from wkb@localhost) by freebie.demon.nl (8.11.1/8.11.1) id f06Mgim78880; Sat, 6 Jan 2001 23:42:44 +0100 (CET) (envelope-from wkb) Date: Sat, 6 Jan 2001 23:42:44 +0100 From: Wilko Bulte To: Andrew Gallatin Cc: freebsd-alpha@freebsd.org Subject: Re: debugging fpa / FDDI panic Message-ID: <20010106234244.A78789@freebie.demon.nl> References: <20010106214357.X77275@freebie.demon.nl> <14935.34600.806565.787237@grasshopper.cs.duke.edu> <20010106224542.A78582@freebie.demon.nl> <14935.37795.408651.78296@grasshopper.cs.duke.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <14935.37795.408651.78296@grasshopper.cs.duke.edu>; from gallatin@cs.duke.edu on Sat, Jan 06, 2001 at 05:04:24PM -0500 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 Sat, Jan 06, 2001 at 05:04:24PM -0500, Andrew Gallatin wrote: > > Wilko Bulte writes: > > a0 = 0x14 > > a1 = 0x1 > > a2 = 0x0 > > pc = 0xfffffc0000390698 > > ra = 0xfffffc00003903d8 > > curproc = 0xfffffc00006110a8 > > pid = 0, comm = swapper > > > > Stopped at pdq_initialize+0x538: ldl t0,0(t0) <0x14> > > db> trace > > pdq_initialize() at pdq_initialize+0x538 > > Can you run gdb on kernel.debug and say "list *pdq_initialize+0x538" Like: mx5#gdb -k kernel.debug GNU gdb 4.18 Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "alpha-unknown-freebsd"... (kgdb) list *pdq_initialize+0x538 0xfffffc0000390698 is in pdq_initialize (../../dev/pdq/pdq.c:1546). 1541 pdq->pdq_tx_info.tx_free = PDQ_RING_MASK(pdq->pdq_dbp->pdqdb_transmits); 1542 pdq->pdq_tx_info.tx_hdrdesc.txd_seg_len = sizeof(pdq->pdq_tx_hdr); 1543 pdq->pdq_tx_info.tx_hdrdesc.txd_sop = 1; 1544 pdq->pdq_tx_info.tx_hdrdesc.txd_pa_lo = PDQ_OS_VA_TO_PA(pdq, pdq->pdq_tx_hdr); 1545 1546 state = PDQ_PSTS_ADAPTER_STATE(PDQ_CSR_READ(&pdq->pdq_csrs, csr_port_status)); 1547 PDQ_PRINTF(("PDQ Adapter State = %s\n", pdq_adapter_states[state])); 1548 1549 /* 1550 * Stop the PDQ if it is running and put it into a known state. (kgdb) -- | / o / / _ Arnhem, The Netherlands email: wilko@freebsd.org |/|/ / / /( (_) Bulte 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