Re: Help with crash (13.1/amd64)

From: Gian-Simon Purkert <gspurki_at_gmail.com>
Date: Fri, 23 Dec 2022 12:00:20 UTC
On 12/23/22 12:32, Andrea Venturoli wrote:
> On 12/23/22 12:09, Graham Perrin wrote:
>> On 23/12/2022 09:13, Andrea Venturoli wrote:
>>>
>>> … I'm trying hard to get a core, but so far I was not able to achieve 
>>> this. …
>>
>> Is the difficulty with configuration?
>>
>> Or, is configuration correct but /var/crash contains no kernel 
>> panic-related files?
>>
> 
> Problem is with encrypted swap.
> See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238301.
> 
> After applying that patch, the current state is:
>> # swapinfo
>> Device          1K-blocks     Used    Avail Capacity
>> /dev/mirror/swap2.eli  67108860        0 67108860     0%
>> # dumpon -l
>> mirror/swap2
> 
> So I hope to get a dump the next time it crashes.
> 
>   bye & Thanks
>      av.
> 

Also you are on patchlevel 3, 5 is actual.

And btw have a look at blacklistd instead fail2ban if you just need it 
for ssh:

https://www.freebsd.org/cgi/man.cgi?query=blacklistd&sektion=8&format=html