LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 08-31-2006, 11:57 AM   #1
briek
LQ Newbie
 
Registered: Aug 2006
Posts: 6

Rep: Reputation: 0
PCI Interrupt Problems in Gentoo Linux


Forgive me if this topic is already posted, I searched and couldn't find it. If it is and has useful info, please send me the link to the post.....



I am writing a device driver for Gentoo Linux (2006.0 - kernel 2.6x) for a PCI hardware device and seem to be having interrupt problems.

I have two PCI hardware devices and have ported my device driver from Redhat 9 (kernel 2.4x).

In my driver, I am using the request_irq() kernel function in my driver to reqister my interrupt handler and only receive interrupts from one of my boards, but not the other one. I have swapped the boards' physical locations and made sure that they swapped IRQ lines as a test and it seems to have followed the physical location so I am 99.999% sure it is not a board problem and %99.99 sure it is not my chassis, based on other tests I have ran. The device has a PLX 9030 chip on it and I have determined that the correct register for the interrupt line has indead gone low and should have generated a hardware interrupt but I am not seeing it in my driver.

Am I having a porting issue (from RH 9 to Gentoo)? Am I incorrectly enabling my PCI device? Is there a good example of a PCI device driver that uses interrupts for multiple devices available?



Thank you for any knowledge you may give me,
briek

Last edited by briek; 09-06-2006 at 12:56 PM.
 
  


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
control is not going to interrupt handler when interrupt comes in serial driver sateeshalla Linux - Kernel 1 05-04-2006 09:43 AM
Interrupt routine... Elric of Grans Programming 2 07-05-2005 07:11 PM
Unable to hit my serial port interrupt routine hguts Linux - Software 1 07-15-2003 07:45 AM
Serial Port Driver- Interrupt Invoking Problem sinux Linux - Software 0 03-07-2003 03:47 PM
ISA device driver interrupt problem britneykiller Programming 0 03-06-2002 03:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 05:27 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