Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Sep 1999 18:45:47 -0400 (EDT)
From:      George Uhl <uhl@mamba-e.gsfc.nasa.gov>
To:        uhl@mamba-e.gsfc.nasa.gov, ru@ucb.crimea.ua
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: natd and multicast tunnel
Message-ID:  <199909012245.SAA16628@mamba-e.gsfc.nasa.gov>

next in thread | raw e-mail | index | archive | help

I've printed a dump from ddb showing the kernel stack 
at panic time below.

> 
> On Mon, Aug 30, 1999 at 04:25:46PM -0400, George Uhl wrote:
> >  I'm running natd on a FreeBSD 3.2 router at home which
> >  receives internet service via a cable modem and provides
> >  translation for a host on the back-end of a 10bT ethernet
> >  LAN.  The LAN is configured with the 192.168.1/24 address
> >  space.
> >  
> >  I'm using the "non-firewall" setting in 
> >  /etc/rc.firewall:
> >  
> >  /sbin/ipfw -f flush
> >  /sbin/ipfw add divert natd all from any to any via xl0
> >  /sbin/ipfw add pass all from any to any
> >  
> >  Unicast translation works fine.  The problem occurs when
> >  providing concurrent multicast service.  I'm using mrouted
> >  version 3.9-beta3 and tunneling multicast control traffic
> >  in addition to multicast data.
> >  
> >  I can run an sdr session on the back-end LAN host while
> >  running mrouted and natd and receive session advertisements.
> >  However, when I join a multicast session, my router's kernel
> >  panics with a page fault somewhere in the div_input function
> >  of /sys/netinet/ip_divert.c.  div_input is called by
> >  ip_output.
> >  
> Could you please provide a backtrace of the kernel panic?

From DDB:

Fault trap 12: page_fauilt while in kernel mode
fault virtual address      = 0xefc00020
fault code                 = supervisor read, page not present
instruction pointer        = 0x8: 0xc01b0592
stack pointer              = 0x10: 0xc4522dec
frame pointer              = 0x10: 0xc4522df4
code segment               = base 0x0, limit 0xfffff, type 0x1b
                           = DPL 0, pres 1, def32 1, gran 1
processor flags            = interrupt enabled, resume, IOPL=0
current process            = 210 (setiathome)
interrupt mask             = 0

Kernel: type 12 trap, code = 0
    Stopped at    div_input+0xca:  movswl 0x22(%edx),%eax at div_input+0xca

>trace

div_input (0xc05aeb00, c02d69cc, c05aeb00, c0020000) at div_input+0xca
ip_output (c05aeb00, 0, c02d69f4, 1, 0) at ip_output+0x46f
tbf_send_packet (c02d69cc, c05aeb00, c02d69cc, 50, c05d09b0) at 
tbf_send_packet+0x2b
encap_end (c05d09b0, c02d69cc, c05d0980, c08ed380, c05d09b0) at encap_end+0x107
ip_mdq (c05d0980, c02eb52c, c08ed380, ffff, c0020000) at ip_mdq+0x292
X_ip_mforward (c05d0980, c02eb52c, c05d0980, 0) at X_ip_mforward+0x20d
ip_input (c05d0980) at ip_input+0x2ff
ipintr (c0230c03, 0, c4520027, 8de0027, 200) at ip_intr+0x4b
swi_next_set() at swi_net_next

> 

Thanks,
George Uhl



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




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