OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 17.7 Legacy Series »
  • Kernel crash after upgrade to 17.7
« previous next »
  • Print
Pages: [1]

Author Topic: Kernel crash after upgrade to 17.7  (Read 5269 times)

mgerlach_itss

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Kernel crash after upgrade to 17.7
« 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

Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13624
  • Karma: 1172
    • View Profile
Re: Kernel crash after upgrade to 17.7
« Reply #1 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?
Logged

mgerlach_itss

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: Kernel crash after upgrade to 17.7
« Reply #2 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?
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13624
  • Karma: 1172
    • View Profile
Re: Kernel crash after upgrade to 17.7
« Reply #3 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
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13624
  • Karma: 1172
    • View Profile
Re: Kernel crash after upgrade to 17.7
« Reply #4 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.
Logged

odites999

  • Newbie
  • *
  • Posts: 33
  • Karma: 4
    • View Profile
Re: Kernel crash after upgrade to 17.7
« Reply #5 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.

Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13624
  • Karma: 1172
    • View Profile
Re: Kernel crash after upgrade to 17.7
« Reply #6 on: August 07, 2017, 10:08:15 am »
Thanks, I'll try to reproduce!
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13624
  • Karma: 1172
    • View Profile
Re: Kernel crash after upgrade to 17.7
« Reply #7 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
Logged

odites999

  • Newbie
  • *
  • Posts: 33
  • Karma: 4
    • View Profile
Re: Kernel crash after upgrade to 17.7
« Reply #8 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,
Logged

jwe

  • Newbie
  • *
  • Posts: 30
  • Karma: 4
    • View Profile
Re: Kernel crash after upgrade to 17.7
« Reply #9 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
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13624
  • Karma: 1172
    • View Profile
Re: Kernel crash after upgrade to 17.7
« Reply #10 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
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 17.7 Legacy Series »
  • Kernel crash after upgrade to 17.7
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2