[Pkg-fglrx-devel] Bug#534927: fglrx-source: fglrx kernel driver cannot be loaded on linux-2.6.30

Hendrik Sattler debian at hendrik-sattler.de
Sun Jun 28 10:44:26 UTC 2009


Package: fglrx-source
Version: 1:9-6-1
Severity: important

Hi,

The closed-source part calls a function called pci_enable_msi(). However, on linux-2.6.30, this is only a define. Thus while loading the module, the symbol cannot be found.

Either this should be forwarded upstream or a small wrapper could look like:
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,30)
#undef pci_enable_msi
int pci_enable_msi (struct pci_dev *dev) {
    return pci_enable_msi_block(dev, 1);
}
#endif

Have fun

HS

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages fglrx-source depends on:
ii  bzip2                         1.0.5-2    high-quality block-sorting file co
ii  debhelper                     7.2.14     helper programs for debian/rules
ii  make                          3.81-5     The GNU version of the "make" util

Versions of packages fglrx-source recommends:
ii  kernel-package                12.014     A utility for building Linux kerne
ii  module-assistant              0.11.1     tool to make module package creati

Versions of packages fglrx-source suggests:
pn  fglrx-driver                  <none>     (no description available)

-- no debconf information





More information about the Pkg-fglrx-devel mailing list