Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Sep 1999 12:40:03 -0700 (PDT)
From:      "Jay Oliver" <kythorn@scorched.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/13736: enabling NAT on 3.3RC results in panic sbappendaddr.
Message-ID:  <199909131940.MAA48830@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/13736; it has been noted by GNATS.

From: "Jay Oliver" <kythorn@scorched.com>
To: "Ruslan Ermilov" <ru@ucb.crimea.ua>,
	<freebsd-gnats-submit@FreeBSD.ORG>, <freebsd-bugs@FreeBSD.ORG>
Cc:  
Subject: Re: kern/13736: enabling NAT on 3.3RC results in panic sbappendaddr.
Date: Mon, 13 Sep 1999 15:38:54 -0400

 Script started on Mon Sep 13 15:30:50 1999
 bash-2.03# gdb -k
 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 "i386-unknown-freebsd".
 (kgdb) symbol-file kernel.debug
 Reading symbols from kernel.debug...done.
 (kgdb) exec-file /var/crash/kernel.0
 (kgdb) core-file /var/crash/vmcore.0
 IdlePTD 2744320
 initial pcb at 234e94
 panicstr: sbappendaddr
 panic messages:
 ---
 panic: sbappendaddr
 
 syncing disks... done
 
 dumping to dev 20001, offset 196608
 dump 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7
 6 5 4 3 2 1
 ---
 #0  boot (howto=256) at ../../kern/kern_shutdown.c:285
 285   dumppcb.pcb_cr3 = rcr3();
 (kgdb) where
 #0  boot (howto=256) at ../../kern/kern_shutdown.c:285
 #1  0xc012f4d1 in panic (fmt=0xc02096ca "sbappendaddr")
     at ../../kern/kern_shutdown.c:446
 #2  0xc0148d97 in sbappendaddr (sb=0xc32c5f44, asa=0xc02261cc,
 m0=0xc050fc80,
     control=0x0) at ../../kern/uipc_socket2.c:592
 #3  0xc0171d56 in div_input (m=0xc050fc80, hlen=20)
     at ../../netinet/ip_divert.c:233
 #4  0xc0175607 in ip_input (m=0xc050fc80) at ../../netinet/ip_input.c:708
 #5  0xc017566f in ipintr () at ../../netinet/ip_input.c:735
 #6  0xc01e55b1 in swi_net_next ()
 Cannot access memory at address 0x745a3357.
 (kgdb) up
 #1  0xc012f4d1 in panic (fmt=0xc02096ca "sbappendaddr")
     at ../../kern/kern_shutdown.c:446
 446  boot(bootopt);
 (kgdb) up
 #2  0xc0148d97 in sbappendaddr (sb=0xc32c5f44, asa=0xc02261cc,
 m0=0xc050fc80,
     control=0x0) at ../../kern/uipc_socket2.c:592
 592 panic("sbappendaddr");
 (kgdb) up
 #3  0xc0171d56 in div_input (m=0xc050fc80, hlen=20)
     at ../../netinet/ip_divert.c:233
 233   if (sbappendaddr(&sa->so_rcv, (struct sockaddr *)&divsrc,
 (kgdb) up
 #4  0xc0175607 in ip_input (m=0xc050fc80) at ../../netinet/ip_input.c:708
 708  (*inetsw[ip_protox[ip->ip_p]].pr_input)(m, hlen);
 (kgdb) up
 #5  0xc017566f in ipintr () at ../../netinet/ip_input.c:735
 735   ip_input(m);
 (kgdb) up
 #6  0xc01e55b1 in swi_net_next ()
 (kgdb) up
 Cannot access memory at address 0x745a3357.
 (kgdb) quit
 bash-2.03# exit
 exit
 
 Script done on Mon Sep 13 15:31:37 1999
 
 I hope this is the output you wanted.  If you need any other info, just ask.
 
 - Jay Oliver
 kythorn@scorched.com
 
 
 
 > Please config your kernel with debug symbols (config -g YOUR_CONFIG),
 > follow up the instructions on
 http://www.FreeBSD.org/handbook/kerneldebug.html,
 > section "Debugging a Kernel Crash Dump with kgdb", and send us
 > the script(1) of your `gdb -k' session.
 >
 >
 > Thanks,
 > --
 > Ruslan Ermilov Sysadmin and DBA of the
 > ru@ucb.crimea.ua United Commercial Bank,
 > ru@FreeBSD.org FreeBSD committer,
 > +380.652.247.647 Simferopol, Ukraine
 >
 > http://www.FreeBSD.org The Power To Serve
 > http://www.oracle.com Enabling The Information Age
 >
 
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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