Archive > 15.1 Legacy Series

OPNsense don't boot on some hardware

(1/1)

albegior:
Hello, i'm trying to boot OPNsense form compact flash but there is an issue on Nokia IP530, whatchguard firebox etc.. etc..

FreeBSD no longer disable DMA access by default. This means that if you boot a fresh install from a CF card it won't boot.
To allow it to boot DMA needs to be disabled and that is accomplished in FreeBSD 10.1 by adding the following to your /boot/loader.conf.local file

When you're booting you need to interrupt the boot loader typing 3, you'll see the prompt.
At the prompt enter:

set hint.ata.0.mode=PIO4
boot

I hope this will be fixed on next release.

weust:
Sounds like a setup option needs to be added asking you whether you boot from a SC card or something similar.

franco:
Please define "fixed in the next release". I am not sure how we can satisfy all hardware quirks in one installation without jeopardising the performance of *most* users. We can add a tweak to the installer, but it will still be a manual effort to trigger it.

albegior:
Boot of opnsense fails using NANO on 4GB CF

this is the log form console:

/boot/kernel/kernel text=0x11c3ab8 data=0x786ce8+0x190988 syms=[0x4+0xfa0a0+0x4+0x191209]
Booting...
KDB: debugger backends: ddb
KDB: current backend: ddb

Fatal double fault:
eip = 0xa00
esp = 0xffe
ebp = 0x0
cpuid = 0; apic id = 00
panic: double fault
cpuid = 0
KDB: enter: panic
[ thread pid 0 tid 0 ]
Stopped at      kdb_enter+0x3d: movl    $0,kdb_why
db> panic: doube fault

Navigation

[0] Message Index

Go to full version