OPNsense Forum

Archive => 21.7 Legacy Series => Topic started by: lrosenman on November 08, 2021, 03:52:32 PM

Title: dhcp6c crashing on Signal 10
Post by: lrosenman on November 08, 2021, 03:52:32 PM
It says it made a core dump, but I don't see one.  Anyone else seeing this?
Title: Re: dhcp6c crashing on Signal 10
Post by: lrosenman on November 08, 2021, 04:34:29 PM
It seems(?) to be related to renew, and on ATT Fiber if that helps any.
Title: Re: dhcp6c crashing on Signal 10
Post by: lrosenman on November 08, 2021, 09:58:02 PM
Does anyone have any clues at all on this?  How can I get stuff to help get it diagnosed and hopefully fixed?
Title: Re: dhcp6c crashing on Signal 10
Post by: marjohn56 on November 08, 2021, 10:40:51 PM
No other reports of this AFAIK. Firstly, can you set log level to debug for dhcp6c. If there's a core dump, I think it ends up in root, but I may be wrong.
Title: Re: dhcp6c crashing on Signal 10
Post by: benyamin on November 08, 2021, 10:59:24 PM
Just once, or is it a repeat offender...?
Title: Re: dhcp6c crashing on Signal 10
Post by: lrosenman on November 08, 2021, 11:01:11 PM
repeat offender on a regular basis.  Where do I set the debug level for dhcp6c?
Title: Re: dhcp6c crashing on Signal 10
Post by: benyamin on November 08, 2021, 11:21:36 PM
Hopefully this isn't due to comments or invisible white space in that override script...!

Not sure about setting debug level. @marjohn56 would know better.

Perhaps you could run it from the console shell in debug and foreground modes...

Wish I could help more but offline for next several hours... 8^d
Title: Re: dhcp6c crashing on Signal 10
Post by: lrosenman on November 08, 2021, 11:27:01 PM
i found the core.  I just had a system panic, which I dutifully sent to the developers.  We'll see if the dhcp6c stuff calms down. 

