From owner-freebsd-arm@freebsd.org Sat Jan 16 13:47:29 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 275D44DF65E for ; Sat, 16 Jan 2021 13:47:29 +0000 (UTC) (envelope-from melounmichal@gmail.com) Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DHzrJ1tMnz3qTR for ; Sat, 16 Jan 2021 13:47:28 +0000 (UTC) (envelope-from melounmichal@gmail.com) Received: by mail-ed1-x530.google.com with SMTP id c6so5510648ede.0 for ; Sat, 16 Jan 2021 05:47:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:reply-to:subject:to:references:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=tW1lA6M4Rs8GxnlFouNlsweKAo5LuFgBvu+fyEruu04=; b=tjWdaI75E+eWtmQfnW462TwX9ZbI+2qL9TRtZSr1SN95cr/Gf8/mMTWEfSg4MiBmzU YHLqCZFfz3XUMCOg7YIMpsBjctggdeNyq8nhX/oJBeOvulckvKp6dbM+YQhk7iv/tw9I CRU7BP6lsjQ7QQHfAzZa9TejaVcTdbYtsBi9F09Ledo+2RPWnXVyC2DpFLfEHnt/8Uic 1HpmVvpZmK7Wasp3Ab2bet+3l9J7IqjgZSzaDUJA09QgSYVA8I4gxmIN+V5Sx5DsxEdG u4aubvQ3Q4b7zwqgejc4vIhvkWIEKO8KODVqijSBpeQA6vZORBpb4K6R/9LGQkrmnS3e raIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:reply-to:subject:to:references :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=tW1lA6M4Rs8GxnlFouNlsweKAo5LuFgBvu+fyEruu04=; b=R4YBd9EDgtGBzrRsVV1Dq5eYURFL6zG72Y+j3M3iV2kQNGy/uO04tNWC1qdNwfsmiS u2AGzmwrDTZDB2q1+2QDmaGjb1aqboqNdS/0NJ8LgxaigP4Y7mxwVe72SVdpMyHk1tWX YppqFzBYYCc1ni4elaf83Oopd8lpELy2AGV0AAI5p+inTWPexQ3/bPPgTGQUjPzmnOgA MuTF7nj5NiVUp6C/BBkZy2n2VZAhUSr7yMO0JDOuVm3VosBfR6IE22exwU64tyzPluw3 htiZtUSgLqrWqpHZoQ20J9+KEmcOtcGCsyjYLFUp0uug7CzPHr90rmBKCbXi6WrqOX1M oefA== X-Gm-Message-State: AOAM5304ortwcGI0l8yy6QIUfywzwFMy1bhlZNrfxygRYhVzyCFCkeOh fIDpM9nlFAcd9RvDKn3BwHA+iq4fZj4= X-Google-Smtp-Source: ABdhPJxSvJgfoF1kZt9f8EIPIhRAyoWdbHnWuWN0JXXdqP67c+zQSkifSYxTWc76xPRR4S4KzFCSCw== X-Received: by 2002:a05:6402:1102:: with SMTP id u2mr13567028edv.18.1610804846571; Sat, 16 Jan 2021 05:47:26 -0800 (PST) Received: from [88.208.79.100] (halouny.humusoft.cz. [88.208.79.100]) by smtp.gmail.com with ESMTPSA id by30sm7284132edb.15.2021.01.16.05.47.25 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 16 Jan 2021 05:47:25 -0800 (PST) Sender: Michal Meloun From: Michal Meloun X-Google-Original-From: Michal Meloun Reply-To: mmel@freebsd.org Subject: Re: ZFS problems on aarch64 (RockPro64) To: freebsd-arm@freebsd.org References: Message-ID: <2b0ed525-ff96-d1ce-bb11-d3352c380bf7@freebsd.org> Date: Sat, 16 Jan 2021 14:47:30 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4DHzrJ1tMnz3qTR X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=tjWdaI75; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of melounmichal@gmail.com designates 2a00:1450:4864:20::530 as permitted sender) smtp.mailfrom=melounmichal@gmail.com X-Spamd-Result: default: False [-1.00 / 15.00]; HAS_REPLYTO(0.00)[mmel@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::530:from]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::530:from:127.0.2.255]; MID_RHS_MATCH_TO(1.00)[]; NEURAL_SPAM_SHORT(1.00)[0.999]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::530:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jan 2021 13:47:29 -0000 On 16.01.2021 12:12, Sleep Walker wrote: > The problem is confirmed tested today on the Kobol Helios64 RK3399 NAS. > Can you, please, test the following patch? > https://github.com/strejda/freebsd/commit/f6f7fbcb1c799504585ab6213c163b491fec4e87 Thanks, Michal > root@helios64:~ # gpart delete -i 4 ada0 > ada0p4 deleted > root@helios64:~ # gpart add -t freebsd-zfs ada0 > ada0p4 added > root@helios64:~ # zpool create -f -m /mnt/sata tank-sata /dev/ada0p4 > ahcich0: DMA load error > (ada0:ahcich0:0:0:0): WRITE_FPDMA_QUEUED. ACB: 61 08 00 10 02 40 09 00 00 00 00 00 > (ada0:ahcich0:0:0:0): CAM status: CCB request was invalid > (ada0:ahcich0:0:0:0): Error 22, Unretryable error > cannot zero first 4096 bytes of '/dev/ada0p4': Invalid argument > root@helios64:~ # uname -aUK > FreeBSD helios64 13.0-CURRENT FreeBSD 13.0-CURRENT #0 de1aa3dab23c-c528909(master): Sat Jan 9 17:54:57 MSK 2021 root@honeycomb.local:/usr/crochet/work/obj/usr/crochet/src/arm64.aarch64/sys/EXPERT-13 arm64 1300132 1300131 > root@helios64:~ # zpool list -v > NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT > media 9.09T 1007G 8.11T - - 0% 10% 1.00x ONLINE - > gpt/disk3 9.09T 1007G 8.11T - - 0% 10.8% - ONLINE > tank-emmc 14.5G 126K 14.5G - - 0% 0% 1.00x ONLINE - > mmcsd1p1 14.5G 126K 14.5G - - 0% 0.00% - ONLINE > tank-usb 14.5G 126K 14.5G - - 0% 0% 1.00x ONLINE - > da0p1 14.5G 126K 14.5G - - 0% 0.00% - ONLINE > zboot 63.5G 2.47G 61.0G - - 17% 3% 1.00x ONLINE - > ada0p3 63.5G 2.47G 61.0G - - 17% 3.89% - ONLINE > root@helios64:~ # > > Pools on ada0 were created 4 months ago. And they worked perfectly. > > On USB and eMMC everything works without errors even now. > > — > Sergei Tyryukanov > > >> 16 янв. 2021 г., в 11:01, Andrey Fesenko написал(а): >> >> I saw a similar problem in the same way, unfortunately, this platform > _______________________________________________ > 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" >