Public bug reported:

I have a MacBook Air Mid-2013 which doesn't boot with iommu enabled due
to the onboard SATA not working with it, and I see that with KUbuntu
22.04, the new 5.15 kernels have Intel IOMMU enabled by default.  So at
the moment I need to add kernel option: intel_iommu=off .  The MacBook
was working with default boot options with KUbuntu 22.10 and kernel:
5.13.0-40-generic, but that also didn't have
CONFIG_INTEL_IOMMU_DEFAULT_ON set.  I have attached the output of dmesg
when the intel mmu is enabled if that helps.  Is there a patch that can
be applied to fix this or perhaps a dmi whitelist to make it so intel
mmu isn't enabled for this model?

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: linux-image-generic 5.15.0.27.30
ProcVersionSignature: Ubuntu 5.15.0-27.28-generic 5.15.30
Uname: Linux 5.15.0-27-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.20.11-0ubuntu82
Architecture: amd64
AudioDevicesInUse:
 USER        PID ACCESS COMMAND
 /dev/snd/controlC0:  staples    1028 F.... pulseaudio
 /dev/snd/controlC1:  staples    1028 F.... pulseaudio
CasperMD5CheckResult: unknown
Date: Wed Apr 27 18:05:16 2022
InstallationDate: Installed on 2021-08-19 (250 days ago)
InstallationMedia: Kubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 
(20210209.1)
MachineType: Apple Inc. MacBookAir6,1
ProcEnviron:
 LANGUAGE=en_AU:en
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=en_AU.UTF-8
 SHELL=/bin/bash
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.15.0-27-generic 
root=UUID=130dde04-85ad-4fcc-919c-1664e646e8df ro quiet splash 
intel_pstate=active intel_iommu=off
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No 
PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-5.15.0-27-generic N/A
 linux-backports-modules-5.15.0-27-generic  N/A
 linux-firmware                             20220329.git681281e4-0ubuntu1
SourcePackage: linux
UpgradeStatus: Upgraded to jammy on 2022-04-26 (0 days ago)
dmi.bios.date: 02/22/2021
dmi.bios.release: 0.1
dmi.bios.vendor: Apple Inc.
dmi.bios.version: 431.0.0.0.0
dmi.board.asset.tag: Base Board Asset Tag#
dmi.board.name: Mac-35C1E88140C3E6CF
dmi.board.vendor: Apple Inc.
dmi.board.version: MacBookAir6,1
dmi.chassis.type: 10
dmi.chassis.vendor: Apple Inc.
dmi.chassis.version: Mac-35C1E88140C3E6CF
dmi.modalias: 
dmi:bvnAppleInc.:bvr431.0.0.0.0:bd02/22/2021:br0.1:svnAppleInc.:pnMacBookAir6,1:pvr1.0:rvnAppleInc.:rnMac-35C1E88140C3E6CF:rvrMacBookAir6,1:cvnAppleInc.:ct10:cvrMac-35C1E88140C3E6CF:skuSystemSKU#:
dmi.product.family: MacBook Air
dmi.product.name: MacBookAir6,1
dmi.product.sku: System SKU#
dmi.product.version: 1.0
dmi.sys.vendor: Apple Inc.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug jammy

** Attachment added: "dmesg_with_iommu"
   
https://bugs.launchpad.net/bugs/1970559/+attachment/5584286/+files/dmesg_with_iommu

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1970559

Title:
  MacBook Air Mid-2013 not booting with iommu enabled

Status in linux package in Ubuntu:
  New

Bug description:
  I have a MacBook Air Mid-2013 which doesn't boot with iommu enabled
  due to the onboard SATA not working with it, and I see that with
  KUbuntu 22.04, the new 5.15 kernels have Intel IOMMU enabled by
  default.  So at the moment I need to add kernel option:
  intel_iommu=off .  The MacBook was working with default boot options
  with KUbuntu 22.10 and kernel: 5.13.0-40-generic, but that also didn't
  have CONFIG_INTEL_IOMMU_DEFAULT_ON set.  I have attached the output of
  dmesg when the intel mmu is enabled if that helps.  Is there a patch
  that can be applied to fix this or perhaps a dmi whitelist to make it
  so intel mmu isn't enabled for this model?

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: linux-image-generic 5.15.0.27.30
  ProcVersionSignature: Ubuntu 5.15.0-27.28-generic 5.15.30
  Uname: Linux 5.15.0-27-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.20.11-0ubuntu82
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  staples    1028 F.... pulseaudio
   /dev/snd/controlC1:  staples    1028 F.... pulseaudio
  CasperMD5CheckResult: unknown
  Date: Wed Apr 27 18:05:16 2022
  InstallationDate: Installed on 2021-08-19 (250 days ago)
  InstallationMedia: Kubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 
(20210209.1)
  MachineType: Apple Inc. MacBookAir6,1
  ProcEnviron:
   LANGUAGE=en_AU:en
   TERM=xterm-256color
   PATH=(custom, no user)
   LANG=en_AU.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.15.0-27-generic 
root=UUID=130dde04-85ad-4fcc-919c-1664e646e8df ro quiet splash 
intel_pstate=active intel_iommu=off
  PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No 
PulseAudio daemon running, or not running as session daemon.
  RelatedPackageVersions:
   linux-restricted-modules-5.15.0-27-generic N/A
   linux-backports-modules-5.15.0-27-generic  N/A
   linux-firmware                             20220329.git681281e4-0ubuntu1
  SourcePackage: linux
  UpgradeStatus: Upgraded to jammy on 2022-04-26 (0 days ago)
  dmi.bios.date: 02/22/2021
  dmi.bios.release: 0.1
  dmi.bios.vendor: Apple Inc.
  dmi.bios.version: 431.0.0.0.0
  dmi.board.asset.tag: Base Board Asset Tag#
  dmi.board.name: Mac-35C1E88140C3E6CF
  dmi.board.vendor: Apple Inc.
  dmi.board.version: MacBookAir6,1
  dmi.chassis.type: 10
  dmi.chassis.vendor: Apple Inc.
  dmi.chassis.version: Mac-35C1E88140C3E6CF
  dmi.modalias: 
dmi:bvnAppleInc.:bvr431.0.0.0.0:bd02/22/2021:br0.1:svnAppleInc.:pnMacBookAir6,1:pvr1.0:rvnAppleInc.:rnMac-35C1E88140C3E6CF:rvrMacBookAir6,1:cvnAppleInc.:ct10:cvrMac-35C1E88140C3E6CF:skuSystemSKU#:
  dmi.product.family: MacBook Air
  dmi.product.name: MacBookAir6,1
  dmi.product.sku: System SKU#
  dmi.product.version: 1.0
  dmi.sys.vendor: Apple Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1970559/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to