Where can I get the symbols for dhcp6c?
Title: Re: dhcp6c crashing on Signal 10
Post by: lrosenman on November 08, 2021, 11:29:46 PM
I also have the level set to debug on the interfaces -> Settings page.  Any help is appreciated.  Also more than happy to arrange access. (It's my home FW).
Title: Re: dhcp6c crashing on Signal 10
Post by: marjohn56 on November 09, 2021, 12:11:44 AM
Quote from: lrosenman on November 08, 2021, 11:27:01 PM
i found the core.  I just had a system panic, which I dutifully sent to the developers.  We'll see if the dhcp6c stuff calms down. 

Where can I get the symbols for dhcp6c?


Interfaces->Settings to set the logging level.

Title: Re: dhcp6c crashing on Signal 10
Post by: lrosenman on November 09, 2021, 12:13:30 AM
Quote from: marjohn56 on November 09, 2021, 12:11:44 AM
Quote from: lrosenman on November 08, 2021, 11:27:01 PM
i found the core.  I just had a system panic, which I dutifully sent to the developers.  We'll see if the dhcp6c stuff calms down. 

Where can I get the symbols for dhcp6c?


Interfaces->Settings to set the logging level.

Yes, it's at debug.  What can I offer to help here? 
Title: Re: dhcp6c crashing on Signal 10
Post by: lrosenman on November 09, 2021, 03:15:02 AM
so far, post-panic, It's been stable.  We'll see.
Title: Re: dhcp6c crashing on Signal 10
Post by: lrosenman on November 09, 2021, 04:09:39 PM
still been stable. 
Title: Re: dhcp6c crashing on Signal 10
Post by: marjohn56 on November 09, 2021, 05:51:12 PM
How often does your lease renew?
Title: Re: dhcp6c crashing on Signal 10
Post by: lrosenman on November 09, 2021, 05:59:22 PM
looks like 30 minutes from the log....
Quotesystem_20211109.log:Nov  9 08:16:18 home-fw.lerctr.org dhcp6c[27804]: send renew to ff02::1:2%em4
system_20211109.log:Nov  9 08:16:18 home-fw.lerctr.org dhcp6c[27804]: reset a timer on em4, state=RENEW, timeo=0, retrans=9659
system_20211109.log:Nov  9 08:16:18 home-fw.lerctr.org dhcp6c[27804]: send renew to ff02::1:2%em4
system_20211109.log:Nov  9 08:16:18 home-fw.lerctr.org dhcp6c[47239]: dhcp6c RENEW on em4
system_20211109.log:Nov  9 08:16:18 home-fw.lerctr.org dhcp6c[27804]: removing an event on em4, state=RENEW
system_20211109.log:Nov  9 08:16:18 home-fw.lerctr.org dhcp6c[27804]: reset a timer on em4, state=RENEW, timeo=0, retrans=10849
system_20211109.log:Nov  9 08:16:18 home-fw.lerctr.org dhcp6c[27804]: send renew to ff02::1:2%em4
system_20211109.log:Nov  9 08:16:18 home-fw.lerctr.org dhcp6c[55768]: dhcp6c RENEW on em4
system_20211109.log:Nov  9 08:16:18 home-fw.lerctr.org dhcp6c[27804]: removing an event on em4, state=RENEW
system_20211109.log:Nov  9 08:16:18 home-fw.lerctr.org dhcp6c[59832]: dhcp6c RENEW on em4
system_20211109.log:Nov  9 08:16:18 home-fw.lerctr.org dhcp6c[27804]: removing an event on em4, state=RENEW
system_20211109.log:Nov  9 08:16:18 home-fw.lerctr.org dhcp6c[27804]: reset a timer on em4, state=RENEW, timeo=0, retrans=9551
system_20211109.log:Nov  9 08:16:18 home-fw.lerctr.org dhcp6c[27804]: send renew to ff02::1:2%em4
system_20211109.log:Nov  9 08:16:18 home-fw.lerctr.org dhcp6c[74514]: dhcp6c RENEW on em4
system_20211109.log:Nov  9 08:16:18 home-fw.lerctr.org dhcp6c[27804]: removing an event on em4, state=RENEW
system_20211109.log:Nov  9 08:16:18 home-fw.lerctr.org dhcp6c[27804]: reset a timer on em4, state=RENEW, timeo=0, retrans=10979
system_20211109.log:Nov  9 08:16:18 home-fw.lerctr.org dhcp6c[27804]: send renew to ff02::1:2%em4
system_20211109.log:Nov  9 08:16:18 home-fw.lerctr.org dhcp6c[85594]: dhcp6c RENEW on em4
system_20211109.log:Nov  9 08:16:18 home-fw.lerctr.org dhcp6c[27804]: removing an event on em4, state=RENEW
system_20211109.log:Nov  9 08:16:18 home-fw.lerctr.org dhcp6c[27804]: reset a timer on em4, state=RENEW, timeo=0, retrans=9191
system_20211109.log:Nov  9 08:16:18 home-fw.lerctr.org dhcp6c[27804]: send renew to ff02::1:2%em4
system_20211109.log:Nov  9 08:16:18 home-fw.lerctr.org dhcp6c[27804]: reset a timer on em4, state=RENEW, timeo=0, retrans=10458
system_20211109.log:Nov  9 08:16:18 home-fw.lerctr.org dhcp6c[27804]: send renew to ff02::1:2%em4
system_20211109.log:Nov  9 08:16:18 home-fw.lerctr.org dhcp6c[95736]: dhcp6c RENEW on em4
system_20211109.log:Nov  9 08:16:18 home-fw.lerctr.org dhcp6c[27804]: removing an event on em4, state=RENEW
system_20211109.log:Nov  9 08:16:18 home-fw.lerctr.org dhcp6c[27804]: reset a timer on em4, state=RENEW, timeo=0, retrans=10401
system_20211109.log:Nov  9 08:16:18 home-fw.lerctr.org dhcp6c[27804]: send renew to ff02::1:2%em4
system_20211109.log:Nov  9 08:16:18 home-fw.lerctr.org dhcp6c[7175]: dhcp6c RENEW on em4
system_20211109.log:Nov  9 08:16:18 home-fw.lerctr.org dhcp6c[27804]: removing an event on em4, state=RENEW
system_20211109.log:Nov  9 08:16:18 home-fw.lerctr.org dhcp6c[10397]: dhcp6c RENEW on em4
system_20211109.log:Nov  9 08:16:18 home-fw.lerctr.org dhcp6c[27804]: removing an event on em4, state=RENEW
system_20211109.log:Nov  9 08:46:18 home-fw.lerctr.org dhcp6c[27804]: reset a timer on em4, state=RENEW, timeo=0, retrans=10957
system_20211109.log:Nov  9 08:46:18 home-fw.lerctr.org dhcp6c[27804]: send renew to ff02::1:2%em4
system_20211109.log:Nov  9 08:46:18 home-fw.lerctr.org dhcp6c[46882]: dhcp6c RENEW on em4
system_20211109.log:Nov  9 08:46:18 home-fw.lerctr.org dhcp6c[27804]: removing an event on em4, state=RENEW
system_20211109.log:Nov  9 08:46:18 home-fw.lerctr.org dhcp6c[27804]: reset a timer on em4, state=RENEW, timeo=0, retrans=9222
system_20211109.log:Nov  9 08:46:18 home-fw.lerctr.org dhcp6c[27804]: send renew to ff02::1:2%em4
system_20211109.log:Nov  9 08:46:18 home-fw.lerctr.org dhcp6c[55770]: dhcp6c RENEW on em4
system_20211109.log:Nov  9 08:46:18 home-fw.lerctr.org dhcp6c[27804]: removing an event on em4, state=RENEW
system_20211109.log:Nov  9 08:46:18 home-fw.lerctr.org dhcp6c[27804]: reset a timer on em4, state=RENEW, timeo=0, retrans=10729
system_20211109.log:Nov  9 08:46:18 home-fw.lerctr.org dhcp6c[27804]: send renew to ff02::1:2%em4
system_20211109.log:Nov  9 08:46:18 home-fw.lerctr.org dhcp6c[27804]: reset a timer on em4, state=RENEW, timeo=0, retrans=9089
system_20211109.log:Nov  9 08:46:18 home-fw.lerctr.org dhcp6c[27804]: send renew to ff02::1:2%em4
system_20211109.log:Nov  9 08:46:18 home-fw.lerctr.org dhcp6c[75038]: dhcp6c RENEW on em4
system_20211109.log:Nov  9 08:46:18 home-fw.lerctr.org dhcp6c[27804]: removing an event on em4, state=RENEW
system_20211109.log:Nov  9 08:46:18 home-fw.lerctr.org dhcp6c[27804]: reset a timer on em4, state=RENEW, timeo=0, retrans=10426
system_20211109.log:Nov  9 08:46:18 home-fw.lerctr.org dhcp6c[27804]: send renew to ff02::1:2%em4
system_20211109.log:Nov  9 08:46:18 home-fw.lerctr.org dhcp6c[80741]: dhcp6c RENEW on em4
system_20211109.log:Nov  9 08:46:18 home-fw.lerctr.org dhcp6c[27804]: removing an event on em4, state=RENEW
system_20211109.log:Nov  9 08:46:18 home-fw.lerctr.org dhcp6c[96680]: dhcp6c RENEW on em4
system_20211109.log:Nov  9 08:46:18 home-fw.lerctr.org dhcp6c[27804]: removing an event on em4, state=RENEW
system_20211109.log:Nov  9 08:46:18 home-fw.lerctr.org dhcp6c[27804]: reset a timer on em4, state=RENEW, timeo=0, retrans=10906
system_20211109.log:Nov  9 08:46:18 home-fw.lerctr.org dhcp6c[27804]: send renew to ff02::1:2%em4
system_20211109.log:Nov  9 08:46:18 home-fw.lerctr.org dhcp6c[1957]: dhcp6c RENEW on em4
system_20211109.log:Nov  9 08:46:18 home-fw.lerctr.org dhcp6c[27804]: removing an event on em4, state=RENEW
system_20211109.log:Nov  9 08:46:18 home-fw.lerctr.org dhcp6c[27804]: reset a timer on em4, state=RENEW, timeo=0, retrans=9469
system_20211109.log:Nov  9 08:46:18 home-fw.lerctr.org dhcp6c[27804]: send renew to ff02::1:2%em4
system_20211109.log:Nov  9 08:46:18 home-fw.lerctr.org dhcp6c[27804]: reset a timer on em4, state=RENEW, timeo=0, retrans=10020
system_20211109.log:Nov  9 08:46:18 home-fw.lerctr.org dhcp6c[27804]: send renew to ff02::1:2%em4
system_20211109.log:Nov  9 08:46:18 home-fw.lerctr.org dhcp6c[5194]: dhcp6c RENEW on em4
system_20211109.log:Nov  9 08:46:18 home-fw.lerctr.org dhcp6c[27804]: removing an event on em4, state=RENEW
system_20211109.log:Nov  9 08:46:18 home-fw.lerctr.org dhcp6c[27804]: reset a timer on em4, state=RENEW, timeo=0, retrans=10889
system_20211109.log:Nov  9 08:46:18 home-fw.lerctr.org dhcp6c[27804]: send renew to ff02::1:2%em4
system_20211109.log:Nov  9 08:46:18 home-fw.lerctr.org dhcp6c[18453]: dhcp6c RENEW on em4
system_20211109.log:Nov  9 08:46:18 home-fw.lerctr.org dhcp6c[27804]: removing an event on em4, state=RENEW
system_20211109.log:Nov  9 08:46:18 home-fw.lerctr.org dhcp6c[30103]: dhcp6c RENEW on em4
system_20211109.log:Nov  9 08:46:18 home-fw.lerctr.org dhcp6c[27804]: removing an event on em4, state=RENEW
system_20211109.log:Nov  9 09:16:18 home-fw.lerctr.org dhcp6c[27804]: reset a timer on em4, state=RENEW, timeo=0, retrans=10454
system_20211109.log:Nov  9 09:16:18 home-fw.lerctr.org dhcp6c[27804]: send renew to ff02::1:2%em4
system_20211109.log:Nov  9 09:16:18 home-fw.lerctr.org dhcp6c[28083]: dhcp6c RENEW on em4
system_20211109.log:Nov  9 09:16:18 home-fw.lerctr.org dhcp6c[27804]: removing an event on em4, state=RENEW
system_20211109.log:Nov  9 09:16:18 home-fw.lerctr.org dhcp6c[27804]: reset a timer on em4, state=RENEW, timeo=0, retrans=9891
system_20211109.log:Nov  9 09:16:18 home-fw.lerctr.org dhcp6c[27804]: send renew to ff02::1:2%em4
system_20211109.log:Nov  9 09:16:18 home-fw.lerctr.org dhcp6c[27804]: reset a timer on em4, state=RENEW, timeo=0, retrans=9738
system_20211109.log:Nov  9 09:16:18 home-fw.lerctr.org dhcp6c[27804]: send renew to ff02::1:2%em4
system_20211109.log:Nov  9 09:16:18 home-fw.lerctr.org dhcp6c[38185]: dhcp6c RENEW on em4
system_20211109.log:Nov  9 09:16:18 home-fw.lerctr.org dhcp6c[27804]: removing an event on em4, state=RENEW
system_20211109.log:Nov  9 09:16:18 home-fw.lerctr.org dhcp6c[27804]: reset a timer on em4, state=RENEW, timeo=0, retrans=9607
system_20211109.log:Nov  9 09:16:18 home-fw.lerctr.org dhcp6c[27804]: send renew to ff02::1:2%em4
system_20211109.log:Nov  9 09:16:18 home-fw.lerctr.org dhcp6c[56501]: dhcp6c RENEW on em4
system_20211109.log:Nov  9 09:16:18 home-fw.lerctr.org dhcp6c[27804]: removing an event on em4, state=RENEW
system_20211109.log:Nov  9 09:16:18 home-fw.lerctr.org dhcp6c[27804]: reset a timer on em4, state=RENEW, timeo=0, retrans=9822
system_20211109.log:Nov  9 09:16:18 home-fw.lerctr.org dhcp6c[27804]: send renew to ff02::1:2%em4
system_20211109.log:Nov  9 09:16:18 home-fw.lerctr.org dhcp6c[60948]: dhcp6c RENEW on em4
system_20211109.log:Nov  9 09:16:18 home-fw.lerctr.org dhcp6c[27804]: removing an event on em4, state=RENEW
system_20211109.log:Nov  9 09:16:18 home-fw.lerctr.org dhcp6c[69254]: dhcp6c RENEW on em4
system_20211109.log:Nov  9 09:16:18 home-fw.lerctr.org dhcp6c[27804]: removing an event on em4, state=RENEW
system_20211109.log:Nov  9 09:16:18 home-fw.lerctr.org dhcp6c[27804]: reset a timer on em4, state=RENEW, timeo=0, retrans=10363
system_20211109.log:Nov  9 09:16:18 home-fw.lerctr.org dhcp6c[27804]: send renew to ff02::1:2%em4
system_20211109.log:Nov  9 09:16:18 home-fw.lerctr.org dhcp6c[84442]: dhcp6c RENEW on em4
system_20211109.log:Nov  9 09:16:18 home-fw.lerctr.org dhcp6c[27804]: removing an event on em4, state=RENEW
system_20211109.log:Nov  9 09:16:18 home-fw.lerctr.org dhcp6c[27804]: reset a timer on em4, state=RENEW, timeo=0, retrans=10568
system_20211109.log:Nov  9 09:16:18 home-fw.lerctr.org dhcp6c[27804]: send renew to ff02::1:2%em4
system_20211109.log:Nov  9 09:16:18 home-fw.lerctr.org dhcp6c[27804]: reset a timer on em4, state=RENEW, timeo=0, retrans=9394
system_20211109.log:Nov  9 09:16:18 home-fw.lerctr.org dhcp6c[27804]: send renew to ff02::1:2%em4
system_20211109.log:Nov  9 09:16:18 home-fw.lerctr.org dhcp6c[93877]: dhcp6c RENEW on em4
Title: Re: dhcp6c crashing on Signal 10
Post by: marjohn56 on November 09, 2021, 06:03:15 PM
ISP being a silly bugger then.. should really be no less than 24 hours, preferably 7 days, there's not exactly a shortage of v6 addresses!
I think your dhcp6c just had a random moment.
Title: Re: dhcp6c crashing on Signal 10
Post by: lrosenman on November 09, 2021, 06:09:15 PM
Nothing from ATT surprises me :).

