LinuxQuestions.org
Help answer threads with 0 replies.
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 11-25-2008, 10:35 PM   #1
zvivered
Member
 
Registered: Sep 2007
Posts: 119

Rep: Reputation: 15
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).

Thanks.
 
Old 12-08-2008, 07:30 PM   #2
AustinMarton
Member
 
Registered: May 2007
Location: New Zealand
Distribution: Fedora at home, Ubuntu 10.04 at work
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, 12:34 PM   #3
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,396
Blog Entries: 2

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
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.
 
  


Reply


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 11:18 AM
PCI board preventing USB host controller from getting hardware interrupts?? Brad.Scalio@noaa.gov Linux - Server 0 06-13-2007 07:27 AM
Handling of Interrupts in thread context asurya Linux - Newbie 1 04-05-2006 10:15 AM
generating hardware interrupts 03mcmt02 Linux - Software 1 04-04-2005 05:39 AM
hardware interrupts using too much cpu Rocker Linux - General 4 10-12-2004 06:55 PM


All times are GMT -5. The time now is 06:08 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration