OPNsense Forum

Archive => 19.1 Legacy Series => Topic started by: magnust on February 07, 2019, 01:30:26 pm

Title: Best way to disable SD card and multiple boot timeouts?
Post by: magnust 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?
Title: Re: Best way to disable SD card and multiple boot timeouts?
Post by: magnust 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?
Title: Re: Best way to disable SD card and multiple boot timeouts?
Post by: magnust 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
Title: Re: Best way to disable SD card and multiple boot timeouts?
Post by: franco 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
Title: Re: Best way to disable SD card and multiple boot timeouts?
Post by: magnust on March 12, 2019, 02:51:56 pm
Thank you!  :D
Title: Re: Best way to disable SD card and multiple boot timeouts?
Post by: magnust on March 13, 2019, 09:37:46 am
...