Irq 0: nobody cared (try booting with the "irgpoll" option) error on a new Nixos Install on a Macbook Air

Just installed Nixos 22.11 on an old Intell Macbook Air (I think mid-2012) I had, and I have no clue why this is happening. It appears after (~30secs) or so when I boot up the machine.

I installed Nixos from an ISO based on the minimal iso image following this Installing NixOS on a MacBook Pro so it can include the proper wifi drivers.

This is the full `configuration.nix` file
# Edit this configuration file to define what should be installed on
# your system.  Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ‘nixos-help’).

{ config, pkgs, ... }:

{
  imports =
    [ # Include the results of the hardware scan.
      ./hardware-configuration.nix
    ];
  nixpkgs.config.allowUnfree = true;
  # Use the systemd-boot EFI boot loader.
  boot.loader.systemd-boot.enable = true;
  boot.loader.efi.canTouchEfiVariables = true;

  networking.hostName = "nixos"; # Define your hostname.
  # Pick only one of the below networking options.
  # networking.wireless.enable = true;  # Enables wireless support via wpa_supplicant.
  networking.networkmanager.enable = true;  # Easiest to use and most distros use this by default.

  powerManagement.cpuFreqGovernor = "schedutil";

  # Configure network proxy if necessary
  # networking.proxy.default = "http://user:password@proxy:port/";
  # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";

  # Select internationalisation properties.
  i18n.defaultLocale = "en_US.UTF-8";
  # console = {
  #   font = "Lat2-Terminus16";
  #   keyMap = "us";
  #   useXkbConfig = true; # use xkbOptions in tty.
  # };

  # Enable the X11 windowing system.
  # services.xserver.enable = true;

  # Configure keymap in X11
  # services.xserver.layout = "us";
  # services.xserver.xkbOptions = {
  #   "eurosign:e";
  #   "caps:escape" # map caps to escape.
  # };

  # Enable CUPS to print documents.
  services.printing.enable = true;

  # Enable sound.
  sound.enable = true;
  hardware.pulseaudio.enable = true;

  # Enable touchpad support (enabled default in most desktopManager).
  # services.xserver.libinput.enable = true;

  # Define a user account. Don't forget to set a password with ‘passwd’.
   users.users.ahmed = {
     isNormalUser = true;
     extraGroups = [ "wheel" "networkmanager" "video" "audio" ]; # Enable ‘sudo’ for the user.
     packages = with pkgs; [
       firefox
     ];
   };

  # List packages installed in system profile. To search, run:
  # $ nix search wget
  environment.systemPackages = with pkgs; [
   neovim
   wget
  ];

  # Some programs need SUID wrappers, can be configured further or are
  # started in user sessions.
  # programs.mtr.enable = true;
  programs.gnupg.agent = {
    enable = true;
    enableSSHSupport = true;
  };

  # List services that you want to enable:

  # Enable the OpenSSH daemon.
  services.openssh.enable = true;

  # Open ports in the firewall.
  # networking.firewall.allowedTCPPorts = [ ... ];
  # networking.firewall.allowedUDPPorts = [ ... ];
  # Or disable the firewall altogether.
  # networking.firewall.enable = false;

  # Copy the NixOS configuration file and link it from the resulting system
  # (/run/current-system/configuration.nix). This is useful in case you
  # accidentally delete configuration.nix.
  # system.copySystemConfiguration = true;

  # This value determines the NixOS release from which the default
  # settings for stateful data, like file locations and database versions
  # on your system were taken. It‘s perfectly fine and recommended to leave
  # this value at the release version of the first install of this system.
  # Before changing this value read the documentation for this option
  # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
  system.stateVersion = "22.11"; # Did you read the comment?

}
And this is `hardware-configuration.nix`
# Do not modify this file!  It was generated by ‘nixos-generate-config’
# and may be overwritten by future invocations.  Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:

{
  imports =
    [ (modulesPath + "/installer/scan/not-detected.nix")
    ];

  boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
  boot.initrd.kernelModules = [ ];
  boot.kernelModules = [ "kvm-intel" "wl" ];
  boot.extraModulePackages = [ config.boot.kernelPackages.broadcom_sta ];

  fileSystems."/" =
    { device = "/dev/disk/by-uuid/67d1f91d-90e3-4657-a4e8-5aa25ae2beff";
      fsType = "ext4";
    };

  fileSystems."/boot" =
    { device = "/dev/disk/by-uuid/0BD0-9298";
      fsType = "vfat";
    };

  swapDevices =
    [ { device = "/dev/disk/by-uuid/aaf6d76e-8ca6-4ecd-953c-35b578519187"; }
    ];

  # Enables DHCP on each ethernet and wireless interface. In case of scripted networking
  # (the default) this is the recommended approach. When using systemd-networkd it's
  # still possible to use this option, but it's recommended to use it in conjunction
  # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
  networking.useDHCP = lib.mkDefault true;
  # networking.interfaces.enp0s20u1.useDHCP = lib.mkDefault true;
  # networking.interfaces.wlp3s0.useDHCP = lib.mkDefault true;

  nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
  hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}

