Re: Panic in fxp_intr

From: Brooks Davis <brooks_at_one-eyed-alien.net>
Date: Fri, 10 Jun 2005 15:51:19 -0700
On Fri, Jun 10, 2005 at 11:58:52PM +0200, Arjan Van Leeuwen wrote:
> I get this panic in -CURRENT from today. 
> 
> fxp_intr
> /usr/src/sys/dev/fxp/if_fxp.c:1640
> 
> I have revision 1.238 of if_fxp.c. I assume it has something to do
> with the changes from Brooks. I have a kernel dump & debug kernel
> available, if anyone's interested.

There kernel and dump would be useful.  The machine I'm able to crash
here doesn't have a 6.x userland yet so I'm not able to easily debug it.
Please send info in private e-mail.

Thanks,
Brooks

> Arjan
> 
> winston% sudo kgdb kernel.debug.20050610-WINSTON vmcore.80
> [GDB will not be able to debug user-mode threads:
> /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"]
> GNU gdb 6.1.1 [FreeBSD]
> Copyright 2004 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 "i386-marcel-freebsd".
> #0  doadump () at pcpu.h:165
> 165     pcpu.h: No such file or directory.
>         in pcpu.h
> (kgdb) where
> #0  doadump () at pcpu.h:165
> #1  0xc056d4ce in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:397
> #2  0xc056cf4b in panic (fmt=0xc070d932 "from debugger")
>     at /usr/src/sys/kern/kern_shutdown.c:553
> #3  0xc0458bd2 in db_panic (addr=-1068816132, have_addr=0, count=-1,
>     modif=0xd56f0a84 "") at /usr/src/sys/ddb/db_command.c:435
> #4  0xc0459009 in db_command_loop () at /usr/src/sys/ddb/db_command.c:349
> #5  0xc045ae24 in db_trap (type=12, code=0) at /usr/src/sys/ddb/db_main.c:221
> #6  0xc058ad6b in kdb_trap (type=0, code=0, tf=0xd56f0c4c)
>     at /usr/src/sys/kern/subr_kdb.c:471
> #7  0xc06df761 in trap_fatal (frame=0xd56f0c4c, eva=246237)
>     at /usr/src/sys/i386/i386/trap.c:826
> #8  0xc06dfa8b in trap_pfault (frame=0xd56f0c4c, usermode=0, eva=246237)
>     at /usr/src/sys/i386/i386/trap.c:749
> #9  0xc06dfe13 in trap (frame=
>       {tf_fs = -714145784, tf_es = 40, tf_ds = -1065549784, tf_edi =
> 246189, tf_esi = 0, tf_ebp = -714142520, tf_isp = -714142600, tf_ebx =
> -1044660222, tf_edx = -1066303076, tf_ecx = -1065492788, tf_eax =
> -1044660224, tf_trapno = 12, tf_err = 0, tf_eip = -1068816132, tf_cs =
> 32, tf_eflags = 66054, tf_esp = -1044660200, tf_ss = 8})
>     at /usr/src/sys/i386/i386/trap.c:439
> #10 0xc06cb39a in calltrap () at /usr/src/sys/i386/i386/exception.s:139
> #11 0xd56f0008 in ?? ()
> #12 0x00000028 in ?? ()
> ---Type <return> to continue, or q <return> to quit---
> #13 0xc07d0028 in w_locklistdata ()
> #14 0x0003c1ad in ?? ()
> #15 0x00000000 in ?? ()
> #16 0xd56f0cc8 in ?? ()
> #17 0xd56f0c78 in ?? ()
> #18 0xc1bbc002 in ?? ()
> #19 0xc071819c in ?? ()
> #20 0xc07ddecc in w_locklistdata ()
> #21 0xc1bbc000 in ?? ()
> #22 0x0000000c in ?? ()
> #23 0x00000000 in ?? ()
> #24 0xc04b28fc in fxp_intr (xsc=0xc1bbc000) at
> /usr/src/sys/dev/fxp/if_fxp.c:1639
> #25 0xc05561be in ithread_loop (arg=0xc1a07200) at
> /usr/src/sys/kern/kern_intr.c:546
> #26 0xc05550a4 in fork_exit (callout=0xc0555fc0 <ithread_loop>,
> arg=0x0, frame=0x0)
>     at /usr/src/sys/kern/kern_fork.c:789
> #27 0xc06cb3fc in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:208
> (kgdb)
-- 
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4

Received on Fri Jun 10 2005 - 20:51:24 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:36 UTC