LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Password
Arch This Forum is for the discussion of Arch Linux.

Notices


Reply
  Search this Thread
Old 08-06-2021, 06:52 AM   #1
vladimir1986
Member
 
Registered: Jul 2011
Posts: 112

Rep: Reputation: Disabled
Sometimes I get a "disabling IRQ#16" at boot


Hello. I am having a bit of a problem which happens (sometimes) at boot.

Randomly I get an error (I guess it is an IRQ conflict?) and I am told that IRQ #16 has been disabled. this happens upon boot. IRQ#16 is assigned to my pointing device, and seems to be shared between my touchpad and my trackpoint (the red mousey button in the middle of the keyboard in Thinkpads).

When it happens, most of the time the computer freezes and I need to force reboot it, but rarely it manages to boot. Just that I got no mouse. I get this problem, say 45% of the times I try to start the computer with Arch Linux.

I tough for a long time it was a bad firmware update (after an update now I also got a MeSliLock error every time I boot), but after getting a second drive for my computer and installing FreeBSD, Gentoo and Slackware on different partitions, I noticed I only got this IRQ#16 problem in Arch.

I am not sure what can cause it, but I am wondering if it isn't a systemD problem (thinking about it, happens just after loading the Kernel, while it boots, and it is the only OS in my computer who uses systemd), but maybe it could also be some oddity on the binary kernel package.

I would love to know what really causes it, and if it can be avoided. In any case, thanks for reading!

Last edited by vladimir1986; 08-06-2021 at 06:53 AM.
 
Old 08-06-2021, 10:08 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,160

Rep: Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266
See this thread:
https://www.linuxquestions.org/quest...q-16-a-879964/

Multiple devices using the same interrupt can misbehave. Post the output of
Code:
cat /proc/interrupts
 
Old 08-06-2021, 01:48 PM   #3
vladimir1986
Member
 
Registered: Jul 2011
Posts: 112

Original Poster
Rep: Reputation: Disabled
Thanks for the reply. Seems like IRQ#16 is " i801_smbus" on my computer. I actually tried to compare the output when the system works fine and when I got the IRQ disabled, but still boots. I can't see anything different.

This is the "Good" prompt

