Subject: kern/19969: Lost IPv6 connectivity with gif tunnel on NetBSD-current(1.6M)
To: None <gnats-bugs@gnats.netbsd.org>
From: None <kanaoka@ann.hi-ho.ne.jp>
List: netbsd-bugs
Date: 01/20/2003 16:27:50
>Number:         19969
>Category:       kern
>Synopsis:       Lost IPv6 connectivity with gif tunnel on NetBSD-current(1.6M)
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 20 16:28:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Masanori Kanaoka
>Release:        NetBSD-current(1.6M)/i386
>Organization:
>Environment:
NetBSD idea.k.vnop.net 1.6M NetBSD 1.6M (IDEA) #2: Tue Jan 21 00:53:45 JST 2003     root@idea.k.vnop.net:/sys/arch/i386/compile/IDEA i386

>Description:
I tried NetBSD-current(1.6M)/i386.
but I have lost IPv6 connectivity to imasy.or.jp with gif tunnel.

When I do "ping6 -w ff02::1%gif0", kernel have panicked.
Log is below:(copy by hand)

idea# uname -a
NetBSD idea.k.vnop.net 1.6M NetBSD 1.6M (IDEA) #2: Tue Jan 21 00:53:45 JST 2003     root@idea.k.vnop.net:/sys/arch/i386/compile/IDEA i386

idea# ping6 -w ff02::1%gif0
PING6(72=40+8+24 bytes) fe80::200:39ff:fefa:d6d1%gif0 --> ff02::1%gif0
37 bytes from fe80::200:39ff:fefa:d6d1%gif0: idea.k.vnop.net.
37 bytes from fe80::200:39ff:fefa:d6d1%gif0: idea.k.vnop.net.
37 bytes from fe80::200:39ff:fefa:d6d1%gif0: idea.k.vnop.net.
37 bytes from fe80::200:39ff:fefa:d6d1%gif0: idea.k.vnop.net.
37 bytes from fe80::200:39ff:fefa:d6d1%gif0: idea.k.vnop.net.
kernel: page fault trap, code=0
Stop at      gif_validate4+0x1e: cmpl    %eax,  0x4(%edx)
db> tr
gif_validate4(..) at gif_validate4+0x1e
in_gif_input(..) at in_gif_input+0x40
encap4_input(..) at encap4_input+0x4b
ip_input(..) at ip_input+0x709
ipintr(..) at ipintr+0x87
Xsoftnet() at Xsoftnet+0x40
---- interrupt ---
Bad frame pointer: 0xc0794710
    0x3031:
db> 


Then I tried onetbsd(1.6L). It works fine for me.
I can get IPv6 connectivity to imasy.or.jp.

Log is below:

idea# uname -a
NetBSD idea.k.vnop.net 1.6L NetBSD 1.6L (IDEA) #0: Fri Jan 17 09:20:01 JST 2003     root@idea.k.vnop.net:/usr/src/sys/arch/i386/compile/IDEA i386

idea# ping6 -w ff02::1%gif0
PING6(72=40+8+24 bytes) fe80::200:39ff:fefa:d6d1%gif0 --> ff02::1%gif0
37 bytes from fe80::200:39ff:fefa:d6d1%gif0: idea.k.vnop.net.
40 bytes from fe80::220:edff:fe88:788c%gif0: casper.imasy.or.jp.
37 bytes from fe80::200:39ff:fefa:d6d1%gif0: idea.k.vnop.net.
40 bytes from fe80::220:edff:fe88:788c%gif0: casper.imasy.or.jp.
37 bytes from fe80::200:39ff:fefa:d6d1%gif0: idea.k.vnop.net.
40 bytes from fe80::220:edff:fe88:788c%gif0: casper.imasy.or.jp.
37 bytes from fe80::200:39ff:fefa:d6d1%gif0: idea.k.vnop.net.
40 bytes from fe80::220:edff:fe88:788c%gif0: casper.imasy.or.jp.
^C
--- ff02::1%gif0 ping6 statistics ---
4 packets transmitted, 4 packets received, +4 duplicates, 0% packet loss




>How-To-Repeat:
see above
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted: