Questions tagged [irq]

32 questions
14
votes
3 answers

How does the Linux kernel handle shared IRQs?

According to what I've read so far, "when the kernel receives an interrupt, all the registered handlers are invoked." I understand that the registered handlers for each IRQ can be viewed via /proc/interrupts, and I also understand that the…
bsirang
  • 381
  • 1
  • 3
  • 8
7
votes
3 answers

How do I kill an IRQ process in Linux?

I can not kill irq/${nnn}-nvidia by kill -9 or pkill -f -9. Does anyone how to kill or stop those process? (I am using Ubuntu 16.04, if that is relevant.)
TMit
  • 73
  • 1
  • 1
  • 3
5
votes
1 answer

Very High CPU Usage By IRQ #16

I recently noticed that one of my CPUs was idling at around 85-90% and according to top the usage was coming from interrupts, so just like in this question I used a combination of dmesg and periodically cating /proc/interrupts and found out this: …
arielnmz
  • 519
  • 1
  • 6
  • 23
4
votes
2 answers

Two interrupt handlers for the same driver

I have a scenario where my driver needs to listen to two different interrupts from two different IRQ lines. Is it possible to register two different IRQs and install two different handlers for the single driver? What's the best way to achieve…
3
votes
2 answers

Should the irqbalance daemon be used on a modern desktop x86 system?

Today I've read this opinion however I don't understand the topic of interrupts at all, so it would be nice if knowledgeable people chimed in and explained the rationale behind using this daemon in the past and whether it's advisable or not to use…
Artem S. Tashkinov
  • 26,392
  • 4
  • 33
  • 64
3
votes
1 answer

Writing a kernel driver - knowledge of specific interrupt pins

I don't have knowledge about writing Linux kernel modules / drivers. Let's take a basic example. I have an input device of my own which is connected to a microcontroller on one of the interrupt pins. I know that when I press a button on my device it…
Engineer999
  • 1,111
  • 2
  • 15
  • 32
3
votes
1 answer

What are the non-numeric IRQs in /proc/interrupts?

cat /proc/interrupts shows a bunch of IRQs such as NMI and LOC. The per-line comments in the output give clear explanation, but if they do not have a numeric IRQ number, how does the x86 CPU respond to them, in terms of entries in the Interrupt…
QnA
  • 515
  • 6
  • 16
3
votes
1 answer

can't change value in smp_affinity

I am trying to set irq affinity on linux by changing the value in smp_affinity. When I echo the new value into the file, I don't get any error but when I read it back, the value remains unchanged. I don't have irqbalance enabled, so I am not sure…
futureishere
  • 241
  • 2
  • 5
3
votes
1 answer

Unusual high load average (due to peak I/O wait? irqs?)

I have a problem with high load average (~2) on my (personal laptop) computer for a long time now. I am running Arch Linux. If I remember correctly, the problem started with a certain kernel update, initially I thought it was related to this bug.…
nox
  • 161
  • 6
2
votes
1 answer

Linux: e1000e NIC crashes "randomly" with 'transmit queue 0 timed out'

I am running Debian bullseye on a (2nd hand) bare metal server, which crashes occasionally (happened 3 times with the course of 8 days now) and I can't seem to figure out why. I haven't found ways to reproduce it either, because the cause seems to…
2
votes
0 answers

Manjaro/Arch: Disabling IRQ #31 on Thinkpad X1 7th

I've stumbled upon the beforementioned error during boot and have tried to resolve it by trying to find out what caused the interrupt. Sadly, lspci -v | grep 31 gives no result and a cat /proc/interrupts | grep 31 returns: 31: 0 …
fieseler
  • 21
  • 2
2
votes
3 answers

How linux know which irq number should be used?

I am not a driver programmer, I don't have a clear picture of how linux assign irq number for pcie devices. From an NIC driver example, it seems Linux already know which irq number should be used before the function of 'probe' or 'open' was…
Mark
  • 677
  • 9
  • 28
2
votes
1 answer

do_IRQ: 0.163 No irq handler for vector (irq -1)

Why do I get this message in the terminal (putty) ? Message from syslogd@Debian-87-jessie-64-minimal at May 27 01:14:25 ... kernel:[ 8242.806151] do_IRQ: 0.163 No irq handler for vector (irq -1)
clarkk
  • 1,727
  • 6
  • 31
  • 43
1
vote
1 answer

Wondering about my `top` output = IRQ (nvidia, iwlwifi)

I am deeply wondering about this top (man page) output in uptime 5 hours 30 minutes only: top - 00:41:41 up 5:48, 1 user, load average: 0.36, 0.44, 0.63 Tasks: 281 total, 1 running, 280 sleeping, 0 stopped, 0 zombie %Cpu(s): 0.2 us, 0.1…
Vlastimil Burián
  • 27,586
  • 56
  • 179
  • 309
1
vote
0 answers

Can't solve booting issue----irq 7: nobody cared (try booting with the "irqpoll" option)?

Linux version info: uname -a Linux debian 5.10.0-22-amd64 #1 SMP Debian 5.10.178-3 (2023-04-22) x86_64 GNU/Linux The message always shown on my booting : sudo dmesg | grep "irq 7" [ 2.649135] irq 7: nobody cared (try booting with the "irqpoll"…
showkey
  • 79
  • 23
  • 67
  • 128
1
2 3