Re: PR 252541: Early kernel panic on RPi4B (Too many early devmatch mappings)
Mark Millard via freebsd-arm <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.arm |
|---|---|
| Message-ID | <[email protected]> |
On 2021-Jan-11, at 12:47, Gordon Bergling <[email protected]> wrote: > Hi, > > I am currently investigating PR 252541 (Too many early devmatch mappings) [1]. > > The kernel panic happends on the RPi4B. Has anyone successfully booted a rivision > on the RPi4B after: > > --------------------------------------------------------------------------------- > commit e83fdf8bb391579fa422d34663cd8c1f82a00dc0 > Author: Chuck Tuffli <[email protected]> > AuthorDate: 2021-01-08 22:36:37 +0000 > Commit: Chuck Tuffli <[email protected]> > CommitDate: 2021-01-08 22:41:45 +0000 > > fix big-endian platforms after 6733401935f8 > > The NVMe byte-swap routines for big-endian platforms used memcpy() to > move the unaligned 64-bit value into a temp register to byte swap it. > Instead of introducing a dependency, manually byte-swap the values in > place. > --------------------------------------------------------------------------------- > > --Gordon > > [1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252541 I do my own builds but I'm running based on 19cca0b9613d with CommitDate 2021-01-09 16:21:33 -0800 : # ~/fbsd-based-on-what-freebsd-main.sh mm-src 19cca0b9613d7c3058e41baf0204245119732235 CommitDate: 2021-01-09 16:21:33 -0800 5d333ee67ac3 19cca0b9613d (HEAD -> mm-src) mm-src snapshot for mm's patched build in git context. FreeBSD RPi4B 13.0-CURRENT FreeBSD 13.0-CURRENT mm-src-c255807-g5d333ee67ac3 GENERIC-NODBG arm64 aarch64 1300134 1300134 In other words, the history spanned for e83fdf8bb391 and after is: * aio: fix the tests when ZFS is not available Alan Somers 46 hours 2 -0/+5 * linuxkpi: Fix the "error: unknown type name 'u32'" compilation issue when Neel Chauhan 47 hours 1 -0/+1 * netmap: vtnet: stop krings during interface reset Vincenzo Maffione 48 hours 1 -1/+7 * netmap: refactor netmap_reset Vincenzo Maffione 2 days 1 -45/+20 * netmap: iflib: fix asserts in netmap_fl_refill() Vincenzo Maffione 2 days 1 -1/+2 * netmap: iflib: stop krings during interface reset Vincenzo Maffione 2 days 2 -1/+10 * fileargs: add tests Mariusz Zaborski 2 days 3 -0/+625 * tcp: don't use KTLS socket option on listening sockets Michael Tuexen 4 days 1 -0/+10 * arm: revert MAXDSIZ change from 202aea9c82ea Kyle Evans 2 days 1 -1/+1 * kevent(2): Bugfix for wrong EVFILT_TIMER timeouts Jan Kokemüller 2 days 1 -1/+1 * ldd: renumber executable type constants Ed Maste 2 days 1 -2/+2 * diff: honour flags with -q Ed Maste 2 days 2 -1/+13 * sysctl: improve debug.kdb.panic_str description Warner Losh 2 days 1 -1/+1 * last(1): Add EXAMPLES section Fernando Apesteguía 2 days 1 -4/+22 * man(1): Bump .Dd Fernando Apesteguía 2 days 1 -1/+1 * man(1): Add EXAMPLES section Fernando Apesteguía 2 days 1 -0/+35 * mvneta: Acquire the softc lock before clearing the MIB Mark Johnston 2 days 1 -0/+2 * Add fib lookup testing module. Alexander V. Chernikov 2 days 2 -0/+548 * Bring DPDK route lookups to FreeBSD. Alexander V. Chernikov 2 days 17 -0/+6030 * Fix LINT kernel build after 01f2e864f79584c0cd250a8e7cfb501a9985768a. Hans Petter Selasky 3 days 1 -1/+4 * certctl: factor out certname resolution Kyle Evans 3 days 1 -2/+17 * certctl: replace hardcoded uses of /usr/local Kyle Evans 3 days 1 -2/+3 * fix big-endian platforms after 6733401935f8 Chuck Tuffli 3 days 1 -5/+9 The RPi4B is a 8 GiByte one, booted directly from a USB3 SSD, no microsd card involved. I can boot either u-boot style or UEFI/ACPI style from the same media, just switching config.txt content. I do not have MMCCAM or the like: # more /usr/fbsd/mm-src/sys/arm64/conf/GENERIC-NODBG # # GENERIC -- Custom configuration for the arm64/aarch64 # include "GENERIC" ident GENERIC-NODBG makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols options ALT_BREAK_TO_DEBUGGER options KDB # Enable kernel debugger support # For minimum debugger support (stable branch) use: #options KDB_TRACE # Print a stack trace for a panic options DDB # Enable the kernel debugger # Extra stuff: #options VERBOSE_SYSINIT=0 # Enable verbose sysinit messages #options BOOTVERBOSE=1 #options BOOTHOWTO=RB_VERBOSE #options KTR #options KTR_MASK=KTR_TRAP ##options KTR_CPUMASK=0xF #options KTR_VERBOSE # Disable any extra checking for. . . nooptions DEADLKRES # Enable the deadlock resolver nooptions INVARIANTS # Enable calls of extra sanity checking nooptions INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS nooptions WITNESS # Enable checks to detect deadlocks and cycles nooptions WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed nooptions DIAGNOSTIC nooptions MALLOC_DEBUG_MAXZONES # Separate malloc(9) zones nooptions BUF_TRACKING nooptions FULL_BUF_TRACKING === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-arm To unsubscribe, send any mail to "[email protected]"