NetBSD Problem Report #8990

Received: (qmail 26002 invoked from network); 13 Dec 1999 23:18:22 -0000
Message-Id: <199912132318.PAA00497@sulaco.nas.nasa.gov>
Date: Mon, 13 Dec 1999 15:18:18 -0800 (PST)
From: Jason R Thorpe <thorpej@sulaco.nas.nasa.gov>
Reply-To: thorpej@sulaco.nas.nasa.gov
To: gnats-bugs@gnats.netbsd.org
Subject: IP broken after KAME update
X-Send-Pr-Version: 3.95

>Number:         8990
>Category:       kern
>Synopsis:       IP broken after KAME update
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    itojun
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 13 15:20:58 +0000 1999
>Closed-Date:    Wed Dec 15 23:58:46 +0000 1999
>Last-Modified:  Wed Dec 15 23:59:07 +0000 1999
>Originator:     
>Release:        Monday, Dec 13, 1999
>Organization:
Numerical Aerospace Simulation Facility - NASA Ames
>Environment:

System: NetBSD sulaco 1.4P NetBSD 1.4P (SULACO) #54: Tue Nov 30 19:49:17 PST 1999 thorpej@sulaco:/amd/dracul/u2/netbsd/src/sys/arch/pmax/compile/SULACO pmax


>Description:
	There is some sort of problem after the recent KAME update.

	My DECstation seemingly-randomly panics with a TLB miss, usually
	in the IPsec code, usually when starting portmap.  One such
	example:

(gdb) list *(ipsec4_getpolicybysock + 0x140)
0x80077690 is in ipsec4_getpolicybysock (../../../../netinet6/ipsec.c:275).
270                     case IPSEC_POLICY_ENTRUST:
271                         {
272                             struct secindex idx;
273     
274                             bzero(&idx, sizeof(idx));
275                             *error = ipsec_setsecidx(&idx, AF_INET, m, 1);
276                             if (*error != 0) {
277                                     *error = ENOBUFS;
278                                     return NULL;
279                             }
(gdb) 

	My AlphaStation 500, when doing a "make -j8 obj" (src/obj over
	NFS) spews:

looutput: mbuf allocation failed
looutput: mbuf allocation failed
looutput: mbuf allocation failed
looutput: mbuf allocation failed
looutput: mbuf allocation failed

	...this used to work (I do it *all* the time).

>How-To-Repeat:
	Use TCP/IP.

	Note, I was not actively using any IPv6 connections, nor am I
	currently using IPsec.
>Fix:
	Unknown.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: kern-bug-people->itojun 
Responsible-Changed-By: itojun 
Responsible-Changed-When: Mon Dec 13 16:35:32 PST 1999 
Responsible-Changed-Why:  
apparently, mine.  i'll work on it. 

From: itojun@iijlab.net
To: thorpej@sulaco.nas.nasa.gov
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: kern/8990: IP broken after KAME update 
Date: Tue, 14 Dec 1999 09:37:12 +0900

 >>Synopsis:       IP broken after KAME update

 	I have no problem with i386 box (I do not try nfs).  I'll try to
 	perform more tests on it, check for non-synchronized code between
 	my tree and repository.

 itojun
State-Changed-From-To: open->feedback 
State-Changed-By: itojun 
State-Changed-When: Tue Dec 14 23:55:30 PST 1999 
State-Changed-Why:  
fixed on i386 and mips, wait confirmation on alpha. 
State-Changed-From-To: feedback->closed 
State-Changed-By: itojun 
State-Changed-When: Wed Dec 15 15:58:46 PST 1999 
State-Changed-Why:  
fixed on alpha as well. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.