From nobody Tue Oct 01 17:17:43 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XJ4Q20Kh3z5Y6sq for ; Tue, 01 Oct 2024 17:17:46 +0000 (UTC) (envelope-from freebsd-doc@fjl.co.uk) Received: from bs2.fjl.org.uk (bs2.fjl.org.uk [84.45.41.208]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "bs2.fjl.org.uk", Issuer "bs2.fjl.org.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XJ4Q10W1Xz4RWR for ; Tue, 1 Oct 2024 17:17:44 +0000 (UTC) (envelope-from freebsd-doc@fjl.co.uk) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of freebsd-doc@fjl.co.uk designates 84.45.41.208 as permitted sender) smtp.mailfrom=freebsd-doc@fjl.co.uk; dmarc=none Received: from roundcube.fjl.uk ([192.168.0.2]) by bs2.fjl.org.uk (8.16.1/8.16.1) with ESMTP id 491HHhBi089576 for ; Tue, 1 Oct 2024 17:17:43 GMT (envelope-from freebsd-doc@fjl.co.uk) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 Date: Tue, 01 Oct 2024 18:17:43 +0100 From: Frank Leonhardt To: FreeBSD questions mailing list Subject: I can't get no crash dump Message-ID: X-Sender: freebsd-doc@fjl.co.uk Content-Type: multipart/alternative; boundary="=_e98ed92986f947d2ef5afdcf1ec7bb9b" X-Spamd-Result: default: False [-3.09 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.996]; NEURAL_HAM_LONG(-0.96)[-0.963]; NEURAL_HAM_SHORT(-0.93)[-0.931]; R_SPF_ALLOW(-0.20)[+ip4:84.45.41.208:c]; ONCE_RECEIVED(0.10)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:25577, ipnet:84.45.0.0/17, country:GB]; MISSING_XM_UA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[fjl.co.uk]; TO_DN_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1] X-Rspamd-Queue-Id: 4XJ4Q10W1Xz4RWR X-Spamd-Bar: --- --=_e98ed92986f947d2ef5afdcf1ec7bb9b Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed I've got a host that's mysteriously rebooting. There's no clue in the logs. It's not doing much - it's just a gateway. Just every few hours, it reboots. (It was a BSD 12 upgraded to 13, and it's been sitting there as a standby gateway for ages with no problem - ask it to do a bit of work and it gets in a strop). Anyway, I'm trying to figure out how to get a crash dump, assuming there's a kernel panic leading to a reboot. rc.conf: dumpdev="AUTO" # swapinfo -h Device Size Used Avail Capacity /dev/ada0p2 8.0G 0B 8.0G 0% # ls -ld /dev/dumpdev lrwxr-xr-x 1 root wheel 11 Oct 1 15:07 /dev/dumpdev -> /dev/ada0p2 # ls -al /crash total 10 drwxr-x--- 2 root wheel 3 Nov 15 2022 . drwxr-xr-x 24 root wheel 24 Oct 1 15:07 .. -rw-r--r-- 1 root wheel 5 Oct 23 2020 minfree - (contains "2048") What am I missing here? Surely when it reboots I should be seeing vmcore.0 in there. Unfortunately this host is remote. Any other bright ideas about where I can find a clue what's upsetting it would be welcome. Thanks, Frank. --=_e98ed92986f947d2ef5afdcf1ec7bb9b Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8

I've got a host that's mysteriously rebooting. There's no clue in the lo= gs. It's not doing much - it's just a gateway. Just every few hours, it reb= oots. (It was a BSD 12 upgraded to 13, and it's been sitting there as a sta= ndby gateway for ages with no problem - ask it to do a bit of work and it g= ets in a strop).

Anyway, I'm trying to figure out how to get a crash dump, assuming there= 's a kernel panic leading to a reboot.

rc.conf:

dumpdev=3D"AUTO"


# swapinfo -h
Device             &nbs= p;Size     Used    Avail Capacity
/dev/ada0p2 &nbs= p;       8.0G       0B     8.0G &nb= sp;   0%


# ls -ld /dev/dumpdev
lrwxr-xr-x  1 root  wheel  11 = Oct  1 15:07 /dev/dumpdev -> /dev/ada0p2


# ls -al /crash
total 10
drwxr-x---   2 root  wheel =   3 Nov 15  2022 .
drwxr-xr-x  24 root  wheel &nbs= p;24 Oct  1 15:07 ..
-rw-r--r--   1 root  wheel   = 5 Oct 23  2020 minfree   -   (contains "2048")


What am I missing here? Surely when it reboots I should be seeing vmcore= =2E0 in there. Unfortunately this host is remote. Any other bright ideas ab= out where I can find a clue what's upsetting it would be welcome.

Thanks, Frank.






--=_e98ed92986f947d2ef5afdcf1ec7bb9b--