Hi Karl,
Did you try running the newest firmware on the apu2 ? You might want to
give that a try. I ran into the same issue you appear to be running into
and for me the newest firmware fixed it.
Beware though: there are 2 kinds of firmware available for the APU(2)
boards if I remember correctly. One is only compatible with the linuxes,
the "legacy" branch should be used for running the bsds. You might
want
to check out this repo:
https://pcengines.github.io/#lr-10
Kind regards,
Ruben
On 12/10/18 10:38 PM, Karl Denninger wrote:> Built this morning....
>
> FreeBSD 11.2-STABLE #0 r341796: Mon Dec 10 13:20:13 CST 2018
>
> System is a pcEngines machine, apu2c0.? It has been running on
> 11.0-STABLE for well north of a year without problems.? It boots and
> runs on 11.2, but I'm getting a LOT of these errors...
>
> mmc0: CMD7 failed, RESULT: 1
> mmc0: Card at relative address 43690 failed to select
> mmc0: CMD7 failed, RESULT: 1
> mmc0: Card at relative address 43690 failed to select
> mmc0: CMD7 failed, RESULT: 1
> mmc0: Card at relative address 43690 failed to select
> mmc0: CMD7 failed, RESULT: 1
> mmc0: Card at relative address 43690 failed to select
> mmc0: CMD7 failed, RESULT: 1
> mmc0: Card at relative address 43690 failed to select
> mmc0: Card at relative address 43690 failed to select
> mmc0: Card at relative address 43690 failed to select
> mmc0: Card at relative address 43690 failed to select
> mmc0: Card at relative address 43690 failed to select
> mmc0: Card at relative address 43690 failed to select
> mmc0: Card at relative address 43690 failed to select
> mmc0: Card at relative address 43690 failed to select
>
> Same SD card, same everything EXCEPT that I booted partition 2 (for
> 11.2) rather than partition 1 (11.0.)
>
> In both cases the root filesystem is mounted read-only (this is a
> NanoBSD config) so there shouldn't be any write I/O going to the card
at
> all.? As far as I can tell the errors going to the console aren't
> preventing anything from starting and running, but they sure don't look
> good!
>
> dmesg -a from 11.0 (by the time I can get to it on 11.2 the boot
> messages are long-since scrolled off)
>
> Copyright (c) 1992-2017 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 11.0-STABLE #0 r312669M: Wed Jun 14 17:57:26 CDT 2017
>
> root at NewFS.denninger.net:/pics/Crochet-work-AMD/obj/usr/src/sys/KSD-SMP
> amd64
> FreeBSD clang version 3.9.1 (tags/RELEASE_391/final 289601) (based on
> LLVM 3.9.1)
> VT(vga): resolution 640x480
> CPU: AMD GX-412TC SOC??????????????????????????????? (998.15-MHz
> K8-class CPU)
> ? Origin="AuthenticAMD"? Id=0x730f01? Family=0x16? Model=0x30?
Stepping=1
>
>
Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
>
>
Features2=0x3ed8220b<SSE3,PCLMULQDQ,MON,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AESNI,XSAVE,OSXSAVE,AVX,F16C>
> ? AMD Features=0x2e500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM>
> ? AMD
>
Features2=0x1d4037ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,IBS,SKINIT,WDT,Topology,PNXC,DBE,PTSC,PL2I>
> ? Structured Extended Features=0x8<BMI1>
> ? XSAVE Features=0x1<XSAVEOPT>
> ? SVM: NP,NRIP,AFlush,DAssist,NAsids=8
> ? TSC: P-state invariant, performance statistics
> real memory? = 2012930048 (1919 MB)
> avail memory = 1906143232 (1817 MB)
> Event timer "LAPIC" quality 100
> ACPI APIC Table: <CORE?? COREBOOT>
> FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
> FreeBSD/SMP: 1 package(s) x 4 core(s)
> ioapic1: Changing APIC ID to 5
> ioapic0 <Version 2.1> irqs 0-23 on motherboard
> ioapic1 <Version 2.1> irqs 24-55 on motherboard
> random: entropy device external interface
> kbd0 at kbdmux0
> netmap: loaded module
> module_register_init: MOD_LOAD (vesa, 0xffffffff8101fd00, 0) error 19
> nexus0
> vtvga0: <VT VGA driver> on motherboard
> cryptosoft0: <software crypto> on motherboard
> acpi0: <CORE COREBOOT> on motherboard
> acpi0: Power Button (fixed)
> cpu0: <ACPI CPU> on acpi0
> cpu1: <ACPI CPU> on acpi0
> cpu2: <ACPI CPU> on acpi0
> cpu3: <ACPI CPU> on acpi0
> atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
> Event timer "RTC" frequency 32768 Hz quality 0
> attimer0: <AT timer> port 0x40-0x43 irq 0 on acpi0
> Timecounter "i8254" frequency 1193182 Hz quality 0
> Event timer "i8254" frequency 1193182 Hz quality 100
> Timecounter "ACPI-safe" frequency 3579545 Hz quality 850
> acpi_timer0: <32-bit timer at 3.579545MHz> port 0x818-0x81b on acpi0
> hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on
acpi0
> Timecounter "HPET" frequency 14318180 Hz quality 950
> acpi_button0: <Power Button> on acpi0
> pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
> pci0: <ACPI PCI bus> on pcib0
> pcib1: <ACPI PCI-PCI bridge> at device 2.2 on pci0
> pcib1: failed to allocate initial I/O port window: 0x1000-0x1fff
> pci1: <ACPI PCI bus> on pcib1
> igb0: <Intel(R) PRO/1000 Network Connection, Version - 2.5.3-k> mem
> 0xfe700000-0xfe71ffff,0xfe720000-0xfe723fff at device 0.0 on pci1
> igb0: Using MSIX interrupts with 3 vectors
> igb0: Ethernet address: 00:0d:b9:46:71:88
> igb0: Bound queue 0 to cpu 0
> igb0: Bound queue 1 to cpu 1
> igb0: netmap queues/slots: TX 2/1024, RX 2/1024
> pcib2: <ACPI PCI-PCI bridge> at device 2.4 on pci0
> pci2: <ACPI PCI bus> on pcib2
> igb1: <Intel(R) PRO/1000 Network Connection, Version - 2.5.3-k> port
> 0x2000-0x201f mem 0xfe800000-0xfe81ffff,0xfe820000-0xfe823fff at device
> 0.0 on pci2
> igb1: Using MSIX interrupts with 3 vectors
> igb1: Ethernet address: 00:0d:b9:46:71:89
> igb1: Bound queue 0 to cpu 2
> igb1: Bound queue 1 to cpu 3
> igb1: netmap queues/slots: TX 2/1024, RX 2/1024
> pci0: <encrypt/decrypt> at device 8.0 (no driver attached)
> xhci0: <AMD FCH USB 3.0 controller> mem 0xfeb22000-0xfeb23fff at
device
> 16.0 on pci0
> xhci0: 32 bytes context size, 64-bit DMA
> xhci0: Unable to map MSI-X table
> usbus0 on xhci0
> ahci0: <AMD Hudson-2 AHCI SATA controller> port
> 0x3010-0x3017,0x3020-0x3023,0x3018-0x301f,0x3024-0x3027,0x3000-0x300f
> mem 0xfeb25000-0xfeb253ff at device 17.0 on pci0
> ahci0: AHCI v1.30 with 2 6Gbps ports, Port Multiplier supported with FBS
> ahcich0: <AHCI channel> at channel 0 on ahci0
> ahcich1: <AHCI channel> at channel 1 on ahci0
> ehci0: <AMD FCH USB 2.0 controller> mem 0xfeb25400-0xfeb254ff at
device
> 19.0 on pci0
> usbus1: EHCI version 1.0
> usbus1 on ehci0
> isab0: <PCI-ISA bridge> at device 20.3 on pci0
> isa0: <ISA bus> on isab0
> sdhci_pci0: <Generic SD HCI> mem 0xfeb25500-0xfeb255ff at device 20.7
on
> pci0
> sdhci_pci0: 1 slot(s) allocated
> mmc0: <MMC/SD bus> on sdhci_pci0
> amdtemp0: <AMD CPU On-Die Thermal Sensors> on hostb5
> uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on
acpi0
> uart0: console (115200,n,8,1)
> orm0: <ISA Option ROMs> at iomem 0xc0000-0xc0fff,0xef000-0xeffff on
isa0
> ppc0: cannot reserve I/O port range
> uart1: <16550 or compatible> at port 0x2f8 irq 3 on isa0
> hwpstate0: <Cool`n'Quiet 2.0> on cpu0
> Timecounters tick every 1.000 msec
> DUMMYNET 0 with IPv6 initialized (100409)
> load_dn_sched dn_sched QFQ loaded
> usbus0: 5.0Gbps Super Speed USB v3.0
> usbus1: 480Mbps High Speed USB v2.0
> load_dn_sched dn_sched RR loaded
> load_dn_sched dn_sched WF2Q+ loaded
> load_dn_sched dn_sched FIFO loaded
> load_dn_sched dn_sched FQ_CODEL loaded
> load_dn_sched dn_sched FQ_PIE loaded
> load_dn_sched dn_sched PRIO loaded
> load_dn_aqm dn_aqm CODEL loaded
> load_dn_aqm dn_aqm PIE loaded
> nvme cam probe device init
> ugen0.1: <0x1022 XHCI root HUB> at usbus0
> uhub0: <0x1022 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on
usbus0
> ugen1.1: <AMD EHCI root HUB> at usbus1
> uhub1: <AMD EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on
usbus1
> mmcsd0: 16GB <SDHC SL16G 8.0 SN A4981A22 MFG 01/2017 by 3 SD> at mmc0
> 31.5MHz/4bit/65535-block
> SMP: AP CPU #1 Launched!
> SMP: AP CPU #3 Launched!
> SMP: AP CPU #2 Launched!
> Timecounter "TSC" frequency 998148762 Hz quality 1000
> Trying to mount root from ufs:/dev/mmcsd0s1a [ro]...
> uhub0: 4 ports with 4 removable, self powered
> uhub1: 2 ports with 2 removable, self powered
> ugen1.2: <vendor 0x0438 product 0x7900> at usbus1
> uhub2 on uhub1
> uhub2: <vendor 0x0438 product 0x7900, class 9/0, rev 2.00/0.18, addr
2>
> on usbus1
> uhub2: 4 ports with 4 removable, self powered
> random: unblocking device.
> Setting hostuuid: 1295647e-51e2-11e7-a9c2-000db9467188.
> Setting hostid: 0xa175f087.
> Starting file system checks:
> /dev/mmcsd0s1a: FILE SYSTEM CLEAN; SKIPPING CHECKS
> /dev/mmcsd0s1a: clean, 2091305 free (7889 frags, 260427 blocks, 0.2%
> fragmentation)
> /dev/mmcsd0s3: FILE SYSTEM CLEAN; SKIPPING CHECKS
> /dev/mmcsd0s3: clean, 118711 free (31 frags, 14835 blocks, 0.0%
> fragmentation)
> /dev/mmcsd0s4: FILE SYSTEM CLEAN; SKIPPING CHECKS
> /dev/mmcsd0s4: clean, 700000 free (920 frags, 87385 blocks, 0.1%
> fragmentation)
> Mounting local filesystems:.
> ELF ldconfig path: /lib /usr/lib /usr/local/lib /usr/local/lib/ipsec
> /usr/local/lib/perl5/5.24/mach/CORE
> 32-bit compatibility ldconfig path: /usr/lib32
> Setting hostname: IpGw.Denninger.Net.
> Additional TCP/IP options: IPv6 CPE WANIF=igb0.
> Setting up harvesting:
>
[UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,NET_ETHER,NET_TUN,MOUSE,KEYBOARD,ATTACH,CACHED
> Feeding entropy: eval: cannot create /boot/entropy: Read-only file system
> Starting Network: lo0 igb0 igb1 enc0.
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
> ??????? options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
> ??????? inet6 ::1 prefixlen 128
> ??????? inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
> ??????? inet 127.0.0.1 netmask 0xff000000
> ??????? nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
> ??????? groups: lo
> igb0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu
1500
>
>
options=6000bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
> ??????? ether 00:0d:b9:46:71:88
> ??????? inet6 fe80::20d:b9ff:fe46:7188%igb0 prefixlen 64 scopeid 0x1
> ??????? nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
> ??????? media: Ethernet autoselect
> ??????? status: no carrier
> igb1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu
1500
>
>
options=2000bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,RXCSUM_IPV6>
> ??????? ether 00:0d:b9:46:71:89
> ??????? inet 192.168.10.200 netmask 0xffffff00 broadcast 192.168.10.255
> ??????? inet 192.168.2.200 netmask 0xffffff00 broadcast 192.168.2.255
> ??????? inet6 fe80::20d:b9ff:fe46:7189%igb1 prefixlen 64 scopeid 0x2
> ??????? nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
> ??????? media: Ethernet autoselect
> ??????? status: no carrier
> enc0: flags=0<> metric 0 mtu 1536
> ??????? nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
> ??????? groups: enc
> Starting devd.
> Starting Network: enc0.
> enc0: flags=0<> metric 0 mtu 1536
> ??????? nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
> ??????? groups: enc
> igb1: link state changed to UP
> igb1.3: link state changed to UP
> igb0: link state changed to UP
> Starting dhclient.
> DHCPDISCOVER on igb0 to 255.255.255.255 port 67 interval 7
> DHCPOFFER from 10.2.224.1
> DHCPREQUEST on igb0 to 255.255.255.255 port 67
> DHCPACK from 10.2.224.1
> bound to 68.1.57.197 -- renewal in 43200 seconds.
> add host 127.0.0.1: gateway lo0 fib 0: route already in table
> Additional inet routing options: gateway=YES.
> add host ::1: gateway lo0 fib 0: route already in table
> add net fe80::: gateway ::1
> add net ff02::: gateway ::1
> add net ::ffff:0.0.0.0: gateway ::1
> add net ::0.0.0.0: gateway ::1
> Additional inet6 routing options: gateway=YES.
> ipfw2 (+ipv6) initialized, divert loadable, nat loadable, default to
> deny, logging disabled
> Firewall rules loaded.
> Starting local_unbound.
> [1544477459] unbound[782:0] warning: too many file descriptors
> requested. The builtinmini-event cannot handle more than 1024. Config
> for less fds or compile with libevent
> [1544477459] unbound[782:0] warning: continuing with less udp ports: 948
> Waiting for nameserver to start... good
> Starting dhcp6c.
> Creating and/or trimming log files.
> Starting syslogd.
> Clearing /tmp (X related).
> Starting strongSwan 5.5.3 IPsec [starter]...
> no netkey IPsec stack detected
> no KLIPS IPsec stack detected
> no known IPsec stack detected, ignoring!
> Starting local daemons:add net 192.168.2.0: gateway 192.168.10.100 fib
> 0: route already in table
> .
> Updating motd:.
> Mounting late filesystems:.
> Starting ntpd.
> Starting powerd.
> Starting rtadvd.
> Dec 10 15:31:01 IpGw ntpd[985]: leapsecond file
> ('/var/db/ntpd.leap-seconds.list'): expired less than 558 days ago
> Starting dhcpd.
> Internet Systems Consortium DHCP Server 4.3.5
> Copyright 2004-2016 Internet Systems Consortium.
> All rights reserved.
> For info, please visit https://www.isc.org/software/dhcp/
> Config file: /usr/local/etc/dhcpd.conf
> Database file: /var/db/dhcpd.leases
> PID file: /var/run/dhcpd.pid
> Wrote 0 deleted host decls to leases file.
> Wrote 0 new dynamic host decls to leases file.
> Wrote 0 leases to leases file.
> Listening on BPF/igb1.3/00:0d:b9:46:71:89/192.168.4.0/24
> Sending on?? BPF/igb1.3/00:0d:b9:46:71:89/192.168.4.0/24
> Listening on BPF/igb1/00:0d:b9:46:71:89/two-on-cable
> Sending on?? BPF/igb1/00:0d:b9:46:71:89/two-on-cable
> Sending on?? Socket/fallback/fallback-net
> Starting sshguard.
> Starting snmpd.
> cannot forward src fe80:2::396c:673e:9cf:ba21, dst
> 2600:1402:16::17db:a212, nxt 6, rcvif igb1, outif igb0
> Starting openvpn.
> tun0: link state changed to UP
> Configuring vt: blanktime.
> Performing sanity check on sshd configuration.
> Starting sshd.
> Starting sendmail_submit.
> Starting sendmail_msp_queue.
> Starting cron.
> Starting background file system checks in 60 seconds.
>
> Mon Dec 10 15:31:06 CST 2018
> cannot forward src fe80:2::396c:673e:9cf:ba21, dst
> 2600:1402:16::17db:a212, nxt 6, rcvif igb1, outif igb0
> cannot forward src fe80:2::396c:673e:9cf:ba21, dst
> 2600:1402:16::17db:a212, nxt 6, rcvif igb1, outif igb0
> cannot forward src fe80:2::396c:673e:9cf:ba21, dst
> 2600:1402:16::17db:a212, nxt 6, rcvif igb1, outif igb0
> cannot forward src fe80:2::396c:673e:9cf:ba21, dst
> 2600:1402:16::17db:a212, nxt 6, rcvif igb1, outif igb0
>