Bug 272870 - CURRENT kernel panic running poudriere in vm host is 13.2
Summary: CURRENT kernel panic running poudriere in vm host is 13.2
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-01 16:04 UTC by dgilbert
Modified: 2023-08-01 16:09 UTC (History)
0 users

See Also:


Attachments
Last TOP output (3.43 KB, text/plain)
2023-08-01 16:05 UTC, dgilbert
no flags Details
Basic output of kgdb (2.39 KB, text/plain)
2023-08-01 16:06 UTC, dgilbert
no flags Details
core.txt file (found it...!) (180.67 KB, text/plain)
2023-08-01 16:09 UTC, dgilbert
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description dgilbert 2023-08-01 16:04:40 UTC
This kernel panic was running -CURRENT vm poudriere on a 13.2 host.

HOST: 13.2-RELEASE, Threadripper 1900X (8 cpu 2 thread), 
    128G RAM, 100T zfs, 256G nvme swap

VM: -CURRENT (main-n264192-b36f469a15ec), 15 cpu (one less than host), 
    64G RAM, 200G zfs, 128G swap

The crash message that kgdb reads is:

Unread portion of the kernel message buffer:
panic: deadlres_td_sleep_q: possible deadlock detected for 0xfffffe02134d8c80 (chmod), blocked for 180086 ticks

and the active process bit is:

__curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:59
59              __asm("movq %%gs:%P1,%0" : "=r" (td) : "n" (offsetof(struct pcpu,

This is the last updated poudriere page:

https://pkg.daveg.ca/build.html?mastername=freebsd_14_0_x64-HEAD&build=2023-07-31_17h53m26s

vmcore and kernel available on request --- they're quite large.  I can also provide access to them with kgdb and shell.

I will attach what I have
Comment 1 dgilbert 2023-08-01 16:05:20 UTC
Created attachment 243771 [details]
Last TOP output

This is the last top output in a terminal running on my desktop that was preserved.
Comment 2 dgilbert 2023-08-01 16:06:17 UTC
Created attachment 243773 [details]
Basic output of kgdb

I will try to find out what the regular savecore script does.  I didn't have gdb installed when this crashed.
Comment 3 dgilbert 2023-08-01 16:09:06 UTC
Created attachment 243774 [details]
core.txt file (found it...!)