managarm icon indicating copy to clipboard operation
managarm copied to clipboard

thor: Panic on boot after lockRange() failure

Open Dennisbonke opened this issue 4 years ago • 2 comments

While booting, the following is printed in the kernel log

POSIX: Installing block device sda0
unix device: Connection
init: Mounting /dev/sda0
mlibc: mkdir() ignores its mode
init: On /realfs
Panic!
Assertion failed: !"lockRange() failed"
In function copyFromBundle at ../../../src/managarm/kernel/thor/generic/memory-view.cpp:422

Attached is the stacktrace

Dennisbonke avatar May 21 '20 17:05 Dennisbonke

Does this still happen?

Geertiebear avatar May 29 '21 08:05 Geertiebear

I haven't seen this issue in a long time. I'm fine with calling it fixed if no one has any objections to that.

Dennisbonke avatar Aug 20 '21 23:08 Dennisbonke

The function this happened in does not exist anymore, and IIRC it was due to a copy-paste mistake resulting in the use of the wrong node type to complete the async operation. Make a new issue if this crops up again.

qookei avatar Oct 08 '23 12:10 qookei