OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 19.1 Legacy Series »
  • Best way to disable SD card and multiple boot timeouts?
« previous next »
  • Print
Pages: [1]

Author Topic: Best way to disable SD card and multiple boot timeouts?  (Read 5580 times)

magnust

  • Jr. Member
  • **
  • Posts: 69
  • Karma: 4
    • View Profile
Best way to disable SD card and multiple boot timeouts?
« on: February 07, 2019, 01:30:26 pm »
When upgrading to 19.1.1 from 18.10.0 I noticed a looong boot time which I didn't recognize from before. During boot I get multiple controller timeouts for sdhci_pci1-slot0. So googling a bit I found that the problem is not new as such. Just that I now noticed what feels a longer boot time than before, but not 100% sure on that.

Anyway, what is the best way to get rid of these timeouts delaying reboot?

- Disable SD-card in bios. No such setting in my bios

- Edit /boot/loader.conf.local

- Edit in opnsense system -> settings -> tunables

I'd like to edit tunables but I can't find what to exacly add there. Anyone know?
Logged

magnust

  • Jr. Member
  • **
  • Posts: 69
  • Karma: 4
    • View Profile
Re: Best way to disable SD card and multiple boot timeouts?
« Reply #1 on: March 08, 2019, 08:40:16 pm »
With the latest OPNsense updates I ended up in the boot problems again...


Which way of the ones I listed is the prefered way to prevent this?
Logged

magnust

  • Jr. Member
  • **
  • Posts: 69
  • Karma: 4
    • View Profile
Re: Best way to disable SD card and multiple boot timeouts?
« Reply #2 on: March 12, 2019, 02:35:28 pm »
Currently doing this:

Quote
You can disable the SD slot in pfSense by hitting ESC at the bootloader and then typing these lines:
set hint.sdhci_pci.0.disabled=1
set hint.sdhci_pci.1.disabled=1
boot

Once you are done installing you can permanently disable the SD slot by adding these lines to /boot/loader.conf.local:
hint.sdhci_pci.0.disabled=1
hint.sdhci_pci.1.disabled=1
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17707
  • Karma: 1618
    • View Profile
Re: Best way to disable SD card and multiple boot timeouts?
« Reply #3 on: March 12, 2019, 02:43:22 pm »
You'll need them once in the boot loader manually, afterwards add the key/value sysctls to system: settings: tunables and then there's no further need to manipulate the system, i.e. /boot/loader.conf.local


Cheers,
Franco
Logged

magnust

  • Jr. Member
  • **
  • Posts: 69
  • Karma: 4
    • View Profile
Re: Best way to disable SD card and multiple boot timeouts?
« Reply #4 on: March 12, 2019, 02:51:56 pm »
Thank you!  :D
Logged

magnust

  • Jr. Member
  • **
  • Posts: 69
  • Karma: 4
    • View Profile
Re: Best way to disable SD card and multiple boot timeouts?
« Reply #5 on: March 13, 2019, 09:37:46 am »
...
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 19.1 Legacy Series »
  • Best way to disable SD card and multiple boot timeouts?
 

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