Re: CURRENT + amd64 + user-ppp = panic

From: Boris Samorodov <bsam_at_ipt.ru>
Date: Thu, 03 Nov 2005 09:34:18 +0300
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
Received on Thu Nov 03 2005 - 05:35:32 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:47 UTC