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

Bug#485528: marked as done (pci-sysfs resourceN files are not available on all architectures)



Your message dated Tue, 2 Jun 2009 16:08:40 +0100
with message-id <20090602150839.GG3051@decadent.org.uk>
and subject line Re: pci-sysfs resourceN files are not available on all architectures
has caused the Debian Bug report #485528,
regarding pci-sysfs resourceN files are not available on all architectures
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
485528: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=485528
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libpciaccess,linux-2.6
Severity: important

the pci_device_map_range() function from libpciaccess which is used by
the X drivers to map pci BARs is implemented on linux using sysfs
resourceN files, which the kernel only creates on architectures where
HAVE_PCI_MMAP is defined.  This is not the case for alpha, parisc, mips
and m68k, as far as I can tell.  See pci_create_resource_files() in
linux/drivers/pci/pci-sysfs.c, and the respective include/asm-*/pci.h
headers.

This means that future versions of X (starting with xorg-server 1.5) are
not going to work on these architectures unless this is fixed.  We need
to either get the kernel fixed, or fall back to mmaping /dev/mem in
libpciaccess.

Cheers,
Julien



--- End Message ---
--- Begin Message ---
On Mon, Jun 01, 2009 at 03:17:06AM +0100, Ben Hutchings wrote:
> Julien Cristau <jcristau@debian.org> wrote:
> > the pci_device_map_range() function from libpciaccess which is used by
> > the X drivers to map pci BARs is implemented on linux using sysfs
> > resourceN files, which the kernel only creates on architectures where
> > HAVE_PCI_MMAP is defined.  This is not the case for alpha, parisc, mips
> > and m68k, as far as I can tell.
> [...]
> 
> This was implemented for mips in v2.6.29 and for alpha in v2.6.30.  m68k
> is not a release architecture and hppa is highly unlikely to be for
> squeeze.

The removal of hppa from squeeze was announced today, so this is fixed
for all squeeze release architectures.

Ben.

-- 
Ben Hutchings
If you seem to know what you are doing, you'll be given more to do.


--- End Message ---

Reply to: