From owner-freebsd-arm@freebsd.org Fri Jun 15 16:41:51 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8713B1013156 for ; Fri, 15 Jun 2018 16:41:51 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "www.zefox.org", Issuer "www.zefox.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 032F7776F7 for ; Fri, 15 Jun 2018 16:41:50 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.15.2/8.15.2) with ESMTPS id w5FGg29b040050 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 15 Jun 2018 09:42:03 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id w5FGg22X040049; Fri, 15 Jun 2018 09:42:02 -0700 (PDT) (envelope-from fbsd) Date: Fri, 15 Jun 2018 09:42:02 -0700 From: bob prohaska To: Warner Losh Cc: Mark Millard , "freebsd-arm@freebsd.org" , "Rodney W. Grimes" , bob prohaska Subject: Re: GPT vs MBR for swap devices Message-ID: <20180615164202.GB39777@www.zefox.net> References: <20180614175622.GC35161@www.zefox.net> <201806142110.w5ELAL0N046840@pdx.rh.CN85.dnsmgr.net> <20180615035225.GA37370@www.zefox.net> <20180615051527.GB37370@www.zefox.net> <834EA7A6-B567-436F-96B2-0C75FACA3FF9@yahoo.com> <20180615154334.GA39777@www.zefox.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jun 2018 16:41:51 -0000 On Fri, Jun 15, 2018 at 09:57:17AM -0600, Warner Losh wrote: > gstat -Bd -I 10 -f > gstat-swap-data.dat > > would be how I'd recommend collecting it. This file may get kinda big > depending how long it takes to trigger the weird state. I'm hoping that if > you put this on a known good device, we'll power through the issues. We > might not get perfect correlation with this, but the data should show all > kinds of crazy before the system drives off the cliff if I'm right, so we > don't need perfect data. > Apologies, we spoke of gstat earlier. I lost the distinction between gstat and vmstat. In the case at hand the possible swap devices are /dev/da0b (this is the one causing trouble) /dev/mmcsd0s3b /dev/mmcsd0s3d what would the correct look like? Is there any indication why problems seen on the RPI3 do not seem apparent on an RPI2? A 2 GB USB flash swap partition seems to work successfully on the Pi2. Thanks very much! bob prohaska