CPU0 CPU1 CPU2 CPU3 CPU4 CPU5 CPU6 CPU7
0: 8 0 0 0 0 0 0 0 IR-IO-APIC 2-edge timer
1: 0 0 0 0 0 8450 0 0 IR-IO-APIC 1-edge i8042
8: 0 1 0 0 0 0 0 0 IR-IO-APIC 8-edge rtc0
9: 0 734451 0 0 0 0 0 0 IR-IO-APIC 9-fasteoi acpi
12: 0 0 0 0 175 0 0 0 IR-IO-APIC 12-edge i8042
16: 0 1770900 0 0 0 0 0 0 IR-IO-APIC 16-fasteoi i801_smbus
17: 0 0 323 0 0 0 0 0 IR-IO-APIC 17-fasteoi snd_hda_intel:card1
120: 0 0 0 0 0 0 0 0 DMAR-MSI 0-edge dmar0
121: 0 0 0 0 0 0 0 0 DMAR-MSI 1-edge dmar1
123: 0 0 0 0 0 0 0 0 IR-PCI-MSI 458752-edge aerdrv
124: 0 0 0 0 0 0 0 0 IR-PCI-MSI 462848-edge aerdrv
125: 0 0 0 0 0 0 0 0 IR-PCI-MSI 466944-edge aerdrv
126: 0 0 0 0 0 0 0 0 IR-PCI-MSI 475136-edge aerdrv
127: 0 0 0 0 0 0 0 103328 IR-PCI-MSI 376832-edge ahci[0000:00:17.0]
128: 0 0 6 0 0 0 0 0 IR-PCI-MSI 32505856-edge rtsx_pci
129: 0 0 0 5069 0 0 0 0 IR-PCI-MSI 327680-edge xhci_hcd
130: 0 0 0 0 0 0 19 0 IR-PCI-MSI 360448-edge mei_me
131: 0 0 0 0 0 0 0 3300 IR-PCI-MSI 520192-edge enp0s31f6
132: 0 0 0 59457 0 0 0 0 IR-PCI-MSI 2097152-edge iwlwifi
133: 0 0 0 0 390012 0 0 0 IR-PCI-MSI 32768-edge i915
134: 0 435848 0 0 0 0 0 0 dummy 44 rmi4_smbus
135: 0 0 0 0 0 0 0 0 rmi4 0 rmi4-00.fn34
136: 0 0 0 0 0 0 0 0 rmi4 1 rmi4-00.fn01
137: 0 0 0 0 2647 0 0 0 rmi4 2 rmi4-00.fn03
138: 0 0 0 0 434927 0 0 0 rmi4 3 rmi4-00.fn11
139: 0 0 0 0 0 0 0 0 rmi4 4 rmi4-00.fn11
140: 0 0 0 0 140 0 0 0 rmi4 6 rmi4-00.fn30
141: 0 0 0 0 0 402 0 0 IR-PCI-MSI 514048-edge snd_hda_intel:card0
142: 0 0 0 0 0 0 3535639 0 IR-PCI-MSI 524288-edge nvidia
NMI: 234 139 183 168 163 166 107 132 Non-maskable interrupts
LOC: 2504694 3109916 2977372 2942918 2554798 2928772 3289605 2999589 Local timer interrupts
SPU: 0 0 0 0 0 0 0 0 Spurious interrupts
PMI: 234 139 183 168 163 166 107 132 Performance monitoring interrupts
IWI: 13 0 2 2 11 0 236845 2 IRQ work interrupts
RTR: 0 0 0 0 0 0 0 0 APIC ICR read retries
RES: 173786 445234 43439 42236 331614 40628 82496 41709 Rescheduling interrupts
CAL: 342395 241375 274402 221902 198425 179631 134297 145518 Function call interrupts
TLB: 161927 37349 47877 35830 33536 39146 30924 36048 TLB shootdowns
TRM: 12219 12219 12219 12219 12219 12219 12219 12219 Thermal event interrupts
THR: 0 0 0 0 0 0 0 0 Threshold APIC interrupts
DFR: 0 0 0 0 0 0 0 0 Deferred Error APIC interrupts
MCE: 0 0 0 0 0 0 0 0 Machine check exceptions
MCP: 22 23 23 23 23 23 23 23 Machine check polls
ERR: 0
MIS: 0
PIN: 0 0 0 0 0 0 0 0 Posted-interrupt notification event
NPI: 0 0 0 0 0 0 0 0 Nested posted-interrupt event
PIW: 0 0 0 0 0 0 0 0 Posted-interrupt wakeup event



This is the "bad" output

CPU0 CPU1 CPU2 CPU3 CPU4 CPU5 CPU6 CPU7
0: 8 0 0 0 0 0 0 0 IR-IO-APIC 2-edge timer
1: 0 0 0 0 172 0 0 0 IR-IO-APIC 1-edge i8042
8: 0 1 0 0 0 0 0 0 IR-IO-APIC 8-edge rtc0
9: 0 3085 0 0 0 0 0 0 IR-IO-APIC 9-fasteoi acpi
12: 0 0 0 175 0 0 0 0 IR-IO-APIC 12-edge i8042
16: 0 0 0 0 0 0 100000 0 IR-IO-APIC 16-fasteoi i801_smbus
17: 0 0 0 409 0 0 0 0 IR-IO-APIC 17-fasteoi snd_hda_intel:card1
120: 0 0 0 0 0 0 0 0 DMAR-MSI 0-edge dmar0
121: 0 0 0 0 0 0 0 0 DMAR-MSI 1-edge dmar1
123: 0 0 0 0 0 0 0 0 IR-PCI-MSI 458752-edge aerdrv
124: 0 0 0 0 0 0 0 0 IR-PCI-MSI 462848-edge aerdrv
125: 0 0 0 0 0 0 0 0 IR-PCI-MSI 466944-edge aerdrv
126: 0 0 0 0 0 0 0 0 IR-PCI-MSI 475136-edge aerdrv
127: 0 0 0 0 0 0 0 35109 IR-PCI-MSI 376832-edge ahci[0000:00:17.0]
128: 0 0 6 0 0 0 0 0 IR-PCI-MSI 32505856-edge rtsx_pci
129: 0 0 0 0 0 287 0 0 IR-PCI-MSI 327680-edge xhci_hcd
130: 0 0 0 0 0 0 0 18 IR-PCI-MSI 360448-edge mei_me
131: 0 18 0 0 0 0 0 0 IR-PCI-MSI 520192-edge enp0s31f6
132: 0 0 860 0 0 0 0 0 IR-PCI-MSI 2097152-edge iwlwifi
133: 0 0 0 0 12994 0 0 0 IR-PCI-MSI 32768-edge i915
134: 0 8 0 0 0 0 0 0 dummy 44 rmi4_smbus
135: 0 0 0 0 0 380 0 0 IR-PCI-MSI 514048-edge snd_hda_intel:card0
136: 0 0 0 0 0 0 0 0 rmi4 0 rmi4-00.fn34
137: 0 0 0 0 0 0 0 0 rmi4 3 rmi4-00.fn11
138: 0 0 0 0 0 0 0 0 rmi4 1 rmi4-00.fn01
139: 0 0 0 0 0 0 0 0 rmi4 2 rmi4-00.fn03
140: 0 0 0 0 0 0 0 0 rmi4 4 rmi4-00.fn11
141: 0 0 0 0 0 0 0 0 rmi4 6 rmi4-00.fn30
NMI: 0 0 0 0 0 0 0 0 Non-maskable interrupts
LOC: 7781 5998 5032 5220 9576 8806 5412 5880 Local timer interrupts
SPU: 0 0 0 0 0 0 0 0 Spurious interrupts
PMI: 0 0 0 0 0 0 0 0 Performance monitoring interrupts
IWI: 161 115 126 112 6209 160 186 233 IRQ work interrupts
RTR: 0 0 0 0 0 0 0 0 APIC ICR read retries
RES: 1996 1374 1562 1071 1038 1450 1345 938 Rescheduling interrupts
CAL: 10978 14862 13783 12634 12729 12704 14308 14811 Function call interrupts
TLB: 203 144 96 98 367 151 107 214 TLB shootdowns
TRM: 0 0 0 0 0 0 0 0 Thermal event interrupts
THR: 0 0 0 0 0 0 0 0 Threshold APIC interrupts
DFR: 0 0 0 0 0 0 0 0 Deferred Error APIC interrupts
MCE: 0 0 0 0 0 0 0 0 Machine check exceptions
MCP: 1 2 2 2 2 2 2 2 Machine check polls
ERR: 0
MIS: 0
PIN: 0 0 0 0 0 0 0 0 Posted-interrupt notification event
NPI: 0 0 0 0 0 0 0 0 Nested posted-interrupt event
PIW: 0 0 0 0 0 0 0 0 Posted-interrupt wakeup event


That guy seemed to find that the problem was related with the GPU, but I am not sure the interrupt matches on my case
 
Old 08-06-2021, 01:51 PM   #4
vladimir1986
Member
 
Registered: Jul 2011
Posts: 112

Original Poster
Rep: Reputation: Disabled
Btw, I am putting this by separate so it is easier to read after the long prompt over this reply:

I tried one of the solutions proposed and created this file:

echo 'options nvidia NVreg_EnableMSI=1' > /etc/modprobe.d/nvidia.conf

I did five reboots and no problems, so I am going to mark this as solved. Thanks a lot for the replies!

I am not totally sure what I just did tho.

#PS: Late edit. I was blaming SistemD on this, but I just realized something, and matches with that post Smallpond pointed to me:

I am using the propietary Nvidia drivers on Arch, but I am using the free Nouveau drivers on all my other partitions. I am now quite certain this was a bug of the Nvidia drivers.

Last edited by vladimir1986; 08-07-2021 at 08:17 AM.
 
Old 08-13-2021, 10:45 AM   #5
vladimir1986
Member
 
Registered: Jul 2011
Posts: 112

Original Poster
Rep: Reputation: Disabled
5 days after the "fix"

Problem returned: I just had an abnormal spell of this thing not happening. Now it seems to happen as often as it did, and again, only Arch.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to eliminate error messages "do_IRQ: n.nnn No irq handler for vector (irq -1)" gwpucci Linux - Newbie 4 11-01-2017 08:31 PM
UNIQ IRQ and Shared IRQ...I want to make Shared IRQ routin chxooi Linux - Hardware 1 06-12-2010 07:30 AM
Wondering what "do_IRQ: .176 No Irq handler for vector (irq -1)" means 4restg Linux - Newbie 1 10-27-2009 02:41 AM
linux boot problem "disabling IRQ #10" e0richt Linux - Hardware 0 05-11-2006 09:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch

All times are GMT -5. The time now is 08:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration