From owner-freebsd-arm@FreeBSD.ORG Fri Apr 3 19:04:25 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C64D8E92 for ; Fri, 3 Apr 2015 19:04:25 +0000 (UTC) Received: from mail-pd0-f177.google.com (mail-pd0-f177.google.com [209.85.192.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 988993DF for ; Fri, 3 Apr 2015 19:04:24 +0000 (UTC) Received: by pdbnk13 with SMTP id nk13so49638864pdb.0 for ; Fri, 03 Apr 2015 12:04:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:content-type:content-transfer-encoding; bh=1s+tZEYuk527H2wBnUHEq/FrK5Q19r22HzdB3CSKkk4=; b=dIX2FyliJbs/UE5bP7uAd2PKbFOvjxlWcII/oMQhgH0LNcBd3+lryTNCZH6LcEm/Uw rWmFKqFsLVtGYftAbOQv9dnJEo/diHWFr110G4zKiCEsWKXu8iDX6gKTEy+5zLXw9GbS Y7DiJnAM/FRaDnZ44/0zOCV4wpTeNOW9ErcqngBk13+CVvXH/ml+ZAAQHxBGrjYwgl12 FQu1a8sCpQrMLSuALPVVySpTvjAsFBvw0XHKE4mtewzaQU6e/rExuzzuw4GI8+tdEgNS fClhNlUdq3Df1yJm1wGYuT3ijicaMzlRrJwzbj84K49L6RuL/r36WrNPEgDiRXS6+YCn yM7A== X-Gm-Message-State: ALoCoQkd9AMFX8d+b7aRnFKlgqcd/80a8gdII6mjkoSTVpW3fTB/pCIrWdIWSLsVU6CAvByYle8m X-Received: by 10.68.239.104 with SMTP id vr8mr6499687pbc.96.1428087858417; Fri, 03 Apr 2015 12:04:18 -0700 (PDT) Received: from Michaels-MacBook-Pro.local (c-73-25-21-123.hsd1.or.comcast.net. [73.25.21.123]) by mx.google.com with ESMTPSA id zs5sm5918097pac.11.2015.04.03.12.04.17 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 03 Apr 2015 12:04:17 -0700 (PDT) Message-ID: <551EE431.10408@callfortesting.org> Date: Fri, 03 Apr 2015 12:04:17 -0700 From: Michael Dexter User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: freebsd-arm@freebsd.org Subject: Possible growfs regression on r280862: Tue Mar 31/PANDABOARD snapshot Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Apr 2015 19:04:26 -0000 Hello all, I have been experimenting with the FreeBSD 11.0-CURRENT #0 r280130: Mon Mar 16 and FreeBSD 11.0-CURRENT #0 r280862: Tue Mar 31 and I noticed that the latter is not running growfs on boot. (It is also not reporting the system's available memory at boot time.) Here is my output from r280130 and r280862: FreeBSD 11.0-CURRENT #0 r280130: Mon Mar 16 06:34:51 UTC 2015 root@releng2.nyi.freebsd.org:/usr/obj/arm.armv6/usr/src/sys/PANDABOARD arm ... iue0: Ethernet address: 42:0c:15:00:00:00 Enlarging root partition GEOM_PART: mmcsd0s2 was automatically resized. Use `gpart commit mmcsd0s2` to save changes or `gpart undo mmcsd0s2` to revert them. mmcsd0s2 resized mmcsd0s2a resized super-block backups (for fsck_ffs -b #) at: 1949120, 2436352, 2923584... ... Setting hostuuid: 02215211-cba7-11e4-8118-e58c4249bf1a. Setting hostid: 0xc212dd9c. No suitable dump device was found. Starting file system checks: /dev/mmcsd0s2a: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/mmcsd0s2a: clean, 3656658 free (130 frags, 457066 blocks, 0.0% fragmentation) Mounting local file systems:. ... FreeBSD 11.0-CURRENT #0 r280862: Tue Mar 31 00:45:03 UTC 2015 root@releng2.nyi.freebsd.org:/usr/obj/arm.armv6/usr/src/sys/PANDABOARD arm ... ue0: on smsc0 ue0: Ethernet address: 5a:2c:ff:00:00:00 Setting hostuuid: 91cc1081-d73f-11e4-8683-5bf534257bea. Setting hostid: 0xe019458d. No suitable dump device was found. Starting file system checks: /dev/mmcsd0s2a: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/mmcsd0s2a: clean, 125217 free (161 frags, 15632 blocks, 0.1% fragmentation) Mounting local file systems:. ... I tried manually growing the filesystem using a memory device and while the gpart resize went fine, the growfs would not work but I could easily have the syntax wrong: [root@pcbsd] root/snapshots# dd if=FreeBSD-11.0-CURRENT-arm-armv6-PANDABOARD-20150316-r280130.img of=/dev/md1 bs=1m 953+1 records in 953+1 records out 1000000000 bytes transferred in 1.397906 secs (715355885 bytes/sec) [root@pcbsd] /root/snapshots# gpart show md1 => 63 8388545 md1 MBR (4.0G) 63 4095 1 !12 [active] (2.0M) 4158 1948967 2 freebsd (952M) 1953125 6435483 - free - (3.1G) [root@pcbsd] /root/snapshots# gpart resize -i 2 md1 md1s2 resized [root@pcbsd] /root/snapshots# gpart show md1 => 63 8388545 md1 MBR (4.0G) 63 4095 1 !12 [active] (2.0M) 4158 8384450 2 freebsd (4.0G) [root@pcbsd] /root/snapshots# growfs /dev/md1s2a growfs: requested size 952MB is not larger than the current filesystem size 952MB [root@pcbsd] /root/snapshots# growfs -s 4G /dev/md1s2a growfs: requested size 4.0GB is larger than the available 952MB Any suggestions? Michael