Xinit clobbers other PCI cards

From: Alan Siggia (alan_at_sigmet.com)
Date: 07/29/03


Date: 28 Jul 2003 20:21:12 -0700

We've been stumped by the following problem for over a week, and hope it might
ring a bell for someone.

We have a custom PCI card running with a custom kernel module, which produces
interrupts at 1KHz or so. Our card uses the PLDA PCI core in an Altera 1K100
FPGA, and we're running RedHat 7.3. We've produced at least fifty of these
systems and they all run fine EXCEPT when X first starts up while the card is
also running.

What we see is that pci_read_config_dword() in our driver suddenly returns
one or more -1's while accessing the card's configuration space while X is
starting. Somehow, xinit is causing the PCI activity on an unrelated card
to fail.

A few other observations:

  * The problem happens with several different video cards and mother boards.

  * The problem only occurs on dual processor CPU's running the SMP kernel.
    If we switch to the non-SMP kernel, the problem goes away entirely.

  * We tried running X in framebuffer mode, but it still fails. Also tried
    dis



Relevant Pages

  • Re: P5/Celeron comments?
    ... type of video capture card require. ... That restriction is caused by the mix of PCI Express and PCI ... which means a PCI bus card may get the "short straw". ... and you only get time slices from each camera. ...
    (alt.comp.periphs.mainboard.asus)
  • Re: Compatibility of Nvidia NVNET driver license with GPL
    ... >> with GPL of the kernel sources? ... What are the requirements of the kernel for such a card to be cool instead of ... How should such a card behave from PCI point of view, ... I have made to work the whole design chain from schematic design to production ...
    (Linux-Kernel)
  • Re: Intel Pro/100 VE
    ... > some research and I believe that imy network card, ... kernel 2.4.18 (which is used in the woody installer). ... to use a new PCI ID for every revision, ...
    (Debian-User)
  • CRASH: SATA + 8139 + Via Rhine = STOP
    ... On the other side I have an 8139 based card. ... a Silicon Image Serial-ATA card on the PCI bus. ... raid5 personality registered as nr 4 ... md: Autodetecting RAID arrays. ...
    (Linux-Kernel)
  • [RFC / git patch] Move pci_find_* under CONFIG_PCI_LEGACY
    ... converting ancient drivers to PCI hotplug API, ... config HISAX_TELESPCI ... bool "NETspider U card" ... +#ifdef CONFIG_PCI_LEGACY ...
    (Linux-Kernel)