From owner-freebsd-arm@freebsd.org Thu Nov 5 06:45:33 2020 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 0314D44C998 for ; Thu, 5 Nov 2020 06:45:33 +0000 (UTC) (envelope-from melounmichal@gmail.com) Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) (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 4CRYth0sgRz4qsm for ; Thu, 5 Nov 2020 06:45:31 +0000 (UTC) (envelope-from melounmichal@gmail.com) Received: by mail-ej1-x633.google.com with SMTP id w13so969250eju.13 for ; Wed, 04 Nov 2020 22:45:31 -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=yeg/KbHjKpb67Q9hjOnnlVrfnM6gClS6RpTcbvljSGs=; b=AKR+4MuQa9XBEQZDPBS+23QYB8Vg7Ps48FD1sbmiIsBSh+hR8IfywWRq5ePysfaiJ0 NQUry0v6oX1LZ4JfTbR+1q65Zilsfgc1Gv6XVYGV+T59TjdejjJW3IXHIY1aQcxAUR66 eQuf6inW2k/280TbvAvZOEgtE+h6MfHX4kgZ3DVvDmXG9bnjCJOIHpLrKWq/aGy80QrU Y6wqh7Rw70vhtwdvBkbS3KftlUKDh4HKLMO3A58B/F4GLeVsRgCxYMahfAWArl6QIo3G aYaGMZbXv9dHtmgAkupHzf8AHM7rBSV90oiP8CDKMmafgNn74rijx2cYQjGH7GjJZyaZ rrKw== 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=yeg/KbHjKpb67Q9hjOnnlVrfnM6gClS6RpTcbvljSGs=; b=F0/HpiYUtpbpCGL7fPgkx4hTm2ZdD4Us3pyBGyThqC54jGYz90vUGTWJBqW9DhUap/ 1byxOiUrKoOOJSKoGb7EtFufCSYcsN/7Aq6RChuqNT9BKLhJ7KlxwDBF4mUaFDyvB7UL CAS8u16abrCGlz52HFRseCO1j8mMJbYRAWn/4FLA+eaQOBz+OAG2GnpePNWyhxo/TQTb mlP1abB87AWQPplPAVy6PLXcE/QojlC+UvV1ithyk/Aqh9/JzdKehFbqfCf2BAmZPrVk MyEfB4bvBA11cOfllkP1Tt3FGzam5a3jJVhu2t7/EiBBrEU5Lq0B3CuxUCjNNH33graT FGlA== X-Gm-Message-State: AOAM532iXfxIip3iCMo5AaUTEqY50CuFhNlkpdRfC2+h7D38bOxxeSbZ 7pzVrfk+uyWmk6D7jFsGjvRFRuVjxe0= X-Google-Smtp-Source: ABdhPJzbVgY54mu+km9bx9ycPExGjEFmTnpSFU+PhfCahZ76EbGI/vQWKpqVKe8/hud0BrvSC3wM3A== X-Received: by 2002:a17:906:b043:: with SMTP id bj3mr892021ejb.338.1604558730326; Wed, 04 Nov 2020 22:45:30 -0800 (PST) Received: from [88.208.79.100] (halouny.humusoft.cz. [88.208.79.100]) by smtp.gmail.com with ESMTPSA id y12sm343505ejj.95.2020.11.04.22.45.29 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 04 Nov 2020 22:45:29 -0800 (PST) Sender: Michal Meloun From: Michal Meloun X-Google-Original-From: Michal Meloun Reply-To: mmel@freebsd.org Subject: Re: growfs triggering sdhc errors To: freebsd-arm@freebsd.org References: <2724d1d4-58a1-eef2-c6bb-ce1be0fa3123@FreeBSD.org> <5f443e74-5e55-c8b2-f4c2-ea0034437aa0@FreeBSD.org> Message-ID: <6780ae20-de0b-62ce-4090-43e1cb3f87d3@freebsd.org> Date: Thu, 5 Nov 2020 07:45:29 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 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: 4CRYth0sgRz4qsm X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=AKR+4MuQ; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of melounmichal@gmail.com designates 2a00:1450:4864:20::633 as permitted sender) smtp.mailfrom=melounmichal@gmail.com X-Spamd-Result: default: False [-2.28 / 15.00]; HAS_REPLYTO(0.00)[mmel@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; 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]; NEURAL_HAM_SHORT(-0.31)[-0.309]; 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)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.995]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.97)[-0.974]; 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]; MID_RHS_MATCH_TO(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::633:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Nov 2020 06:45:33 -0000 On 05.11.2020 3:01, Steve Wills wrote: > Hi, > > I seem to have narrowed this down to r366106. With commits before that, > growfs works fine. After, it gives these errors. This seems to have been > discovered already tho: > > https://lists.freebsd.org/pipermail/svn-src-head/2020-November/141284.html > > And yet, so for, no response. I will try the proposed patch. > > Steve > This problem should be fixed in another way by r367268. Can you, please, test a fresh current? Michal > On 11/3/20 6:39 PM, Steve Wills wrote: >> Just to add a little more detail here, the exact output of growfs is: >> >> https://reviews.freebsd.org/file/data/xxwzfra5fjqqwxd7ws36/PHID-FILE-h7epoca7bcj5vurlzajf/raw-paste-data.txt >> >> >> I see this using the official snapshots too: >> >> FreeBSD  13.0-CURRENT FreeBSD 13.0-CURRENT #0 >> b9403d7aae8-c254071(main): Thu Oct 29 10:38:29 UTC 2020 >> root@releng1.nyi.freebsd.org:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC   arm64 >> >> >> FreeBSD-13.0-CURRENT-arm64-aarch64-RPI3-20201029-b9403d7aae8.img >> >> Note growfs is triggered on firstboot via the /etc/rc.d/growfs script >> and having growfs_enable="YES" in /etc/rc.conf and the /firstboot file >> existing. The partitions (MBR and BSD) seem to grow fine (gpart) but >> the growfs triggers the issue. >> >> Steve >> >> On 11/3/20 6:09 PM, Steve Wills wrote: >>> Hi, >>> >>> It seems that sometime between r362013 and r366608 of CURRENT, >>> something broke such that growfs on my RPI3 breaks with: >>> >>> sdhci_bcm0-slot0: Got data interrupt 0x00600000, but there is no >>> active command. >>> >>> followed by a register dump. Any ideas where to look? >>> >>> Thanks, >>> Steve >>> _______________________________________________ >>> 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" >> _______________________________________________ >> 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" > _______________________________________________ > 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"