Hi Steve,

On Sun, 5 Sep 2021 17:01:18 +0100 Steve McIntyre <st...@einval.com> wrote:

> On Sat, Sep 04, 2021 at 06:50:16PM +0100, Steve McIntyre wrote:
> >
> >I have a synquacer here still and I'll take a look. I noticed on
> >bullseye release day that USB stuff didn't seem to work in the
> >installer on the synquacer either. Maybe there's been a regression in
> >config. :-/
> >
> >I'll take a look...
>
> Hmmm, booting 5.10.0-0.bpo.8-arm64 here does not work at all. I'm
> seeing a lot of errors around DMA setup, e.g.:
>
> [ 0.142797] OF: translation of DMA address(0) to CPU address failed node()
> [ 0.142824] sram 45200000.sram: Invalid size 0x1 for dma-range(s)
> [ 0.142991] OF: translation of DMA address(0) to CPU address failed node()
> [ 0.143008] uart-pl011 2a400000.uart: Invalid size 0x1 for dma-range(s)
> ...
> [ 3.843964] OF: translation of DMA address(0) to CPU address failed node()
> [ 3.850875] armv8-pmu pmu: Invalid size 0x1 for dma-range(s)
> [ 3.857518] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
> ...
> [ 3.954986] OF: translation of DMA address(0) to CPU address failed node()
> ...
> [ 4.391564] OF: translation of DMA address(0) to CPU address failed node()
> [ 4.398449] pcieport 0000:00:00.0: Invalid size 0x1 for dma-range(s)
> [ 4.405253] OF: translation of DMA address(0) to CPU address failed node()
> [ 4.412161] pcieport 0000:01:01.0: Invalid size 0x1 for dma-range(s)
> [ 4.418885] OF: translation of DMA address(0) to CPU address failed node()
> [ 4.425778] pcieport 0000:01:03.0: Invalid size 0x1 for dma-range(s)
> [ 4.432487] OF: translation of DMA address(0) to CPU address failed node()
> [ 4.439385] pcieport 0000:01:05.0: Invalid size 0x1 for dma-range(s)
> [ 4.446095] OF: translation of DMA address(0) to CPU address failed node()
> [ 4.452988] pcieport 0000:01:07.0: Invalid size 0x1 for dma-range(s)
> [ 4.459693] pci 0000:04:00.0: enabling device (0000 -> 0002)
> [ 4.465488] OF: translation of DMA address(0) to CPU address failed node()
> ...
> [ 4.472385] pci-host-generic 70000000.pcie: Invalid size 0x1 for dma-range(s)

>

I'm seeing the same errors as you about pcieport and others:

[    1.834588] OF: translation of DMA address(0) to CPU address failed node()
[    1.834617] uart-pl011 2a400000.uart: Invalid size 0x1 for dma-range(s)

[    5.708968] OF: translation of DMA address(0) to CPU address failed node()
[    5.715885] armv8-pmu pmu: Invalid size 0x1 for dma-range(s)

[    5.820268] OF: translation of DMA address(0) to CPU address failed node()
[    5.827159] pci-host-generic 60000000.pcie: Invalid size 0x1 for dma-range(s)

[    6.355712] pci 0000:00:00.0:   bridge window [io  0x1000-0x2fff]
[    6.361816] pci 0000:00:00.0:   bridge window [mem 0x68000000-0x682fffff]
[    6.368676] OF: translation of DMA address(0) to CPU address failed node()
[    6.375564] pcieport 0000:00:00.0: Invalid size 0x1 for dma-range(s)
[    6.382390] OF: translation of DMA address(0) to CPU address failed node()
[    6.389299] pcieport 0000:01:01.0: Invalid size 0x1 for dma-range(s)
[    6.396049] OF: translation of DMA address(0) to CPU address failed node()
[    6.402940] pcieport 0000:01:03.0: Invalid size 0x1 for dma-range(s)
[    6.409669] OF: translation of DMA address(0) to CPU address failed node()
[    6.416564] pcieport 0000:01:05.0: Invalid size 0x1 for dma-range(s)
[    6.423283] OF: translation of DMA address(0) to CPU address failed node()
[    6.430177] pcieport 0000:01:07.0: Invalid size 0x1 for dma-range(s)
[    6.436904] pci 0000:04:00.0: enabling device (0000 -> 0002)
[    6.442721] OF: translation of DMA address(0) to CPU address failed node()
[    6.449620] pci-host-generic 70000000.pcie: Invalid size 0x1 for dma-range(s)

And later on i have slightly different errors from ahci, xhci_hcd and more:

Starting version 241
[    7.883272] OF: translation of DMA address(0) to CPU address failed node()
[    7.890215] mb86s70-gpio 51000000.gpio: Invalid size 0x1 for dma-range(s)
[    7.897692] OF: translation of DMA address(0) to CPU address failed node()
[    7.898886] pps_core: LinuxPPS API ver. 1 registered
[    7.904613] gpio-keys gpio-keys: Invalid size 0x1 for dma-range(s)
[    7.909598] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giome...@linux.it>
[    7.910853] libphy: Fixed MDIO Bus: probed
[    7.916254] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    7.932281] SCSI subsystem initialized
[    7.942529] PTP clock support registered
[    7.943568] usbcore: registered new interface driver usbfs
[    7.952112] usbcore: registered new interface driver hub
[    7.952607] OF: translation of DMA address(0) to CPU address failed node()
[    7.957545] usbcore: registered new device driver usb
[    7.964340] netsec 522d0000.ethernet: Invalid size 0x1 for dma-range(s)
[    7.976147] netsec 522d0000.ethernet: hardware revision 5.65
[    7.982366] libphy: SNI NETSEC MDIO: probed
[    7.985915] e1000e: Intel(R) PRO/1000 Network Driver
[    7.991539] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    7.997560] OF: translation of DMA address(0) to CPU address failed node()
[    8.000147] netsec 522d0000.ethernet eth0 (uninitialized): register_netdev() failed
[    8.004452] e1000e 0000:03:00.0: Invalid size 0x1 for dma-range(s)
[    8.018385] e1000e 0000:03:00.0: enabling device (0000 -> 0002)
[    8.018769] OF: translation of DMA address(0) to CPU address failed node()
[    8.024528] e1000e 0000:03:00.0: Interrupt Throttling Rate (ints/sec) set to dynamic conservative mode
[    8.031225] ahci 0000:02:00.0: Invalid size 0x1 for dma-range(s)
[    8.031628] OF: translation of DMA address(0) to CPU address failed node()
[    8.031637] xhci_hcd 0000:04:00.0: Invalid size 0x1 for dma-range(s)
[    8.031753] xhci_hcd 0000:04:00.0: xHCI Host Controller
[    8.031782] xhci_hcd 0000:04:00.0: new USB bus registered, assigned bus number 1
[    8.045912] xhci_hcd 0000:04:00.0: can't setup: -12
[    8.053436] xhci_hcd 0000:04:00.0: USB bus 1 deregistered
[    8.053462] xhci_hcd 0000:04:00.0: init 0000:04:00.0 fail, -12
[    8.060092] ahci 0000:02:00.0: SSS flag set, parallel bus scan disabled
[    8.065067] xhci_hcd: probe of 0000:04:00.0 failed with error -12
[    8.072512] ahci 0000:02:00.0: AHCI 0001.0200 32 slots 2 ports 6 Gbps 0x3 impl SATA mode
[    8.092853] e1000e 0000:03:00.0 0000:03:00.0 (uninitialized): registered PHC clock
[    8.095211] ahci 0000:02:00.0: flags: 64bit ncq sntf stag led clo pmp pio slum part ccc sxs
[    8.127181] ahci 0000:02:00.0: failed to start port 0 (errno=-12)
[    8.133429] ahci: probe of 0000:02:00.0 failed with error -12
[    8.136094] netsec 522d0000.ethernet: init failed
[    8.143976] netsec: probe of 522d0000.ethernet failed with error -12
[    8.154679] e1000e 0000:03:00.0 eth0: (PCI Express:2.5GT/s:Width x1) 68:05:ca:3f:df:be
[    8.162643] e1000e 0000:03:00.0 eth0: Intel(R) PRO/1000 Network Connection
[    8.169547] e1000e 0000:03:00.0 eth0: MAC: 3, PHY: 8, PBA No: E46981-008
[    8.181197] e1000e 0000:03:00.0 enp3s0: renamed from eth0
Begin: Loading essential drivers ... done. 


Do you think thet  the failing DMA setup could be the cause of all the failures? 


> Shortly after this, I see looping errors in the sdhci driver:
> [ 5.728589] xhci_hcd: probe of 0000:04:00.0 failed with error -12
> [ 5.734347] sp : ffff8000142bbb10
> [ 5.734351] x29: ffff8000142bbb10 x28: 0000000000000000
> [ 5.734358] x27: ffff000801ebf848 x26: ffffffffffffffff
> [ 5.768201] x25: 0000000000000080 x24: 0000000000010000
> [ 5.773514] x23: ffff00080176ac10 x22: 0000000889b60080
> [ 5.778826] x21: 0000000000000000 x20: 0000000000000000
> [ 5.784139] x19: ffff8000117c9788 x18: 0000000000000020
> [ 5.789451] x17: ffff00080833da00 x16: 0000000000000080
> [ 5.794763] x15: ffffffffffffffff x14: 2820776f6c667265
> [ 5.800076] x13: 766f203633353536 x12: 2b66666666666666
> [ 5.805389] x11: 6666666666666666 x10: 6678302072646461
> [ 5.810701] x9 : ffff80001011159c x8 : 62202c6666666666
> [ 5.816013] x7 : 666666206b73616d x6 : ffff00087f4647c0
> [ 5.821325] x5 : ffff8000142bb828 x4 : 0000000000000000
> [ 5.826637] x3 : 0000000000000000 x2 : 00000000ffffffff
> [ 5.831949] x1 : 3082d45f0379e900 x0 : 0000000000000000
> [ 5.837262] Call trace:
> [ 5.839708] swiotlb_map+0x294/0x2a8
> [ 5.843281] dma_map_page_attrs+0xec/0x228
> [ 5.847382] sdhci_setup_host+0xa8c/0xee8 [sdhci]



Cheers,

Luca

Reply via email to