Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jan 2006 12:59:26 +0300
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        Goran Gajic <ggajic@afrodita.rcub.bg.ac.yu>
Cc:        freebsd-current@FreeBSD.org
Subject:   Re: 7.0-CURRENT ppp related panic
Message-ID:  <20060110095926.GE87430@FreeBSD.org>
In-Reply-To: <Pine.LNX.4.63.0601071339370.24791@afrodita.rcub.bg.ac.yu>
References:  <Pine.LNX.4.63.0601071339370.24791@afrodita.rcub.bg.ac.yu>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060110095926.GE87430>