Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Aug 2021 17:54:06 +0200
From:      Gary Jennejohn <gljennjohn@gmail.com>
To:        "Dave Cottlehuber" <dch@skunkwerks.at>
Cc:        freebsd-current@freebsd.org, daniel@morante.net
Subject:   Re: dumpdev AUTO in rc.conf does not work
Message-ID:  <20210809155406.6c262dfb@ernst.home>
In-Reply-To: <8580eccc-841c-411e-aefc-07a59cc3fc21@www.fastmail.com>
References:  <fba71308-5c1c-8fa2-a058-467edcbbe693@morante.net> <20210808070328.3d571ed1@ernst.home> <2ff4128a-6ad8-fbea-5b33-bfe9b9af9a4e@morante.net> <20210809065407.5615586c@ernst.home> <8580eccc-841c-411e-aefc-07a59cc3fc21@www.fastmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 09 Aug 2021 15:45:19 +0000
"Dave Cottlehuber" <dch@skunkwerks.at> wrote:

> On Mon, 9 Aug 2021, at 06:54, Gary Jennejohn wrote:
> > On Sun, 8 Aug 2021 18:01:18 -0400
> > Daniel Morante via freebsd-current <freebsd-current@freebsd.org> wrote:  
> > > It looks though that this issue might only happen on arm64? I tried
> > >  to reproduce on amd64 without any luck.  
> 
> seems fine on arm64 14.0-CURRENT to me, this is built from src today BTW:
> 
> root@a01 /u/h/dch# gpart show
> =>      40  97677232  da0  GPT  (47G)  
>         40    532480    1  efi  (260M)
>     532520      2008       - free -  (1.0M)
>     534528   8388608    2  freebsd-swap  (4.0G)
>    8923136  88754136    3  freebsd-zfs  (42G)
> 
> root@a01 /u/h/dch# swapinfo -h
> Device              Size     Used    Avail Capacity
> /dev/da0p2          4.0G       0B     4.0G     0%
> 
> root@a01 /u/h/dch# dumpon -l
> da0p2
> 
> root@a01 /u/h/dch# sysrc dumpdev
> dumpdev: AUTO
> 
> root@a01 /u/h/dch# grep swap /etc/fstab 
> /dev/da0p2	none		swap	sw			0	
> 

Maybe his problem arises from use of /dev/gpt/swap?  That's a difference
between his setup and your setup.

> root@a01 /u/h/dch# grep -i dump /etc/rc.conf
> # Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
> dumpdev=AUTO
> 
> root@a01 /u/h/dch# uname -a
> FreeBSD a01.cabal5.net 14.0-CURRENT FreeBSD 14.0-CURRENT
> main-n248554-66b8eced972 GENERIC arm64
> 
> I've not got geli or gbde encrypted swap enabled, though, happy to
> try that out later.
> 


-- 
Gary Jennejohn



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210809155406.6c262dfb>