CURRENT + amd64 + user-ppp = panic

Boris Samorodov bsam at ipt.ru
Wed Nov 2 22:35:32 PST 2005


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


More information about the freebsd-current mailing list