Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Nov 2005 11:40:45 +0600
From:      Victor Snezhko <snezhko@indorsoft.ru>
To:        freebsd-current@freebsd.org
Cc:        Max Laier <max@love2party.net>
Subject:   Re: CURRENT + amd64 + user-ppp = panic
Message-ID:  <u1x1ycmqq.fsf@indorsoft.ru>
In-Reply-To: <20051103020404.J85422@kushnir1.kiev.ua> (Vladimir Kushnir's message of "Thu, 3 Nov 2005 02:08:51 %2B0200 (EET)")
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>

next in thread | previous in thread | raw e-mail | index | archive | help
Vladimir Kushnir <vkushnir@i.kiev.ua> writes:

> On Thu, 3 Nov 2005, Max Laier wrote:
>
>>>
>>> Here it is: right before panic it prints
>>>
>>> For 0xffffff0017531100 -1 ticks
>>> For 0xffffff0017531100 -1 ticks
>>
>> This results in two consecutive callout_stop() calls, but shouldn't hurt as
>> callout_stop is protected against that.
>>
>> Do you get a dump for this?  Can you compare this pointer to the global
>> llinfo_nd6 and see if "c" from the softclock() frame is related (or
>> maybe the previous item in the list TAILQ).

> Sorry I'm not very goot at debugging. Would you please give me some
> instructions (lamer's level, preferably :-)). And anyway I'll be able
> to do it tomorrow only.

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?

E.g, how can I know uptime from the kernel mode?

-- 
WBR, Victor V. Snezhko
EMail: snezhko@indorsoft.ru





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