Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
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.


  Search this Thread
Old 11-25-2008, 09:35 PM   #1
Registered: Sep 2007
Posts: 176

Rep: Reputation: 23
Handling hardware interrupts

I have a Pentium-M PC104 connected to a customized hardware (FPGA) using PCI bus. The FPGA creates interrupts every 1.5ms.

The device driver in the kernel should catch the interrupt and report it to the user level. We noticed that the kerenl does not miss interrupts but not all of them are reported to the user level.

The distribution we are using is Open-Suse. Is there a distribtuin that will not miss any interrupt at this interval ?

I heard that the minimum interval linux can handle is 10ms (like windows).

Old 12-08-2008, 06:30 PM   #2
Registered: May 2007
Location: New Zealand
Distribution: Ubuntu
Posts: 88

Rep: Reputation: 16
I don't really know, but maybe a very light weight distro (DSL), or a Real Time disto (RT Linux)?
Old 12-11-2008, 11:34 AM   #3
LQ 5k Club
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,397
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
How is your kernel-mode code reporting to userspace? 1.5ms is not very fast; any garden variety serial port can generate interrupts faster than that. Are you using the interrupt as a pacing mechanism, or is there data provided along with the interrupt? How are you able to ascertain that the kernel is not missing interrupts?
The kernels used in all distributions are essentially the same. As of this writing, the latest is version 2.6.27. If yours is very old, perhaps you should consider upgrading, if you think the kernel is at fault.
--- rod.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Hardware Error Handling with C or C++ benz Programming 1 10-26-2007 10:18 AM
PCI board preventing USB host controller from getting hardware interrupts?? Linux - Server 0 06-13-2007 06:27 AM
Handling of Interrupts in thread context asurya Linux - Newbie 1 04-05-2006 09:15 AM
generating hardware interrupts 03mcmt02 Linux - Software 1 04-04-2005 04:39 AM
hardware interrupts using too much cpu Rocker Linux - General 4 10-12-2004 05:55 PM > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 06:58 AM.

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