From nobody Tue May 07 18:34:58 2024 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VYn5L4DLWz5JQGR for ; Tue, 07 May 2024 18:35:18 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic301-22.consmr.mail.gq1.yahoo.com (sonic301-22.consmr.mail.gq1.yahoo.com [98.137.64.148]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4VYn5K6zkgz4q29 for ; Tue, 7 May 2024 18:35:17 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1715106915; bh=BYEePDK/mxCvkCnj5zBtCDdMogAOWGMXFrMP/p5hrEs=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=I70lYes4UwJnhSlAwv8Bkr7KZhUJEMJTXb1zMQ7ZYk0xYjbtx7CMZPYcsPXmxooQkHL67Xc3d6bOFO96Jic53kB3cplIRTtTDQ+CZCtmbQM6ImmdPy3FgiR5uwjyHi8vHRhg2nIOkcxrKh1923gwfuhYk5nTWls3vsmcxKFxHxp4pSGL6LAiTtTpSucXWs1FQq8eaCtdqmWuw0nL7/jlrsnBQj3LwWdUcPBaajjObeDesJPukTA6mukD724/P9f5qDOrfFuU//7dEdidcgLKFblsU9H3gXunc7UhAW3xKvaEAx8SAm0rUYymgvgLNNBsECnk25gLbrqQ9LzjCcZNmg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1715106915; bh=gCVVFd2e0Z7k9r3hNHr1+2glByfoBUK3vpN3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Rec6Yq_2Hjm7XZWg1qWhDetWlIfk.w2VAooh3.qKkSQCoFxOE6XA.L9KYxE1 Z988EDfoNw303KFDalM7sSDK3unyna4F2Nwi88RH399HJMHCZJSLpVCyWp33pQBgQYUJ1QQyoklF _aD2xPiLoE1Zc9uTzOVZ7g_roXfkfOUT5dtt327OQVWpMBeAn62IzXC2sJUwl_6XjVTydqxfoTNF t0hbKDkDchmIh7J334zPScFjLDNuYX0PmPFtmb07V4UvWDzvU3C9DQBqRBPjkKyZrAPTyGcNTV_V CQuaJpQkUtF5NJUFrnxpZHHH5KlkR82pbJb57JErwqKID_5rdIjOkkQ6CJTkL9YQtHsy.2FqwCmo ndl7eGNAiuAap0WllOpvhhJSQnOm5_Nv3nIdwk2K1Qf9Ceqyd34A9ON.jsRIJrVCfOmrclFYMLQX pL5XxVRA_Kqy.ybFgHSqJXcFy6yXFdfNBRo66nwicsKI.RwjDhGJSt7ceosWntUYlhfZwhspYKZz 8mV8w160rQUkJVDsdXuH7Oiywa8Ro6yf40MLpGkv9DIG6pxFcRbk0iCb4zwzsYZ9IMOAzDxWNsr3 WYDqf X-Sonic-MF: X-Sonic-ID: 488eb7ef-0b52-4cf1-8a54-945ae436e94c Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.gq1.yahoo.com with HTTP; Tue, 7 May 2024 18:35:15 +0000 Received: by hermes--production-gq1-59c575df44-8lqx4 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID ce490c448f5ceabefc5acfb6b822559a; Tue, 07 May 2024 18:35:09 +0000 (UTC) Content-Type: text/plain; charset=us-ascii List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.500.171.1.1\)) Subject: Re: SD card timeouts on older Raspberry Pi 4 models on 14.1-BETA From: Mark Millard X-Priority: 3 (Normal) In-Reply-To: Date: Tue, 7 May 2024 11:34:58 -0700 Cc: FreeBSD ARM List , Mike Karels Content-Transfer-Encoding: quoted-printable Message-Id: <006DC28C-E3FF-4FCD-B1AB-B56FB8C5369E@yahoo.com> References: To: HP van Braam X-Mailer: Apple Mail (2.3774.500.171.1.1) X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US] X-Rspamd-Queue-Id: 4VYn5K6zkgz4q29 On May 7, 2024, at 11:17, HP van Braam wrote: > RE: SD card timeouts on older Raspberry Pi 4 models on 14.1-BETA > = I'll note that my testing that Mike mentioned was without any USB = devices > > being plugged into any USB port: Just Serial console, Ethernet = connection, > > power supply, and the fan's power-pin connections. Nothing else = connected. >=20 > Thanks for confirming! It just *looks* like the bug I'm chasing then! >=20 > > Only the old 4 GiByte Rev 1.1 RPi4B's failed to boot 14.1. >=20 > I'll test this locally as well, I think I still have one kicking = around. >=20 > One thing I'd like you to check is to see if the "mmc" overlay is = enabled in > config.txt. If it is can you try commenting it out? If that does work = problems > are probably related after all. I did not modify it: # cat /boot/efi/config.txt [all] arm_64bit=3D1 dtparam=3Daudio=3Don,i2c_arm=3Don,spi=3Don dtoverlay=3Dmmc dtoverlay=3Ddisable-bt device_tree_address=3D0x4000 kernel=3Du-boot.bin [pi4] hdmi_safe=3D1 armstub=3Darmstub8-gic.bin So commenting out the dtoverlay=3Dmmc line and switching to the Rev 1.1 RPi4B to attempt a boot still results in: . . . Release APs...done TCP_ratelimit: Is now initialized uhub0: 5 ports with 4 removable, self powered ugen0.2: at usbus0 uhub1 on uhub0 uhub1: on = usbus0 uhub1: 4 ports with 4 removable, self powered sdhci_bcm1-slot0: Controller timeout sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER = DUMP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_bcm1-slot0: Sys addr: 0x000000c8 | Version: 0x00001002 sdhci_bcm1-slot0: Blk size: 0x00000200 | Blk cnt: 0x00000001 sdhci_bcm1-slot0: Argument: 0x03b723ff | Trn mode: 0x00000012 sdhci_bcm1-slot0: Present: 0x1fff0a06 | Host ctl: 0x00000007 sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000080 sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x00000107 sdhci_bcm1-slot0: Timeout: 0x00000003 | Int stat: 0x00000000 sdhci_bcm1-slot0: Int enab: 0x01ff003b | Sig enab: 0x01ff0009 sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 sdhci_bcm1-slot0: Caps: 0x45ee6432 | Caps2: 0x0000a525 sdhci_bcm1-slot0: Max curr: 0x00080008 | ADMA err: 0x00000000 sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D mmcsd0: Error indicated: 1 Timeout sdhci_bcm1-slot0: Controller timeout sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER = DUMP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_bcm1-slot0: Sys addr: 0x000000c8 | Version: 0x00001002 sdhci_bcm1-slot0: Blk size: 0x00000200 | Blk cnt: 0x00000001 sdhci_bcm1-slot0: Argument: 0x03b723ff | Trn mode: 0x00000012 sdhci_bcm1-slot0: Present: 0x1fff0a06 | Host ctl: 0x00000007 sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000080 sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x00000107 sdhci_bcm1-slot0: Timeout: 0x00000003 | Int stat: 0x00000021 sdhci_bcm1-slot0: Int enab: 0x01ff003b | Sig enab: 0x01ff0008 sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 sdhci_bcm1-slot0: Caps: 0x45ee6432 | Caps2: 0x0000a525 sdhci_bcm1-slot0: Max curr: 0x00080008 | ADMA err: 0x00000000 sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D mmcsd0: Error indicated: 1 Timeout sdhci_bcm1-slot0: Controller timeout sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER = DUMP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_bcm1-slot0: Sys addr: 0x000000c8 | Version: 0x00001002 sdhci_bcm1-slot0: Blk size: 0x00000200 | Blk cnt: 0x00000004 sdhci_bcm1-slot0: Argument: 0x03b723c1 | Trn mode: 0x00000036 sdhci_bcm1-slot0: Present: 0x1fff0a06 | Host ctl: 0x00000007 sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000080 sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x00000107 sdhci_bcm1-slot0: Timeout: 0x00000003 | Int stat: 0x00000021 sdhci_bcm1-slot0: Int enab: 0x01ff003b | Sig enab: 0x01ff0008 sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 sdhci_bcm1-slot0: Caps: 0x45ee6432 | Caps2: 0x0000a525 sdhci_bcm1-slot0: Max curr: 0x00080008 | ADMA err: 0x00000000 sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D mmcsd0: Error indicated: 1 Timeout mmcsd0: Error indicated: 1 Timeout mmcsd0: Error indicated: 1 Timeout mmcsd0: Error indicated: 1 Timeout mmcsd0: Error indicated: 1 Timeout mountroot: waiting for device /dev/ufs/rootfs... Mounting from ufs:/dev/ufs/rootfs failed with error 19. Loader variables: vfs.root.mountfrom=3Dufs:/dev/ufs/rootfs vfs.root.mountfrom.options=3Drw Manual root filesystem specification: : [options] Mount using filesystem and with the specified (optional) option list. eg. ufs:/dev/da0s1a zfs:zroot/ROOT/default cd9660:/dev/cd0 ro (which is equivalent to: mount -t cd9660 -o ro /dev/cd0 /) ? List valid disk boot devices . Yield 1 second (for background tasks) Abort manual input mountroot>=20 =3D=3D=3D Mark Millard marklmi at yahoo.com