From cjm@satanii.enemy.org  Tue Oct 15 05:17:53 2002
Return-Path: <cjm@satanii.enemy.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 3B6D137B401
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 15 Oct 2002 05:17:53 -0700 (PDT)
Received: from lyra.enemy.org (lyra.enemy.org [62.116.11.42])
	by mx1.FreeBSD.org (Postfix) with SMTP id 1B07C43E91
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 15 Oct 2002 05:17:52 -0700 (PDT)
	(envelope-from cjm@satanii.enemy.org)
Received: (qmail 29608 invoked from network); 15 Oct 2002 11:51:43 -0000
Received: from unknown (HELO satanii.enemy.org) (62.116.11.3)
  by lyra.enemy.org with SMTP; 15 Oct 2002 11:51:43 -0000
Received: from satanii.enemy.org (localhost [127.0.0.1])
	by satanii.enemy.org (8.12.6/8.12.6) with ESMTP id g9FBp9ou000977;
	Tue, 15 Oct 2002 13:51:10 +0200 (CEST)
	(envelope-from cjm@satanii.enemy.org)
Received: (from cjm@localhost)
	by satanii.enemy.org (8.12.6/8.12.6/Submit) id g9FBp8pl000976;
	Tue, 15 Oct 2002 13:51:08 +0200 (CEST)
Message-Id: <200210151151.g9FBp8pl000976@satanii.enemy.org>
Date: Tue, 15 Oct 2002 13:51:08 +0200 (CEST)
From: "Chris J. Mutter" <cjm@s2.enemy.org>
Reply-To: "Chris J. Mutter" <cjm@s2.enemy.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: cl@sil.at
Subject: fatal kernel trap when ifconfig a inet6 interface
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         44087
>Category:       kern
>Synopsis:       [panic] fatal kernel trap when ifconfig(8) on inet6 interface
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 15 05:20:01 PDT 2002
>Closed-Date:    Sat Oct 29 16:34:55 GMT 2005
>Last-Modified:  Sat Oct 29 16:34:55 GMT 2005
>Originator:     Chris J. Mutter
>Release:        FreeBSD 4.7-RELEASE alpha
>Organization:
Enemy.ORG Productions
>Environment:
System: FreeBSD satanii.enemy.org 4.7-RELEASE FreeBSD 4.7-RELEASE #3: Sun Oct 13 23:53:31 CEST 2002 root@satanii.enemy.org:/usr/src/sys/compile/S2 alpha

machine is:

AlphaServer 400 4/60, 166MHz
8192 byte page size, 1 processor.
CPU: EV4 (21064) major=2 minor=0
OSF PAL rev: 0x100000002012e

>Description:

doing following on a 4.7R box:

# /sbin/ifconfig rl0 2001:858:101::3 prefixlen 64

resulted in:

fatal kernel trap:

    trap entry = 0x2 (memory management fault)
    a0         = 0x0
    a1         = 0x1
    a2         = 0xffffffffffffffff
    pc         = 0x0
    ra         = 0xfffffc0000363f88
    curproc    = 0xfffffe001078b540
        pid = 52311, comm = ifconfig

panic: trap

syncing disks... 7 
done
Uptime: 1d12h39m39s

im sorry but i have no gdb in the kernel as its a production shellbox
and i just wanted to enable IPv6 with upgrading to 4.7R. i have 4.7R
running on a i386 workstation on the same subnet and same command
worked there flawless with 2001:858:101::2. so it makes me think this
is a 64bit/kernel problem on alpha. interesting thing here is that the
autoconfig of the interface during bootup gives:

# ifconfig rl0
rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 62.116.11.3 netmask 0xfffffff8 broadcast 62.116.11.7
        inet6 fe80::200:b4ff:feaa:a14c%rl0 prefixlen 64 scopeid 0x1 
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        ether 00:00:b4:aa:a1:4c
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active

so the interface itself seems to be able to talk inet6.

>How-To-Repeat:

didnt try but i guess "ifconfig" wo crash the box a second time. 
(cannot test as i have no test box running 4.7/alpha)

>Fix:
>Release-Note:
>Audit-Trail:

From: "Chris J. Mutter" <cjm@s2.enemy.org>
To: FreeBSD-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: kern/44087: fatal kernel trap when ifconfig a inet6 interface 
Date: Fri, 18 Oct 2002 00:47:26 +0200

 sorry it was my mistake.
 checked the startup scripts and it seemed that the
 
 "ifconfig rl0 rl0 2001:858:101::3 prefixlen 64" 
 
 killed the box. well it should also not lead to a kernel
 trap. please could anybody verify this problem on a alpha?
 
 -cjm
 
State-Changed-From-To: open->feedback 
State-Changed-By: linimon 
State-Changed-When: Fri Oct 28 21:51:34 GMT 2005 
State-Changed-Why:  
Is this still a problem with modern versions of FreeBSD? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=44087 
State-Changed-From-To: feedback->closed 
State-Changed-By: linimon 
State-Changed-When: Sat Oct 29 16:34:38 GMT 2005 
State-Changed-Why:  
Submitter notes that the problem went away in 4.9. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=44087 
>Unformatted:
