OPNsense Forum

Archive => 17.7 Legacy Series => Topic started by: mgerlach_itss on August 05, 2017, 06:09:51 pm

Title: Kernel crash after upgrade to 17.7
Post by: mgerlach_itss on August 05, 2017, 06:09:51 pm
Hello,

After updating to 17.7 the OPNSENSE crashes directly after the "Configuring firewall" appears in the console.
The message is "Fatal trap 12 page fault while in kernel mode". (See also attached pictures).
When I select old kernel in the boot menu however everything works fine.

I am using the 64bit version.
Hardware: Intel Atom D525.

How can I fix this?

Regards,
mg

Title: Re: Kernel crash after upgrade to 17.7
Post by: franco on August 06, 2017, 12:05:12 am
You can boot the old kernel from the boot menu, just have to switch it.

It shouldn't crash, it's the same kernel as 17.1 basically... I can only imagine the disk write was faulty.

What is your config? Are you using LAGG by any chance?
Title: Re: Kernel crash after upgrade to 17.7
Post by: mgerlach_itss on August 06, 2017, 02:20:22 pm
It works with the old kernel.
I am not using LAGG. But I don't think it is a faulty disk write because the problem also occurs when I boot from a USB stick and import the configuration.

Anything I could do to track down the problem?
Title: Re: Kernel crash after upgrade to 17.7
Post by: franco on August 06, 2017, 08:06:49 pm
Hm, do you have a PPPoE connection?

Did you use the 17.7-RC or did you come from 17.1.11?


Cheers,
Franco
Title: Re: Kernel crash after upgrade to 17.7
Post by: franco on August 06, 2017, 08:12:04 pm
Or maybe IPsec?

It could also be a reconfigure race based on slightly adapted interface / firewall configuration code.
Title: Re: Kernel crash after upgrade to 17.7
Post by: odites999 on August 07, 2017, 09:10:15 am
Hello:

I have exactly the same problem. 64 bit version. J1900 motherboard in my case. No need to reload old configuration. With live version I set up a pppoe connection (through vlan 6, in my case) and inmediately crashes.

Title: Re: Kernel crash after upgrade to 17.7
Post by: franco on August 07, 2017, 10:08:15 am
Thanks, I'll try to reproduce!
Title: Re: Kernel crash after upgrade to 17.7
Post by: franco on August 10, 2017, 03:54:03 pm
Posting here too, please try if this patch helps.

https://github.com/opnsense/core/commit/065244ed

Apply with:

opnsense-patch 065244ed

Apply again to revert.


Cheers,
Franco
Title: Re: Kernel crash after upgrade to 17.7
Post by: odites999 on August 11, 2017, 05:34:49 pm
I assume the patch command needs a working internet connection to be downloaded and applied. That connection, in my case, is PPPOE based. But every time I try to establish it, it crashes. I'm wrong?

Regards,
Title: Re: Kernel crash after upgrade to 17.7
Post by: jwe on August 15, 2017, 11:00:34 pm
Just in case it is the really same problem,
i found a possible solution in my thread: https://forum.opnsense.org/index.php?topic=5697.0
Title: Re: Kernel crash after upgrade to 17.7
Post by: franco on August 16, 2017, 07:46:27 am
Hi,

Yes, a connection is needed. We can also try a modified image to see if we can find the source of the problem. It  looks like a dormant problem in the operating system code that we now trigger with our modified interface configuration code.

See the thread that jwe posted, the details are in there.


Thanks,
Franco