From owner-freebsd-current@FreeBSD.ORG Tue Jan 10 09:59:48 2006 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C6CBC16A41F for ; Tue, 10 Jan 2006 09:59:48 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (cell.sick.ru [217.72.144.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0542843D45 for ; Tue, 10 Jan 2006 09:59:47 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.13.3/8.13.3) with ESMTP id k0A9xWFA037049 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 10 Jan 2006 12:59:32 +0300 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.sick.ru (8.13.3/8.13.1/Submit) id k0A9xR3T037048; Tue, 10 Jan 2006 12:59:27 +0300 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.sick.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Tue, 10 Jan 2006 12:59:26 +0300 From: Gleb Smirnoff To: Goran Gajic Message-ID: <20060110095926.GE87430@FreeBSD.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.6i Cc: freebsd-current@FreeBSD.org Subject: Re: 7.0-CURRENT ppp related panic X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jan 2006 09:59:48 -0000 On Sat, Jan 07, 2006 at 01:42:29PM +0100, Goran Gajic wrote: G> I have managed to trigger two panics by doing ifconfig ppp0 destroy while G> ppp was running. Kernel ppp(4) is known to have problems. At least there are problems with interaction of Giant-locked tty layer and Giant-less network layer. I'd recommend you to use user-level ppp(8), or mpd, which routes traffic through kernel ng_ppp(4). G> #7 0xffffffff805af8eb in calltrap () at G> ../../../amd64/amd64/exception.S:168 G> #8 0xffffffff8043fc90 in m_freem (mb=0xdeadc0dedeadc0de) at mbuf.h:447 G> #9 0xffffffff804873b6 in pppasyncrelinq (sc=0xffffff003d872400) G> at ../../../net/ppp_tty.c:270 G> #10 0xffffffff80487457 in pppclose (tp=0xffffff003cd98850, flag=669686832) G> at ../../../net/ppp_tty.c:252 G> #11 0xffffffff80438ad5 in ttioctl (tp=0xffffff003cd98800, cmd=2147775515, G> data=0xffffff003cdc7780, flag=3) at linedisc.h:93 G> #12 0xffffffff8043ac53 in ttyioctl (dev=0xdeadc0dedeadc0de, cmd=2147775515, G> data=0xffffff003cdc7780 "", flag=3, td=0xfffffffd) G> at ../../../kern/tty.c:3224 G> #13 0xffffffff803cec85 in giant_ioctl (dev=0xffffff003cda5600, G> cmd=2147775515, data=0xffffff003cdc7780 "", fflag=3, G> td=0xffffff0027ea9c30) at ../../../kern/kern_conf.c:288 G> #14 0xffffffff8039d6ff in devfs_ioctl_f (fp=0xffffff0030bfc870, G> com=2147775515, data=0xffffffff8083f340, cred=0x26e, G> td=0xffffff0027ea9c30) at ../../../fs/devfs/devfs_vnops.c:407 G> #15 0xffffffff80429837 in ioctl (td=0xffffff0027ea9c30, G> uap=0xffffffffa7e71c00) at file.h:259 G> #16 0xffffffff805c3cf7 in syscall (frame= G> {tf_rdi = 5, tf_rsi = 2147775515, tf_rdx = 5347264, tf_rcx = G> 34374038268, G> tf_r8 = -2140497280, tf_r9 = 140737488349784, tf_rax = 54, tf_rbx = 5, G> tf_rbp = G> 0, tf_r10 = 1, tf_r11 = 582, tf_r12 = 1500, tf_r13 = 0, tf_r14 = G> 34375374336, tf G> _r15 = 0, tf_trapno = 12, tf_addr = 5347268, tf_flags = 12, tf_err = 2, G> tf_rip = G> 34374100300, tf_cs = 43, tf_rflags = 582, tf_rsp = 140737488349784, tf_ss G> = 35} G> ) at ../../../amd64/amd64/trap.c:821 G> #17 0xffffffff805afa88 in Xfast_syscall () G> at ../../../amd64/amd64/exception.S:270 G> #18 0x0000000800db254c in ?? () -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE