From owner-freebsd-fs@freebsd.org Fri Jul 27 13:46:00 2018 Return-Path: Delivered-To: freebsd-fs@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 470AE104B39C for ; Fri, 27 Jul 2018 13:46:00 +0000 (UTC) (envelope-from warlock@phouka1.phouka.net) Received: from phouka1.phouka.net (phouka1.phouka.net [107.170.196.116]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "phouka.net", Issuer "Go Daddy Secure Certificate Authority - G2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D47C975147 for ; Fri, 27 Jul 2018 13:45:59 +0000 (UTC) (envelope-from warlock@phouka1.phouka.net) Received: from phouka1.phouka.net (localhost [127.0.0.1]) by phouka1.phouka.net (8.15.2/8.15.2) with ESMTPS id w6RDigfo056044 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 27 Jul 2018 06:44:42 -0700 (PDT) (envelope-from warlock@phouka1.phouka.net) Received: (from warlock@localhost) by phouka1.phouka.net (8.15.2/8.15.2/Submit) id w6RDigVM056043 for freebsd-fs@freebsd.org; Fri, 27 Jul 2018 06:44:42 -0700 (PDT) (envelope-from warlock) Date: Fri, 27 Jul 2018 06:44:42 -0700 From: John Kennedy To: freebsd-fs@freebsd.org Subject: Re: Mounting from zfs:zroot/ROOT/default failed with error 6 Message-ID: <20180727134442.GF75644@phouka1.phouka.net> References: <20180724012745.GB75644@phouka1.phouka.net> <3596ef16-da50-b26c-b7fd-724ca020cba2@FreeBSD.org> <20180726043937.GC75644@phouka1.phouka.net> <20180727031859.GD75644@phouka1.phouka.net> <20180727060644.GE75644@phouka1.phouka.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180727060644.GE75644@phouka1.phouka.net> User-Agent: Mutt/1.10.0 (2018-05-17) X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jul 2018 13:46:00 -0000 On Thu, Jul 26, 2018 at 11:06:44PM -0700, John Kennedy wrote: > I grabbed FreeBSD-12.0-CURRENT-arm64-aarch64-RPI3-20180726-r336739.img and then > rebuilt with that. That has issues: > > devfs didn't enumerate things like /dev/msdosfs > ethernet (ue0) isn't showing up as a device (just lo0) > (kldload ums fixed that) > umodem.ko didn't find depedency (ucom.ko) > > On a plus, it didn't hang. > > Even though it was exported and destroyed, a previous incarnation of zroot > is cursing me. So, have to wipe the card and reburn tomorrow. So I've had this issue before. Writing the SDCARD out for RPI takes so long that I destroy partitions and have to be very careful about destroying the zpool otherwise it ends up lingering. Sometimes, it manages to survive anyway and the boot process can latch onto and resurrect that now horribly corrupted space. Long story short, after wiping and rebuilding again, some ZFS success! [df -h] Filesystem Size Used Avail Capacity Mounted on zrasp/ROOT/default 38G 814M 37G 2% / devfs 1.0K 1.0K 0B 100% /dev tmpfs 50M 4.0K 50M 0% /tmp I didn't have a problem with umodem.ko or ums.ko this time. The devfs still has some weirdness going on though. I don't see /dev/msdos, /dev/ufs, or /dev/mmcsd0s2* [zpool status -v] pool: zrasp state: ONLINE scan: none requested config: NAME STATE READ WRITE CKSUM zrasp ONLINE 0 0 0 diskid/DISK-3C748841s2a ONLINE 0 0 0 errors: No known data errors [gpart show] => 63 124735425 diskid/DISK-3C748841 MBR (59G) 63 8129 - free - (4.0M) 8192 98304 1 fat32lba [active] (48M) 106496 124624896 2 freebsd (59G) 124731392 4096 - free - (2.0M) => 0 124624896 diskid/DISK-3C748841s2 BSD (59G) 0 83886080 1 freebsd-zfs (40G) 83886080 25165824 2 freebsd-ufs (12G) 109051904 15572992 4 freebsd-swap (7.4G) [ls -las /dev/mmcsd0*] 0 crw-r----- 1 root operator 0x47 Jul 27 06:15 /dev/mmcsd0 [ls -las /dev/diskid] total 1 1 dr-xr-xr-x 2 root wheel 512 Jul 27 06:15 . 1 dr-xr-xr-x 11 root wheel 512 Jul 27 06:15 .. 0 crw-r----- 1 root operator 0x4f Jul 27 06:15 DISK-3C748841 0 crw-r----- 1 root operator 0x54 Jul 27 06:15 DISK-3C748841s1 0 crw-r----- 1 root operator 0x55 Jul 27 06:15 DISK-3C748841s2 0 crw-r----- 1 root operator 0x58 Jul 27 06:15 DISK-3C748841s2a 0 crw-r----- 1 root operator 0x59 Jul 27 06:15 DISK-3C748841s2b 0 crw-r----- 1 root operator 0x5a Jul 27 06:15 DISK-3C748841s2d