From owner-freebsd-current@FreeBSD.ORG Thu Nov 3 06:35:32 2005 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 4CBF716A41F for ; Thu, 3 Nov 2005 06:35:32 +0000 (GMT) (envelope-from bsam@bsam.ru) Received: from bsam.ru (gw.ipt.ru [80.253.10.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id D528C43D45 for ; Thu, 3 Nov 2005 06:35:28 +0000 (GMT) (envelope-from bsam@bsam.ru) Received: from bsam by bsam.ru with local (Exim 4.30; FreeBSD) id 1EXYfy-0007xg-PD; Thu, 03 Nov 2005 09:34:18 +0300 To: Victor Snezhko References: <20051027022313.R675@kushnir1.kiev.ua> <200511021035.22990.max@love2party.net> <20051103001509.C85422@kushnir1.kiev.ua> <200511030059.05946.max@love2party.net> <20051103020404.J85422@kushnir1.kiev.ua> From: Boris Samorodov Date: Thu, 03 Nov 2005 09:34:18 +0300 In-Reply-To: (Victor Snezhko's message of "Thu, 03 Nov 2005 11:40:45 +0600") Message-ID: <05980805@srv.sem.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: "Boris B. Samorodov" Cc: Max Laier , freebsd-current@freebsd.org Subject: Re: CURRENT + amd64 + user-ppp = 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: Thu, 03 Nov 2005 06:35:32 -0000 On Thu, 03 Nov 2005 11:40:45 +0600 Victor Snezhko wrote: > In the meantime, I want to debug this too. I would insert a panic() > call somewhere in the beginning of nd6_llinfo_settimer(), but there is > a problem. nd6_llinfo_settimer() is called not only when I start ppp, > but at bootup too (at bootup - once, I think that this is due to > initializing lo0 interface, which has a default ipv6 address). Could I > somehow make the kernel not panic at boot time and panic later, when I > call ppp? You may use a flag. Touch /var/run/.boot file. If the flag presents, your panic() doesn't occur. After booting remove the flag and start ppp again. > E.g, how can I know uptime from the kernel mode? WBR -- Boris B. Samorodov, Research Engineer InPharmTech Co, http://www.ipt.ru Telephone & Internet Service Provider