Skip to content

Instantly share code, notes, and snippets.

@gonzopancho
Last active April 24, 2022 23:48
Show Gist options
  • Save gonzopancho/8a3de550f1d86403a6735d15dd3a9eb8 to your computer and use it in GitHub Desktop.
Save gonzopancho/8a3de550f1d86403a6735d15dd3a9eb8 to your computer and use it in GitHub Desktop.
MMC Device 0 not found [198/1444]
no mmc device at slot 0
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
Found EFI removable media binary efi/boot/bootaa64.efi
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
Scanning disk [email protected]...
Found 3 disks
FDT memrsv map 0: Failed to add to map
BootOrder not defined
637384 bytes read in 50 ms (12.2 MiB/s)
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
FDT memrsv map 0: Failed to add to map
## Starting EFI application at 00080000 ...
Consoles: EFI console
FreeBSD/arm64 EFI loader, Revision 1.1
Command line arguments: loader.efi
EFI version: 2.70
EFI Firmware: Das U-Boot (rev 8217.1024)
Console: efi (0)
Load Path: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(1)/SD(0)/HD(1,0x01,0,0x1,0x19000)/efi\boot\bootaa64.efi
Load Device: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(1)/SD(0)/HD(1,0x01,0,0x1,0x19000)
Trying ESP: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(1)/SD(0)/HD(1,0x01,0,0x1,0x19000)
Setting currdev to disk0p1:
Trying: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(1)/SD(0)/HD(2,0x01,0,0x19001,0x2cb418)
Setting currdev to disk0p2:
Loading /boot/defaults/loader.conf
Loading /boot/device.hints
Loading /boot/loader.conf
Loading /boot/loader.conf.local
/
\ __
_ __ / _|___ ___ _ __ ___ ___
| '_ \| |_/ __|/ _ \ '_ \/ __|/ _ \
| |_) | _\__ \ __/ | | \__ \ __/
| .__/|_| |___/\___|_| |_|___/\___|
|_|
╔═══════════Welcome to pfSense════════════╗ __________________________
║ ║ / ___\
║ 1. Boot Multi user [Enter] ║ | /`
║ 2. Boot Single user ║ | / :-|
║ 3. Escape to loader prompt ║ | _________ ___/ /_ |
║ 4. Reboot ║ | /` ____ / /__ ___/ |
║ ║ | / / / / / / |
║ Options: ║ | / /___/ / / / |
║ 5. Kernel: default/kernel (1 of 1) ║ | / ______/ / / |
║ 6. Boot Options ║ |/ / / / |
║ ║ / /___/ |
║ ║ / |
║ ║ /_________________________/
╚═════════════════════════════════════════╝ |
Autoboot in 0 seconds, hit [Enter] to boot or any other key to stop
Loading kernel...
/boot/kernel/kernel text=0xb3177d data=0x966c40+0x79e48c syms=[0x8+0x14cb50+0x8+0x12072e]
Loading configured modules...
can't find '/boot/entropy'
Using DTB provided by EFI at 0x7ef6000.
EFI framebuffer information:
addr, size 0x3eaf0000, 0x10a800
dimensions 656 x 416
stride 656
masks 0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000 ---<<BOOT>>---
Copyright (c) 1992-2018 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 12.0-RELEASE-p4 5531562acbb(factory-RELENG_2_5) pfSense arm64
FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1)
VT(efifb): resolution 656x416
Starting CPU 1 (1)
Starting CPU 2 (2)
Starting CPU 3 (3)
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
arc4random: no preloaded entropy cache
random: entropy device external interface
ipw_bss: You need to read the LICENSE file in /usr/share/doc/legal/intel_ipw.LICENSE.
ipw_bss: If you agree with the license, set legal.intel_ipw.license_ack=1 in /boot/loader.conf.
module_register_init: MOD_LOAD (ipw_bss_fw, 0xffff00000020ad60, 0) error 1
ipw_ibss: You need to read the LICENSE file in /usr/share/doc/legal/intel_ipw.LICENSE.
ipw_ibss: If you agree with the license, set legal.intel_ipw.license_ack=1 in /boot/loader.conf.
module_register_init: MOD_LOAD (ipw_ibss_fw, 0xffff00000020ae0c, 0) error 1
ipw_monitor: You need to read the LICENSE file in /usr/share/doc/legal/intel_ipw.LICENSE.
ipw_monitor: If you agree with the license, set legal.intel_ipw.license_ack=1 in /boot/loader.conf.
module_register_init: MOD_LOAD (ipw_monitor_fw, 0xffff00000020aeb8, 0) error 1
iwi_bss: You need to read the LICENSE file in /usr/share/doc/legal/intel_iwi.LICENSE.
iwi_bss: If you agree with the license, set legal.intel_iwi.license_ack=1 in /boot/loader.conf.
module_register_init: MOD_LOAD (iwi_bss_fw, 0xffff00000020af64, 0) error 1
iwi_ibss: You need to read the LICENSE file in /usr/share/doc/legal/intel_iwi.LICENSE.
iwi_ibss: If you agree with the license, set legal.intel_iwi.license_ack=1 in /boot/loader.conf.
module_register_init: MOD_LOAD (iwi_ibss_fw, 0xffff00000020b010, 0) error 1
iwi_monitor: You need to read the LICENSE file in /usr/share/doc/legal/intel_iwi.LICENSE.
iwi_monitor: If you agree with the license, set legal.intel_iwi.license_ack=1 in /boot/loader.conf.
module_register_init: MOD_LOAD (iwi_monitor_fw, 0xffff00000020b0bc, 0) error 1
wlan: mac acl policy registered
MAP 7ef6000 mode 2 pages 20
MAP 39f4d000 mode 2 pages 1
MAP 39f52000 mode 2 pages 1
MAP 3b350000 mode 2 pages 16
MAP 3f100000 mode 1 pages 1
[ath_hal] loaded
kbd0 at kbdmux0
ofwbus0: <Open Firmware Device Tree>
simplebus0: <Flattened device tree simple bus> on ofwbus0
ofw_clkbus0: <OFW clocks bus> on ofwbus0
clk_fixed0: <Fixed clock> on ofw_clkbus0
clk_fixed1: <Fixed clock> on ofw_clkbus0
regfix0: <Fixed Regulator> on ofwbus0
regfix1: <Fixed Regulator> on ofwbus0
psci0: <ARM Power State Co-ordination Interface Driver> on ofwbus0
local_intc0: <BCM2836 Interrupt Controller> mem 0x40000000-0x400000ff on simplebus0
intc0: <BCM2835 Interrupt Controller> mem 0x7e00b200-0x7e00b3ff irq 20 on simplebus0
gpio0: <BCM2708/2835 GPIO controller> mem 0x7e200000-0x7e2000b3 irq 23,24 on simplebus0
gpiobus0: <OFW GPIO bus> on gpio0
generic_timer0: <ARMv7 Generic Timer> irq 0,1,2,3 on ofwbus0
Timecounter "ARM MPCore Timecounter" frequency 19200000 Hz quality 1000
Event timer "ARM MPCore Eventtimer" frequency 19200000 Hz quality 1000
bcm_dma0: <BCM2835 DMA Controller> mem 0x7e007000-0x7e007eff irq 4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19 on simplebus0
bcmwd0: <BCM2708/2835 Watchdog> mem 0x7e100000-0x7e100027 on simplebus0
bcmrng0: <Broadcom BCM2835 RNG> mem 0x7e104000-0x7e10400f irq 21 on simplebus0
mbox0: <BCM2835 VideoCore Mailbox> mem 0x7e00b880-0x7e00b8bf irq 22 on simplebus0
gpioc0: <GPIO controller> on gpio0
uart0: <PrimeCell UART (PL011)> mem 0x7e201000-0x7e201fff irq 25 on simplebus0
uart0: console (115200,n,8,1)
spi0: <BCM2708/2835 SPI controller> mem 0x7e204000-0x7e204fff irq 27 on simplebus0
spibus0: <OFW SPI bus> on spi0
spibus0: <unknown card> at cs 0 mode 0
spibus0: <unknown card> at cs 1 mode 0 [66/1444]
iichb0: <BCM2708/2835 BSC controller> mem 0x7e804000-0x7e804fff irq 40 on simplebus0
bcm283x_dwcotg0: <DWC OTG 2.0 integrated USB controller (bcm283x)> mem 0x7e980000-0x7e98ffff,0x7e006000-0x7e006fff irq 46,47 on simplebus0
usbus0 on bcm283x_dwcotg0
sdhci_bcm0: <Broadcom 2708 SDHCI controller> mem 0x7e300000-0x7e3000ff irq 49 on simplebus0
mmc0: <MMC/SD bus> on sdhci_bcm0
fb0: <BCM2835 VT framebuffer driver> on simplebus0
fbd0 on fb0
VT: Replacing driver "efifb" with new "fb".
fb0: 656x416(656x416@0,0) 24bpp
fb0: fbswap: 1, pitch 1968, base 0x3eb33000, screen_size 818688
pmu0: <Performance Monitoring Unit> irq 53 on simplebus0
cpulist0: <Open Firmware CPU Group> on ofwbus0
cpu0: <Open Firmware CPU> on cpulist0
bcm2835_cpufreq0: <CPU Frequency Control> on cpu0
cpu1: <Open Firmware CPU> on cpulist0
cpu2: <Open Firmware CPU> on cpulist0
cpu3: <Open Firmware CPU> on cpulist0
gpioled0: <GPIO LEDs> on ofwbus0
gpioled0: <led1> failed to map pin
cryptosoft0: <software crypto>
Timecounters tick every 1.000 msec
usbus0: 480Mbps High Speed USB v2.0
iicbus0: <OFW I2C bus> on iichb0
iic0: <I2C generic I/O> on iicbus0
ugen0.1: <DWCOTG OTG Root HUB> at usbus0
uhub0: <DWCOTG OTG Root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus0
mmcsd0: 16GB <SDHC SB16G 8.0 SN A4B62AA6 MFG 09/2017 by 3 SD> at mmc0 50.0MHz/4bit/65535-block
mbox0: mbox response error
bcm2835_cpufreq0: can't get clock rate (id=8)
bcm2835_cpufreq0: ARM 600MHz, Core 250MHz, SDRAM -999MHz, Turbo OFF
uhub0: 1 port with 1 removable, self powered
ugen0.2: <vendor 0x0424 product 0x2514> at usbus0
uhub1 on uhub0
uhub1: <vendor 0x0424 product 0x2514, class 9/0, rev 2.00/b.b3, addr 2> on usbus0
uhub1: MTT enabled
uhub1: 4 ports with 3 removable, self powered
ugen0.3: <vendor 0x0424 product 0x2514> at usbus0
uhub2 on uhub1
uhub2: <vendor 0x0424 product 0x2514, class 9/0, rev 2.00/b.b3, addr 3> on usbus0
uhub2: MTT enabled
uhub2: 3 ports with 2 removable, self powered
ugen0.4: <vendor 0x0424 product 0x7800> at usbus0
muge0 on uhub2
muge0: <vendor 0x0424 product 0x7800, rev 2.10/3.00, addr 4> on usbus0
muge0: Chip ID 0x7800 rev 0002
miibus0: <MII bus> on muge0
ukphy0: <Generic IEEE 802.3u media interface> PHY 1 on miibus0
ukphy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto
ue0: <USB Ethernet> on muge0
ue0: Ethernet address: b8:27:eb:22:4d:e0
Release APs...random: unblocking device.
done
arc4random: no preloaded entropy cache
CPU 0: ARM Cortex-A53 r0p4 affinity: 0
Trying to mount root from ufs:/dev/ufsid/5d0100a80a9ad292 [rw,noatime]...
Instruction Set Attributes 0 = <CRC32>
arc4random: no preloaded entropy cache
Instruction Set Attributes 1 = <>
arc4random: no preloaded entropy cache
Processor Features 0 = <AdvSIMD,Float,EL3 32,EL2 32,EL1 32,EL0 32>
Processor Features 1 = <0>
Memory Model Features 0 = <4k Granule,64k Granule,MixedEndian,S/NS Mem,16bit ASID,1TB PA>
Warning: no time-of-day clock registered, Memory Model Features 1 = <>
system time will not be set accurately
Memory Model Features 2 = <32b CCIDX,48b VA>
Debug Features 0 = <2 CTX Breakpoints,4 Watchpoints,6 Breakpoints,PMUv3,Debug v8>
Debug Features 1 = <0>
Auxiliary Features 0 = <0>
Auxiliary Features 1 = <0>
CPU 1: ARM Cortex-A53 r0p4 affinity: 1
CPU 2: ARM Cortex-A53 r0p4 affinity: 2
CPU 3: ARM Cortex-A53 r0p4 affinity: 3
Configuring crash dumps...
dumpon: /dev/label/swap*: No such file or directory
Unable to specify /dev/label/swap* as a dump device.
No suitable dump device was found.
Growing root partition to fill device
mmcsd0s2 resized
gpart: Operation not permitted
super-block backups (for fsck_ffs -b #) at:
2930112, 3662592, 4395072, 5127552, 5860032, 6592512, 7324992, 8057472,
8789952, 9522432, 10254912, 10987392, 11719872, 12452352, 13184832, 13917312,
14649792, 15382272, 16114752, 16847232, 17579712, 18312192, 19044672,
19777152, 20509632, 21242112, 21974592, 22707072, 23439552, 24172032,
24904512, 25636992, 26369472, 27101952, 27834432, 28566912, 29299392,
30031872, 30764352
/dev/ufsid/5d0100a80a9ad292: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ufsid/5d0100a80a9ad292: clean, 3446003 free (435 frags, 430696 blocks, 0.0% fragmentation)
Filesystems are clean, continuing...
Mounting filesystems...
__
_ __ / _|___ ___ _ __ ___ ___
| '_ \| |_/ __|/ _ \ '_ \/ __|/ _ \
| |_) | _\__ \ __/ | | \__ \ __/
| .__/|_| |___/\___|_| |_|___/\___|
|_|
Welcome to pfSense 2.5.0-DEVELOPMENT...
...ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib /usr/local/lib/ipsec /usr/local/lib/perl5/5.28/mach/CORE
done.
Can't open /etc/thoth/device.der for reading, No such file or directory
1076854784:error:02001002:system library:fopen:No such file or directory:/usr/home/luiz/git/crossbuild/pfSense/tmp/FreeBSD-src/crypto/openssl/crypto/bio/bss_file.c:72:fopen('/etc/thoth/device.der','rb')
1076854784:error:2006D080:BIO routines:BIO_new_file:no such file:/usr/home/luiz/git/crossbuild/pfSense/tmp/FreeBSD-src/crypto/openssl/crypto/bio/bss_file.c:79:
unable to load certificate
chown: /etc/thoth/key.pem: No such file or directory
chmod: /etc/thoth/key.pem: No such file or directory
External config loader 1.0 is now starting... mmcsd0s1 mmcsd0s2
Launching the init system......... done.
Initializing.................. done.
Starting device manager (devd)...done.
Loading configuration......done.
Updating configuration..............
Warning: Invalid argument supplied for foreach() in /etc/inc/xmlparse.inc on line 235
...done.
Warning: Configuration references interfaces that do not exist: em0 em1
Network interface mismatch -- Running interface assignment option.
muge0: Chip ID 0x7800 rev 0002
ue0: link state changed to DOWN
Valid interfaces are:
ue0 b8:27:eb:22:4d:e0 (down) USB Ethernet
Do VLANs need to be set up first?
If VLANs will not be used, or only for optional interfaces, it is typical to
say no here and use the webConfigurator to configure VLANs later, if required.
Should VLANs be set up now [y|n]? ue0: link state changed to UP
@timdonovanuk
Copy link

Hows this working out for you? :) It would be very nice to use a Pi as a failover/high availability pfsense router. Or even if the performance is slow, just a temporary one while having downtime on primary router.

@Martinfx
Copy link

Hi, how do you build pfsense source code, I have many troubles how to compile source code. Thank you for answer M.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment