<div dir="ltr"><div dir="ltr">A double fault is a hard one.  The panic message is just related to the double fault.. there was either a panic before that one or something else that caused the issue that led to the double-fault.  There is no easy way to debug this.  It could be anything, including issues with the virtualization itself.  Here are some suggestions:</div><div dir="ltr"><br></div><div dir="ltr">* You are running the VM with 16 cpu cores so one thing to try would be to try just running the VM with one cpu core and see if that stops the panic.<br></div><div dir="ltr"><br></div><div>* You can try a raw image (not qcow2), in case its a virtio issue of some sort.</div><div><br></div><div>* You can try with and without hardware acceleration (though yah, I know... gonna be nasty slow without).</div><div dir="ltr"><br></div><div>-Matt</div><div><br></div><div dir="ltr">On Wed, May 14, 2025 at 6:02 PM Matthew Dillon <<a href="mailto:dillon@apollo.backplane.com" target="_blank">dillon@apollo.backplane.com</a>> wrote:<br></div><div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">In e-mail of Wed, 30 Apr 2025 11:41:36 -0600 on this list, I reported<br>
a problem with the new DragonFlyBSD 6.4.1 installerl.  Subsequent<br>
discussions led to a solution, and 6.4.1 is now stable and working<br>
fine at Utah.<br>
<br>
On Saturday, I tried an install of the new 6.4.2, and was pleased to<br>
find that it installed normally, and recognized the correct size<br>
(80GB) of its qcow2 disk image.  I then installed my usual large<br>
collection of DragonFlyBSD packages --- about 150 of them, and that<br>
too was successful.<br>
<br>
To save unnecessary work, I then ran an rsync to copy our $prefix tree<br>
of locally added software from 6.4.1 to 6.4.2: it ran for awhile, then<br>
died with a kernel panic. I photographed the console screen, which<br>
looked something like this (leaving out numeric addresses);<br>
<br>
        Fatal double fault<br>
        rip = ...<br>
        rip = ...<br>
        rip = ...<br>
        cpuid = 1 ; lapic id = 1<br>
        panic: assertion "count & TOK_COUNTMASK" failed in _lwkt_reltokref<br>
               at /usr/sys/kern/lwkt_token.c:458<br>
        cpuid = 1<br>
        Trace beginning at ...<br>
        ...<br>
        Debugger("panic")<br>
        CPU1 stopping CPUS; 0x00000fffd<br>
        ...<br>
<br>
I rebooted the system at that point, restarted the rsync, and after<br>
several minutes of rsync running, got a different kernel panic, which<br>
I, alas, neglected to photograph.<br>
<br>
Another reboot, and restart of the rsync: it ran to completion.  I<br>
reran it one more time, just in case there was file corruption from<br>
the kernel crashes.  That final rsync reported a clean copy, and since<br>
then, 6.4.2 has been stable.<br>
<br>
I am now copying the installation disk image tree from campus to my<br>
home machine (both physical machines run Ubuntu 24.04), and I'll bring<br>
6.4.2 up at home so as to have the new DragonFlyBSD version on an<br>
independent physical machine; the two have completely different<br>
manufacturers.  One has dual Intel Xeon Silver 4316 CPUs, and the<br>
other has a single Xeon Platinum 8253 CPU.<br>
<br>
By early June, I expect to have a brand new rack-mounted large memory<br>
and large core count server installed in our machine room, and I may<br>
use that as a third platform to test DragonFlyBSD on.<br>
<br>
Have other list members got stable DragonFlyBSD 6.4.2 installations?<br>
Or seen unexpected crashes with 6.4.2?<br>
<br>
Failure reports aren't terribly helpful for developers unless they can<br>
be reliably reproduced at independent sites :^).<br>
<br>
-------------------------------------------------------------------------------<br>
- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -<br>
- University of Utah                                                          -<br>
- Department of Mathematics, 110 LCB    Internet e-mail: <a href="mailto:beebe@math.utah.edu" target="_blank">beebe@math.utah.edu</a>  -<br>
- 155 S 1400 E RM 233                       <a href="mailto:beebe@acm.org" target="_blank">beebe@acm.org</a>  <a href="mailto:beebe@computer.org" target="_blank">beebe@computer.org</a> -<br>
- Salt Lake City, UT 84112-0090, USA    URL: <a href="https://www.math.utah.edu/~beebe" rel="noreferrer" target="_blank">https://www.math.utah.edu/~beebe</a> -<br>
-------------------------------------------------------------------------------<br>
<br>
</blockquote></div></div>
</div>