LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 08-19-2009, 10:27 PM   #1
zvivered
Member
 
Registered: Sep 2007
Posts: 294

Rep: Reputation: 23
2.6.30.1 : irq 21: nobody cared (try booting with the "irqpoll" option)


My PC104 (Pentium M) is connected to a customized hardware over PCI.
This hardware creates a PCI interrupt every 2ms.
The interrupt is requested by:

rc=request_irq(21,my_handler,IRQF_SHARED,"HW",&device_id)

rc=0. The handler is called upon an interrupt. Before calling to request_irq, the /proc/interrupts does not contains a"21" entry.
After the call, there is such entry (with an interrupt counter)

After few minutes I got the error:
irq 21: nobody cared (try booting with the "irqpoll" option)
with a trace call. There is also a message that the interrupt was disabled.
21 is taken from: pci_dev->irq

According to the linux code (kernel\irq\spurious.c: line 113) this happens in case of "99,900 of the previous 100,000 have not been handled"

When I called to request_irq with IRQF_DISABLED it worked file but this causes other interrupts (e.g ethernet) to be disabled.

My handler is very small:
irqreturn_t my_handler(int irq, void *dev_id, struct pt_regs *regs)
{
data=ioread32 (address);
if (data==3)
do something
return IRQ_HANDLED;
}

The "do something" is not implemented yet.
What can be the reason for this error message ?
Thanks.
 
  


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
bash script: using "select" to show multi-word options? (like "option 1"/"o zidane_tribal Programming 7 12-19-2015 01:03 AM
"irq timeout" and "failed opcode was: unknown" dmesg messages kenneho Linux - Server 0 06-17-2009 02:35 AM
Install stucks at "disabling IRQ #11" when booting transfear Mandriva 1 12-20-2005 06:15 AM
FC4 install errors, "diabling IRQ #10" "nobody cares" error message??? A6Quattro Fedora 6 07-20-2005 12:49 PM
anging "Protocol" option to "IMPS/2" in XF86Config-4 causes problems zstingx Linux - General 2 10-27-2003 09:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 03:00 AM.

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