From nobody Thu Jan 30 21:11:22 2025 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 4YkWt13VR7z5mktW for ; Thu, 30 Jan 2025 21:11:37 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic305-21.consmr.mail.gq1.yahoo.com (sonic305-21.consmr.mail.gq1.yahoo.com [98.137.64.84]) (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 4YkWt061M3z3My5 for ; Thu, 30 Jan 2025 21:11:36 +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=1738271494; bh=f9+I6jxm+IW/X89sHcQAyho/QbdsegYk2HVcSZr6vFA=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=KQvUMSJ0PWZK6Yrz4BHpxjIoXqLdsSs11dZcnfzoxJ5jWOCV9ukuIgsoXl/k9klBuTjC91JxchziZmafmejgBiDJg5mXMzSq/hEmpMTKhabHuIn6ZWrMOQHN4hamDbTZA83ODcKWUzCZ0Ec/x63uSNiUwUrU4TJ7NBYeiiYPiyEWH8J5mRWoGvYFUBX7THDAme86xB20U6yuL+rgAAb98SI/Y+t6eJfCuGv6FzREOhoycWpHzW/fEKKhMZjojHj1Nwaaz7osbtEcSSbsyQsFecnfolB+u+Ao87+vTOaJfoz9gAWn+w0Bnpl18ru44dAdmh/PZsriITnQwnTThMs3Bw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1738271494; bh=uXfCjKKpLVUkzzp6oyVC7CoTDVr08UzZ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hjKTbe5QGMDs TWnHby1p5SFIJJ5TsGDlhNJtzBnafAfpC4B0ibpo2ig1yBMDV_myGBEWTV.48dvNEf2ELL6g_1tt r_UCTdo.nm45ZJAqx0GLTe6o5xZVff4IbFwbvlHihZEIJxsLLCvfUFB9ebg5FBkz.oKaqCU6z7dE JKexiDGqLumo6sOD5XPzzZ4nLM9iEr8_besjms1XQHXNLJQ9984eUPDfN8aMTaS83_Dq3e7FGxQD KSUL1WrgiX4647uu7zwImM5mEEev8MhWhKX5wapSM23rvLpJiwycF6N8au7tJUU.v3EjOIF83MQK ywjlY9GE4OBUcx8GyD7NzkNKCRQczlSl8.P_Uyo6JOH75ioR8lvjSBrVSKSSY1wuBLn63mFKZHaw _UNHD2d4ImrDnbm8ErcshNzJvp.rP7bkl9xk41lN9eciHlUYmOQ0pSgjIKIX4P4paJzqx6J5RuFL leBso1llUb0rM3SIr_kXTrQFlMb8wWXEr7avhbrM3oyzGRkBRVYqfVvkbscCXMdCd9eHyymXSNiy jFCRdsTAaVhqlJPGXacJOPPbwykTM6_lvAXZv6eManeXB499FsBooGt0HfAV2s2amyMqBdPEGjjc a.kM- X-Sonic-MF: X-Sonic-ID: fb8bee9f-efaa-4609-bc90-b09fc747e1ff Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.gq1.yahoo.com with HTTP; Thu, 30 Jan 2025 21:11:34 +0000 Received: by hermes--production-gq1-5dd4b47f46-5kxd4 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 2658b4e78ddfb87321d1800d1d30ea13; Thu, 30 Jan 2025 21:11:33 +0000 (UTC) Content-Type: text/plain; charset=utf-8 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 \(3826.300.87.4.3\)) Subject: Re: Radxa Orion O6 From: Mark Millard In-Reply-To: <12D0A72A07D8A019+83c55ce0-3811-437d-aed2-6a753938e8a3@radxa.com> Date: Thu, 30 Jan 2025 13:11:22 -0800 Cc: Andrew Turner , FreeBSD ARM List , Warner Losh Content-Transfer-Encoding: quoted-printable Message-Id: References: <1B4F62E3-A269-4611-B9ED-1A72298FFC85@yahoo.com> <6591E59D-4E91-4325-8A77-46E182303927@yahoo.com> <9581F4025795F7C5+10590950-836c-4d9c-9c05-43b25b880e08@radxa.com> <9EDB5AF9-B11B-474E-8541-6C10098574CE@yahoo.com> <289A1E5B1EB26246+02035adf-93b2-432e-aac7-8b9135ff600e@radxa.com> <77D55F7BE57B9E43+9557bea2-4356-4525-bb9e-c4ea885895f5@radxa.com> <066b43d33f04acffe617eebdfc1384bb@fubar.geek.nz> <5784648BD0765DC0+5569efd0-5ca1-4f4a-be98-60b66b793561@radxa.com> <4E031287-C807-44FA-9CC1-9D39C4CA258F@fubar.geek.nz> <76BFF5FCC5391448+61004119-03e2-47f7-bba3-84f6cb82d4c8@radxa.com> <7391e418a4f0f7cfae645934321cea41@fubar.geek.nz> <12D0A72A07D8A019+83c55ce0-3811-437d-aed2-6a753938e8a3@radxa.com> To: FUKAUMI Naoki X-Mailer: Apple Mail (2.3826.300.87.4.3) X-Rspamd-Queue-Id: 4YkWt061M3z3My5 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] On Jan 30, 2025, at 06:45, FUKAUMI Naoki wrote: > On 1/30/25 23:14, Andrew Turner wrote: >>>>> PCIe is not working yet. Any idea? >>>>=20 >>>> I suspect there is a conflict where two devices both try to = allocate the same memory resource. >>>>=20 >>>> Can you try booting with =E2=80=9Cdebug.rman_debug=3D1=E2=80=9D set = from the loader prompt? It will print a lot of logging about different = memory and interrupt resources being allocated so you will likely need = something to save the output, e.g. reading the serial output under = script. It=E2=80=99s will also likely be too much for the list, so you = can email it to me directly. >>>=20 >>> I uploaded dmesg here: >>>=20 >>> https://drive.google.com/file/d/1HzZFFIaBu2gyDHF7oPnNLuzU_CBMF5dC/ = view?usp=3Dsharing >> Hello, >> The follow lines indicate another device has reserved the PCIe = memory, however the details of which device has the reservation has been = lost from the top of output. >> considering [0x2c000000, 0x2fffffff] >> region is allocated >> Is it possible to get the data from earlier in the boot? >=20 > Sorry, I didn't realise the log was incomplete. >=20 > This should be complete... > = https://drive.google.com/file/d/1PKxfS7BWK4Vo41tw7YrYB1_LfHzLCN-A/view?usp= =3Dsharing There are 21 "no unshared regions found", 19 of which also report a prior "region is allocated" hit as well. There are also 3 "NULL list head"/"could not find a region" examples: all being pcib0 examples with "". Each of the 3 has one of the "no unshared regions found" for "" just prior as well. The 21 "no unshared regions found" (some with some extra context) are: rman_reserve_resource: request: [0x16000000, = 0x16000fff], length 0x1000, flags 0, device (null) rman_reserve_resource: trying 0x40affff <0x16000000,0xfff> . . . rman_reserve_resource: tried 0x15ffffff <0x16000000,0xfff> considering [0x16000000, 0x16000fff] region is allocated considering [0x16001000, 0x16006fff] s->r_start (0x16001000) + count - 1> end (0x16000fff) no unshared regions found rman_reserve_resource: request: [0x4160000, = 0x4160fff], length 0x1000, flags 0, device (null) rman_reserve_resource: trying 0x40affff <0x4160000,0xfff> . . . rman_reserve_resource: tried 0x416011b <0x4160000,0xfff> considering [0x416011c, 0x416ffff] s->r_start (0x416011c) + count - 1> end (0x4160fff) no unshared regions found rman_reserve_resource: request: [0x16000000, = 0x16000fff], length 0x1000, flags 0, device (null) rman_reserve_resource: trying 0x40affff <0x16000000,0xfff> . . . rman_reserve_resource: tried 0x15ffffff <0x16000000,0xfff> considering [0x16000000, 0x16000fff] region is allocated considering [0x16001000, 0x16006fff] s->r_start (0x16001000) + count - 1> end (0x16000fff) no unshared regions found . . . rman_reserve_resource: request: [0x6590000, = 0x659007f], length 0x80, flags 0, device (null) rman_reserve_resource: trying 0x40affff <0x6590000,0x7f> . . . rman_reserve_resource: tried 0x658ffff <0x6590000,0x7f> considering [0x6590000, 0x659ffff] region is allocated considering [0x65a0000, 0x65affff] s->r_start (0x65a0000) + count - 1> end (0x659007f) no unshared regions found rman_reserve_resource: request: [0x65a0000, = 0x65a007f], length 0x80, flags 0, device (null) rman_reserve_resource: trying 0x40affff <0x65a0000,0x7f> . . . rman_reserve_resource: tried 0x659ffff <0x65a0000,0x7f> considering [0x65a0000, 0x65affff] region is allocated considering [0x65b0000, 0x70effff] s->r_start (0x65b0000) + count - 1> end (0x65a007f) no unshared regions found . . . rman_reserve_resource: request: [0x7110000, = 0x711ffff], length 0x10000, flags 0, device (null) rman_reserve_resource: trying 0x40affff <0x7110000,0xffff> . . . rman_reserve_resource: tried 0x710ffff <0x7110000,0xffff> considering [0x7110000, 0x711ffff] region is allocated considering [0x7120000, 0x930ffff] s->r_start (0x7120000) + count - 1> end (0x711ffff) no unshared regions found . . . rman_reserve_resource: request: [0x7110000, = 0x711ffff], length 0x10000, flags 0, device (null) rman_reserve_resource: trying 0x40affff <0x7110000,0xffff> . . . rman_reserve_resource: tried 0x710ffff <0x7110000,0xffff> considering [0x7110000, 0x711ffff] region is allocated considering [0x7120000, 0x930ffff] s->r_start (0x7120000) + count - 1> end (0x711ffff) no unshared regions found rman_reserve_resource: request: [0x7000000, = 0x7ffffff], length 0x1000000, flags 0, device (null) rman_reserve_resource: trying 0x40affff <0x7000000,0xffffff> . . . rman_reserve_resource: tried 0x711ffff <0x7000000,0xffffff> considering [0x7120000, 0x930ffff] s->r_start (0x7120000) + count - 1> end (0x7ffffff) no unshared regions found . . . rman_reserve_resource: request: [0xa060000, = 0xa06ffff], length 0x10000, flags 0, device (null) rman_reserve_resource: trying 0x401ffff <0xa060000,0xffff> . . . rman_reserve_resource: tried 0xa05ffff <0xa060000,0xffff> considering [0xa060000, 0xa06ffff] region is allocated considering [0xa070000, 0xa07ffff] s->r_start (0xa070000) + count - 1> end (0xa06ffff) no unshared regions found . . . rman_reserve_resource: request: [0xa060000, = 0xa06ffff], length 0x10000, flags 0, device (null) rman_reserve_resource: trying 0x401ffff <0xa060000,0xffff> . . . rman_reserve_resource: tried 0xa05ffff <0xa060000,0xffff> considering [0xa060000, 0xa06ffff] region is allocated considering [0xa070000, 0xa07ffff] s->r_start (0xa070000) + count - 1> end (0xa06ffff) no unshared regions found . . . rman_reserve_resource: request: [0x9018000, = 0x901ffff], length 0x8000, flags 0, device (null) rman_reserve_resource: trying 0x401ffff <0x9018000,0x7fff> . . . rman_reserve_resource: tried 0x9017fff <0x9018000,0x7fff> considering [0x9018000, 0x901ffff] region is allocated considering [0x9020000, 0x902ffff] s->r_start (0x9020000) + count - 1> end (0x901ffff) no unshared regions found . . . rman_reserve_resource: request: [0x90f8000, = 0x90fffff], length 0x8000, flags 0, device (null) rman_reserve_resource: trying 0x401ffff <0x90f8000,0x7fff> . . . rman_reserve_resource: tried 0x90f7fff <0x90f8000,0x7fff> considering [0x90f8000, 0x90fffff] region is allocated considering [0x9100000, 0x910ffff] s->r_start (0x9100000) + count - 1> end (0x90fffff) no unshared regions found . . . rman_reserve_resource: request: [0x91d8000, = 0x91dffff], length 0x8000, flags 0, device (null) rman_reserve_resource: trying 0x401ffff <0x91d8000,0x7fff> . . . rman_reserve_resource: tried 0x91d7fff <0x91d8000,0x7fff> considering [0x91d8000, 0x91dffff] region is allocated considering [0x91e0000, 0x91e7fff] s->r_start (0x91e0000) + count - 1> end (0x91dffff) no unshared regions found . . . rman_reserve_resource: request: [0x91e8000, = 0x91effff], length 0x8000, flags 0, device (null) rman_reserve_resource: trying 0x401ffff <0x91e8000,0x7fff> . . . rman_reserve_resource: tried 0x91e7fff <0x91e8000,0x7fff> considering [0x91e8000, 0x91effff] region is allocated considering [0x91f0000, 0x920ffff] s->r_start (0x91f0000) + count - 1> end (0x91effff) no unshared regions found . . . rman_reserve_resource: request: [0x9268000, = 0x926ffff], length 0x8000, flags 0, device (null) rman_reserve_resource: trying 0x401ffff <0x9268000,0x7fff> . . . rman_reserve_resource: tried 0x9267fff <0x9268000,0x7fff> considering [0x9268000, 0x926ffff] region is allocated considering [0x9270000, 0x928030f] s->r_start (0x9270000) + count - 1> end (0x926ffff) no unshared regions found . . . rman_reserve_resource: request: [0x9298000, = 0x929ffff], length 0x8000, flags 0, device (null) rman_reserve_resource: trying 0x401ffff <0x9298000,0x7fff> . . . rman_reserve_resource: tried 0x9297fff <0x9298000,0x7fff> considering [0x9298000, 0x929ffff] region is allocated considering [0x92a0000, 0x92b030f] s->r_start (0x92a0000) + count - 1> end (0x929ffff) no unshared regions found . . . rman_reserve_resource: request: [0x92c8000, = 0x92cffff], length 0x8000, flags 0, device (null) rman_reserve_resource: trying 0x401ffff <0x92c8000,0x7fff> . . . rman_reserve_resource: tried 0x92c7fff <0x92c8000,0x7fff> considering [0x92c8000, 0x92cffff] region is allocated considering [0x92d0000, 0x92e030f] s->r_start (0x92d0000) + count - 1> end (0x92cffff) no unshared regions found . . . rman_reserve_resource: request: [0x92f4000, = 0x92f7fff], length 0x4000, flags 0, device (null) rman_reserve_resource: trying 0x401ffff <0x92f4000,0x3fff> . . . rman_reserve_resource: tried 0x92f3fff <0x92f4000,0x3fff> considering [0x92f4000, 0x92f7fff] truncated region: [0x92f4000, 0x92f7fff]; size 0x4000 (requested 0x4000) candidate region: [0x92f4000, 0x92f7fff], size 0x4000 candidate region is entire chunk rman_reserve_resource: request: [0x92f8000, = 0x92fffff], length 0x8000, flags 0, device (null) rman_reserve_resource: trying 0x401ffff <0x92f8000,0x7fff> . . . rman_reserve_resource: tried 0x92f7fff <0x92f8000,0x7fff> considering [0x92f8000, 0x92fffff] region is allocated considering [0x9300000, 0x930ffff] s->r_start (0x9300000) + count - 1> end (0x92fffff) no unshared regions found . . . acpi_tz0: on acpi0 pcib0: on acpi0 pcib0: Bus is cache-coherent pcib0: ECAM for bus 144-175 at mem 29000000-2affffff rman_reserve_resource: request: [0x29000000, = 0x2affffff], length 0x2000000, flags 100, device pcib0 rman_reserve_resource: trying 0x401ffff <0x29000000,0x1ffffff> . . . rman_reserve_resource: tried 0x28ffffff <0x29000000,0x1ffffff> considering [0x29000000, 0x2bffffff] region is allocated considering [0x2c000000, 0x2fffffff] s->r_start (0x2c000000) + count - 1> end (0x2affffff) no unshared regions found rman_reserve_resource: request: [0x29000000, = 0x2affffff], length 0x2000000, flags 100, device pcib0 NULL list head could not find a region pcib0: could not allocate memory. device_attach: pcib0 attach returned 6 pcib0: on acpi0 pcib0: Bus is cache-coherent pcib0: ECAM for bus 48-79 at mem 23000000-24ffffff rman_reserve_resource: request: [0x23000000, = 0x24ffffff], length 0x2000000, flags 100, device pcib0 rman_reserve_resource: trying 0x401ffff <0x23000000,0x1ffffff> . . . rman_reserve_resource: tried 0x22ffffff <0x23000000,0x1ffffff> considering [0x23000000, 0x25ffffff] region is allocated considering [0x26000000, 0x28ffffff] s->r_start (0x26000000) + count - 1> end (0x24ffffff) no unshared regions found rman_reserve_resource: request: [0x23000000, = 0x24ffffff], length 0x2000000, flags 100, device pcib0 NULL list head could not find a region pcib0: could not allocate memory. device_attach: pcib0 attach returned 6 pcib0: on acpi0 pcib0: Bus is cache-coherent pcib0: ECAM for bus 0-31 at mem 20000000-21ffffff rman_reserve_resource: request: [0x20000000, = 0x21ffffff], length 0x2000000, flags 100, device pcib0 rman_reserve_resource: trying 0x401ffff <0x20000000,0x1ffffff> . . . rman_reserve_resource: tried 0x1fffffff <0x20000000,0x1ffffff> considering [0x20000000, 0x22ffffff] region is allocated considering [0x23000000, 0x25ffffff] s->r_start (0x23000000) + count - 1> end (0x21ffffff) no unshared regions found rman_reserve_resource: request: [0x20000000, = 0x21ffffff], length 0x2000000, flags 100, device pcib0 NULL list head could not find a region pcib0: could not allocate memory. device_attach: pcib0 attach returned 6 =3D=3D=3D Mark Millard marklmi at yahoo.com