It “seems” like everything is working fine though.

Have you tried setting the irqpoll kernel argument?

A search yields this post which has some insights linux - Understanding kernel message 'nobody cared (try booting with the "irqpoll" option)' - Stack Overflow

I would guess it’s buggy hardware support. Intel Macs were not historically well supported by Linux.

1 Like

No, is it just boot.kernelParams = [ "irqoll" ];?

Thanks for the link will check it.

yes that is the setting, though it’s “irqpoll”

:man_facepalming: thanks

I tried it (without the typo) but the error is still happening, this is what I can see from journallctl

Feb 19 19:14:54 nixos kernel: irq 0: nobody cared (try booting with the "irqpoll" option)
Feb 19 19:14:54 nixos kernel: CPU: 2 PID: 0 Comm: swapper/2 Tainted: P           O      5.15.94 #1-NixOS
Feb 19 19:14:54 nixos kernel: Hardware name: Apple Inc. MacBookAir6,2/Mac-7DF21CB3ED6977E5, BIOS 118.0.0.0.0 08/06/2019
Feb 19 19:14:54 nixos kernel: Call Trace:
Feb 19 19:14:54 nixos kernel:  <IRQ>
Feb 19 19:14:54 nixos kernel:  dump_stack_lvl+0x46/0x5e
Feb 19 19:14:54 nixos kernel:  __report_bad_irq+0x35/0xaa
Feb 19 19:14:54 nixos kernel:  note_interrupt.cold+0xb/0x64
Feb 19 19:14:54 nixos kernel:  handle_irq_event+0xb1/0xc0
Feb 19 19:14:54 nixos kernel:  handle_edge_irq+0x99/0x280
Feb 19 19:14:54 nixos kernel:  __common_interrupt+0x41/0xa0
Feb 19 19:14:54 nixos kernel:  common_interrupt+0x7b/0xa0
Feb 19 19:14:54 nixos kernel:  </IRQ>
Feb 19 19:14:54 nixos kernel:  <TASK>
Feb 19 19:14:54 nixos kernel:  asm_common_interrupt+0x22/0x40
Feb 19 19:14:54 nixos kernel: RIP: 0010:cpuidle_enter_state+0xc7/0x350
Feb 19 19:14:54 nixos kernel: Code: 8b 3d 95 5d 1b 42 e8 78 4c a6 ff 49 89 c5 0f 1f 44 00 00 31 ff e8 99 63 a6 ff 45 84 ff 0f 85 >
Feb 19 19:14:54 nixos kernel: RSP: 0018:ffff9581400c3ea8 EFLAGS: 00000246
Feb 19 19:14:54 nixos kernel: RAX: ffff895cab32c5c0 RBX: 0000000000000008 RCX: 000000000000001f
Feb 19 19:14:54 nixos kernel: RDX: 0000000000000000 RSI: 00000000435e532a RDI: 0000000000000000
Feb 19 19:14:54 nixos kernel: RBP: ffff895cab335a00 R08: 0000001269da487d R09: 0000000000000008
Feb 19 19:14:54 nixos kernel: R10: 000000000000002b R11: 0000000000000028 R12: ffffffffbefb4340
Feb 19 19:14:54 nixos kernel: R13: 0000001269da487d R14: 0000000000000008 R15: 0000000000000000
Feb 19 19:14:54 nixos kernel:  ? cpuidle_enter_state+0xb7/0x350
Feb 19 19:14:54 nixos kernel:  cpuidle_enter+0x29/0x40
Feb 19 19:14:54 nixos kernel:  do_idle+0x1e5/0x280
Feb 19 19:14:54 nixos kernel:  cpu_startup_entry+0x19/0x20
Feb 19 19:14:54 nixos kernel:  secondary_startup_64_no_verify+0xc2/0xcb
Feb 19 19:14:54 nixos kernel:  </TASK>
Feb 19 19:14:54 nixos kernel: handlers:
Feb 19 19:14:54 nixos kernel: [<000000001dfd1745>] dw_dma_interrupt [dw_dmac_core]
Feb 19 19:14:54 nixos kernel: Disabling IRQ #0