Would RADVD parameters have anything to do with this?

I have my Att RG in passthrough mode, and that lease is 1day+10 minutes, but I'm not sure how to find out if ATT is being stupid here.
Title: Re: dhcp6c crashing on Signal 10
Post by: marjohn56 on November 09, 2021, 06:16:58 PM
To be honest, as you are over on that side of the pond, I'd be tempted to use a Hurricane Electric tunnel. Free and a static /48. Plus you can also freely edit the DNS records too. I have dhcpv6 on my system, if it was not for the fact that the PC's think they are in New York ( as that's where the HE Tunnel addresses are ) then I'd go with it. I had to use it for a short while when I changed to the ISP I am now using as they had an issue with IPv6 on my circuit. Speed etc were first class.


As a side noe, my lease time is 48 hours, but they are pretty sticky too, so chances of it changing are remote.
Title: Re: dhcp6c crashing on Signal 10
Post by: lrosenman on November 09, 2021, 06:21:50 PM
I'm not sure ATT's network will ALLOW an HE.NET tunnel, plus this is native IPv6.  I'll watch it for a while.

I'd still like to know what dhcp6c was doing to get the SIGBUS. 

Does OPNSENSE publish the debug files?
Title: Re: dhcp6c crashing on Signal 10
Post by: marjohn56 on November 09, 2021, 06:24:42 PM
No they don't publish the files, the source is there for you to compile and do what you wish with.


Doesn't matter if it's native or not, it's just pushed through Ipv4 on the WAN. From the LAN side you cannot tell the difference.