Got the crash dump... now what?
Jonathon McKitrick
jcm at FreeBSD-uk.eu.org
Thu Dec 16 20:17:05 PST 2004
Hey guys,
I finally got that panic I've been seeing. Here's the backtrace.
Looks like a null pointer in netinet/ip_input, line 750.
I should also mention this is my laptop running apm but NOT ACPI.
This has happened with both my Linksys card and my Netgear.
(kgdb) backtrace
#0 dumpsys () at /usr/src/sys/kern/kern_shutdown.c:508
#1 0xc019af9f in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:341
#2 0xc019b3d0 in panic (fmt=0xc02ebaaa "from debugger") at
/usr/src/sys/kern/kern_shutdown.c:620
#3 0xc012c039 in db_panic (addr=-1071661484, have_addr=0, count=1,
modif=0xc8824b84 "") at /usr/src/sys/ddb/db_command.c:450
#4 0xc012bfd7 in db_command (last_cmdp=0xc0344ac4, cmd_table=0xc03448e4,
aux_cmd_tablep=0xc033fbf8, aux_cmd_tablep_end=0xc033fbfc)
at /usr/src/sys/ddb/db_command.c:346
#5 0xc012c0a3 in db_command_loop () at
/usr/src/sys/ddb/db_command.c:472
#6 0xc012e6c9 in db_trap (type=12, code=0) at
/usr/src/sys/ddb/db_trap.c:72
#7 0xc02c6c02 in kdb_trap (type=12, code=0, regs=0xc8824cd0) at
/usr/src/sys/i386/i386/db_interface.c:161
#8 0xc02d8472 in trap_fatal (frame=0xc8824cd0, eva=3735929054) at
/usr/src/sys/i386/i386/trap.c:1139
#9 0xc02d80a1 in trap_pfault (frame=0xc8824cd0, usermode=0,
eva=3735929054) at /usr/src/sys/i386/i386/trap.c:1033
#10 0xc02d7d28 in trap (frame=
{tf_fs = -1057030120, tf_es = -1057030128, tf_ds = -1057423344,
tf_edi = 0, tf_esi = 0, tf_ebp = -930984600, tf_isp = -930984708,
tf_ebx = -1059715040, tf_edx = -559038242, tf_ecx = -930984656,
tf_eax = -933707776, tf_trapno = 12, tf_err = 0, tf_eip =
-1071661484, tf_cs = 8, tf_eflags = 66182, tf_esp = -1058648384,
tf_ss = -8388608}) at /usr/src/sys/i386/i386/trap.c:613
#11 0xc02c7b7b in calltrap ()
#12 0xc0ff0018 in ?? ()
#13 0xc0ff0010 in ?? ()
#14 0xc0f90010 in ?? ()
#15 0x00000000 in ?? ()
#16 0x00000000 in ?? ()
#17 0xc8824d68 in ?? ()
#18 0xc8824cfc in ?? ()
#19 0xc0d60820 in ?? ()
#20 0xdeadc0de in ?? ()
#21 0xc8824d30 in ?? ()
#22 0xc858c000 in ?? ()
#23 0x0000000c in ?? ()
#24 0x00000000 in ?? ()
#25 0xc01fbe54 in ip_input (m=0xc0ffca00) at
/usr/src/sys/netinet/ip_input.c:749
#26 0xc01fb997 in ip_input_handler (msg0=0xc0e64ec0) at
/usr/src/sys/netinet/ip_input.c:455
#27 0xc01eac55 in netmsg_service_loop (arg=0x0) at
/usr/src/sys/net/netisr.c:200
#28 0xc019fe08 in lwkt_create () at
/usr/src/sys/kern/lwkt_thread.c:1260
(kgdb) up 25
#25 0xc01fbe54 in ip_input (m=0xc0ffca00) at
/usr/src/sys/netinet/ip_input.c:749
749 TAILQ_FOREACH(ifa,
&m->m_pkthdr.rcvif->if_addrhead, ifa_link) {
(kgdb) list
744 * interface. Reception of forwarded directed
broadcasts would
745 * be handled via ip_forward() and ether_output()
with the loopback
746 * into the stack for SIMPLEX interfaces handled
by ether_output().
747 */
748 if (m->m_pkthdr.rcvif->if_flags & IFF_BROADCAST) {
749 TAILQ_FOREACH(ifa,
&m->m_pkthdr.rcvif->if_addrhead, ifa_link) {
750 if (ifa->ifa_addr->sa_family !=
AF_INET)
751 continue;
752 ia = ifatoia(ifa);
753 if
(satosin(&ia->ia_broadaddr)->sin_addr.s_addr ==
(kgdb) print ifa
$1 = (struct ifaddr *) 0x0
(kgdb)
jm
--
I love feminist movements, especially when I'm walking behind them.
More information about the Kernel
mailing list