panic: Too many early devmap mappings
Mark Millard
marklmi at yahoo.com
Thu Jan 14 01:52:00 UTC 2021
On 2021-Jan-13, at 13:24, tech-lists <tech-lists at zyxst.net> wrote:
>
> On Tue, Jan 12, 2021 at 10:53:00PM -0800, Mark Millard via freebsd-arm wrote:
>
>> I forgot to list the bugzilla for this:
>>
>> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252541
>>
>> I have added the notes, including:
>>
>> QUOTE
>> Turns out that this "too much high kernel memory in use" issue happens for
>> a combination of 2 things being true at the same time:
>>
>> A) Monitor attached (sufficiently large pixel count?)
>> B) GDB enabled, per bbfa199cbc16 .
>> END QUOTE
>
> Hi,
>
> About a week ago, made new world on this rpi4b, installed it, rebooted
> and it didn't come back. It normally runs headless, keyboardless.
> If these are plugged in, the pi rebooted, it all comes back.
[So my note from another subject was at least partially
covered under this subject: here there are some details
of the configuration.]
[You may want your own subject for your issue(s),
instead of using this mis-matching one.]
Does it have a serial console set up? It likely needs to
in order to be able to track down any such problems.
As I use a serial console directly, I normally do not have
a keyboard attached. A monitor being attached or not is
mostly tied to testing boot environments (u-boot and
UEFI/ACPI based). I normally otherwise ignore it when
it is connected.
I normally have a USB3 SSD connected and possibly
a USB3 based EtherNet. (I helped with some testing
of the EtherNet and left it in place.) I may or may
not have a monitor connected at any point. No other
connections at the RPi4B, no other media inserted.
I do my own buildworld buildkernel and the like for
normal operation. (artifacts.ci.free.org is still
not being populated with snapshots for git's main.
I tends to use these for testing official-build
behavior when they are available.)
> Same/similar problem? Context is main-c255784-ge83fdf8bb39. Its kernel
> config file:
>
> nooptions INVARIANTS
> nooptions INVARIANT_SUPPORT
> nooptions WITNESS
> nooptions WITNESS_SKIPSPIN
> nooptions DEADLKRES
> nooptions USB_DEBUG
> nooptions COVERAGE
> nooptions KCOV
> nooptions MALLOC_DEBUG_MAXZONES
> options FUSEFS
> device wlan # 802.11 support
> device wlan_wep # 802.11 WEP support
> device wlan_ccmp # 802.11 CCMP support
> device wlan_tkip # 802.11 TKIP support
> device wlan_amrr # AMRR transmit rate control algorithm
> device run # rpi supplied external usb2 wifi
> device runfw # firmware
>
e83fdf8bb39 is after where my normal environment is
currently based. So I've no clue if something later
then what I'm at would do similarly.
Without the serial console output for your context,
there is not much to work off of and no way to
figure out how far it got before something odd
happened.
I've also no clue of the consequences of not having most
of what is in a sys/arm64/conf/GENERIC* . I include a
GENERIC* base and then list my kernel configs, such as:
# more 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)
More information about the freebsd-arm
mailing list