Bug 253248 - Instant panic/restart with mdconfig -t malloc and GELI
Summary: Instant panic/restart with mdconfig -t malloc and GELI
Status: Open
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)
URL: https://www.freebsd.org/cgi/man.cgi?q...
Keywords: crash, needs-qa
Depends on:
Blocks:
 
Reported: 2021-02-04 14:37 UTC by Slawomir Wojciech Wojtczak
Modified: 2022-12-05 16:39 UTC (History)
2 users (show)

See Also:


Attachments

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
Hi,

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.

Regards.
Comment 1 Mark Johnston freebsd_committer freebsd_triage 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.
Comment 3 Graham Perrin freebsd_committer freebsd_triage 2022-12-05 02:59:44 UTC
Reproducible with any/all of the following? 

12.3-RELEASE-p10
13.1-RELEASE-p5
14.0-CURRENT

Thanks

(<https://www.freebsd.org/releases/12.4R/> at a glance, nothing related in release notes.)
Comment 4 Slawomir Wojciech Wojtczak 2022-12-05 16:39:17 UTC
Just tried this on 13.1-RELEASE-p5 system.

Does not hang.

Regards.