Re: Failed to detect SSD when installing Bullseye

2021-08-21 Thread Nikolay Velyurov
Hi Bjørn,

On Sat, Aug 21, 2021 at 4:38 PM Bjørn Mork  wrote:

> Great!  Glad it could be resolved as easily as that.
>
> Probably a firmware bug. I don't know.  Such issues are pretty common,
> and disabling the IOMMU is the first thing you should try.  Sometimes
> it just doesn't play well with some other feature.  If you don't need
> it then you might as well just disable it.
>
> My Thinkpad fails to suspend if I enable both IOMMU and TPM 2.0.  One of
> them is OK, but not both.  Go figure.  This is https://bugs.debian.org/949020
>
> For some background:
> https://www.kernel.org/doc/html/latest/x86/intel-iommu.html
>
> There are also a number of other options than "off" you could try if you
> want to play with it:
> https://www.kernel.org/doc/html/v4.14/admin-guide/kernel-parameters.html
>
> Note that the bug has probably always been there in your PC firmware.
> It showed up now because Debian changed the default from "off" to "on".
>
> Bjørn

Thanks for the explanation, very helpful!

Nikolay



Re: Failed to detect SSD when installing Bullseye

2021-08-21 Thread Nikolay Velyurov
Hi Bjørn,

On Sat, Aug 21, 2021 at 7:42 AM Bjørn Mork  wrote:

> try booting with intel_iommu=off on the kernel command line

It works now, thanks for your help. Is there a known bug or something?

Nikolay



Re: Failed to detect SSD when installing Bullseye

2021-08-20 Thread Bjørn Mork
Nikolay Velyurov  writes:

> I tried to install Bullseye on my MacBookAir6,1 but the SSD is not detected:
>
> ACPI: SSDT 0x8CD7E000 00010B (v01 APPLE  SataAhci 1000
> INTL 20100915)
> libata version 3.00 loaded.
> ahci :04:00.0: version 3.0
> ahci :04:00.0: AHCI 0001. 32 slots 1 ports 6 Gbps 0x1 impl SATA mode
> ahci :04:00.0: flags: 64bit ncq sntf led pio slum part
> scsi host0: ahci
> ata1: SATA max UDMA/133 abar m512@0xb070 port 0xb0700100 irq 54
> DMAR: DRHD: handling fault status reg 2
> DMAR: [DMA Write] Request device [04:00.1] PASID  fault addr
> fffe [fault reason 02] Present bit in context entry is clear

try booting with intel_iommu=off on the kernel command line



Bjørn