Bug 253248 - Instant panic/restart with mdconfig -t malloc and GELI
Summary: Instant panic/restart with mdconfig -t malloc and GELI
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 12.2-RELEASE
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
Keywords: panic
Depends on:
Reported: 2021-02-04 14:37 UTC by Slawomir Wojciech Wojtczak
Modified: 2021-02-04 15:28 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Slawomir Wojciech Wojtczak 2021-02-04 14:37:04 UTC

my system has 16 GB RAM:

% inxi
CPU: 8-Core Intel Core i7-2820QM (-MCP-) speed/min/max: 2292/800/2301 MHz OS: FreeBSD 12.2-RELEASE-p3 amd64 Up: 3m 
Mem: 3541.6/16222.2 MB (21.8) Storage: 3.81 TiB (87.9% used) Procs: 93 Shell: Zsh inxi: 3.1.07

Before the test about 12 GB RAM was free.

After I executed these I got instant panic/restart of the system.

# mdconfig -a -t malloc -s 8G -u 10
# geli onetime -s 4096 /dev/md10
# dd bs=1m if=/dev/zero of=/dev/md10.eli status=progress

Hope that helps.

Comment 1 Mark Johnston freebsd_committer 2021-02-04 14:57:42 UTC
What was the panic?
Comment 2 Slawomir Wojciech Wojtczak 2021-02-04 15:06:23 UTC
(In reply to Mark Johnston from comment #1)

System rebooted instantly without any info on the screen.

Like you would press the 'reset' button.