Bug 273297

Summary: BOOT time panic after preloading TSLOG data
Product: Base System Reporter: Graham Perrin <grahamperrin>
Component: miscAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed Not A Bug    
Severity: Affects Only Me Keywords: crash
Priority: ---    
Version: CURRENT   
Hardware: Any   
OS: Any   
URL: https://cgit.freebsd.org/src/log/?qt=range&q=edacf4b4824a...7addfafe73e0
Attachments:
Description Flags
photograph none

Description Graham Perrin 2023-08-22 19:31:36 UTC
% bectl list -c creation | tail -n 3
n264868-edacf4b4824a-a NR     /          470G  2023-08-19 03:54
n264939-7addfafe73e0-a -      -          4.35G 2023-08-22 09:02
n264955-c941b82e1c31-a -      -          562M  2023-08-22 19:27
% 

7addfafe73e0 and c941b82e1c31 panic, edacf4b4824a does not. 

From what's pictured, I guess that these panics result from the TSLOG part of my stash at <https://reviews.freebsd.org/P601>, which I routinely apply before building world and kernel. 

Reminding myself that currently running edacf4b4824a is similarly -dirty (from application of the same stash): 

% uname -aKU
FreeBSD mowa219-gjp4-8570p-freebsd 14.0-ALPHA2 FreeBSD 14.0-ALPHA2 amd64 1400094 #4 main-n264868-edacf4b4824a-dirty: Fri Aug 18 23:46:09 BST 2023     grahamperrin@mowa219-gjp4-8570p-freebsd:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 1400094 1400094
% 

----

If I guessed wrong: please close, I can return to <https://lists.freebsd.org/archives/freebsd-current/2023-August/004397.html>.
Comment 1 Graham Perrin 2023-08-22 19:32:35 UTC
Created attachment 244287 [details]
photograph

> what's pictured
Comment 2 Graham Perrin 2023-08-24 21:08:25 UTC
% bectl list -c creation | tail -n 4
n264868-edacf4b4824a-a NR     /          476G  2023-08-19 03:54
n264939-7addfafe73e0-a -      -          4.35G 2023-08-22 09:02
n264955-c941b82e1c31-a -      -          4.20G 2023-08-22 19:27
n264998-d9fee1d02178-a -      -          555M  2023-08-24 21:07
% 

Hmm. I still get panics after installkernel with d9fee1d02178. Built without the Git stash that includes TSLOG. From my tcsh history, before build began: 

  1957  19:06   git -C /usr/src reset --hard HEAD

Maybe I'm misinterpreting what's in the photograph. 

Should I try a make clean? 

Maybe relevant: I use ccache. 

In any case: I'll take a look at some other things. 

I have vboxdrv_load="YES" in my loader.conf(5), the kernel module built in a 1400094 jail, I'll try commenting out this line …
Comment 3 Graham Perrin 2023-08-24 23:37:13 UTC
Not a bug. A few more than the usual number of kernel modules needed to rebuilt, this number took me by surprise. 

Apologies for the noise.