OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 19.7 Legacy Series »
  • 19.7.7 update + vm.pmap.pti sysctl
« previous next »
  • Print
Pages: [1]

Author Topic: 19.7.7 update + vm.pmap.pti sysctl  (Read 1063 times)

tigersharke

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
19.7.7 update + vm.pmap.pti sysctl
« on: November 23, 2019, 12:32:47 am »
Hello!

Possibly I am in the minority of users who have AMD hardware, so when an update fails causing continuous reboot I may eventually remember that I need to solve it as below:

choose boot loader
set vm.pmap.pti=0
boot

After bootup, go to system > settings > tunables to re-create the line
tunable: vm.pmap.pti
description: annoying AMD unfriendly mitigation
value: 0

IMHO, it would be helpful if this mitigation did not cause trouble for processors other than intel, could processor be detected and sysctl automatically inserted as above? At the moment for me it is simply remembering the solution.
Logged

weust

  • Hero Member
  • *****
  • Posts: 640
  • Karma: 57
    • View Profile
Re: 19.7.7 update + vm.pmap.pti sysctl
« Reply #1 on: November 23, 2019, 12:05:32 pm »
Which CPU are you using? Mine is a GX-420CA SOC and no problems at all.
Logged
Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.

tigersharke

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
Re: 19.7.7 update + vm.pmap.pti sysctl
« Reply #2 on: November 24, 2019, 09:36:13 am »
It is an AMD Phenom(tm) II X4 960T.  I believe I have had the same issue with an AMD Athlon II X2 270 Regor.  However, so long as I am able to recall the sysctl to adjust, I can progress past the bump in the road and get an update just fine.
Logged

tigersharke

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
Re: 19.7.7 update + vm.pmap.pti sysctl
« Reply #3 on: January 31, 2020, 07:19:27 pm »
I am very pleased to report that my update from 19.7.x to 20.1 worked exactly as expected.  Either my custom config tunable vm.pmap.pti was retained or OPNsense now handles it better for my processor.

To all those involved, thank you very much!
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 10030
  • Karma: 755
    • View Profile
Re: 19.7.7 update + vm.pmap.pti sysctl
« Reply #4 on: February 01, 2020, 07:30:56 am »
Hey there,

Adding it to System: Settings: Tunables retains this setting neatly nowadays.


Cheers,
Franco
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 19.7 Legacy Series »
  • 19.7.7 update + vm.pmap.pti sysctl
 

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