Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Jan 2001 23:42:44 +0100
From:      Wilko Bulte <wkb@freebie.demon.nl>
To:        Andrew Gallatin <gallatin@cs.duke.edu>
Cc:        freebsd-alpha@freebsd.org
Subject:   Re: debugging fpa / FDDI panic
Message-ID:  <20010106234244.A78789@freebie.demon.nl>
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
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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> <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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010106234244.A78789>