Hi
Today I upgraded to bullseye. Everything went well, but after reboot I got a ton of errors regarding ata links, see attached picture
If I reboot with a 4.x kernel, it works perfectly, as it did before (but I can't use my computer this way, as zfs kernel module doesn't load, it's not available for that kernel anymore), so the problem is with 5.x kernel.
How can I fix it?
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
ASM1062 SATA controller doesn't work under kernel 5.10
-
- Global Moderator
- Posts: 3060
- Joined: 2014-07-20 18:12
- Location: Europe
- Has thanked: 75 times
- Been thanked: 415 times
Re: ASM1062 SATA controller doesn't work under kernel 5.10
Hello,
It would be useful to obtain more information.
Is this SATA controller in a PCI board (SATA multiplexer) or is it on the main board ?
Can you save the output of the system journal for the last boot with kernels 4.x and 5.10 ? For example, you could give the following command as root user:
Then, it could be useful to analyze the output of following command for both kernels:
It would be useful to obtain more information.
Is this SATA controller in a PCI board (SATA multiplexer) or is it on the main board ?
Can you save the output of the system journal for the last boot with kernels 4.x and 5.10 ? For example, you could give the following command as root user:
Code: Select all
journalctl -b -0 > journalctl-$(uname -r).log
Code: Select all
lspci -vvv
-
- Global Moderator
- Posts: 3060
- Joined: 2014-07-20 18:12
- Location: Europe
- Has thanked: 75 times
- Been thanked: 415 times
Re: ASM1062 SATA controller doesn't work under kernel 5.10
Hello,
The differences between journatclt and lspci logs seem to point towards a different management of iommu [1] between the two kernels (4.19 e 5.10) with the following error that only appears in 5.10 kernel log:
where device 01:00.0 is the SATA controller:
You could empirically try to boot the 5.10 kernel adding on the kernel line (in grub) the following parameters to see it it helps:
[1] https://www.kernel.org/doc/html/latest/ ... iommu.html
The differences between journatclt and lspci logs seem to point towards a different management of iommu [1] between the two kernels (4.19 e 5.10) with the following error that only appears in 5.10 kernel log:
Code: Select all
kernel: DMAR: [DMA Read] Request device [01:00.0] PASID ffffffff fault addr 67d74000 [fault reason 06] PTE Read access is not set
Code: Select all
01:00.0 SATA controller: Marvell Technology Group Ltd. 88SE9230 PCIe 2.0 x2 4-port SATA 6 Gb/s RAID Controller (rev 11) (prog-if 01 [AHCI 1.0])
Code: Select all
iommu=off intel_iommu=off iommu.passthrough=1
Re: ASM1062 SATA controller doesn't work under kernel 5.10
Hi
Very interesting, as it isn't the problematic SATA controller, that's the one integrated on the mainboard, the problem is with device 04:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller.
But I gave your advice a try anyway, and it worked
Thank you very much
Very interesting, as it isn't the problematic SATA controller, that's the one integrated on the mainboard, the problem is with device 04:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller.
But I gave your advice a try anyway, and it worked
Thank you very much
-
- Global Moderator
- Posts: 3060
- Joined: 2014-07-20 18:12
- Location: Europe
- Has thanked: 75 times
- Been thanked: 415 times
Re: ASM1062 SATA controller doesn't work under kernel 5.10
Hello,
I'm glad I helped you to sort it out.
Yes, your computer has two different Sata controllers and the iommu management seems to affects both with kernel 5.10.
In the meantime, I suppose it would be useful to open a specific bug report in the Debian Bug Tracking System (http: //bugs.debian.org) to inform the Debian maintainers and fix it without workarounds. If you need more information about that, just let me know.
Happy Debian & happy hacking.
I'm glad I helped you to sort it out.
Yes, your computer has two different Sata controllers and the iommu management seems to affects both with kernel 5.10.
In the meantime, I suppose it would be useful to open a specific bug report in the Debian Bug Tracking System (http: //bugs.debian.org) to inform the Debian maintainers and fix it without workarounds. If you need more information about that, just let me know.
Happy Debian & happy hacking.