Best way to disable SD card and multiple boot timeouts?

Started by magnust, February 07, 2019, 01:30:26 PM

Previous topic - Next topic
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?

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?

Currently doing this:

QuoteYou 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

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