LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-27-2006, 12:35 PM   #1
Kevin R. DeYoung
LQ Newbie
 
Registered: Sep 2006
Posts: 4

Rep: Reputation: 0
apic Causing issues with my driver


I wrote a driver for a PCI device a few years ago under the 2.4.x kernel. It had been happily working until my customer went to the 2.6.x kernel, more specifically the 2.6.9-42.0.2 from Red Hat. Apprently apic is now enabled by default and it seems that when enabled the interrupts for the card are no longer delivered to the driver. Simply setting the option to noapic eliminates the problem. Is there something new that I need to be doing in the driver to better handle the conditions present when apic is enabled?

A second question, also related to my driver environment and the kernel upgrade, is the use of udev. Under the 2.4.x kernels my device special files were static and all was good. I would like to take advantage of udev and incorporate a rule for my device driver that will allow udev to locate my device and take actions appropriate for it. I have made attempts which have all failed to fire for unknown reasons. I know the vendor ID code and vendor product ID code but cannot get a match. I can find no examples of pci based rules. Can anyone help. I am including the output from lspci and my feeble attempt at a udev rule for the device in question. (Kinetic Systems controller).

[root@ipactrhel boot]# lscpi
-bash: lscpi: command not found
[root@ipactrhel boot]# lspci
00:00.0 Host bridge: Intel Corporation 82845 845 (Brookdale) Chipset Host Bridge (rev 04)
00:01.0 PCI bridge: Intel Corporation 82845 845 (Brookdale) Chipset AGP Bridge (rev 04)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 05)
00:1f.0 ISA bridge: Intel Corporation 82801BA ISA Bridge (LPC) (rev 05)
00:1f.1 IDE interface: Intel Corporation 82801BA IDE U100 (rev 05)
00:1f.2 USB Controller: Intel Corporation 82801BA/BAM USB (Hub #1) (rev 05)
00:1f.3 SMBus: Intel Corporation 82801BA/BAM SMBus (rev 05)
00:1f.4 USB Controller: Intel Corporation 82801BA/BAM USB (Hub #2) (rev 05)
01:00.0 VGA compatible controller: nVidia Corporation NV11DDR [GeForce2 MX 100 DDR/200 DDR] (rev b2)
02:08.0 Ethernet controller: Intel Corporation 82801BA/BAM/CA/CAM Ethernet Controller (rev 03)
02:0a.0 Class ff00: Kinetic Systems Corporation: Unknown device 2962 (rev 01)


My rule file is /etc.udev/rules.d/10-local-udev.rules and its contents are:
BUS="pci", SYSFS{idVendor}="11f4", SYSFS{idProduct}="2962",NAME="ksc9a"

Thank you in advance.
 
  


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
USB Causing Issues? bambam43410 Linux - General 2 07-03-2006 03:11 PM
fglrx driver error: failed to initlialize APIC in kernel verdeboy2k Linux - Software 2 05-27-2006 07:47 PM
yuvfps causing A/V sync issues wapcaplet Linux - Software 0 07-19-2004 07:50 PM
Mandrake 10.0 causing sound card issues dissolved Linux - General 3 07-03-2004 04:04 PM
XT-PIC vs. IO-APIC-edge vs. IO-APIC-level pebraun Linux - Newbie 0 04-19-2004 05:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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