Bug#993612: bugs.debian.org: Socionext SynQuacer fails to mount rootfs after upgrade to Bullseye

2021-10-05 Thread Luca Di Stefano

  
  
Hi Steve,

On Sun, 5 Sep 2021 17:01:18 +0100 Steve McIntyre
   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 4520.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 2a40.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 :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 :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 :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 :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 :01:07.0: Invalid size 0x1 for
dma-range(s)
> [ 4.459693] pci :04:00.0: enabling device ( -> 0002)
> [ 4.465488] OF: translation of DMA address(0) to CPU address
failed node()
> ...
> [ 4.472385] pci-host-generic 7000.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 2a40.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 6000.pcie: Invalid size 0x1
  for dma-range(s)

[    6.355712] pci :00:00.0:   bridge window [io 
  0x1000-0x2fff]
  [    6.361816] pci :00:00.0:   bridge window [mem
  0x6800-0x682f]
  [    6.368676] OF: translation of DMA address(0) to CPU address
  failed node()
  [    6.375564] pcieport :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 :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 :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 :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 :01:07.0: Invalid size 0x1 for
  dma-range(s)
  [    6.436904] pci :04:00.0: enabling device ( -> 0002)
  [    6.442721] OF: translation of DMA address(0) to CPU address
  failed node()
  [    6.449620] pci-host-generic 7000.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 5100.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 
  [    7.910853] libphy: Fixed MDIO Bus: probed
  [    7.916254] input: gpio-keys as
  /devices/platform/

Bug#993612: bugs.debian.org: Socionext SynQuacer fails to mount rootfs after upgrade to Bullseye

2021-09-03 Thread Luca Di Stefano
Package: bugs.debian.org
Severity: critical
Justification: breaks the whole system

Dear Maintainer,

A few days ago I tried to upgrade one of the six Socionext SynQuacers that we
have to the latest Debian release.

It was running fine on Buster using the 4.19 kernel and had no previous issues.

I followed the normal procedure for updating Debian to the next release:

- apt update; apt upgrade for the current OS and reboot
- changing the release's codename of all apt sources to bullseye
- apt update again
- apt upgrade; apt dist-upgrade
- reboot

The next boot sequence would start and get to the point where it would look for
the rootfs without finding it
and going into initramfs

I've then proceeded to reinstall buster on that machine and it just worked
fine, then also tried installing the kernel from backports linux-
image-5.10.0-0.bpo.8-arm64
 and after reboot it caused the same problem not finding the rootfs and going
into initramfs.

Searching about SynQuacer related issues i found Bug#891787
https://lists.debian.org/debian-kernel/2018/02/msg00348.html
and verified that those options mentioned in the bug report were enabled
correctly in both kernel config file for bullseye and for teh backported
kernel.

Thank you very much.

Luca







-- System Information:
Debian Release: 10.9
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-0.bpo.3-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled