From owner-freebsd-arm@freebsd.org Sun Feb 17 06:24:39 2019 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 794D214E4E0E for ; Sun, 17 Feb 2019 06:24:39 +0000 (UTC) (envelope-from kraileth@elderlinux.org) Received: from webmail2.omc.net (webmail2.omc.net [212.77.224.213]) by mx1.freebsd.org (Postfix) with ESMTP id 63CC988226 for ; Sun, 17 Feb 2019 06:24:37 +0000 (UTC) (envelope-from kraileth@elderlinux.org) Received: by webmail2.omc.net (Postfix, from userid 1501) id EE371C4380E; Sun, 17 Feb 2019 07:24:29 +0100 (CET) Received: from vpn-239-5.omc.net (vpn-239-5.omc.net [212.77.239.5]) by webmail.omc.net (Horde Framework) with HTTP; Sun, 17 Feb 2019 07:24:29 +0100 Message-ID: <20190217072429.21066yjx8d8laxp9@webmail.omc.net> Date: Sun, 17 Feb 2019 07:24:29 +0100 From: kraileth@elderlinux.org To: "freebsd-arm@freebsd.org" Subject: Re: ThunderX support broken since r336520 References: <20190213224058.52402wm0s4ube0ve@webmail.omc.net> <9440FF73-4B4C-4884-B001-CD8A1402F69C@exchange.mit.edu> In-Reply-To: <9440FF73-4B4C-4884-B001-CD8A1402F69C@exchange.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.3.9) X-Rspamd-Queue-Id: 63CC988226 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of kraileth@elderlinux.org designates 212.77.224.213 as permitted sender) smtp.mailfrom=kraileth@elderlinux.org X-Spamd-Result: default: False [-0.93 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.39)[-0.392,0]; R_SPF_ALLOW(-0.20)[+ip4:212.77.224.0/19]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[elderlinux.org]; NEURAL_HAM_LONG(-0.95)[-0.952,0]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; NEURAL_SPAM_SHORT(0.73)[0.725,0]; MX_GOOD(-0.01)[mx10.omc.net,mx11.omcnet.de]; FROM_NO_DN(0.00)[]; TO_DN_EQ_ADDR_ALL(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; RCVD_IN_DNSWL_LOW(-0.10)[213.224.77.212.list.dnswl.org : 127.0.5.1]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15388, ipnet:212.77.224.0/19, country:DE]; IP_SCORE(-0.00)[country: DE(-0.01)]; FROM_EQ_ENVFROM(0.00)[] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Feb 2019 06:24:39 -0000 Quote John F Carr : > > In vt_efifb_probe I see there's a hook to disable: > > TUNABLE_INT_FETCH("hw.syscons.disable", &disabled); > if (disabled != 0) > return (CN_DEAD); > Just confirming that this works as expected. Simply setting a tunable in /boot/loader.conf before booting into -CURRENT is of course even easier than having a custom kernel. Thanks John! From owner-freebsd-arm@freebsd.org Sun Feb 17 12:56:17 2019 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 31F2714F222F for ; Sun, 17 Feb 2019 12:56:17 +0000 (UTC) (envelope-from freebsdnewbie@freenet.de) Received: from mout3.freenet.de (mout3.freenet.de [195.4.92.93]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (Client CN "*.freenet.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C0C506D6B5 for ; Sun, 17 Feb 2019 12:56:15 +0000 (UTC) (envelope-from freebsdnewbie@freenet.de) Received: from [195.4.92.164] (helo=mjail1.freenet.de) by mout3.freenet.de with esmtpa (ID freebsdnewbie@freenet.de) (port 25) (Exim 4.90_1 #2) id 1gvLzH-0001ty-BJ for freebsd-arm@freebsd.org; Sun, 17 Feb 2019 13:56:03 +0100 Received: from [::1] (port=59402 helo=mjail1.freenet.de) by mjail1.freenet.de with esmtpa (ID freebsdnewbie@freenet.de) (Exim 4.90_1 #2) id 1gvLzH-0003FX-AT for freebsd-arm@freebsd.org; Sun, 17 Feb 2019 13:56:03 +0100 Received: from sub4.freenet.de ([195.4.92.123]:35074) by mjail1.freenet.de with esmtpa (ID freebsdnewbie@freenet.de) (Exim 4.90_1 #2) id 1gvLwh-0001PO-7z for freebsd-arm@freebsd.org; Sun, 17 Feb 2019 13:53:23 +0100 Received: from p4fd9f72e.dip0.t-ipconnect.de ([79.217.247.46]:19866 helo=freebsd-t450.fritz.box) by sub4.freenet.de with esmtpsa (ID freebsdnewbie@freenet.de) (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256) (port 587) (Exim 4.90_1 #2) id 1gvLwh-0006x0-5S for freebsd-arm@freebsd.org; Sun, 17 Feb 2019 13:53:23 +0100 Date: Sun, 17 Feb 2019 13:53:21 +0100 From: Manuel =?iso-8859-15?Q?St=FChn?= To: freebsd-arm@freebsd.org Subject: [BBB] NanoBSD ubldr problems Message-ID: <20190217125321.GA30529@freebsd-t450.fritz.box> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline User-Agent: Mutt/1.11.2 (2019-01-07) X-Originated-At: 79.217.247.46!19866 X-Rspamd-Queue-Id: C0C506D6B5 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of freebsdnewbie@freenet.de designates 195.4.92.93 as permitted sender) smtp.mailfrom=freebsdnewbie@freenet.de X-Spamd-Result: default: False [-2.67 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; RECEIVED_SPAMHAUS_PBL(0.00)[46.247.217.79.zen.spamhaus.org : 127.0.0.10]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[93.92.4.195.rep.mailspike.net : 127.0.0.18]; R_SPF_ALLOW(-0.20)[+ip4:195.4.92.0/23]; FREEMAIL_FROM(0.00)[freenet.de]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[freenet.de]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.97)[-0.970,0]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MX_GOOD(-0.01)[emig.freenet.de,emig.freenet.de,emig.freenet.de,emig.freenet.de]; NEURAL_HAM_SHORT(-0.39)[-0.387,0]; NEURAL_HAM_MEDIUM(-0.90)[-0.900,0]; IP_SCORE(-0.00)[country: DE(-0.01)]; RCVD_IN_DNSWL_LOW(-0.10)[93.92.4.195.list.dnswl.org : 127.0.5.1]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[freenet.de]; ASN(0.00)[asn:5430, ipnet:195.4.0.0/16, country:DE]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Feb 2019 12:56:17 -0000 Hi, I'm having some trouble getting plain NanoBSD running on an beaglebone black. Eventually I've got it working by making these two changes: 1. switch partitions NANO_SLICE_CFG from s2 to s3 and NANO_SLICE_ROOT from s3 to s2 in nanobsd/embedded/common 2. mark fat-partition active during mkimg for std-embedded NANO_LAYOUT The switch of partitions is necessary, because ubldr seems to not boot kernels from partitions other than ${DISK}s2 out of the box. Setting loaderdev does not help because ubldr has some issues; by using two different structs (disk_devdesc and uboot_devdesc) synonymously for providing slice and partition information down a call stack and not defining them as packed, padding prevents correct information transport. See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233097 Even with these changes applied, ubldr does not boot the s3-slice which contains the rootfs in default nanobsd-config, but tries s2 (conf) which fails because conf does not contain any kernel. I read in the source comments that ubldr will prioritise those partitions containing active flag in mbr-based disks over those without, but it is neccessary to mark the FAT-slice active because the BBB-ROM-loader will not boot u-boot because it checks for an active FAT-partition to find MLO and stuff. Setting loaderdev to "disk 0:3.0" in uboot helps, but trying to make it permanent via uEnv.txt does not work. Isn't uEnv.txt evaluated? As far as I understand, the boot does only work if the rootfs is located in the first slice to probe by ubldr, correct? How does the described update procedure (image-ping-pong) for arm NanoBSD work then? From owner-freebsd-arm@freebsd.org Mon Feb 18 00:18:07 2019 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 7394F14E78F9 for ; Mon, 18 Feb 2019 00:18:07 +0000 (UTC) (envelope-from c.jayachandran@gmail.com) Received: from mail-it1-f180.google.com (mail-it1-f180.google.com [209.85.166.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 953C868473 for ; Mon, 18 Feb 2019 00:18:06 +0000 (UTC) (envelope-from c.jayachandran@gmail.com) Received: by mail-it1-f180.google.com with SMTP id l15so24365770iti.4 for ; Sun, 17 Feb 2019 16:18:06 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=1SOe8NzNYQi5bHJ3z1IFME4mXLvrve3/fUOA1Zd1+xc=; b=j8avp9en793aY1Vchaq/WgKI8vwqNyKVehn7a4rUJ2T6lkOte/Nwk+3FgK468JiAwX qQHOOXi3fDJ+Q2N9q4ifgXIx5XfKXxoySjCGptJ4L0M7zC8QqrU+tV3EwTvaqj0hMf+H EfMJNW6imCZ9X+UHuSapGB1qJYbixB6fBpFoK1jkIJ/Jeo24WEokTuavxGnP9eFTH0xj YcE60ZUx6u5Z9FSN2Na1x+YojNxA2+vD4KiV1nb9j0MIe5iEbj5IW/jQNSy1dYH14bX8 ilS9rL1tQw9oS+52C0qr1yNQERUrx3bgHou1O5+cJDgUrZQYdNmONu3CmxlT4QTruMrq duww== X-Gm-Message-State: AHQUAuZezRTLiYEIlkOfYCGKje9ieSigNWe/ghZ9TLlrvdnFQw4TVeZw j+EVjn4tKsdR9Sq+np+3LfN+qB4TEuLdyP/LGoaFGQ== X-Google-Smtp-Source: AHgI3IZv/xtRgecZXFMN1+qsvTLbk+9zsaon8haZDMbiWc4BC3Xg/QAMTtYt1tUJXvHgaA74/yF4VIuwOnbgUgRiX2A= X-Received: by 2002:a24:c601:: with SMTP id j1mr12359239itg.130.1550449080035; Sun, 17 Feb 2019 16:18:00 -0800 (PST) MIME-Version: 1.0 From: "Jayachandran C." Date: Sun, 17 Feb 2019 16:17:34 -0800 Message-ID: Subject: FreeBSD on ThunderX2 update To: freebsd-arm@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 953C868473 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of cjayachandran@gmail.com designates 209.85.166.180 as permitted sender) smtp.mailfrom=cjayachandran@gmail.com X-Spamd-Result: default: False [-5.83 / 15.00]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; TO_DN_NONE(0.00)[]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.97)[-0.971,0]; FORGED_SENDER(0.30)[jchandra@freebsd.org,cjayachandran@gmail.com]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; TAGGED_FROM(0.00)[]; TO_DOM_EQ_FROM_DOM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_NEQ_ENVFROM(0.00)[jchandra@freebsd.org,cjayachandran@gmail.com]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-2.85)[ip: (-8.41), ipnet: 209.85.128.0/17(-3.79), asn: 15169(-1.98), country: US(-0.07)]; RCVD_IN_DNSWL_NONE(0.00)[180.166.85.209.list.dnswl.org : 127.0.5.0]; RCVD_TLS_LAST(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[180.166.85.209.rep.mailspike.net : 127.0.0.17]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Feb 2019 00:18:07 -0000 Another set of changes needed for ThunderX2 support has been committed over the past few weeks (thanks andrew@ for fixes and reviews). The change were to: add IORT table support (r343853, r343856, r343860), fix a crash seen with INVARIANTS off (r343875, r343876), and handle more memory regions from the firmware (r343764). Also, Cavium has released a firmware update at support.cavium.com (for Sabre reference platforms) that fixes the SATA controller initialization issue. With all these, the 13-CURRENT should boot and run fine on ThunderX2 - you just need to add 'options NUMA' to the conf. A backport of the needed changes to 12-STABLE is available at: https://github.com/jchandra-cavm/freebsd/commits/stable/12-tx2 . I have been running this on my Sabre, and so far it has been stable under stress. If you have access to a ThunderX2 board, let me know if it works for you. Thanks, JC From owner-freebsd-arm@freebsd.org Mon Feb 18 01:29:17 2019 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 0016414EACA4 for ; Mon, 18 Feb 2019 01:29:16 +0000 (UTC) (envelope-from kraileth@elderlinux.org) Received: from webmail2.omc.net (webmail2.omc.net [212.77.224.213]) by mx1.freebsd.org (Postfix) with ESMTP id 3709F6C204 for ; Mon, 18 Feb 2019 01:29:12 +0000 (UTC) (envelope-from kraileth@elderlinux.org) Received: by webmail2.omc.net (Postfix, from userid 1501) id 3DA90C4380E; Mon, 18 Feb 2019 02:29:11 +0100 (CET) Received: from dyndsl-095-033-178-058.ewe-ip-backbone.de (dyndsl-095-033-178-058.ewe-ip-backbone.de [95.33.178.58]) by webmail.omc.net (Horde Framework) with HTTP; Mon, 18 Feb 2019 02:29:11 +0100 Message-ID: <20190218022911.72261m7v5l6g1i7b@webmail.omc.net> Date: Mon, 18 Feb 2019 02:29:11 +0100 From: kraileth@elderlinux.org To: "freebsd-arm@freebsd.org" Subject: Restore broken ThunderX support in 12 by MFCing r343764? MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.3.9) X-Rspamd-Queue-Id: 3709F6C204 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of kraileth@elderlinux.org designates 212.77.224.213 as permitted sender) smtp.mailfrom=kraileth@elderlinux.org X-Spamd-Result: default: False [-1.07 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.74)[-0.737,0]; SUBJECT_ENDS_QUESTION(1.00)[]; R_SPF_ALLOW(-0.20)[+ip4:212.77.224.0/19]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[elderlinux.org]; NEURAL_HAM_LONG(-0.80)[-0.799,0]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; IP_SCORE(-0.00)[country: DE(-0.01)]; MX_GOOD(-0.01)[cached: mx10.omc.net]; NEURAL_HAM_SHORT(-0.22)[-0.217,0]; FROM_NO_DN(0.00)[]; TO_DN_EQ_ADDR_ALL(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; RECEIVED_SPAMHAUS_PBL(0.00)[58.178.33.95.zen.spamhaus.org : 127.0.0.11]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[213.224.77.212.list.dnswl.org : 127.0.5.1]; ASN(0.00)[asn:15388, ipnet:212.77.224.0/19, country:DE]; FROM_EQ_ENVFROM(0.00)[] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Feb 2019 01:29:17 -0000 Hi, FreeBSD was working well on 11.x but stopped with r336520 when vt_efifb was added to GENERIC on ARM64. As pointed out by John F Carr, all it takes to fix this locally, is setting the tunable hw.syscons.disable (https://lists.freebsd.org/pipermail/freebsd-arm/2019-February/019422.html). However -CURRENT broke _twice_ during the development phase of 12. After a few more nights of building kernels to exactly nail down the second issue, I have the commit that broke support and the one that restored it uncovered: While r338537's commit message says that it's increasing two values because of ThunderX, after the commit the kernel wouldn't boot any longer even with the tunable set. Some time later commit r343764 (targeting ThunderX2) accidentally fixed the problem for ThunderX, too. After that point setting the tunable results in a working system again. However the second commit was made after 12 was branched off and so to this day 12 is completely broken. I've confirmed that both 12-STABLE and 12.0-RELEASE work when the following patch is applied before building the kernel: ------ --- sys/arm/arm/physmem.c.orig 2019-02-17 08:47:05.675448000 +0100 +++ sys/arm/arm/physmem.c 2019-02-17 08:48:53.209050000 +0100 @@ -29,6 +29,7 @@ #include __FBSDID("$FreeBSD: stable/12/sys/arm/arm/physmem.c 341760 2018-12-09 06:46:53Z mmel $"); +#include "opt_acpi.h" #include "opt_ddb.h" /* @@ -48,8 +49,13 @@ * that can be allocated, or both, depending on the exclusion flags associated * with the region. */ +#ifdef DEV_ACPI +#define MAX_HWCNT 32 /* ACPI needs more regions */ +#define MAX_EXCNT 32 +#else #define MAX_HWCNT 16 #define MAX_EXCNT 16 +#endif #if defined(__arm__) #define MAX_PHYS_ADDR 0xFFFFFFFFull ------ Not being a developer though, I cannot judge if this cannot be MFC'd into 12-STABLE due to making invasive changes or if it simply never was because it was thought to be an improvement for 13 only and not an actually pretty vital fix for 12. If the changes from r343764 can be applied to 12-STABLE that would mean a future 12.1 could run on ThunderX again. If not, the reference platform for server-class ARM64 would be broken in all of 12 which would be rather unfortunate. Is there a chance to get the fix into 12-STABLE? Regards, Michael From owner-freebsd-arm@freebsd.org Mon Feb 18 00:30:31 2019 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 4F88A14E8018 for ; Mon, 18 Feb 2019 00:30:31 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: from mail-ed1-x541.google.com (mail-ed1-x541.google.com [IPv6:2a00:1450:4864:20::541]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1EC4969E90 for ; Mon, 18 Feb 2019 00:30:30 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: by mail-ed1-x541.google.com with SMTP id p27so4862331edc.6 for ; Sun, 17 Feb 2019 16:30:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hardenedbsd.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=ROGe6Ozjf5H9NI7xSlHcdbRn915DeZBjlkIUPHT0OEo=; b=hl+CtTTq8/1f2jvRrbaeWRA8fDsyZ4C62IbSyMJCUPBepiShQ4k5j5BsoIHVOo32hl 7pfO+tsEOGWe2PFwfBTvWj4ldkn9IiWMFBay4aMlbJb6lAapVp3DwGe1D0+JeBJeg4tq zN1lEvn0H7eUyXem+t0IR42ViBi7zs0BJbDzaeEdD6csjmS2DTC6xKyA2KZ64J+u0lVF BojhhCQzyBA9WmQhicso4wK7WdWD0PXh9BWnqA0PCdgnuSTip9kHlrQyuYT0nd06IAM2 cDG1dGAHlYPP+zMn5cZ3vNMG39lbFF9byi5pZkU/VorPZCvJWS4oW88nRAeHNCNULNLa xX+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=ROGe6Ozjf5H9NI7xSlHcdbRn915DeZBjlkIUPHT0OEo=; b=EmCQMIU1uxEgmX2cYrfFslzjcB5M6v9GmsyAiYaBEzqz84UncuGeOwkgQVxugCucuY Vr1FgbYxh54WUncY0nT7hURLp5pf8UB1qAOjHtUfHCOdXwHoNZy+2KwlFjv3ZmiJjrpM zSI43gUtTn8aa7i3Q/RAFft6Sy6gJrDZ5EsSNN2262MJsHgGHAwgGHJbGkBdqQwMn6Kw DOl9bl7hbntO77UXgDyBbNkPpSEhTRRT8TFia+moLGawnCO1W7YdLyoTumf6dy3mebzg 6UlJk2iYwDfOTEmiiPnmuQH6f7vAU1ThupqcZYnBOqXS01yZPH1cHZu/N9HMsIZCmCDC vyPA== X-Gm-Message-State: AHQUAuY/568wIL7it7kpepd+civxs8xpp95+GtS6jxQOpdbZs6Kn4i15 1PHjlj1KQSO0utQgkX34+ffciicjicHsaw== X-Google-Smtp-Source: AHgI3IYpJM9KWM6c9ftxnDpP8oKBwv6HuGjolLBf7w+D2BilPMYMRRHTgyMC5O46+2v8TL38E5zqkA== X-Received: by 2002:aa7:d445:: with SMTP id q5mr6064296edr.294.1550449829040; Sun, 17 Feb 2019 16:30:29 -0800 (PST) Received: from mutt-hbsd (tor01.telenet.unc.edu. [204.85.191.31]) by smtp.gmail.com with ESMTPSA id f12sm3461931edr.76.2019.02.17.16.30.26 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 17 Feb 2019 16:30:28 -0800 (PST) Date: Sun, 17 Feb 2019 19:29:49 -0500 From: Shawn Webb To: "Jayachandran C." Cc: freebsd-arm@freebsd.org Subject: Re: FreeBSD on ThunderX2 update Message-ID: <20190218002949.lk5nmxvzorq2uvje@mutt-hbsd> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="3tpcjo2chwq2eg2t" Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD mutt-hbsd 13.0-CURRENT-HBSD FreeBSD 13.0-CURRENT-HBSD e44da5b3ebd(hardened/current/master) HARDENEDBSD-13-CURRENT amd64 X-PGP-Key: http://pgp.mit.edu/pks/lookup?op=vindex&search=0x6A84658F52456EEE User-Agent: NeoMutt/20180716 X-Rspamd-Queue-Id: 1EC4969E90 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hardenedbsd.org header.s=google header.b=hl+CtTTq; spf=pass (mx1.freebsd.org: domain of shawn.webb@hardenedbsd.org designates 2a00:1450:4864:20::541 as permitted sender) smtp.mailfrom=shawn.webb@hardenedbsd.org X-Spamd-Result: default: False [-5.96 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[hardenedbsd.org:s=google]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; DMARC_NA(0.00)[hardenedbsd.org]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[hardenedbsd.org:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[1.4.5.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; MX_GOOD(-0.01)[alt1.aspmx.l.google.com,aspmx.l.google.com,aspmx2.googlemail.com,alt2.aspmx.l.google.com,aspmx3.googlemail.com]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_SHORT(-0.97)[-0.967,0]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; MIME_TRACE(0.00)[0:+,1:+]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_TLS_LAST(0.00)[]; IP_SCORE(-0.88)[ip: (-0.06), ipnet: 2a00:1450::/32(-2.29), asn: 15169(-1.98), country: US(-0.07)] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Feb 2019 00:30:31 -0000 --3tpcjo2chwq2eg2t Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Feb 17, 2019 at 04:17:34PM -0800, Jayachandran C. wrote: > Another set of changes needed for ThunderX2 support has been committed > over the past few weeks (thanks andrew@ for fixes and reviews). The > change were to: add IORT table support (r343853, r343856, r343860), > fix a crash seen with INVARIANTS off (r343875, r343876), and handle > more memory regions from the firmware (r343764). >=20 > Also, Cavium has released a firmware update at support.cavium.com (for > Sabre reference platforms) that fixes the SATA controller > initialization issue. With all these, the 13-CURRENT should boot and > run fine on ThunderX2 - you just need to add 'options NUMA' to the > conf. >=20 > A backport of the needed changes to 12-STABLE is available at: > https://github.com/jchandra-cavm/freebsd/commits/stable/12-tx2 . I > have been running this on my Sabre, and so far it has been stable > under stress. If you have access to a ThunderX2 board, let me know if > it works for you. I registered with Cavium's support site, but I never got the verification/approval email back from Cavium. Gigabyte's BIOS download page for their ThunderX2 system shows BIOS version of F16, not the latest F25 release. So, for HardenedBSD, we're not getting much more than radio silence. Perhaps I need to exercise a bit more patience. Is there any way to get access to the newer BIOS releases without having to wait for Gigabyte to update their end? Can you talk with Cavium support to get them to accept my registration? Thanks, --=20 Shawn Webb Cofounder and Security Engineer HardenedBSD Tor-ified Signal: +1 443-546-8752 Tor+XMPP+OTR: lattera@is.a.hacker.sx GPG Key ID: 0x6A84658F52456EEE GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89 3D9E 6A84 658F 5245 6EEE --3tpcjo2chwq2eg2t Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEKrq2ve9q9Ia+iT2eaoRlj1JFbu4FAlxp/HgACgkQaoRlj1JF bu4yYxAAwtdHX5IUWUNrjYhlsZlMO/xOMqoqcxw2jJiJliw974ke2axj5L6a0TVU 3qF5CZ9EVZWOLWzId5f7EGH4B06fKTmp1kf5I7SFzJaP5PFN04QK46EJVohD8Ppg QGodPoHv0NfWZ4jjSG+dNrVe0coWHiZjZ/YAIzK7SNorgXOX34m7fhPD1W0XOC3Q 0Z0MgV9fosJ0qzZBkieudZ1HGi1sTVu8jfxHWlGPUdE36pMoqMdNCRUMiSga0lQI yTDAngf72yyqKlPG8eHAN/hUo9vatEima3fmy6kfOm7Z1jnmnmrwvPuBealIL7j3 gs83G0pQ4H7cQEO6SVw9EmaPUTik/ZdJguex5Ssd39a9BYEicQUESP6ol+v/Q2bp WFxHxgWmNHzhetxtIqFyGRdkCJRmvuHeygGjnz/UL91vNORo2e/imbcWfmIdkvJp ea4LSCapqa76yIzRXAC2oatPlIbBCrlCVwOp5WhzCWY5tAEBWSWl/Ga/LV50HHFs QZqug49NGMbG+T1snXXdlDyCja8OYXx/ROn9Q89ioGdMr/nRrWOEBQnw0fa+7JWs XaLr3SiOHXYell2xKUkeucW8rJ0Gl/rpttfntYr3+p4vcvV4OEido6DnrAbmmmdx yulfKggMNJ915ODl5g691qDa97CDqX3tnHMOrNpAOTCaZTqB67M= =Ftdg -----END PGP SIGNATURE----- --3tpcjo2chwq2eg2t-- From owner-freebsd-arm@freebsd.org Mon Feb 18 02:43:57 2019 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 EA20A14EF253 for ; Mon, 18 Feb 2019 02:43:56 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from drew.franken.de (drew.ipv6.franken.de [IPv6:2001:638:a02:a001:20e:cff:fe4a:feaa]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.franken.de", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 803246FF76; Mon, 18 Feb 2019 02:43:56 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from [192.168.1.3] (p57BB4190.dip0.t-ipconnect.de [87.187.65.144]) (Authenticated sender: macmic) by mail-n.franken.de (Postfix) with ESMTPSA id A7346721E281E; Mon, 18 Feb 2019 03:43:51 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: Re: FreeBSD on ThunderX2 update From: Michael Tuexen In-Reply-To: Date: Mon, 18 Feb 2019 03:43:50 +0100 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: References: To: "Jayachandran C." X-Mailer: Apple Mail (2.3445.102.3) X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=disabled version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail-n.franken.de X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Feb 2019 02:43:57 -0000 > On 18. Feb 2019, at 01:17, Jayachandran C. wrote: > > Another set of changes needed for ThunderX2 support has been committed > over the past few weeks (thanks andrew@ for fixes and reviews). The > change were to: add IORT table support (r343853, r343856, r343860), > fix a crash seen with INVARIANTS off (r343875, r343876), and handle > more memory regions from the firmware (r343764). > > Also, Cavium has released a firmware update at support.cavium.com (for > Sabre reference platforms) that fixes the SATA controller > initialization issue. With all these, the 13-CURRENT should boot and > run fine on ThunderX2 - you just need to add 'options NUMA' to the > conf. Does this statement also apply to https://b2b.gigabyte.com/ARM-Server/R181-T92-rev-100 Or is 'Sabre' available from someone else? Best regards Michael > > A backport of the needed changes to 12-STABLE is available at: > https://github.com/jchandra-cavm/freebsd/commits/stable/12-tx2 . I > have been running this on my Sabre, and so far it has been stable > under stress. If you have access to a ThunderX2 board, let me know if > it works for you. > > Thanks, > JC > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" From owner-freebsd-arm@freebsd.org Mon Feb 18 02:45:04 2019 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 798A014EF2FF for ; Mon, 18 Feb 2019 02:45:04 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8DFBD6FFF8; Mon, 18 Feb 2019 02:45:03 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (localhost [127.0.0.1]) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3) with ESMTP id x1I2iviH003326; Sun, 17 Feb 2019 18:44:57 -0800 (PST) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: (from freebsd-rwg@localhost) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3/Submit) id x1I2ivBK003325; Sun, 17 Feb 2019 18:44:57 -0800 (PST) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <201902180244.x1I2ivBK003325@pdx.rh.CN85.dnsmgr.net> Subject: Re: Restore broken ThunderX support in 12 by MFCing r343764? In-Reply-To: <20190218022911.72261m7v5l6g1i7b@webmail.omc.net> To: kraileth@elderlinux.org Date: Sun, 17 Feb 2019 18:44:57 -0800 (PST) CC: "freebsd-arm@freebsd.org" , jchandra@freebsd.org X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: 8DFBD6FFF8 X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [4.06 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_SPAM_SHORT(0.89)[0.891,0]; IP_SCORE(-0.01)[ip: (0.02), ipnet: 69.59.192.0/19(0.01), asn: 13868(-0.01), country: US(-0.07)]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[dnsmgr.net]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.69)[0.692,0]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: pdx.rh.CN85.dnsmgr.net]; NEURAL_SPAM_LONG(0.60)[0.602,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:13868, ipnet:69.59.192.0/19, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_LAST(0.00)[] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Feb 2019 02:45:04 -0000 > Hi, > > FreeBSD was working well on 11.x but stopped with r336520 when > vt_efifb was added to GENERIC on ARM64. As pointed out by John F Carr, > all it takes to fix this locally, is setting the tunable > hw.syscons.disable > (https://lists.freebsd.org/pipermail/freebsd-arm/2019-February/019422.html). > > However -CURRENT broke _twice_ during the development phase of 12. > After a few more nights of building kernels to exactly nail down the > second issue, I have the commit that broke support and the one that > restored it uncovered: > > While r338537's commit message says that it's increasing two values > because of ThunderX, after the commit the kernel wouldn't boot any > longer even with the tunable set. Some time later commit r343764 > (targeting ThunderX2) accidentally fixed the problem for ThunderX, > too. After that point setting the tunable results in a working system > again. > > However the second commit was made after 12 was branched off and so to > this day 12 is completely broken. I've confirmed that both 12-STABLE > and 12.0-RELEASE work when the following patch is applied before > building the kernel: > > ------ > --- sys/arm/arm/physmem.c.orig 2019-02-17 08:47:05.675448000 +0100 > +++ sys/arm/arm/physmem.c 2019-02-17 08:48:53.209050000 +0100 > @@ -29,6 +29,7 @@ > #include > __FBSDID("$FreeBSD: stable/12/sys/arm/arm/physmem.c 341760 > 2018-12-09 06:46:53Z mmel $"); > > +#include "opt_acpi.h" > #include "opt_ddb.h" > > /* > @@ -48,8 +49,13 @@ > * that can be allocated, or both, depending on the exclusion flags > associated > * with the region. > */ > +#ifdef DEV_ACPI > +#define MAX_HWCNT 32 /* ACPI needs more regions */ > +#define MAX_EXCNT 32 > +#else > #define MAX_HWCNT 16 > #define MAX_EXCNT 16 > +#endif > > #if defined(__arm__) > #define MAX_PHYS_ADDR 0xFFFFFFFFull > ------ > > Not being a developer though, I cannot judge if this cannot be MFC'd > into 12-STABLE due to making invasive changes or if it simply never > was because it was thought to be an improvement for 13 only and not an > actually pretty vital fix for 12. > > If the changes from r343764 can be applied to 12-STABLE that would > mean a future 12.1 could run on ThunderX again. If not, the reference > platform for server-class ARM64 would be broken in all of 12 which > would be rather unfortunate. > > Is there a chance to get the fix into 12-STABLE? > > Regards, > Michael I am cc'ing this to the developer who made commit 343764, Is there any reason that this can not be merged to stable/12? We don't issue errata for this platform, but at least this should fix the weekly snapshots that are built. Michael, have you tried any of the stable/12 snapshots? Would you be willing to confirm that they are broken in the same way, perhaps waiting after the response from the developer, as if this is mergable that would be pointless to test what we know to be broken. -- Rod Grimes rgrimes@freebsd.org From owner-freebsd-arm@freebsd.org Tue Feb 19 18:07:44 2019 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 4C2C714F73D5 for ; Tue, 19 Feb 2019 18:07:44 +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 A580F6A07A for ; Tue, 19 Feb 2019 18:07:43 +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 x1JI7wT3013570 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 19 Feb 2019 10:07:59 -0800 (PST) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id x1JI7v5K013569; Tue, 19 Feb 2019 10:07:57 -0800 (PST) (envelope-from fbsd) Date: Tue, 19 Feb 2019 10:07:57 -0800 From: bob prohaska To: freebsd-arm@freebsd.org Subject: Clang segfault on rpi3 workaround using -O2 Message-ID: <20190219180757.GA13504@www.zefox.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-Rspamd-Queue-Id: A580F6A07A X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [4.62 / 15.00]; ARC_NA(0.00)[]; WWW_DOT_DOMAIN(0.50)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.73)[0.732,0]; IP_SCORE(0.25)[ip: (0.87), ipnet: 50.1.16.0/20(0.44), asn: 7065(-0.01), country: US(-0.07)]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[zefox.net]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.95)[0.953,0]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: www.zefox.net]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_SPAM_LONG(0.80)[0.798,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; MID_RHS_WWW(0.50)[] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Feb 2019 18:07:44 -0000 The segfaults in clang during buildworld on rpi3 persisted past r339376, but a hint from https://github.com/android-ndk/ndk/issues/386 suggested trying CFLAGS=-O2 as a long-shot workaround. To my surprise, it worked. Three passes were required to clear the segfaults, but now a -j4 buildworld/buildkernel cycle runs without error to completion. A test of www/chromium is underway now, and about half finished with no errors yet, using r344113. The github report is more than a year old and notes that clang was fixed around that time. Is it possible the fix didn't find its way into FreeBSD? Thanks for reading, bob prohaska From owner-freebsd-arm@freebsd.org Tue Feb 19 21:45:56 2019 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 4803D14DABF6 for ; Tue, 19 Feb 2019 21:45:56 +0000 (UTC) (envelope-from c.jayachandran@gmail.com) Received: from mail-it1-f169.google.com (mail-it1-f169.google.com [209.85.166.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 66618759E6 for ; Tue, 19 Feb 2019 21:45:55 +0000 (UTC) (envelope-from c.jayachandran@gmail.com) Received: by mail-it1-f169.google.com with SMTP id r11so9943040itc.2 for ; Tue, 19 Feb 2019 13:45:55 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=mqPKOKim2A1sGJdJsxvOCU6aQNv2iHVqzo3SM1lQMjw=; b=ZpZVtHq+1sgBqoW/DthEKXkGr6hhSngQoztgt8XELYUYLIf1+AYaARmI/eqHraucc0 5iWsfMr1r7bjN9jy9XbmsoBT+ER7qa7kM8lp2wJwJSZ3+pllzZ8x8tyDrryAwnVNKmP7 xbd6TncBS/u27L2EXQUwNx6RiehCwNbT427DaJMvcvRftYCU6OovpjADc9g3ZSjhME3h 9HFlvPvmdjWfwt+tYwxDaLdDI5lzzq4CaEbuuwDO1FRkpVst66/nxRbJdHQ8BAGQ03uh +36hoRnDa99ph9JaxwNSaqFSO7mS8SKAH3SMKEGVX2+hmqhX0FI+FbCNzYgtCcG/RH5I SLOA== X-Gm-Message-State: AHQUAuZ3DygsIKLPF8XIPYGvtBD2FSen9xlSXTAcuPgZKsynHmpOfIy9 td6WEbgJvrt3whA/Qau6TpXe4/JkLVFsMKV1wwo= X-Google-Smtp-Source: AHgI3IaufbEuoFk3YYwySDm33cwwP1QnvM5wHKMExU+2Fw6j8rJ5ZzIyH4ERUM/8PzJNjUs15mk8YZHL1M3XdmrkeNY= X-Received: by 2002:a24:13c4:: with SMTP id 187mr3136069itz.130.1550612309915; Tue, 19 Feb 2019 13:38:29 -0800 (PST) MIME-Version: 1.0 References: <20190218002949.lk5nmxvzorq2uvje@mutt-hbsd> In-Reply-To: <20190218002949.lk5nmxvzorq2uvje@mutt-hbsd> From: "Jayachandran C." Date: Tue, 19 Feb 2019 13:38:03 -0800 Message-ID: Subject: Re: FreeBSD on ThunderX2 update To: Shawn Webb Cc: freebsd-arm@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 66618759E6 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of cjayachandran@gmail.com designates 209.85.166.169 as permitted sender) smtp.mailfrom=cjayachandran@gmail.com X-Spamd-Result: default: False [-5.81 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; IP_SCORE(-2.95)[ip: (-8.88), ipnet: 209.85.128.0/17(-3.80), asn: 15169(-1.99), country: US(-0.07)]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[169.166.85.209.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.86)[-0.855,0]; RCVD_TLS_LAST(0.00)[]; FORGED_SENDER(0.30)[jchandra@freebsd.org,cjayachandran@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[169.166.85.209.rep.mailspike.net : 127.0.0.17]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; TAGGED_FROM(0.00)[]; FROM_NEQ_ENVFROM(0.00)[jchandra@freebsd.org,cjayachandran@gmail.com]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Feb 2019 21:45:56 -0000 On Sun, Feb 17, 2019 at 4:30 PM Shawn Webb wrote: > > On Sun, Feb 17, 2019 at 04:17:34PM -0800, Jayachandran C. wrote: > > Another set of changes needed for ThunderX2 support has been committed > > over the past few weeks (thanks andrew@ for fixes and reviews). The > > change were to: add IORT table support (r343853, r343856, r343860), > > fix a crash seen with INVARIANTS off (r343875, r343876), and handle > > more memory regions from the firmware (r343764). > > > > Also, Cavium has released a firmware update at support.cavium.com (for > > Sabre reference platforms) that fixes the SATA controller > > initialization issue. With all these, the 13-CURRENT should boot and > > run fine on ThunderX2 - you just need to add 'options NUMA' to the > > conf. > > > > A backport of the needed changes to 12-STABLE is available at: > > https://github.com/jchandra-cavm/freebsd/commits/stable/12-tx2 . I > > have been running this on my Sabre, and so far it has been stable > > under stress. If you have access to a ThunderX2 board, let me know if > > it works for you. > > I registered with Cavium's support site, but I never got the > verification/approval email back from Cavium. > > Gigabyte's BIOS download page for their ThunderX2 system shows BIOS > version of F16, not the latest F25 release. > > So, for HardenedBSD, we're not getting much more than radio silence. > > Perhaps I need to exercise a bit more patience. Is there any way to > get access to the newer BIOS releases without having to wait for > Gigabyte to update their end? Can you talk with Cavium support to get > them to accept my registration? Since this server is from Gigabyte, they will need to provide the firmware image. The server platform is probably based on Cavium's reference design (Sabre/Zabla) and Gigabyte is probably working with AMI for the firmware. It is worth putting pressure on Gigabyte to provide a firmware with fixes. I don't have access to the Gigabyte platform here to try it out, but I think here maybe a potential workaround for the issue, I have to spend some time to figure out that. JC From owner-freebsd-arm@freebsd.org Fri Feb 22 07:05:13 2019 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 0470814DCC13 for ; Fri, 22 Feb 2019 07:05:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8C24586257 for ; Fri, 22 Feb 2019 07:05:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id B5F535098 for ; Fri, 22 Feb 2019 07:05:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x1M75BmH046047 for ; Fri, 22 Feb 2019 07:05:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x1M75Blc046046 for freebsd-arm@FreeBSD.org; Fri, 22 Feb 2019 07:05:11 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 225819] base/head is currently unusable on arm64 Date: Fri, 22 Feb 2019 07:05:11 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: antoine@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Feb 2019 07:05:13 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225819 Antoine Brodin changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|New |Closed --- Comment #13 from Antoine Brodin --- Problems seem fixed with a new network card. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-arm@freebsd.org Fri Feb 22 15:11:23 2019 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 3EC8314EF2EF for ; Fri, 22 Feb 2019 15:11:23 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [95.85.46.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 3F54C70A14 for ; Fri, 22 Feb 2019 15:11:17 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [192.168.1.191] (213-216-249-17.bb.dnainternet.fi [213.216.249.17]) (authenticated bits=0) by mail.kronometrix.org (8.15.2/8.15.2) with ESMTPSA id x1MF7SqB053976 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 22 Feb 2019 15:07:29 GMT (envelope-from sparvu@kronometrix.org) X-Authentication-Warning: mail.kronometrix.org: Host 213-216-249-17.bb.dnainternet.fi [213.216.249.17] claimed to be [192.168.1.191] From: Stefan Parvu Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: RBPI3B+ FreeBSD 12 ZFS Message-Id: Date: Fri, 22 Feb 2019 17:07:22 +0200 To: freebsd-arm@freebsd.org X-Mailer: Apple Mail (2.3445.102.3) X-Rspamd-Queue-Id: 3F54C70A14 X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of sparvu@kronometrix.org designates 95.85.46.90 as permitted sender) smtp.mailfrom=sparvu@kronometrix.org X-Spamd-Result: default: False [2.98 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; HAS_XAW(0.00)[]; NEURAL_SPAM_MEDIUM(0.88)[0.882,0]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MX_GOOD(-0.01)[mail.kronometrix.org]; NEURAL_SPAM_LONG(0.58)[0.575,0]; DMARC_NA(0.00)[kronometrix.org]; NEURAL_SPAM_SHORT(0.85)[0.855,0]; IP_SCORE(0.48)[asn: 14061(2.48), country: US(-0.07)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; ASN(0.00)[asn:14061, ipnet:95.85.0.0/18, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Feb 2019 15:11:23 -0000 Hi, Just curious, would ZFS work on a RBPI3B+ board with 1 GB RAM only using FreeBSD 12 STABLE ? the hardware is 64bit but would it boot on 1 GB RAM for its own ARC internal operations ? Thanks, Stefan Parvu sparvu@kronometrix.org From owner-freebsd-arm@freebsd.org Fri Feb 22 15:23:49 2019 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 F401E14EFA98 for ; Fri, 22 Feb 2019 15:23:48 +0000 (UTC) (envelope-from karl@denninger.net) Received: from colo1.denninger.net (colo1.denninger.net [104.236.120.189]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id ECEDD71485 for ; Fri, 22 Feb 2019 15:23:47 +0000 (UTC) (envelope-from karl@denninger.net) Received: from denninger.net (ip68-1-57-197.pn.at.cox.net [68.1.57.197]) by colo1.denninger.net (Postfix) with ESMTP id 1001D2110B8 for ; Fri, 22 Feb 2019 10:23:40 -0500 (EST) Received: from [192.168.10.27] (D17.Denninger.Net [192.168.10.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by denninger.net (Postfix) with ESMTPSA id 3A43646662F for ; Fri, 22 Feb 2019 09:23:39 -0600 (CST) Subject: Re: RBPI3B+ FreeBSD 12 ZFS To: freebsd-arm@freebsd.org References: From: Karl Denninger Openpgp: preference=signencrypt Autocrypt: addr=karl@denninger.net; prefer-encrypt=mutual; keydata= mQINBFIX1zsBEADRcJfsQUl9oFeoMfLPJ1kql+3sIaYx0MfJAUhV9LnbWxr0fsWCskM1O4cV tHm5dqPkuPM4Ztc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Fwq52nbrcANrcdmtZXqjo+SGbUqJ8b1ggrxAsJ5MEhRh2peKrCgI/TjQo+ZxfnqEoR4AI 46Cyiz+/lcVvlvmf2iPifS3EEdaH3Itfwt7MxFm6mQORYs6skHDw3tOYB2/AdCW6eRVYs2hB RMAG4uwApZfZDKgRoE95PJmQjeTBiGmRPcsQZtNESe7I7EjHtCDLwtJqvD4HkDDQwpzreT6W XkyIJ7ns7zDfA1E+AQhFR6rsTFGgQZRZKsVeov3SbhYKkCnVDCvb/PKQCAGkSZM9SvYG5Yax 8CMry3AefKktf9fqBFg8pWqtVxDwJr56dhi0GHXRu3jVI995rMGo1fLUG5fSxiZ8L5sAtokh 9WFmQpyl Message-ID: Date: Fri, 22 Feb 2019 09:23:41 -0600 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-512; boundary="------------ms060503090202040105090703" X-Rspamd-Queue-Id: ECEDD71485 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.56 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_ATTACHMENT(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; MX_GOOD(-0.01)[px.denninger.net]; NEURAL_HAM_SHORT(-0.97)[-0.969,0]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(-2.38)[ip: (-9.87), ipnet: 104.236.64.0/18(-4.45), asn: 14061(2.48), country: US(-0.07)]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:14061, ipnet:104.236.64.0/18, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:+]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[197.57.1.68.zen.spamhaus.org : 127.0.0.11]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; SIGNED_SMIME(-2.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,multipart/alternative,text/plain]; RCVD_TLS_LAST(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[denninger.net]; R_SPF_NA(0.00)[] X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Feb 2019 15:23:49 -0000 This is a cryptographically signed message in MIME format. --------------ms060503090202040105090703 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2/22/2019 09:07, Stefan Parvu wrote: > Hi, > > Just curious, would ZFS work on a RBPI3B+ board with 1 GB RAM only=20 > using FreeBSD 12 STABLE ? the hardware is 64bit but would it boot on > 1 GB RAM for its own ARC internal operations ? > > Thanks, > > Stefan Parvu > sparvu@kronometrix.org Are you talking about attempting to mount root off a ZFS filesystem on the SD card or booting it as usual and then loading zfs once running (e.g. to talk to a USB-attached disk)? I think you'll find that while it might run it's a very bad idea for a whole host of reasons; what purpose do you have in doing this? --=20 Karl Denninger karl@denninger.net /The Market Ticker/ /[S/MIME encrypted email preferred]/ --------------ms060503090202040105090703 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgMFADCABgkqhkiG9w0BBwEAAKCC DdgwggagMIIEiKADAgECAhMA5EiKghDOXrvfxYxjITXYDdhIMA0GCSqGSIb3DQEBC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CJUk1u+MUdfOG7AlWNGDVi7AAAAAAAAA== --------------ms060503090202040105090703-- From owner-freebsd-arm@freebsd.org Fri Feb 22 15:38:13 2019 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 2D1E914F02CC for ; Fri, 22 Feb 2019 15:38:13 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [95.85.46.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 7172E71E87 for ; Fri, 22 Feb 2019 15:38:12 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [192.168.1.191] (213-216-249-17.bb.dnainternet.fi [213.216.249.17]) (authenticated bits=0) by mail.kronometrix.org (8.15.2/8.15.2) with ESMTPSA id x1MFc9wb054248 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 22 Feb 2019 15:38:10 GMT (envelope-from sparvu@kronometrix.org) X-Authentication-Warning: mail.kronometrix.org: Host 213-216-249-17.bb.dnainternet.fi [213.216.249.17] claimed to be [192.168.1.191] From: Stefan Parvu Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: Re: RBPI3B+ FreeBSD 12 ZFS Date: Fri, 22 Feb 2019 17:38:03 +0200 References: To: freebsd-arm@freebsd.org In-Reply-To: Message-Id: <5D976A97-9800-4A9F-A155-F3BD998AFB4C@kronometrix.org> X-Mailer: Apple Mail (2.3445.102.3) X-Rspamd-Queue-Id: 7172E71E87 X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of sparvu@kronometrix.org designates 95.85.46.90 as permitted sender) smtp.mailfrom=sparvu@kronometrix.org X-Spamd-Result: default: False [2.99 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; HAS_XAW(0.00)[]; NEURAL_SPAM_MEDIUM(0.87)[0.870,0]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MX_GOOD(-0.01)[cached: mail.kronometrix.org]; NEURAL_SPAM_LONG(0.59)[0.595,0]; DMARC_NA(0.00)[kronometrix.org]; NEURAL_SPAM_SHORT(0.85)[0.854,0]; IP_SCORE(0.48)[asn: 14061(2.48), country: US(-0.07)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; ASN(0.00)[asn:14061, ipnet:95.85.0.0/18, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Feb 2019 15:38:13 -0000 I know ZFS would need a decent amount of RAM to start with. So for such = low sized=20 SBC systems, like Raspberry PI having ZFS for root might be no go. What I meant was: how complicated would be right now for FreeBSD 12 to = have an=20 ARM64 RBPI3B+ image image which could use ZFS to boot from a SD Card. Stefan Parvu sparvu@kronometrix.org > On 22 Feb 2019, at 17.23, Karl Denninger wrote: >=20 > On 2/22/2019 09:07, Stefan Parvu wrote: >> Hi, >>=20 >> Just curious, would ZFS work on a RBPI3B+ board with 1 GB RAM only=20 >> using FreeBSD 12 STABLE ? the hardware is 64bit but would it boot on >> 1 GB RAM for its own ARC internal operations ? >>=20 >> Thanks, >>=20 >> Stefan Parvu >> sparvu@kronometrix.org >=20 > Are you talking about attempting to mount root off a ZFS filesystem on > the SD card or booting it as usual and then loading zfs once running > (e.g. to talk to a USB-attached disk)? >=20 > I think you'll find that while it might run it's a very bad idea for a > whole host of reasons; what purpose do you have in doing this? >=20 > --=20 > Karl Denninger > karl@denninger.net > /The Market Ticker/ > /[S/MIME encrypted email preferred]/ From owner-freebsd-arm@freebsd.org Fri Feb 22 15:54:23 2019 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 7D30C14F0DC8 for ; Fri, 22 Feb 2019 15:54:23 +0000 (UTC) (envelope-from karl@denninger.net) Received: from colo1.denninger.net (colo1.denninger.net [104.236.120.189]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E52DD72803 for ; Fri, 22 Feb 2019 15:54:22 +0000 (UTC) (envelope-from karl@denninger.net) Received: from denninger.net (ip68-1-57-197.pn.at.cox.net [68.1.57.197]) by colo1.denninger.net (Postfix) with ESMTP id AD9A32110B8 for ; Fri, 22 Feb 2019 10:53:51 -0500 (EST) Received: from [192.168.10.27] (D17.Denninger.Net [192.168.10.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by denninger.net (Postfix) with ESMTPSA id D2864466724 for ; Fri, 22 Feb 2019 09:53:50 -0600 (CST) Subject: Re: RBPI3B+ FreeBSD 12 ZFS To: freebsd-arm@freebsd.org References: <5D976A97-9800-4A9F-A155-F3BD998AFB4C@kronometrix.org> From: Karl Denninger Openpgp: preference=signencrypt Autocrypt: addr=karl@denninger.net; prefer-encrypt=mutual; keydata= mQINBFIX1zsBEADRcJfsQUl9oFeoMfLPJ1kql+3sIaYx0MfJAUhV9LnbWxr0fsWCskM1O4cV tHm5dqPkuPM4Ztc0jLotD1i9ubWvCHOlkLGxFOL+pFbjA+XZ7VKsC/xWmhMwJ3cM8HavK2OV SzEWQ/AEYtMi04IzGSwsxh/5/5R0mPHrsIomV5SbuiI0vjLuDj7fo6146AABI1ULzge4hBYW i/SHrqUrLORmUNBs6bxek79/B0Dzk5cIktD3LOfbT9EAa5J/osVkstMBhToJgQttaMIGv8SG CzpR/HwEokE+7DP+k2mLHnLj6H3kfugOF9pJH8Za4yFmw//s9cPXV8WwtZ2SKfVzn1unpKqf wmJ1PwJoom/d4fGvQDkgkGKRa6RGC6tPmXnqnx+YX4iCOdFfbP8L9rmk2sewDDVzHDU3I3ZZ 8hFIjMYM/QXXYszRatK0LCV0QPZuF7LCf4uQVKw1/oyJInsnH7+6a3c0h21x+CmSja9QJ+y0 yzgEN/nM89d6YTakfR+1xkYgodVmMy/bS8kmXbUUZG/CyeqCqc95RUySjKT2ECrf9GhhoQkl +D8n2MsrAUSMGB4GQSN+TIq9OBTpNuvATGSRuF9wnQcs1iSry+JNCpfRTyWp83uCNApe6oHU EET4Et6KDO3AvjvBMAX0TInTRGW2SQlJMuFKpc7Dg7tHK8zzqQARAQABtCNLYXJsIERlbm5p bmdlciA8a2FybEBkZW5uaW5nZXIubmV0PokCPAQTAQIAJgUCUhfXOwIbIwUJCWYBgAYLCQgH AwIEFQIIAwQWAgMBAh4BAheAAAoJEG6/sivc5s0PLxQP/i6x/QFx9G4Cw7C+LthhLXIm7NSH AtNbz2UjySEx2qkoQQjtsK6mcpEEaky4ky6t8gz0/SifIfJmSmyAx0UhUQ0WBv1vAXwtNrQQ jJd9Bj6l4c2083WaXyHPjt2u2Na6YFowyb4SaQb83hu/Zs25vkPQYJVVE0JX409MFVPUa6E3 zFbd1OTr3T4yNUy4gNeQZfzDqDS8slbIks2sXeoJrZ6qqXVI0ionoivOlaN4T6Q0UYyXtigj dQvvhMt0aNowKFjRqrmSDRpdz+o6yg7Mp7qEZ1V6EZk8KqQTH6htpCTQ8i79ttK4LG6bstSF Re6Fwq52nbrcANrcdmtZXqjo+SGbUqJ8b1ggrxAsJ5MEhRh2peKrCgI/TjQo+ZxfnqEoR4AI 46Cyiz+/lcVvlvmf2iPifS3EEdaH3Itfwt7MxFm6mQORYs6skHDw3tOYB2/AdCW6eRVYs2hB RMAG4uwApZfZDKgRoE95PJmQjeTBiGmRPcsQZtNESe7I7EjHtCDLwtJqvD4HkDDQwpzreT6W XkyIJ7ns7zDfA1E+AQhFR6rsTFGgQZRZKsVeov3SbhYKkCnVDCvb/PKQCAGkSZM9SvYG5Yax 8CMry3AefKktf9fqBFg8pWqtVxDwJr56dhi0GHXRu3jVI995rMGo1fLUG5fSxiZ8L5sAtokh 9WFmQpyl Message-ID: <19ed5715-f1f1-6c5d-5dc6-e9c5225e5445@denninger.net> Date: Fri, 22 Feb 2019 09:53:52 -0600 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0 MIME-Version: 1.0 In-Reply-To: <5D976A97-9800-4A9F-A155-F3BD998AFB4C@kronometrix.org> Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-512; boundary="------------ms060101060603070705000103" X-Rspamd-Queue-Id: E52DD72803 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.57 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_ATTACHMENT(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; MX_GOOD(-0.01)[cached: px.denninger.net]; NEURAL_HAM_SHORT(-0.98)[-0.978,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:14061, ipnet:104.236.64.0/18, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:+]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[197.57.1.68.zen.spamhaus.org : 127.0.0.11]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; SIGNED_SMIME(-2.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-2.39)[ip: (-9.87), ipnet: 104.236.64.0/18(-4.47), asn: 14061(2.48), country: US(-0.07)]; DMARC_NA(0.00)[denninger.net]; R_SPF_NA(0.00)[] X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Feb 2019 15:54:23 -0000 This is a cryptographically signed message in MIME format. --------------ms060101060603070705000103 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2/22/2019 09:38, Stefan Parvu wrote: > I know ZFS would need a decent amount of RAM to start with. So for such= low sized=20 > SBC systems, like Raspberry PI having ZFS for root might be no go. > > What I meant was: how complicated would be right now for FreeBSD 12 to = have an=20 > ARM64 RBPI3B+ image image which could use ZFS to boot from a SD Card. > > Stefan Parvu > sparvu@kronometrix.org I'm trying to figure out the use case. Will it boot?=C2=A0 Probably.=C2=A0 Is it asking for trouble?=C2=A0 Almos= t-definitely. SD cards are not write-durable to begin with.=C2=A0 I use NanoBSD-style configurations on these units because I've had *several* SD card failures over the last few years in them, which were only halted when I stopped treating them the same way I'd look at either a traditional SSD or spinning rust, just slower.=C2=A0 I suspect ZFS is only going to ampli= fy that problem -- maybe by a lot. It's easy enough to figure out whether the base case will run; boot the traditional media and then issue a "zfs" command so the .ko files come in and then see what sort of free RAM you have.=C2=A0 If it crashes insta= ntly you have your answer, but I would expect it, at that level, to "work" -- you can then set up a pool on a USB-attached disk and see how that goes.=C2=A0 The issue is that without swap (and swapping to an SD card is= an insanely bad idea) RAM pressure results in killed jobs so the next-obvious question is what do you want to run on the Pi once it's booted and running?=C2=A0 You're taking on a pretty decent amount of over= head so the question becomes "for what purpose?" If I get some time I'll play with it here (I use the Pis for embedded work on FreeBSD fairly heavily but right now am in the middle of some build work that precludes me from doing it today) but I'm having trouble envisioning why you'd want a zfs root on a Pi to begin with. --=20 Karl Denninger karl@denninger.net /The Market Ticker/ /[S/MIME encrypted email preferred]/ --------------ms060101060603070705000103 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgMFADCABgkqhkiG9w0BBwEAAKCC DdgwggagMIIEiKADAgECAhMA5EiKghDOXrvfxYxjITXYDdhIMA0GCSqGSIb3DQEBCwUAMIGL MQswCQYDVQQGEwJVUzEQMA4GA1UECAwHRmxvcmlkYTESMBAGA1UEBwwJTmljZXZpbGxlMRkw FwYDVQQKDBBDdWRhIFN5c3RlbXMgTExDMRgwFgYDVQQLDA9DdWRhIFN5c3RlbXMgQ0ExITAf BgNVBAMMGEN1ZGEgU3lzdGVtcyBMTEMgMjAxNyBDQTAeFw0xNzA4MTcxNjQyMTdaFw0yNzA4 MTUxNjQyMTdaMHsxCzAJBgNVBAYTAlVTMRAwDgYDVQQIDAdGbG9yaWRhMRkwFwYDVQQKDBBD dWRhIFN5c3RlbXMgTExDMRgwFgYDVQQLDA9DdWRhIFN5c3RlbXMgQ0ExJTAjBgNVBAMM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XB6nPTANBgkqhkiG9w0BAQEF AASCAgA5lftPKSRg93zAsQdAA4bXSjb9ZNzIfP66pfmsT/dlLnoQ15OObS3CssyvsLlkk96L VcY5WjxWbnvfZLYoDe9BvdY5/PDZtqXsHkEdNvgIRqOmSmfxabKq0MuqvE5Ddp8S/yC4TVhD R06Qq5HxmytkuTKuOSe2yM2EvZeVGzzh+3qGvcv5ArCPbsMzR+I0PrXJYXDbrz4jo9Og0/UR MevinCV1/MYQ2H+SiVFKsN0tYayKpdG0J4Vzpv21KPCeBpi0kKmqWAh2uNnMgUY2gQM4V34j OqSLBTijfYX7NazOHOJVtAunOJiNuUNwJTeJQNvq1y8BE+KTuIG+aPSteLZTVrl9VMvk0mr7 UruRGSWJnbxUwIkWrH+Z9sNLZUa7Qg+IvhfK5/ZZuk+fZgTJhGI9j9uAuBZq0aogr0CgckPd yZDEfQ44MIFQ5m52rgkyZ9toe8gWVUJstqNza7wCc7W3CFC/oSVYtmpWSk1repKEkgoew/Tj Hg6DNu5V4mu7+Aqm3kEbG3FVADa/UeKgvVMEVGCoWnF55/J6WArOw24xuFQ/siE5TIx9ZpjV xjHp9azZ7Z4/bWj6SyZ4mpUs4bXgpooHBug9dUhBzP/9GN9UxPhdRuvMnL66pHwkh0poAf7f PxBWkiMWQavfolsmR/S85rTBseF6AkT6smH0tVzB4gAAAAAAAA== --------------ms060101060603070705000103-- From owner-freebsd-arm@freebsd.org Fri Feb 22 15:59:21 2019 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 EC3D814F13DA for ; Fri, 22 Feb 2019 15:59:20 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound3d.ore.mailhop.org (outbound3d.ore.mailhop.org [54.186.57.195]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 281BF72C36 for ; Fri, 22 Feb 2019 15:59:20 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1550851118; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=fjUCq2Vg7AnohxhMd1H8a0oiHi/IR8Lu1mSS5uyjqi0go8xxQnWSk5famCwZRvL3ZyRupltchRJWD g+03WccwfCuRw9SrGoMBMvfnxKWF3RG6EEzUkVXz6C85hoFueJ5L5VXd6wmFpjtRDBMajRMqgXW9SK B1hFPbSYIpHJ7KsKyO9psF/xXt73AjvOKGm1BvwXUCAo0kG27q5Mld2EcSTmXONsAx0VZx22tPlGbV QetHJm+mZyM487Ui9CKG5WpmiV7YpdEqH3Yb/cPVwHTfDks7XHqZRsupax+CruJ5nuJJdkoHxf9g1m jPwMzpwyAOJk9RVkTpdsxwwJNpwA1Gg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=arc-outbound20181012; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:to:from:subject:message-id:dkim-signature:from; bh=aogUC1qgXzAl1jxGd4KfOzrUmU4L0quoPs+NUkDQoCQ=; b=ByHSN//aCwQXboTJfnXEfSAOX3usVJN7+BOgaiArrtbDZAdfhj28LSUo6rowemvYL0nId6Td+1WRp 1J8hrcUQ+43plQTHLzL1qv5ySR2aHgzNEnwCOXw/K6xUimuPwBjMdbHUvs/aC2UM8h45xN64KL5PEf 1M//2+u/vYkQhsF8hDzXv4HRbj07IdjDQ1LnSVfcSfMSSBprq135b6wkNLBAf+fqXvvpEC3PTaXevk VS3x6tTG/6+7uCVZ7cwkHh/xuALtbu8b6vPSUErJe4OLBDzxtMa7Bh1HAFE5gLZUIiZ1xaRJBHJGnt s+HXRy8bDhGZks/AJSvCHurZP7X6Okg== ARC-Authentication-Results: i=1; outbound3.ore.mailhop.org; spf=softfail smtp.mailfrom=freebsd.org smtp.remote-ip=67.177.211.60; dmarc=none header.from=freebsd.org; arc=none header.oldest-pass=0; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=dkim-high; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:to:from:subject:message-id:from; bh=aogUC1qgXzAl1jxGd4KfOzrUmU4L0quoPs+NUkDQoCQ=; b=DoE/B1ZjqhMVMqTMKQDGloH3590fh0ampR9UgIxHO8VjMhvahfP6kqiOK6KNBp5XwCB2Zem/pWMok XB9RquirWRwSnSdOCMDGljGNx1jgAOVXW1tOncrLR8TB42EqcfDmzskODg9CKoU1sK+iOdjW5Ji6dd w6FupMceR+1JEvyYPs06YE37SQXHPMynwIIQjIZ3KiqzUHtUA/eIPFWFJfHR04oypsu4jmK0Sehfyo EqJQ8e/diDnO5mav7hoFwc6QrQ7T7OIaYRDfShLl6zqDezi8pfB6xzvD+3OQVA9+ncmvWPaGiZ6mUi GGFrcqCtLwt0TRQ3RwTqcIYTfn0UNNw== X-MHO-RoutePath: aGlwcGll X-MHO-User: b645c0a2-36ba-11e9-9789-75353a1f43cf X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 67.177.211.60 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [67.177.211.60]) by outbound3.ore.mailhop.org (Halon) with ESMTPSA id b645c0a2-36ba-11e9-9789-75353a1f43cf; Fri, 22 Feb 2019 15:58:37 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id x1MFxBq8090625; Fri, 22 Feb 2019 08:59:11 -0700 (MST) (envelope-from ian@freebsd.org) Message-ID: Subject: Re: RBPI3B+ FreeBSD 12 ZFS From: Ian Lepore To: Stefan Parvu , freebsd-arm@freebsd.org Date: Fri, 22 Feb 2019 08:59:10 -0700 In-Reply-To: <5D976A97-9800-4A9F-A155-F3BD998AFB4C@kronometrix.org> References: <5D976A97-9800-4A9F-A155-F3BD998AFB4C@kronometrix.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5 FreeBSD GNOME Team Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 281BF72C36 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.99 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.99)[-0.990,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:16509, ipnet:54.186.0.0/15, country:US] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Feb 2019 15:59:21 -0000 On Fri, 2019-02-22 at 17:38 +0200, Stefan Parvu wrote: > I know ZFS would need a decent amount of RAM to start with. So for > such low sized > SBC systems, like Raspberry PI having ZFS for root might be no go. > > What I meant was: how complicated would be right now for FreeBSD 12 > to have an > ARM64 RBPI3B+ image image which could use ZFS to boot from a SD Card. > > Stefan Parvu > sparvu@kronometrix.org > > People have run a 512MB beaglebone with zfs on sdcard. It surely wasn't high performance, and it reported needed some hand-tuning to run at all, but it worked. There's a lot of mythology about sdcards and what they can and can't do, and how supposedly fragile they are. It's all a bunch of noise you can safely ignore. They're slow, but they're plenty reliable. -- Ian > > > On 22 Feb 2019, at 17.23, Karl Denninger > > wrote: > > > > On 2/22/2019 09:07, Stefan Parvu wrote: > > > Hi, > > > > > > Just curious, would ZFS work on a RBPI3B+ board with 1 GB RAM > > > only > > > using FreeBSD 12 STABLE ? the hardware is 64bit but would it boot > > > on > > > 1 GB RAM for its own ARC internal operations ? > > > > > > Thanks, > > > > > > Stefan Parvu > > > sparvu@kronometrix.org > > > > Are you talking about attempting to mount root off a ZFS filesystem > > on > > the SD card or booting it as usual and then loading zfs once > > running > > (e.g. to talk to a USB-attached disk)? > > > > I think you'll find that while it might run it's a very bad idea > > for a > > whole host of reasons; what purpose do you have in doing this? > > > > -- > > Karl Denninger > > karl@denninger.net > > /The Market Ticker/ > > /[S/MIME encrypted email preferred]/ > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org > " From owner-freebsd-arm@freebsd.org Fri Feb 22 16:16:14 2019 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 0D8B514F22D7 for ; Fri, 22 Feb 2019 16:16:14 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [95.85.46.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 29A5773C8D for ; Fri, 22 Feb 2019 16:16:12 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [192.168.1.191] (213-216-249-17.bb.dnainternet.fi [213.216.249.17]) (authenticated bits=0) by mail.kronometrix.org (8.15.2/8.15.2) with ESMTPSA id x1MGGA9k054615 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 22 Feb 2019 16:16:11 GMT (envelope-from sparvu@kronometrix.org) X-Authentication-Warning: mail.kronometrix.org: Host 213-216-249-17.bb.dnainternet.fi [213.216.249.17] claimed to be [192.168.1.191] From: Stefan Parvu Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: Re: RBPI3B+ FreeBSD 12 ZFS Date: Fri, 22 Feb 2019 18:16:04 +0200 References: <5D976A97-9800-4A9F-A155-F3BD998AFB4C@kronometrix.org> <19ed5715-f1f1-6c5d-5dc6-e9c5225e5445@denninger.net> To: freebsd-arm@freebsd.org In-Reply-To: <19ed5715-f1f1-6c5d-5dc6-e9c5225e5445@denninger.net> Message-Id: <1ED1A0A0-C569-433C-9341-30C40BC4CBF7@kronometrix.org> X-Mailer: Apple Mail (2.3445.102.3) X-Rspamd-Queue-Id: 29A5773C8D X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of sparvu@kronometrix.org designates 95.85.46.90 as permitted sender) smtp.mailfrom=sparvu@kronometrix.org X-Spamd-Result: default: False [2.97 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; NEURAL_SPAM_MEDIUM(0.87)[0.867,0]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MX_GOOD(-0.01)[cached: mail.kronometrix.org]; NEURAL_SPAM_LONG(0.61)[0.609,0]; DMARC_NA(0.00)[kronometrix.org]; NEURAL_SPAM_SHORT(0.83)[0.826,0]; IP_SCORE(0.48)[asn: 14061(2.48), country: US(-0.07)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:14061, ipnet:95.85.0.0/18, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Feb 2019 16:16:14 -0000 > I'm trying to figure out the use case. First of all Im trying to understand, if this would even work on a 64bit=20= RBPI board and STABLE 12.0. Just curiosity. I do recall old days when I = was working in Sun ZFS systems would require some RAM to work correctly. Then we found more robust and resilient ZFS for different workloads than = UFS regarding data corruption, power outages etc. So I was thinking I could = experiment with our application RBPI UFS and replace that with ZFS.=20 thanks for pointers. appreciated. Stefan= From owner-freebsd-arm@freebsd.org Fri Feb 22 16:18:48 2019 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 309F414F23AA for ; Fri, 22 Feb 2019 16:18:48 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [95.85.46.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 80F7073D5C for ; Fri, 22 Feb 2019 16:18:47 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [192.168.1.191] (213-216-249-17.bb.dnainternet.fi [213.216.249.17]) (authenticated bits=0) by mail.kronometrix.org (8.15.2/8.15.2) with ESMTPSA id x1MGIjXZ054641 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 22 Feb 2019 16:18:45 GMT (envelope-from sparvu@kronometrix.org) X-Authentication-Warning: mail.kronometrix.org: Host 213-216-249-17.bb.dnainternet.fi [213.216.249.17] claimed to be [192.168.1.191] From: Stefan Parvu Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: Re: RBPI3B+ FreeBSD 12 ZFS Date: Fri, 22 Feb 2019 18:18:39 +0200 References: <5D976A97-9800-4A9F-A155-F3BD998AFB4C@kronometrix.org> To: freebsd-arm@freebsd.org In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.3445.102.3) X-Rspamd-Queue-Id: 80F7073D5C X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of sparvu@kronometrix.org designates 95.85.46.90 as permitted sender) smtp.mailfrom=sparvu@kronometrix.org X-Spamd-Result: default: False [2.95 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; TO_DN_NONE(0.00)[]; NEURAL_SPAM_MEDIUM(0.85)[0.849,0]; RCPT_COUNT_ONE(0.00)[1]; HAS_XAW(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MX_GOOD(-0.01)[cached: mail.kronometrix.org]; NEURAL_SPAM_LONG(0.61)[0.610,0]; DMARC_NA(0.00)[kronometrix.org]; NEURAL_SPAM_SHORT(0.82)[0.820,0]; IP_SCORE(0.48)[asn: 14061(2.48), country: US(-0.07)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:14061, ipnet:95.85.0.0/18, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Feb 2019 16:18:48 -0000 > People have run a 512MB beaglebone with zfs on sdcard. It surely wasn't > high performance, and it reported needed some hand-tuning to run at > all, but it worked. > > There's a lot of mythology about sdcards and what they can and can't > do, and how supposedly fragile they are. It's all a bunch of noise you > can safely ignore. They're slow, but they're plenty reliable. Thanks for pointers. I do agree some SD cards are robust nowadays. In fact very ok. Transcend, SanDisk we are currently using are very ok with FreeBSD 11,12 different workloads of course on low throughput. Will need to take some time and dive to ZFS RBPI. Stefan From owner-freebsd-arm@freebsd.org Fri Feb 22 17:24:25 2019 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 C331514F43D2 for ; Fri, 22 Feb 2019 17:24:25 +0000 (UTC) (envelope-from dave@dogwood.com) Received: from mail-ot1-x332.google.com (mail-ot1-x332.google.com [IPv6:2607:f8b0:4864:20::332]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 874717698A for ; Fri, 22 Feb 2019 17:24:24 +0000 (UTC) (envelope-from dave@dogwood.com) Received: by mail-ot1-x332.google.com with SMTP id z19so2524732otm.2 for ; Fri, 22 Feb 2019 09:24:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dogwood.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=GpNcTShUkVeLFrV3zmDX+FZ9gTgvwz+As9CuiN14GXs=; b=qbDxzvh8lRI1ZTEpoDRruGCFxstRB6y5QczFx74ZLhEt5x/PHnRsdDfqfeOpaKIzdc q0dhFHnTzgq0vtGsPJt1NuNPeJ4ziXB+7r9Zz7QVDkSFQw55PYYOhVc5FseYj2ZhvWah EADHiO/rajS9cpdRfQz5GI3qsvKr1puLd0BTA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=GpNcTShUkVeLFrV3zmDX+FZ9gTgvwz+As9CuiN14GXs=; b=h1AZdRuOxjMMLW/eovLn2vbxh4eg/rKqCG9olIpL07tHNM4nJ2G57NuA6rZax/dz0S mfsU5eBZTK9Pw0D4pqKKMFPqa7sLegIlBDjbWSpRNq9ZdaA4KThgJsW4KAQ4IYa+OAQv 5DgLmStIjynM52CG44coNaFPxjvOre13ljUtBA22M+HmOX1GKmVW2orlYTNaxUjkCIE4 /KbkBEeiu2IIoPugkwt/1U3liEdo6ZxCUuhyFBlLTTCIGhSSvxe4Ya3H8QtCiROMXk25 HKJuz5cEJ0KpP8xA/80s3Xeq/Ujbgmkqu44yF+VKL7ZktYyeld5YpXUJX9vESwFv5HfT xUyQ== X-Gm-Message-State: AHQUAuZe9nddHZK7a5EplZ6hEKMpv+77PNmwY2r1/HzIPVqN/9d8AMQR a1VX6+sMjZUfMD5Z7p9y8JEE7VB6zqFT0d788Q7/xJFeEbo= X-Google-Smtp-Source: AHgI3IaWwONUvHcdxubNuS5G97gCnzPPuHFG++jQMxMYjIuDEU2JnNhGNVKOH/Hu+2LjNyzcUUdqPS/T4b80JCmCiu0= X-Received: by 2002:a9d:4e8b:: with SMTP id v11mr3234157otk.316.1550856263057; Fri, 22 Feb 2019 09:24:23 -0800 (PST) MIME-Version: 1.0 References: <5D976A97-9800-4A9F-A155-F3BD998AFB4C@kronometrix.org> In-Reply-To: From: David Cornejo Date: Fri, 22 Feb 2019 07:24:12 -1000 Message-ID: Subject: Re: RBPI3B+ FreeBSD 12 ZFS To: Stefan Parvu Cc: freebsd-arm Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 874717698A X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=dogwood.com header.s=google header.b=qbDxzvh8; spf=pass (mx1.freebsd.org: domain of dave@dogwood.com designates 2607:f8b0:4864:20::332 as permitted sender) smtp.mailfrom=dave@dogwood.com X-Spamd-Result: default: False [-6.28 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[dogwood.com:s=google]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; DMARC_NA(0.00)[dogwood.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[dogwood.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2.3.3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; MX_GOOD(-0.01)[alt1.aspmx.l.google.com,aspmx.l.google.com,aspmx5.googlemail.com,aspmx4.googlemail.com,aspmx3.googlemail.com,alt2.aspmx.l.google.com,aspmx2.googlemail.com]; IP_SCORE(-2.79)[ip: (-9.27), ipnet: 2607:f8b0::/32(-2.62), asn: 15169(-1.99), country: US(-0.07)]; NEURAL_HAM_SHORT(-0.98)[-0.980,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Feb 2019 17:24:26 -0000 on the use case - sometimes the reason is "why not?" - the whole idea of running FreeBSD on such low power hardware is of dubious utility, but it is seriously cool to be able to carry a FreeBSD server in my pocket. On Fri, Feb 22, 2019 at 6:19 AM Stefan Parvu wrote= : > > > People have run a 512MB beaglebone with zfs on sdcard. It surely wasn't > > high performance, and it reported needed some hand-tuning to run at > > all, but it worked. > > > > There's a lot of mythology about sdcards and what they can and can't > > do, and how supposedly fragile they are. It's all a bunch of noise you > > can safely ignore. They're slow, but they're plenty reliable. > > > Thanks for pointers. I do agree some SD cards are robust nowadays. > In fact very ok. Transcend, SanDisk we are currently using are very ok wi= th > FreeBSD 11,12 different workloads of course on low throughput. > > Will need to take some time and dive to ZFS RBPI. > > Stefan > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" --=20 Kailua, Hawai=CA=BBi US +1 (808) 728-3050 UK +44 (020) 3286 2808 From owner-freebsd-arm@freebsd.org Fri Feb 22 17:48:09 2019 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 ECB5B14F4B92 for ; Fri, 22 Feb 2019 17:48:08 +0000 (UTC) (envelope-from karl@denninger.net) Received: from colo1.denninger.net (colo1.denninger.net [104.236.120.189]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2A55177585 for ; Fri, 22 Feb 2019 17:48:08 +0000 (UTC) (envelope-from karl@denninger.net) Received: from denninger.net (ip68-1-57-197.pn.at.cox.net [68.1.57.197]) by colo1.denninger.net (Postfix) with ESMTP id B8D512110B8 for ; Fri, 22 Feb 2019 12:47:36 -0500 (EST) Received: from [192.168.10.27] (D17.Denninger.Net [192.168.10.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by denninger.net (Postfix) with ESMTPSA id 02466466B54 for ; Fri, 22 Feb 2019 11:47:35 -0600 (CST) Subject: Re: RBPI3B+ FreeBSD 12 ZFS To: freebsd-arm@freebsd.org References: <5D976A97-9800-4A9F-A155-F3BD998AFB4C@kronometrix.org> From: Karl Denninger Openpgp: preference=signencrypt Autocrypt: addr=karl@denninger.net; prefer-encrypt=mutual; keydata= mQINBFIX1zsBEADRcJfsQUl9oFeoMfLPJ1kql+3sIaYx0MfJAUhV9LnbWxr0fsWCskM1O4cV tHm5dqPkuPM4Ztc0jLotD1i9ubWvCHOlkLGxFOL+pFbjA+XZ7VKsC/xWmhMwJ3cM8HavK2OV SzEWQ/AEYtMi04IzGSwsxh/5/5R0mPHrsIomV5SbuiI0vjLuDj7fo6146AABI1ULzge4hBYW i/SHrqUrLORmUNBs6bxek79/B0Dzk5cIktD3LOfbT9EAa5J/osVkstMBhToJgQttaMIGv8SG CzpR/HwEokE+7DP+k2mLHnLj6H3kfugOF9pJH8Za4yFmw//s9cPXV8WwtZ2SKfVzn1unpKqf wmJ1PwJoom/d4fGvQDkgkGKRa6RGC6tPmXnqnx+YX4iCOdFfbP8L9rmk2sewDDVzHDU3I3ZZ 8hFIjMYM/QXXYszRatK0LCV0QPZuF7LCf4uQVKw1/oyJInsnH7+6a3c0h21x+CmSja9QJ+y0 yzgEN/nM89d6YTakfR+1xkYgodVmMy/bS8kmXbUUZG/CyeqCqc95RUySjKT2ECrf9GhhoQkl +D8n2MsrAUSMGB4GQSN+TIq9OBTpNuvATGSRuF9wnQcs1iSry+JNCpfRTyWp83uCNApe6oHU EET4Et6KDO3AvjvBMAX0TInTRGW2SQlJMuFKpc7Dg7tHK8zzqQARAQABtCNLYXJsIERlbm5p bmdlciA8a2FybEBkZW5uaW5nZXIubmV0PokCPAQTAQIAJgUCUhfXOwIbIwUJCWYBgAYLCQgH AwIEFQIIAwQWAgMBAh4BAheAAAoJEG6/sivc5s0PLxQP/i6x/QFx9G4Cw7C+LthhLXIm7NSH AtNbz2UjySEx2qkoQQjtsK6mcpEEaky4ky6t8gz0/SifIfJmSmyAx0UhUQ0WBv1vAXwtNrQQ jJd9Bj6l4c2083WaXyHPjt2u2Na6YFowyb4SaQb83hu/Zs25vkPQYJVVE0JX409MFVPUa6E3 zFbd1OTr3T4yNUy4gNeQZfzDqDS8slbIks2sXeoJrZ6qqXVI0ionoivOlaN4T6Q0UYyXtigj dQvvhMt0aNowKFjRqrmSDRpdz+o6yg7Mp7qEZ1V6EZk8KqQTH6htpCTQ8i79ttK4LG6bstSF Re6Fwq52nbrcANrcdmtZXqjo+SGbUqJ8b1ggrxAsJ5MEhRh2peKrCgI/TjQo+ZxfnqEoR4AI 46Cyiz+/lcVvlvmf2iPifS3EEdaH3Itfwt7MxFm6mQORYs6skHDw3tOYB2/AdCW6eRVYs2hB RMAG4uwApZfZDKgRoE95PJmQjeTBiGmRPcsQZtNESe7I7EjHtCDLwtJqvD4HkDDQwpzreT6W XkyIJ7ns7zDfA1E+AQhFR6rsTFGgQZRZKsVeov3SbhYKkCnVDCvb/PKQCAGkSZM9SvYG5Yax 8CMry3AefKktf9fqBFg8pWqtVxDwJr56dhi0GHXRu3jVI995rMGo1fLUG5fSxiZ8L5sAtokh 9WFmQpyl Message-ID: <00523016-b7eb-8a61-8740-7463d793f969@denninger.net> Date: Fri, 22 Feb 2019 11:47:37 -0600 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-512; boundary="------------ms040004050608000707070201" X-Rspamd-Queue-Id: 2A55177585 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.55 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_ATTACHMENT(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; MX_GOOD(-0.01)[cached: px.denninger.net]; NEURAL_HAM_SHORT(-0.95)[-0.948,0]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(-2.39)[ip: (-9.88), ipnet: 104.236.64.0/18(-4.49), asn: 14061(2.47), country: US(-0.07)]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:14061, ipnet:104.236.64.0/18, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:+]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[197.57.1.68.zen.spamhaus.org : 127.0.0.11]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; SIGNED_SMIME(-2.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,multipart/alternative,text/plain]; RCVD_TLS_LAST(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[denninger.net]; R_SPF_NA(0.00)[] X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Feb 2019 17:48:09 -0000 This is a cryptographically signed message in MIME format. --------------ms040004050608000707070201 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2/22/2019 11:24, David Cornejo wrote: > on the use case - sometimes the reason is "why not?" - the whole idea > of running FreeBSD on such low power hardware is of dubious utility, > but it is seriously cool to be able to carry a FreeBSD server in my > pocket. > True but there are some bad assumptions that people can be led to believe.=C2=A0 One of them is that ZFS is somehow "more robust" in a non-power-protected single-provider NAND-flash based storage system. Uh uh.=C2=A0 Yes, a scrub (or just checksum check on the read) will catch= the "aw crap!" situation where write amplification and read/rewrite hoses you during a power failure but there's nothing zfs can do to fix it since there's no second copy available.=C2=A0 If the file that gets hit b= y that read/rewrite hosing is /boot/kernel/kernel (or a required .ko, say, zfs.ko?) then the system still doesn't boot at all. --=20 Karl Denninger karl@denninger.net /The Market Ticker/ /[S/MIME encrypted email preferred]/ --------------ms040004050608000707070201 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgMFADCABgkqhkiG9w0BBwEAAKCC DdgwggagMIIEiKADAgECAhMA5EiKghDOXrvfxYxjITXYDdhIMA0GCSqGSIb3DQEBCwUAMIGL MQswCQYDVQQGEwJVUzEQMA4GA1UECAwHRmxvcmlkYTESMBAGA1UEBwwJTmljZXZpbGxlMRkw FwYDVQQKDBBDdWRhIFN5c3RlbXMgTExDMRgwFgYDVQQLDA9DdWRhIFN5c3RlbXMgQ0ExITAf BgNVBAMMGEN1ZGEgU3lzdGVtcyBMTEMgMjAxNyBDQTAeFw0xNzA4MTcxNjQyMTdaFw0yNzA4 MTUxNjQyMTdaMHsxCzAJBgNVBAYTAlVTMRAwDgYDVQQIDAdGbG9yaWRhMRkwFwYDVQQKDBBD dWRhIFN5c3RlbXMgTExDMRgwFgYDVQQLDA9DdWRhIFN5c3RlbXMgQ0ExJTAjBgNVBAMMHEN1 ZGEgU3lzdGVtcyBMTEMgMjAxNyBJbnQgQ0EwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIK AoICAQC1aJotNUI+W4jP7xQDO8L/b4XiF4Rss9O0B+3vMH7Njk85fZ052QhZpMVlpaaO+sCI KqG3oNEbuOHzJB/NDJFnqh7ijBwhdWutdsq23Ux6TvxgakyMPpT6TRNEJzcBVQA0kpby1DVD 0EKSK/FrWWBiFmSxg7qUfmIq/mMzgE6epHktyRM3OGq3dbRdOUgfumWrqHXOrdJz06xE9NzY vc9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Ep18QaNWP+f+gi9Z/WqY/l qYVqtXQIUq4lowIlWQ1X26Y1apTswyOThxiRwsvjfmH3o5iAxsxUuvoi6H93NIdivVNfZPz8 dD1uRwq9g6L5kQYiYT2cGq5IV8hqHi9qp8x4ZbLwhV1R8YQinsIi9YqDLAXiUjJIrkz222iw 4hsJ4Tk3s7tP5z1OHeywOSQKC/ExIre1R+WyHM2iqdUeJ2KRo/ogkIMhKxUB8ZI5m7FGvvFc jchL/+mT7QV0zUCXWRxBrbGu949MwmUwuCsgtrgk0Y17Pcj/RQYTM36dNSduPirauWmNWWlA VdCDSzJFkh7EoNK+IXlrA5oP5autUfOYAflaKHhoKhatxB1pTCeECuURxVTR3LDSSZTjKAKF +dg2rZw1jxgTvRangseiY+3ap2jOVS6wTPVXmDJ0WQAAAAAAAA== --------------ms040004050608000707070201-- From owner-freebsd-arm@freebsd.org Fri Feb 22 17:49:30 2019 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 660BB14F4C42 for ; Fri, 22 Feb 2019 17:49:30 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 62EF177628; Fri, 22 Feb 2019 17:49:29 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (localhost [127.0.0.1]) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3) with ESMTP id x1MHnOf9026441; Fri, 22 Feb 2019 09:49:24 -0800 (PST) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: (from freebsd-rwg@localhost) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3/Submit) id x1MHnO8R026440; Fri, 22 Feb 2019 09:49:24 -0800 (PST) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <201902221749.x1MHnO8R026440@pdx.rh.CN85.dnsmgr.net> Subject: Re: RBPI3B+ FreeBSD 12 ZFS In-Reply-To: To: Ian Lepore Date: Fri, 22 Feb 2019 09:49:24 -0800 (PST) CC: Stefan Parvu , freebsd-arm@freebsd.org X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: 62EF177628 X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [1.68 / 15.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-0.23)[-0.232,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[dnsmgr.net]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.61)[0.607,0]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.43)[0.427,0]; MX_GOOD(-0.01)[cached: pdx.rh.CN85.dnsmgr.net]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:13868, ipnet:69.59.192.0/19, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-0.01)[ip: (0.01), ipnet: 69.59.192.0/19(0.01), asn: 13868(-0.01), country: US(-0.07)] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Feb 2019 17:49:30 -0000 > On Fri, 2019-02-22 at 17:38 +0200, Stefan Parvu wrote: > > I know ZFS would need a decent amount of RAM to start with. So for > > such low sized > > SBC systems, like Raspberry PI having ZFS for root might be no go. > > > > What I meant was: how complicated would be right now for FreeBSD 12 > > to have an > > ARM64 RBPI3B+ image image which could use ZFS to boot from a SD Card. > > > > Stefan Parvu > > sparvu@kronometrix.org > > > > > > People have run a 512MB beaglebone with zfs on sdcard. It surely wasn't > high performance, and it reported needed some hand-tuning to run at > all, but it worked. you can run zfs based systems in a very small amount of memory, including on FreeBSD i386 IF you limit the size of the arc cache by vfs.zfs.arc_max= in /boot/loader.conf for small memory systems I recommend no more than 50% of memory. I have run ZFS on 128MB systems, and run a VM that is zfs root in 1G on a daily basis. So memory is NOT your issue with doing this on a RPI3B+ > > There's a lot of mythology about sdcards and what they can and can't > do, and how supposedly fragile they are. It's all a bunch of noise you > can safely ignore. They're slow, but they're plenty reliable. I agree. Also you should be able to boot the RPI3B+ from USB, and that would be a far better solution, USB can have issues though too, but my experience is it is a slight step better than sdcard slowness. > -- Ian > > > On 22 Feb 2019, at 17.23, Karl Denninger > > > wrote: > > > > > > On 2/22/2019 09:07, Stefan Parvu wrote: > > > > Hi, > > > > > > > > Just curious, would ZFS work on a RBPI3B+ board with 1 GB RAM > > > > only > > > > using FreeBSD 12 STABLE ? the hardware is 64bit but would it boot > > > > on > > > > 1 GB RAM for its own ARC internal operations ? > > > > > > > > Thanks, > > > > > > > > Stefan Parvu > > > > sparvu@kronometrix.org > > > > > > Are you talking about attempting to mount root off a ZFS filesystem > > > on > > > the SD card or booting it as usual and then loading zfs once > > > running > > > (e.g. to talk to a USB-attached disk)? > > > > > > I think you'll find that while it might run it's a very bad idea > > > for a > > > whole host of reasons; what purpose do you have in doing this? > > > > > > -- > > > Karl Denninger > > > karl@denninger.net > > > /The Market Ticker/ > > > /[S/MIME encrypted email preferred]/ -- Rod Grimes rgrimes@freebsd.org From owner-freebsd-arm@freebsd.org Fri Feb 22 18:56:39 2019 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 D375214F6CCC for ; Fri, 22 Feb 2019 18:56:38 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from vtr.rulingia.com (vtr.rulingia.com [IPv6:2001:19f0:5801:ebe:5400:1ff:fe53:30fd]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vtr.rulingia.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DBA6582308 for ; Fri, 22 Feb 2019 18:56:37 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from server.rulingia.com (ppp59-167-167-3.static.internode.on.net [59.167.167.3]) by vtr.rulingia.com (8.15.2/8.15.2) with ESMTPS id x1MIuJsd068218 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 23 Feb 2019 05:56:25 +1100 (AEDT) (envelope-from peter@rulingia.com) X-Bogosity: Ham, spamicity=0.000000 Received: from server.rulingia.com (localhost.rulingia.com [127.0.0.1]) by server.rulingia.com (8.15.2/8.15.2) with ESMTPS id x1MIuDw9048751 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 23 Feb 2019 05:56:13 +1100 (AEDT) (envelope-from peter@server.rulingia.com) Received: (from peter@localhost) by server.rulingia.com (8.15.2/8.15.2/Submit) id x1MIuDaM048750; Sat, 23 Feb 2019 05:56:13 +1100 (AEDT) (envelope-from peter) Date: Sat, 23 Feb 2019 05:56:13 +1100 From: Peter Jeremy To: Karl Denninger Cc: freebsd-arm@freebsd.org Subject: Re: RBPI3B+ FreeBSD 12 ZFS Message-ID: <20190222185613.GA50742@server.rulingia.com> References: <5D976A97-9800-4A9F-A155-F3BD998AFB4C@kronometrix.org> <00523016-b7eb-8a61-8740-7463d793f969@denninger.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ZGiS0Q5IWpPtfppv" Content-Disposition: inline In-Reply-To: <00523016-b7eb-8a61-8740-7463d793f969@denninger.net> X-PGP-Key: http://www.rulingia.com/keys/peter.pgp User-Agent: Mutt/1.11.1 (2018-12-01) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Feb 2019 18:56:39 -0000 --ZGiS0Q5IWpPtfppv Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2019-Feb-22 11:47:37 -0600, Karl Denninger wrote: >Uh uh.=A0 Yes, a scrub (or just checksum check on the read) will catch the >"aw crap!" situation where write amplification and read/rewrite hoses >you during a power failure but there's nothing zfs can do to fix it >since there's no second copy available. That's not completely true. By default ZFS stores 2 copies of most metadata and can be configured to store up to 3 copies (on top of pool redundancy) of all data (check the "copies" and "redundant_metadata" properties of the filesystem). Obviously, if all the copies are on one device, it won't help if the device bricks itself or all the copies wind up on the corrupt sectors but it can help recovering from a glitch that took out a page or two. (It would also be possible to setup a ZFS mirror between a SDcard and a USB flash stick). --=20 Peter Jeremy --ZGiS0Q5IWpPtfppv Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEE7rKYbDBnHnTmXCJ+FqWXoOSiCzQFAlxwRc1fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEVF QjI5ODZDMzA2NzFFNzRFNjVDMjI3RTE2QTU5N0EwRTRBMjBCMzQACgkQFqWXoOSi CzTAzw//bjqX2ifsfTn3Bv4k+8uuqKe8ywqs7rDaev6NIMNgLV+0dALPfSnhXEKJ jYOXYkoVNnIw+x7UcaxZxzIWLip5acZDqSssry9B+ifj02lxe5n08Ex5CbIzG0aF 1DmQV3ShmOanb50IF7cZ7Gr3cQYxfQ4P2oRfpOW24UbkN+mJXl544wWjGMfi/Yn6 3DckQMiiDzIzZkM2aHhqykO2Wr7KrEU0UAIbAGIoNJl3/rtRyCoVFsjT7QNtiEOW Q4YW+NrrpvRqVdlEAsNN8Snmm9bdAuPH83Csm3VipVaug+EmvP+RFMEbYY46WtTR ubRqn5F6DL0MOC1yGoewc6F0M2N571+dzLD0eyX11uGD85CkAl/CEUXnwfZDSFjc VqAnV8ilPzxihPUvaxMdYd7ZoAIksPkavcnNGYejaS4csfEW52BWzha6Iy4/zhSH 2d5F30255WYGB3cKV9e7oe3tLiOAAfAuszmJlRQT+pKpURMNq9VS/BhNkPre4msE zJt80C1MlupcY2Jw6rmudeWaRsZB2OjXFPW0g/2Dc4250P5vKldsCAnLFWiq6O02 rdm6/SZBQ5PkPSVfXFsjJClWWfWlzxMfC9CaFkmQoZem2UvFZcqqliQgPdEf3mu8 RCMCiZwaifwn/4mtxr7KOlZ9HGygVkR4arxepvQtNfABXvKecAM= =CIEL -----END PGP SIGNATURE----- --ZGiS0Q5IWpPtfppv-- From owner-freebsd-arm@freebsd.org Fri Feb 22 20:40:16 2019 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 3FFB014FA738 for ; Fri, 22 Feb 2019 20:40:16 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [95.85.46.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B67458794E for ; Fri, 22 Feb 2019 20:40:15 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [192.168.1.191] (213-216-249-17.bb.dnainternet.fi [213.216.249.17]) (authenticated bits=0) by mail.kronometrix.org (8.15.2/8.15.2) with ESMTPSA id x1MKeC1O057053 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 22 Feb 2019 20:40:13 GMT (envelope-from sparvu@kronometrix.org) X-Authentication-Warning: mail.kronometrix.org: Host 213-216-249-17.bb.dnainternet.fi [213.216.249.17] claimed to be [192.168.1.191] From: Stefan Parvu Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: Re: RBPI3B+ FreeBSD 12 ZFS Date: Fri, 22 Feb 2019 22:40:06 +0200 References: <5D976A97-9800-4A9F-A155-F3BD998AFB4C@kronometrix.org> <00523016-b7eb-8a61-8740-7463d793f969@denninger.net> <20190222185613.GA50742@server.rulingia.com> To: freebsd-arm@freebsd.org In-Reply-To: <20190222185613.GA50742@server.rulingia.com> Message-Id: <83C65D08-F8ED-4EB1-990C-E043D45E654D@kronometrix.org> X-Mailer: Apple Mail (2.3445.102.3) X-Rspamd-Queue-Id: B67458794E X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.97 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[]; NEURAL_HAM_SHORT(-0.97)[-0.973,0] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Feb 2019 20:40:16 -0000 Thanks all for comments. I need to dedicate time to play around with ZFS and RBPI3. Cheers Stefan Parvu sparvu@kronometrix.org > On 22 Feb 2019, at 20.56, Peter Jeremy wrote: > > On 2019-Feb-22 11:47:37 -0600, Karl Denninger wrote: >> Uh uh. Yes, a scrub (or just checksum check on the read) will catch the >> "aw crap!" situation where write amplification and read/rewrite hoses >> you during a power failure but there's nothing zfs can do to fix it >> since there's no second copy available. > > That's not completely true. By default ZFS stores 2 copies of most > metadata and can be configured to store up to 3 copies (on top of pool > redundancy) of all data (check the "copies" and "redundant_metadata" > properties of the filesystem). Obviously, if all the copies are on > one device, it won't help if the device bricks itself or all the > copies wind up on the corrupt sectors but it can help recovering from > a glitch that took out a page or two. (It would also be possible to > setup a ZFS mirror between a SDcard and a USB flash stick). > > -- > Peter Jeremy From owner-freebsd-arm@freebsd.org Fri Feb 22 21:02:01 2019 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 CB9DF14FB0C3 for ; Fri, 22 Feb 2019 21:02:01 +0000 (UTC) (envelope-from paul@gromit.dlib.vt.edu) Received: from gromit.dlib.vt.edu (gromit.dlib.vt.edu [128.173.49.70]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "gromit.dlib.vt.edu", Issuer "Chumby Certificate Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D8B198860C for ; Fri, 22 Feb 2019 21:02:00 +0000 (UTC) (envelope-from paul@gromit.dlib.vt.edu) Received: from pmather.lib.vt.edu (pmather.lib.vt.edu [128.173.51.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gromit.dlib.vt.edu (Postfix) with ESMTPSA id 84BAA80E; Fri, 22 Feb 2019 16:01:54 -0500 (EST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: RBPI3B+ FreeBSD 12 ZFS From: Paul Mather In-Reply-To: <83C65D08-F8ED-4EB1-990C-E043D45E654D@kronometrix.org> Date: Fri, 22 Feb 2019 16:01:53 -0500 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <5D976A97-9800-4A9F-A155-F3BD998AFB4C@kronometrix.org> <00523016-b7eb-8a61-8740-7463d793f969@denninger.net> <20190222185613.GA50742@server.rulingia.com> <83C65D08-F8ED-4EB1-990C-E043D45E654D@kronometrix.org> To: Stefan Parvu X-Mailer: Apple Mail (2.3445.9.1) X-Rspamd-Queue-Id: D8B198860C X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dmarc=fail reason="" header.from=vt.edu (policy=none) X-Spamd-Result: default: False [-1.90 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; DMARC_POLICY_SOFTFAIL(0.10)[vt.edu : No valid SPF, No valid DKIM,none]; NEURAL_HAM_MEDIUM(-0.92)[-0.921,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(-0.29)[asn: 1312(-1.40), country: US(-0.07)]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[chumby.dlib.vt.edu,gromit.dlib.vt.edu]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.18)[-0.179,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:1312, ipnet:128.173.0.0/16, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Feb 2019 21:02:02 -0000 On Feb 22, 2019, at 3:40 PM, Stefan Parvu = wrote: > Thanks all for comments. I need to dedicate time to play around with = ZFS=20 > and RBPI3. I'd be interested in hearing how you get on, and hope you report back to = the list. I'm currently using an RPI2 with an attached USB hard drive = as a local backup endpoint. It is running Arch Linux ARM with the USB = drive formatted using BTRFS in DUP mode. It would be nice to be able to = replace this setup with FreeBSD + ZFS as I'm much more familiar and = comfortable with that than I am with Arch Linux and BTRFS. It all = hinges on whether the FreeBSD + ZFS setup can be made reliable. I ran = FreeBSD/i386 + ZFS for years on a 2 GB RAM system and it worked like a = champ, so I am at least hopeful... Cheers, Paul. From owner-freebsd-arm@freebsd.org Sat Feb 23 12:12:42 2019 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 89EA0151349B for ; Sat, 23 Feb 2019 12:12:42 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1BADA881A8 for ; Sat, 23 Feb 2019 12:12:40 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smtp.greenhost.nl ([213.108.110.112]) by smarthost1.greenhost.nl with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1gxWAS-0004af-2X; Sat, 23 Feb 2019 13:12:32 +0100 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: freebsd-arm@freebsd.org, "Stefan Parvu" Subject: Re: RBPI3B+ FreeBSD 12 ZFS References: Date: Sat, 23 Feb 2019 13:12:31 +0100 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Ronald Klop" Message-ID: In-Reply-To: User-Agent: Opera Mail/12.16 (FreeBSD) X-Authenticated-As-Hash: 398f5522cb258ce43cb679602f8cfe8b62a256d1 X-Virus-Scanned: by clamav at smarthost1.samage.net X-Spam-Level: / X-Spam-Score: -0.2 X-Spam-Status: No, score=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 autolearn=disabled version=3.4.2 X-Scan-Signature: 919fae14bc17c74543a025539baad412 X-Rspamd-Queue-Id: 1BADA881A8 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of ronald-lists@klop.ws designates 195.190.28.88 as permitted sender) smtp.mailfrom=ronald-lists@klop.ws X-Spamd-Result: default: False [-1.69 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.986,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:195.190.28.64/27]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[klop.ws]; NEURAL_SPAM_SHORT(0.40)[0.404,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[mx2.greenhost.nl,mx1.greenhost.nl]; RCPT_COUNT_TWO(0.00)[2]; IP_SCORE(-0.30)[ipnet: 195.190.28.0/24(-0.83), asn: 47172(-0.66), country: NL(0.02)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:47172, ipnet:195.190.28.0/24, country:NL]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Feb 2019 12:12:42 -0000 On Fri, 22 Feb 2019 16:07:22 +0100, Stefan Parvu wrote: > Hi, > > Just curious, would ZFS work on a RBPI3B+ board with 1 GB RAM only > using FreeBSD 12 STABLE ? the hardware is 64bit but would it boot on > 1 GB RAM for its own ARC internal operations ? > Yes. It will boot easily. Done that a couple of months ago. Ronald. > Thanks, > > Stefan Parvu > sparvu@kronometrix.org > > > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" From owner-freebsd-arm@freebsd.org Sat Feb 23 14:44:38 2019 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 58DCC1518767 for ; Sat, 23 Feb 2019 14:44:38 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [195.149.99.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "raven.bwct.de", Issuer "raven.bwct.de" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 76F088DE0B; Sat, 23 Feb 2019 14:44:37 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.15.2/8.15.2) with ESMTPS id x1NEiX3F002162 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Sat, 23 Feb 2019 15:44:34 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cicely.de; s=default; t=1550933075; bh=CzcB6Spw3K75A297q/fPAbMqS47Wv7zYGUFKWFsWSfQ=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To; b=t6bBKXIGoMLHXQtSo+Jd8FuX7e9MSklHhSwFtiG7o8d39QALoB3H2yAb5JcXnmSNb pqCur/YsOY2ULWkYnxJ/tVV3f1Rufov/vihkHWuAb3t45ee6pxOohytO0ru9aGuXmF rF1kz3HtfhSP1HSi1A1vtbrD8rIzNsymALQa7zDA= Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id x1NEiVI6016622 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 23 Feb 2019 15:44:31 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.15.2/8.15.2) with ESMTP id x1NEiVph006016; Sat, 23 Feb 2019 15:44:31 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.15.2/8.15.2/Submit) id x1NEiTM4006015; Sat, 23 Feb 2019 15:44:29 +0100 (CET) (envelope-from ticso) Date: Sat, 23 Feb 2019 15:44:28 +0100 From: Bernd Walter To: "Rodney W. Grimes" Cc: Ian Lepore , freebsd-arm@freebsd.org Subject: Re: RBPI3B+ FreeBSD 12 ZFS Message-ID: <20190223144428.GU93368@cicely7.cicely.de> Reply-To: ticso@cicely.de References: <201902221749.x1MHnO8R026440@pdx.rh.CN85.dnsmgr.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201902221749.x1MHnO8R026440@pdx.rh.CN85.dnsmgr.net> X-Operating-System: FreeBSD cicely7.cicely.de 12.0-STABLE amd64 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=4.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de X-Rspamd-Queue-Id: 76F088DE0B X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cicely.de header.s=default header.b=t6bBKXIG X-Spamd-Result: default: False [-1.49 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[ticso@cicely.de]; R_DKIM_ALLOW(-0.20)[cicely.de:s=default]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; MV_CASE(0.50)[]; NEURAL_HAM_LONG(-0.99)[-0.993,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[cicely.de]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.25)[0.248,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[cicely.de:+]; MX_GOOD(-0.01)[cached: mx1.bwct.de]; RCVD_IN_DNSWL_NONE(0.00)[3.99.149.195.list.dnswl.org : 127.0.20.0]; NEURAL_HAM_MEDIUM(-0.94)[-0.937,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:21461, ipnet:195.149.99.0/24, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-0.00)[country: DE(-0.01)] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Feb 2019 14:44:38 -0000 On Fri, Feb 22, 2019 at 09:49:24AM -0800, Rodney W. Grimes wrote: > > On Fri, 2019-02-22 at 17:38 +0200, Stefan Parvu wrote: > > > I know ZFS would need a decent amount of RAM to start with. So for > > > such low sized > > > SBC systems, like Raspberry PI having ZFS for root might be no go. > > > > > > What I meant was: how complicated would be right now for FreeBSD 12 > > > to have an > > > ARM64 RBPI3B+ image image which could use ZFS to boot from a SD Card. > > > > > > Stefan Parvu > > > sparvu@kronometrix.org > > > > > > > > > > People have run a 512MB beaglebone with zfs on sdcard. It surely wasn't > > high performance, and it reported needed some hand-tuning to run at > > all, but it worked. > > you can run zfs based systems in a very small amount of memory, > including on FreeBSD i386 IF you limit the size of the arc > cache by > vfs.zfs.arc_max= > in /boot/loader.conf > for small memory systems I recommend no more than 50% of memory. > I have run ZFS on 128MB systems, and run a VM that is zfs root > in 1G on a daily basis. So memory is NOT your issue with doing > this on a RPI3B+ > > > > > There's a lot of mythology about sdcards and what they can and can't > > do, and how supposedly fragile they are. It's all a bunch of noise you > > can safely ignore. They're slow, but they're plenty reliable. > > I agree. Also you should be able to boot the RPI3B+ from USB, > and that would be a far better solution, USB can have issues > though too, but my experience is it is a slight step better than > sdcard slowness. I did USB boot tests with a RPI3B+. It is a mess. With many devices it won't boot at all, with some it randomly fails. On the fail side there also had been a few SanDisk USB sticks. Only a few seemed to work fine, but the fact that some randomly fail to boot make me less confidend if a media really works. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-arm@freebsd.org Sat Feb 23 14:16:55 2019 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 512AA1517853 for ; Sat, 23 Feb 2019 14:16:55 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [195.149.99.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "raven.bwct.de", Issuer "raven.bwct.de" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 68B8A8C719 for ; Sat, 23 Feb 2019 14:16:54 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.15.2/8.15.2) with ESMTPS id x1NEGpAs000470 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Sat, 23 Feb 2019 15:16:52 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cicely.de; s=default; t=1550931412; bh=hP2GjssAXfz6Vs8kKSz/FfTf7kZyR4LyIDWQezIeMmM=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To; b=pjBx0ekTSlAcuD1uKkZYCC8AfbCcqdR7KL3M1mUc0Ob7ZMvilCqYtJfGI3Zm3WYSh EtRDgKtFfDxwh93D332BRcBUdJUniKjdhOZllWWmJDXlFwK3j7rvz+6uAs4ifbSMMK GEJmFs6NpeLNmfzgPr/UXBPkHOk7bX3fwwlUp8uc= Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id x1NEGm55015961 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 23 Feb 2019 15:16:48 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.15.2/8.15.2) with ESMTP id x1NEGmZR005862; Sat, 23 Feb 2019 15:16:48 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.15.2/8.15.2/Submit) id x1NEGmvv005861; Sat, 23 Feb 2019 15:16:48 +0100 (CET) (envelope-from ticso) Date: Sat, 23 Feb 2019 15:16:48 +0100 From: Bernd Walter To: Stefan Parvu Cc: freebsd-arm@freebsd.org Subject: Re: RBPI3B+ FreeBSD 12 ZFS Message-ID: <20190223141648.GR93368@cicely7.cicely.de> Reply-To: ticso@cicely.de References: <5D976A97-9800-4A9F-A155-F3BD998AFB4C@kronometrix.org> <19ed5715-f1f1-6c5d-5dc6-e9c5225e5445@denninger.net> <1ED1A0A0-C569-433C-9341-30C40BC4CBF7@kronometrix.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1ED1A0A0-C569-433C-9341-30C40BC4CBF7@kronometrix.org> X-Operating-System: FreeBSD cicely7.cicely.de 12.0-STABLE amd64 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=4.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de X-Rspamd-Queue-Id: 68B8A8C719 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cicely.de header.s=default header.b=pjBx0ekT X-Spamd-Result: default: False [-1.62 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[ticso@cicely.de]; R_DKIM_ALLOW(-0.20)[cicely.de:s=default]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; NEURAL_HAM_LONG(-1.00)[-0.996,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[cicely.de]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; NEURAL_SPAM_SHORT(0.16)[0.159,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[cicely.de:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[3.99.149.195.list.dnswl.org : 127.0.20.0]; MX_GOOD(-0.01)[cached: mx1.bwct.de]; NEURAL_HAM_MEDIUM(-0.97)[-0.967,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:21461, ipnet:195.149.99.0/24, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-0.00)[country: DE(-0.01)] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Feb 2019 14:16:55 -0000 On Fri, Feb 22, 2019 at 06:16:04PM +0200, Stefan Parvu wrote: > > > I'm trying to figure out the use case. > > First of all Im trying to understand, if this would even work on a 64bit > RBPI board and STABLE 12.0. Just curiosity. I do recall old days when I was > working in Sun ZFS systems would require some RAM to work correctly. > > Then we found more robust and resilient ZFS for different workloads than UFS > regarding data corruption, power outages etc. So I was thinking I could experiment with > our application RBPI UFS and replace that with ZFS. Exactly that's the reason why I'm using ZFS. Especially with fragile cards. It also is quite a bit faster on cards as it tends to write more linear to them and faster writes usually also mean that the cards won't wear out as fast as with slow write patterns. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-arm@freebsd.org Sat Feb 23 14:39:37 2019 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 0102E15183D3 for ; Sat, 23 Feb 2019 14:39:36 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [195.149.99.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "raven.bwct.de", Issuer "raven.bwct.de" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 158D88D9A8 for ; Sat, 23 Feb 2019 14:39:35 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.15.2/8.15.2) with ESMTPS id x1NEdUKc001855 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Sat, 23 Feb 2019 15:39:31 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cicely.de; s=default; t=1550932771; bh=iKmvFqoz7aixyvBgzzjIOlwt6gDapBz6zJUW2EKaCPA=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To; b=OTLmLz0/AS2BzNyc9U0sC+WQWLSlsALLtVk+QqPk5BCUrTDElK+h1HElFiZlz4KsQ TSynahFZBbcCd79pPpWkKK4Qx1WmQ2NHLFw5r5Pz0mbsr1A6uNVYLgd28agdTCmi/Z zHH2okW9QpCliEqrPti+m9KT/htBILHIGppljlUw= Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id x1NEdRcV016474 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 23 Feb 2019 15:39:27 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.15.2/8.15.2) with ESMTP id x1NEdRuL005972; Sat, 23 Feb 2019 15:39:27 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.15.2/8.15.2/Submit) id x1NEdRVe005971; Sat, 23 Feb 2019 15:39:27 +0100 (CET) (envelope-from ticso) Date: Sat, 23 Feb 2019 15:39:27 +0100 From: Bernd Walter To: Karl Denninger Cc: freebsd-arm@freebsd.org Subject: Re: RBPI3B+ FreeBSD 12 ZFS Message-ID: <20190223143927.GT93368@cicely7.cicely.de> Reply-To: ticso@cicely.de References: <5D976A97-9800-4A9F-A155-F3BD998AFB4C@kronometrix.org> <00523016-b7eb-8a61-8740-7463d793f969@denninger.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <00523016-b7eb-8a61-8740-7463d793f969@denninger.net> X-Operating-System: FreeBSD cicely7.cicely.de 12.0-STABLE amd64 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=4.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de X-Rspamd-Queue-Id: 158D88D9A8 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cicely.de header.s=default header.b=OTLmLz0/ X-Spamd-Result: default: False [-1.67 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[ticso@cicely.de]; R_DKIM_ALLOW(-0.20)[cicely.de:s=default]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; NEURAL_HAM_LONG(-1.00)[-0.996,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[cicely.de]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; NEURAL_SPAM_SHORT(0.11)[0.108,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[cicely.de:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[3.99.149.195.list.dnswl.org : 127.0.20.0]; MX_GOOD(-0.01)[cached: mx1.bwct.de]; NEURAL_HAM_MEDIUM(-0.97)[-0.969,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:21461, ipnet:195.149.99.0/24, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-0.00)[country: DE(-0.01)] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Feb 2019 14:39:37 -0000 On Fri, Feb 22, 2019 at 11:47:37AM -0600, Karl Denninger wrote: > On 2/22/2019 11:24, David Cornejo wrote: > > on the use case - sometimes the reason is "why not?" - the whole idea > > of running FreeBSD on such low power hardware is of dubious utility, > > but it is seriously cool to be able to carry a FreeBSD server in my > > pocket. > > > True but there are some bad assumptions that people can be led to > believe.  One of them is that ZFS is somehow "more robust" in a > non-power-protected single-provider NAND-flash based storage system. > > Uh uh.  Yes, a scrub (or just checksum check on the read) will catch the > "aw crap!" situation where write amplification and read/rewrite hoses > you during a power failure but there's nothing zfs can do to fix it > since there's no second copy available.  If the file that gets hit by > that read/rewrite hosing is /boot/kernel/kernel (or a required .ko, say, > zfs.ko?) then the system still doesn't boot at all. Well, first ZFS can do duplicates. It does so for metadata anyways and with copies property with content as well. Nevertheless it is not unlikely that all copies fail at the same time when using NAND-flash storage, as they are writen at the same time and might get stored in the same physical blocks. But after all you can mirror and ZFS write pattern is less stressfull for flash based media. I'm using ZFS for USB sticks of any brand since a long time. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-arm@freebsd.org Sat Feb 23 14:14:21 2019 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 BC4A615177FC for ; Sat, 23 Feb 2019 14:14:21 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [195.149.99.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "raven.bwct.de", Issuer "raven.bwct.de" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id DEC8F8C70B for ; Sat, 23 Feb 2019 14:14:19 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.15.2/8.15.2) with ESMTPS id x1NEE9I9000144 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Sat, 23 Feb 2019 15:14:10 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cicely.de; s=default; t=1550931250; bh=tFDF+ni35E9ILRGbOxux/cOM6AuMyYwQaRFYG7X7AYs=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To; b=lSXpfLGlAHdIb/7uN61Got0p3FQE8zTPcCtkO9bIrfrtKRknvSz3qZTCSI846ew9h fIYY1C+YAydHys0YvbKnij8ynsTiIQaT0VDrLBUgeP5wr/OJnhVtGzJoddf7l7Zy2G 5ig6o29M2MrJRMV1/JTq//iUsLDt+JeiG+sMBqEM= Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id x1NEE66t015896 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 23 Feb 2019 15:14:06 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.15.2/8.15.2) with ESMTP id x1NEE6VI005850; Sat, 23 Feb 2019 15:14:06 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.15.2/8.15.2/Submit) id x1NEE4qZ005849; Sat, 23 Feb 2019 15:14:04 +0100 (CET) (envelope-from ticso) Date: Sat, 23 Feb 2019 15:14:04 +0100 From: Bernd Walter To: Stefan Parvu Cc: freebsd-arm@freebsd.org Subject: Re: RBPI3B+ FreeBSD 12 ZFS Message-ID: <20190223141404.GQ93368@cicely7.cicely.de> Reply-To: ticso@cicely.de References: <5D976A97-9800-4A9F-A155-F3BD998AFB4C@kronometrix.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5D976A97-9800-4A9F-A155-F3BD998AFB4C@kronometrix.org> X-Operating-System: FreeBSD cicely7.cicely.de 12.0-STABLE amd64 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=4.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de X-Rspamd-Queue-Id: DEC8F8C70B X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cicely.de header.s=default header.b=lSXpfLGl X-Spamd-Result: default: False [-1.58 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[ticso@cicely.de]; R_DKIM_ALLOW(-0.20)[cicely.de:s=default]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; NEURAL_HAM_LONG(-1.00)[-0.996,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[cicely.de]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; NEURAL_SPAM_SHORT(0.19)[0.195,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[cicely.de:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[3.99.149.195.list.dnswl.org : 127.0.20.0]; MX_GOOD(-0.01)[mx1.bwct.de]; NEURAL_HAM_MEDIUM(-0.96)[-0.965,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:21461, ipnet:195.149.99.0/24, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-0.00)[country: DE(-0.01)] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Feb 2019 14:14:22 -0000 On Fri, Feb 22, 2019 at 05:38:03PM +0200, Stefan Parvu wrote: > I know ZFS would need a decent amount of RAM to start with. So for such low sized > SBC systems, like Raspberry PI having ZFS for root might be no go. > > What I meant was: how complicated would be right now for FreeBSD 12 to have an > ARM64 RBPI3B+ image image which could use ZFS to boot from a SD Card. It just works. I'm also running zroot on a Pi1 (512MB version). My workflow on an amd64 machine with SD-reader as da0. This is not the perfect way of doing it, but I wanted it fast without finding out how to partition a bootable card myself first. I will change that into complete partitioning later, which also has the advantage of not writing unallocated blocks to the card, which makes the cards slower later on. Write the standard image for your board. mount /dev/da0s2a and copy the files aside (/tmp/FreeBSD-12-arm64 in the following code). umount Boot the image in a raspberry to resize. Reinsert into the amd64 system. dd if=/dev/zero of=/dev/da0s2 bs=1m count=100 gpart create -s BSD da0s2 gpart add -t freebsd-zfs -a 4k da0s2 zpool create -R /mnt -O mountpoint=none -O atime=off -O compression=lz4 zroot /dev/da0s2a zfs create -o canmount=off -o mountpoint=none zroot/ROOT zfs create -o mountpoint=/ zroot/ROOT/default zfs create zroot/ROOT/default/usr zfs create zroot/ROOT/default/usr/obj zfs create zroot/ROOT/default/var zfs create zroot/ROOT/default/var/log zfs create -o mountpoint=/home zroot/home zpool set bootfs=zroot/ROOT/default zroot cd /tmp/FreeBSD-12-arm64 find -d . | cpio -pdvm /mnt echo 'opensolaris_load="YES"' >> /mnt/boot/loader.conf echo 'zfs_load="YES"' >> /mnt/boot/loader.conf echo 'vfs.zfs.arc_max="256M"' >> /mnt/boot/loader.conf echo 'zfs_enable="YES"' >> /mnt/etc/rc.conf # disable / and /boot/msdos mounts vi /mnt/etc/fstab zpool export zroot Now you can boot it on a raspberry. /boot/msdos is required to be disabled, because it fails to probe for the label with zfs using /dev/diskid/...s2a You can mount it via /dev/diskid/...s1, but the name is media dependend. You might want to increase vfs.zfs.arc_max to 512MB, depending on your workload. I usually add another identic card via USB reader (or secondary slot in case it is not a Raspberry and has 2 slots) for zmirror. > > Stefan Parvu > sparvu@kronometrix.org > > > > > On 22 Feb 2019, at 17.23, Karl Denninger wrote: > > > > On 2/22/2019 09:07, Stefan Parvu wrote: > >> Hi, > >> > >> Just curious, would ZFS work on a RBPI3B+ board with 1 GB RAM only > >> using FreeBSD 12 STABLE ? the hardware is 64bit but would it boot on > >> 1 GB RAM for its own ARC internal operations ? > >> > >> Thanks, > >> > >> Stefan Parvu > >> sparvu@kronometrix.org > > > > Are you talking about attempting to mount root off a ZFS filesystem on > > the SD card or booting it as usual and then loading zfs once running > > (e.g. to talk to a USB-attached disk)? > > > > I think you'll find that while it might run it's a very bad idea for a > > whole host of reasons; what purpose do you have in doing this? > > > > -- > > Karl Denninger > > karl@denninger.net > > /The Market Ticker/ > > /[S/MIME encrypted email preferred]/ > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-arm@freebsd.org Sat Feb 23 14:32:16 2019 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 06E78151816E for ; Sat, 23 Feb 2019 14:32:16 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [195.149.99.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "raven.bwct.de", Issuer "raven.bwct.de" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C1F008D63E; Sat, 23 Feb 2019 14:32:14 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.15.2/8.15.2) with ESMTPS id x1NEWBhe001629 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Sat, 23 Feb 2019 15:32:12 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cicely.de; s=default; t=1550932333; bh=MNR48e1NGpxkc8A9d3OJWdEjnN82EJ072I+iFZOcbHA=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To; b=VxNRv/lk+VXAyYy0yKmX81lK49g2mI9JAvRJh/JQhrNHqj2QDdfcueHa1MDUipbDE vHI+2olG0oaTnujVStqg0KYvRnJt8woQYrxXwEff3bCiIe2VBRZxJeLtuGVIzcXimL nVXx7ObAfHHDPAHkmMn0NA6AfzX2ULq6TjUYcsjc= Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id x1NEW8ag016282 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 23 Feb 2019 15:32:08 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.15.2/8.15.2) with ESMTP id x1NEW8Jf005939; Sat, 23 Feb 2019 15:32:08 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.15.2/8.15.2/Submit) id x1NEW7T2005938; Sat, 23 Feb 2019 15:32:07 +0100 (CET) (envelope-from ticso) Date: Sat, 23 Feb 2019 15:32:07 +0100 From: Bernd Walter To: Ian Lepore Cc: Stefan Parvu , freebsd-arm@freebsd.org Subject: Re: RBPI3B+ FreeBSD 12 ZFS Message-ID: <20190223143206.GS93368@cicely7.cicely.de> Reply-To: ticso@cicely.de References: <5D976A97-9800-4A9F-A155-F3BD998AFB4C@kronometrix.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD cicely7.cicely.de 12.0-STABLE amd64 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=4.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de X-Rspamd-Queue-Id: C1F008D63E X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cicely.de header.s=default header.b=VxNRv/lk X-Spamd-Result: default: False [-1.49 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[ticso@cicely.de]; R_DKIM_ALLOW(-0.20)[cicely.de:s=default]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; MV_CASE(0.50)[]; NEURAL_HAM_LONG(-0.99)[-0.993,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[cicely.de]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.25)[0.250,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[cicely.de:+]; MX_GOOD(-0.01)[cached: mx1.bwct.de]; RCVD_IN_DNSWL_NONE(0.00)[3.99.149.195.list.dnswl.org : 127.0.20.0]; NEURAL_HAM_MEDIUM(-0.94)[-0.938,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:21461, ipnet:195.149.99.0/24, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-0.00)[country: DE(-0.01)] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Feb 2019 14:32:16 -0000 On Fri, Feb 22, 2019 at 08:59:10AM -0700, Ian Lepore wrote: > On Fri, 2019-02-22 at 17:38 +0200, Stefan Parvu wrote: > > I know ZFS would need a decent amount of RAM to start with. So for > > such low sized > > SBC systems, like Raspberry PI having ZFS for root might be no go. > > > > What I meant was: how complicated would be right now for FreeBSD 12 > > to have an > > ARM64 RBPI3B+ image image which could use ZFS to boot from a SD Card. > > > > Stefan Parvu > > sparvu@kronometrix.org > > > > > > People have run a 512MB beaglebone with zfs on sdcard. It surely wasn't > high performance, and it reported needed some hand-tuning to run at > all, but it worked. The only hand tuning is vfs.zfs.arc_max. Otherwise it just works. I've went down to 128MB without noticeable problems, but never went below 256MB in the long run. But most of my zroot arm systems are 2GB RAM once, either Wandboard-Quad or Pine64-LTS. This is from a Pi1 with 256MB arc_max: last pid: 48345; load averages: 0.00, 0.00, 0.00 up 4+16:57:58 15:28:14 342 threads: 3 running, 321 sleeping, 18 waiting CPU: -3.1% user, 0.0% nice, 3.3% system, 0.7% interrupt, -0.5% idle Mem: 4252K Active, 207M Inact, 4468K Laundry, 145M Wired, 20M Buf, 64M Free ARC: 20M Total, 7162K MFU, 6336K MRU, 32K Anon, 672K Header, 6357K Other 2284K Compressed, 11M Uncompressed, 4.92:1 Ratio Swap: It is a local ntp server, so no high memory load from processes. > There's a lot of mythology about sdcards and what they can and can't > do, and how supposedly fragile they are. It's all a bunch of noise you > can safely ignore. They're slow, but they're plenty reliable. Reliable, unless you power cycle them... Since they have to refresh data after several reads, they can even fail after a powercycle in the wrong situation when your system mounts them readonly. The only cards which, so far, never have failed for me with power cycles are SanDisk Extreme plus. I can really suggest them for anything with random write loads on them, but they are pricey compared to other cards. I doubt they are power cycle proof either, but with fast writes they are less likely to see a power cycle in a bad moment. I know that there are power cycle proof cards available, e.g. from Swiss Bits, but AFAIK non of them make them as uSD cards. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-arm@freebsd.org Sat Feb 23 18:15:16 2019 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 B5410151FF85 for ; Sat, 23 Feb 2019 18:15:16 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [95.85.46.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 8AFCD9717D for ; Sat, 23 Feb 2019 18:15:10 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [192.168.1.191] (213-216-249-17.bb.dnainternet.fi [213.216.249.17]) (authenticated bits=0) by mail.kronometrix.org (8.15.2/8.15.2) with ESMTPSA id x1NIEtSl068914 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 23 Feb 2019 18:14:56 GMT (envelope-from sparvu@kronometrix.org) X-Authentication-Warning: mail.kronometrix.org: Host 213-216-249-17.bb.dnainternet.fi [213.216.249.17] claimed to be [192.168.1.191] Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: Re: RBPI3B+ FreeBSD 12 ZFS From: Stefan Parvu In-Reply-To: <20190223141648.GR93368@cicely7.cicely.de> Date: Sat, 23 Feb 2019 20:14:50 +0200 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <8BD4B1FF-76C5-423F-9C32-F0D47FD0A604@kronometrix.org> References: <5D976A97-9800-4A9F-A155-F3BD998AFB4C@kronometrix.org> <19ed5715-f1f1-6c5d-5dc6-e9c5225e5445@denninger.net> <1ED1A0A0-C569-433C-9341-30C40BC4CBF7@kronometrix.org> <20190223141648.GR93368@cicely7.cicely.de> To: ticso@cicely.de X-Mailer: Apple Mail (2.3445.102.3) X-Rspamd-Queue-Id: 8AFCD9717D X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of sparvu@kronometrix.org designates 95.85.46.90 as permitted sender) smtp.mailfrom=sparvu@kronometrix.org X-Spamd-Result: default: False [1.99 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; TO_DN_NONE(0.00)[]; NEURAL_SPAM_MEDIUM(0.90)[0.903,0]; DMARC_NA(0.00)[kronometrix.org]; NEURAL_HAM_LONG(-0.56)[-0.555,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.97)[0.969,0]; MX_GOOD(-0.01)[mail.kronometrix.org]; RCPT_COUNT_TWO(0.00)[2]; IP_SCORE(0.48)[asn: 14061(2.47), country: US(-0.07)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:14061, ipnet:95.85.0.0/18, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Feb 2019 18:15:16 -0000 >=20 > Exactly that's the reason why I'm using ZFS. > Especially with fragile cards. > It also is quite a bit faster on cards as it tends to write more = linear > to them and faster writes usually also mean that the cards won't wear > out as fast as with slow write patterns. Right. That was my first initial idea to see how ZFS will work using = Transcend, SanDisk=20 vs UFS.=20 How did you get started with ZFS/RBPi ? I suppose you started with = vanilla UFs image and then made that to use a zfs pool ? Is there anywhere documented how = one would=20 start using ZFS on RBPI3 because I think there are no ready images using = ZFS. Right ? Thanks, Stefan= From owner-freebsd-arm@freebsd.org Sat Feb 23 20:08:22 2019 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 673011503AF5 for ; Sat, 23 Feb 2019 20:08:22 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [95.85.46.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 748EB6D64C for ; Sat, 23 Feb 2019 20:08:21 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [192.168.1.191] (213-216-249-17.bb.dnainternet.fi [213.216.249.17]) (authenticated bits=0) by mail.kronometrix.org (8.15.2/8.15.2) with ESMTPSA id x1NK8CiB069969 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 23 Feb 2019 20:08:13 GMT (envelope-from sparvu@kronometrix.org) X-Authentication-Warning: mail.kronometrix.org: Host 213-216-249-17.bb.dnainternet.fi [213.216.249.17] claimed to be [192.168.1.191] From: Stefan Parvu Message-Id: Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: Re: RBPI3B+ FreeBSD 12 ZFS Date: Sat, 23 Feb 2019 22:08:06 +0200 In-Reply-To: <20190223185734.GV93368@cicely7.cicely.de> Cc: freebsd-arm@freebsd.org To: ticso@cicely.de References: <5D976A97-9800-4A9F-A155-F3BD998AFB4C@kronometrix.org> <19ed5715-f1f1-6c5d-5dc6-e9c5225e5445@denninger.net> <1ED1A0A0-C569-433C-9341-30C40BC4CBF7@kronometrix.org> <20190223141648.GR93368@cicely7.cicely.de> <8BD4B1FF-76C5-423F-9C32-F0D47FD0A604@kronometrix.org> <20190223185734.GV93368@cicely7.cicely.de> X-Mailer: Apple Mail (2.3445.102.3) X-Rspamd-Queue-Id: 748EB6D64C X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of sparvu@kronometrix.org designates 95.85.46.90 as permitted sender) smtp.mailfrom=sparvu@kronometrix.org X-Spamd-Result: default: False [1.65 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; HAS_XAW(0.00)[]; TO_DN_NONE(0.00)[]; NEURAL_SPAM_MEDIUM(0.88)[0.876,0]; DMARC_NA(0.00)[kronometrix.org]; NEURAL_HAM_LONG(-0.59)[-0.592,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.69)[0.691,0]; MX_GOOD(-0.01)[cached: mail.kronometrix.org]; RCPT_COUNT_TWO(0.00)[2]; IP_SCORE(0.48)[asn: 14061(2.47), country: US(-0.07)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; ASN(0.00)[asn:14061, ipnet:95.85.0.0/18, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Feb 2019 20:08:22 -0000 huh I might have missed the previous email. Got it now. 10 x thanks.=20 Stefan Parvu sparvu@kronometrix.org > On 23 Feb 2019, at 20.57, Bernd Walter = wrote: >=20 > On Sat, Feb 23, 2019 at 08:14:50PM +0200, Stefan Parvu wrote: >>>=20 >>> Exactly that's the reason why I'm using ZFS. >>> Especially with fragile cards. >>> It also is quite a bit faster on cards as it tends to write more = linear >>> to them and faster writes usually also mean that the cards won't = wear >>> out as fast as with slow write patterns. >>=20 >> Right. That was my first initial idea to see how ZFS will work using = Transcend, SanDisk=20 >> vs UFS.=20 >>=20 >> How did you get started with ZFS/RBPi ? I suppose you started with = vanilla UFs image >> and then made that to use a zfs pool ? Is there anywhere documented = how one would=20 >> start using ZFS on RBPI3 because I think there are no ready images = using ZFS. Right ? >=20 > Yes - I started with a premade image and changed the s2a root = partition. > No need to care about bootcode as it is already functional, otherwise > the same way as you would do for amd64. > I've already written more detail in another mail on this thread. >=20 > --=20 > B.Walter > http://www.bwct.de = > Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-arm@freebsd.org Sat Feb 23 18:57:47 2019 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 01B991500CD3 for ; Sat, 23 Feb 2019 18:57:47 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [195.149.99.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "raven.bwct.de", Issuer "raven.bwct.de" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C09346A505 for ; Sat, 23 Feb 2019 18:57:44 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.15.2/8.15.2) with ESMTPS id x1NIve3Q031448 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Sat, 23 Feb 2019 19:57:41 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cicely.de; s=default; t=1550948261; bh=5BhUF69A7gv7qDT7l+me5n53IQHi22pSFWFDh8frqy4=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To; b=M6PYU2wldOivmC5iFBDWfq4ciLi/e0YrVC2frJKzR4jrbB7rJxghK/M1AN/1dUcsE CU+L2f4qRFqy3QlYCpy7IpwXp0ZXLHrq27fItR4gNMFwJYrBrjMMxIDOKVWwZTMHEK Kd7Fu11cpoEcIB2cdBrUS5RJ+ExADdzdjRIuO1BQ= Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id x1NIvZnM022832 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 23 Feb 2019 19:57:35 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.15.2/8.15.2) with ESMTP id x1NIvYuH007196; Sat, 23 Feb 2019 19:57:34 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.15.2/8.15.2/Submit) id x1NIvYVb007195; Sat, 23 Feb 2019 19:57:34 +0100 (CET) (envelope-from ticso) Date: Sat, 23 Feb 2019 19:57:34 +0100 From: Bernd Walter To: Stefan Parvu Cc: ticso@cicely.de, freebsd-arm@freebsd.org Subject: Re: RBPI3B+ FreeBSD 12 ZFS Message-ID: <20190223185734.GV93368@cicely7.cicely.de> Reply-To: ticso@cicely.de References: <5D976A97-9800-4A9F-A155-F3BD998AFB4C@kronometrix.org> <19ed5715-f1f1-6c5d-5dc6-e9c5225e5445@denninger.net> <1ED1A0A0-C569-433C-9341-30C40BC4CBF7@kronometrix.org> <20190223141648.GR93368@cicely7.cicely.de> <8BD4B1FF-76C5-423F-9C32-F0D47FD0A604@kronometrix.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8BD4B1FF-76C5-423F-9C32-F0D47FD0A604@kronometrix.org> X-Operating-System: FreeBSD cicely7.cicely.de 12.0-STABLE amd64 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=4.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de X-Rspamd-Queue-Id: C09346A505 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cicely.de header.s=default header.b=M6PYU2wl X-Spamd-Result: default: False [-1.64 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[ticso@cicely.de]; R_DKIM_ALLOW(-0.20)[cicely.de:s=default]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; MV_CASE(0.50)[]; NEURAL_HAM_LONG(-1.00)[-0.998,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[cicely.de]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.15)[0.147,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: mx1.bwct.de]; DKIM_TRACE(0.00)[cicely.de:+]; RCVD_IN_DNSWL_NONE(0.00)[3.99.149.195.list.dnswl.org : 127.0.20.0]; NEURAL_HAM_MEDIUM(-0.98)[-0.978,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:21461, ipnet:195.149.99.0/24, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-0.00)[country: DE(-0.01)] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Feb 2019 18:57:47 -0000 On Sat, Feb 23, 2019 at 08:14:50PM +0200, Stefan Parvu wrote: > > > > Exactly that's the reason why I'm using ZFS. > > Especially with fragile cards. > > It also is quite a bit faster on cards as it tends to write more linear > > to them and faster writes usually also mean that the cards won't wear > > out as fast as with slow write patterns. > > Right. That was my first initial idea to see how ZFS will work using Transcend, SanDisk > vs UFS. > > How did you get started with ZFS/RBPi ? I suppose you started with vanilla UFs image > and then made that to use a zfs pool ? Is there anywhere documented how one would > start using ZFS on RBPI3 because I think there are no ready images using ZFS. Right ? Yes - I started with a premade image and changed the s2a root partition. No need to care about bootcode as it is already functional, otherwise the same way as you would do for amd64. I've already written more detail in another mail on this thread. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.