NetBSD Problem Report #33608

From dlagno@rambler.ru  Wed May 31 08:34:43 2006
Return-Path: <dlagno@rambler.ru>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 9BAC663BAEA
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 31 May 2006 08:34:43 +0000 (UTC)
Message-Id: <200605310658.k4V6wDbn098738@maild.rambler.ru>
Date: Wed, 31 May 2006 10:55:38 +0400
From: "Denis Lagno" <dlagno@rambler.ru>
Reply-To: dlagno@rambler.ru
To: gnats-bugs@NetBSD.org
Subject: Reproducible crash in fr_ifpaddr
X-Send-Pr-Version: 3.95

>Number:         33608
>Category:       kern
>Synopsis:       establishing ppp connection twice crashes the kernel
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 31 08:35:00 +0000 2006
>Last-Modified:  Wed May 31 19:50:01 +0000 2006
>Originator:     Denis Lagno
>Release:        NetBSD 3.99.20
>Organization:
>Environment:
System: NetBSD flam.gado 3.99.20 NetBSD 3.99.20 (FLAM) #0: Tue May 30 10:31:30 MSD 2006 dina@chup.gado:/flam/volatile/worksrc/netbsd-current/src/sys/arch/i386/compile/FLAM.NG i386
Architecture: i386
Machine: i386
>Description:
When I try to establish ppp connection _second_ time, kernel crashes:

uvm_fault(0xcb6b384,0,1)->0xe
kernel: supervisor trap page fault,code=0
Stopped in pid xxxx.1 (pppd) at netbsd: fr_ifpaddr+0x36

Backtrace contains nothing more than fr_ifpaddr
>How-To-Repeat:
Run pppd twice
>Fix:
N/A

.

>Audit-Trail:
From: Quentin Garnier <cube@cubidou.net>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/33608: Reproducible crash in fr_ifpaddr
Date: Wed, 31 May 2006 12:10:21 +0200

 --h/77pM/XNBmEJr8g
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable

 On Wed, May 31, 2006 at 08:35:00AM +0000, Denis Lagno wrote:
 > >Number:         33608
 > >Category:       kern
 > >Synopsis:       establishing ppp connection twice crashes the kernel
 > >Confidential:   no
 > >Severity:       critical
 > >Priority:       medium
 > >Responsible:    kern-bug-people
 > >State:          open
 > >Class:          sw-bug
 > >Submitter-Id:   net
 > >Arrival-Date:   Wed May 31 08:35:00 +0000 2006
 > >Originator:     Denis Lagno
 > >Release:        NetBSD 3.99.20
 > >Organization:
 > >Environment:
 > System: NetBSD flam.gado 3.99.20 NetBSD 3.99.20 (FLAM) #0: Tue May 30 10:=
 31:30 MSD 2006 dina@chup.gado:/flam/volatile/worksrc/netbsd-current/src/sys=
 /arch/i386/compile/FLAM.NG i386
 > Architecture: i386
 > Machine: i386
 > >Description:
 > When I try to establish ppp connection _second_ time, kernel crashes:
 >=20
 > uvm_fault(0xcb6b384,0,1)->0xe
 > kernel: supervisor trap page fault,code=3D0
 > Stopped in pid xxxx.1 (pppd) at netbsd: fr_ifpaddr+0x36
 >=20
 > Backtrace contains nothing more than fr_ifpaddr
 > >How-To-Repeat:
 > Run pppd twice

 What are your ipf settings (fr_ifpaddr is in ipf code)?

 Does 'pppd noauth 172.16.10.1:172.16.10.2 pty "pppd notty noauth"' work?
 (It does on my system.)

 --=20
 Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
 "When I find the controls, I'll go where I like, I'll know where I want
 to be, but maybe for now I'll stay right here on a silent sea."
 KT Tunstall, Silent Sea, Eye to the Telescope, 2004.

 --h/77pM/XNBmEJr8g
 Content-Type: application/pgp-signature
 Content-Disposition: inline

 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.3 (NetBSD)

 iQEVAwUBRH1rjdgoQloHrPnoAQIg+AgAxMSLZK6IdPmAdw6evDQF+9gu6HvDN45y
 wNhRhJZSHag3s1+Ax31LwALxlyIcmkI3WNYC0jhgq03rO8L2aiMOuR3Ov6Sd+FUP
 wT6TElAKomea2VV/n7pxQeCxxF+IRy72BKk123jaLqR1SR/gwhOmSaiXgvscsqBr
 jcDCSkztPwQNENZE7NGbSGP5v6jO/cdQwz0RBfcl5q/ave39DXAGoCV4Jzog076w
 HoGhDdln6PiS/U+4lbWn1/D6Z+3lskVdeRhuTaPuGp/X24XRT0eD1EmUJJxwdgGj
 bSPMW5mGZy3D80LTeCG/Hya7a6yV07lm45+5P5oonlsvwM//TGf9kg==
 =kv2X
 -----END PGP SIGNATURE-----

 --h/77pM/XNBmEJr8g--

From: "Denis Lagno" <dlagno@rambler.ru>
To: gnats-bugs@NetBSD.org, kern-bug-people@netbsd.org,
	gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Cc: 
Subject: Re: kern/33608: Reproducible crash in fr_ifpaddr
Date: Wed, 31 May 2006 14:45:59 +0400

 On Wed, 31 May 2006 10:15:04 +0000 (UTC)
   Quentin Garnier <cube@cubidou.net> wrote:
 > What are your ipf settings (fr_ifpaddr is in ipf code)?

 my ipf settings are default.  I did not changed anything ipf-related 
 from default install.
 I have ipsec settings though.

 > Does 'pppd noauth 172.16.10.1:172.16.10.2 pty "pppd notty noauth"' 
 >work?
 > (It does on my system.)

 I'll try it later

From: "Denis Lagno" <dlagno@rambler.ru>
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@NetBSD.org, gnats-admin@NetBSD.org,
	netbsd-bugs@NetBSD.org
Subject: Re: kern/33608: Reproducible crash in fr_ifpaddr
Date: Wed, 31 May 2006 23:45:05 +0400

 >  What are your ipf settings (fr_ifpaddr is in ipf code)?
 >  Does 'pppd noauth 172.16.10.1:172.16.10.2 pty "pppd notty noauth"' work?
 >  (It does on my system.)

 Well, apparently this crash has something to do with NAT.
 I have following ipnat.conf:
 map ppp0 192.168.0.0/24 -> 0/32 proxy port ftp ftp/tcp
 map ppp0 192.168.0.0/24 -> 0/32 portmap tcp/udp 40000:60000
 map ppp0 192.168.0.0/24 -> 0/32

 executing 'pppd noauth 172.16.10.1:172.16.10.2 pty "pppd notty noauth"' works.
 Moreover after that I can pppd call my provider any number of times.
 But NAT stops functioning and even executing '/etc/rc.d/ipnat restart' does not repair NAT.

 -- denis
 .

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.