[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#246782: Failure to find video card with X



retitle 246782 xserver-xfree86: [core server] fix domain-based PCI detection
tag 246782 + upstream patch moreinfo
thanks

On Fri, Apr 30, 2004 at 10:13:35PM -0700, carbonated beverage wrote:
> Package: xserver-xfree86
> Version: 4.3.0-7
> 
> The code in xc/programs/Xserver/xfree86/hw/xfree86/os-support/bus/linuxPci.c
> doesn't handle PCI Domains, so the X server fails to find the entry for the
> video card under /proc.
> 
> This problem manifests itself with kernel 2.6.x.
> 
> Here's a simple patch to fix it, it first tries the old-style /proc/bus/pci
> access, then tries to access it with the PCI Domain information as well.
> 
> I've only tested this on an Ultra 5 workstation with the testing distro.

Great!  Thanks for the patch.  I was unaware of this problem; I thought
the PCI domain code was essentially functional.

I have a few questions for you:

1) Is this a Linux 2.6-specific problem?
2) Are you the author of the patch?  If not, can you tell me where you
   got it?

-- 
G. Branden Robinson                |     Never attribute to malice that
Debian GNU/Linux                   |     which can be adequately explained
branden@debian.org                 |     by stupidity.
http://people.debian.org/~branden/ |     -- Hanlon's Razor

Attachment: signature.asc
Description: Digital signature


Reply to: