Re: Radxa Orion O6
- In reply to: FUKAUMI Naoki : "Re: Radxa Orion O6"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 30 Jan 2025 21:11:22 UTC
On Jan 30, 2025, at 06:45, FUKAUMI Naoki <naoki@radxa.com> wrote: > On 1/30/25 23:14, Andrew Turner wrote: >>>>> PCIe is not working yet. Any idea? >>>> >>>> I suspect there is a conflict where two devices both try to allocate the same memory resource. >>>> >>>> Can you try booting with “debug.rman_debug=1” 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’s will also likely be too much for the list, so you can email it to me directly. >>> >>> I uploaded dmesg here: >>> >>> https://drive.google.com/file/d/1HzZFFIaBu2gyDHF7oPnNLuzU_CBMF5dC/ view?usp=sharing >> 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? > > Sorry, I didn't realise the log was incomplete. > > This should be complete... > https://drive.google.com/file/d/1PKxfS7BWK4Vo41tw7YrYB1_LfHzLCN-A/view?usp=sharing 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 "<ACPI I/O memory addresses>". Each of the 3 has one of the "no unshared regions found" for "<I/O memory addresses>" just prior as well. The 21 "no unshared regions found" (some with some extra context) are: rman_reserve_resource: <I/O memory addresses> 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: <I/O memory addresses> 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: <I/O memory addresses> 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: <I/O memory addresses> 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: <I/O memory addresses> 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: <I/O memory addresses> 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: <I/O memory addresses> 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: <I/O memory addresses> 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: <I/O memory addresses> 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: <I/O memory addresses> 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: <I/O memory addresses> 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: <I/O memory addresses> 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: <I/O memory addresses> 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: <I/O memory addresses> 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: <I/O memory addresses> 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: <I/O memory addresses> 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: <I/O memory addresses> 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: <I/O memory addresses> 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: <I/O memory addresses> 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: <Thermal Zone> on acpi0 pcib0: <Generic PCI host controller> on acpi0 pcib0: Bus is cache-coherent pcib0: ECAM for bus 144-175 at mem 29000000-2affffff rman_reserve_resource: <I/O memory addresses> 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: <ACPI I/O memory addresses> 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: <Generic PCI host controller> on acpi0 pcib0: Bus is cache-coherent pcib0: ECAM for bus 48-79 at mem 23000000-24ffffff rman_reserve_resource: <I/O memory addresses> 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: <ACPI I/O memory addresses> 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: <Generic PCI host controller> on acpi0 pcib0: Bus is cache-coherent pcib0: ECAM for bus 0-31 at mem 20000000-21ffffff rman_reserve_resource: <I/O memory addresses> 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: <ACPI I/O memory addresses> 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 === Mark Millard marklmi at yahoo.com