Re: 7.1.0 kernel crash on FreeBSD r12.0
Roy Marples
Wed Jan 23 19:36:06 2019
On 23/01/2019 19:34, Athan Papadimitriou wrote:
Στις Τετ, 23 Ιαν 2019 στις 21:26 ο χρήστης Roy Marples <roy@xxxxxxxxxxxx
<mailto:roy@xxxxxxxxxxxx>> έγραψε:
On 23/01/2019 18:45, Athan Papadimitriou wrote:
> On Wed, Jan 23, 2019 at 3:49 PM Roy Marples <roy@xxxxxxxxxxxx
<mailto:roy@xxxxxxxxxxxx>
> <mailto:roy@xxxxxxxxxxxx <mailto:roy@xxxxxxxxxxxx>>> wrote:
> Can you try this patch please?
> diff --git a/src/if-bsd.c b/src/if-bsd.c
> index a5338624..820ecc9c 100644
> --- a/src/if-bsd.c
> +++ b/src/if-bsd.c
> @@ -501,7 +501,7 @@ if_route(unsigned char cmd, const struct
rt *rt)
> !sa_is_loopback(&rt->rt_gateway))
> {
> rtm->rtm_index = (unsigned
> short)rt->rt_ifp->index;
> -#ifdef __OpenBSD__
> +#if defined(__OpenBSD__) || defined(__FreeBSD__)
> if (!gateway_unspec ||
> rt->rt_dest.sa_family!=AF_INET6)
> #endif
> rtm->rtm_addrs |= RTA_IFP;
>
> Roy
>
>
> It works! Well done Roy!
>
> I will have it running for awhile and keep you informed if
another issue
> arise...
Could you please post a full debug log so we can see if it's a
dhcpcd or
FreeBSD error please? I suspect FreeBSD.
Add this to /etc/dhcpcd.conf
debug
logfile /var/log/dhcpcd.log
Restart dhcpcd, wait for it to finish and then post the logfile here.
Roy
Just to clarify do you mean a debug log of the original dhcpcd, before
patching or after that?
Patched working dhcpcd-7.1.0 please.
Roy
Archive administrator: postmaster@marples.name