Bug#561657: fglrx-modules-dkms: generated module fails to load into kernel 2.6.32

2009-12-19 Thread Laurent Bonnaud
Package: fglrx-modules-dkms
Version: 1:9-11-2
Severity: important


Hi,

here is the problem:

# modprobe fglrx
FATAL: Error inserting fglrx 
(/lib/modules/2.6.32-trunk-686-bigmem/updates/dkms/fglrx.ko): Invalid module 
format

# dmesg | grep fglrx
[   36.581587] fglrx: disagrees about version of symbol module_layout

The fglrx module generated by dkms used to work with kernel 2.6.31.

The fglrx module compiled with module-assistant does work with kernel 2.6.32.


-- Package-specific info:
VGA-compatible devices on PCI bus:
01:00.0 VGA compatible controller: ATI Technologies Inc RV770 [Radeon HD 4850]

DRM and fglrx Informations from dmesg:
[0.991112] Linux agpgart interface v0.103
[   36.581587] fglrx: disagrees about version of symbol module_layout
[  319.039216] fglrx: disagrees about version of symbol module_layout

Xorg X server configuration file status:
-rw-r--r-- 1 root root 1406 Oct 20 11:52 /etc/X11/xorg.conf

Contents of /etc/X11/xorg.conf:

# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type man xorg.conf at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section ServerLayout
Identifier aticonfig Layout
Screen  0  Default Screen 0 0
EndSection

Section Files
EndSection

Section Module
EndSection

Section InputDevice
Identifier  Generic Keyboard
Driver  kbd
Option  XkbRules xorg
Option  XkbModel pc105
Option  XkbLayout fr
Option  XkbVariant latin9
EndSection

Section InputDevice
Identifier  Configured Mouse
Driver  mouse
EndSection

Section Monitor
Identifier   Configured Monitor
EndSection

Section Device
Identifier  Configured Video Device
Driver  fglrx
BusID   PCI:1:0:0
EndSection

Section Screen
Identifier Default Screen
Device Configured Video Device
MonitorConfigured Monitor
DefaultDepth 24
EndSection



Xorg X server log files on system:
-rw-r--r-- 1 root root 12990 Feb 24  2009 /var/log/Xorg.1.log
-rw-r--r-- 1 root root 31514 Dec 19 11:24 /var/log/Xorg.0.log

Contents of most recent Xorg X server log file
/var/log/Xorg.0.log:

X.Org X Server 1.6.5
Release Date: 2009-10-11
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.30.8-dsa-ia32 i686 Debian
Current Operating System: Linux jophur 2.6.32-trunk-686-bigmem #1 SMP Thu Dec 
17 01:08:50 UTC 2009 i686
Build Date: 13 October 2009  11:25:51AM
xorg-server 2:1.6.5-1 (bui...@murphy.debian.org) 
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Sat Dec 19 11:23:54 2009
(==) Using config file: /etc/X11/xorg.conf
(==) ServerLayout aticonfig Layout
(**) |--Screen Default Screen (0)
(**) |   |--Monitor Configured Monitor
(**) |   |--Device Configured Video Device
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory /usr/share/fonts/X11/cyrillic does not exist.
Entry deleted from font path.
(==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
built-ins
(==) ModulePath set to /usr/lib/xorg/modules
(II) Cannot locate a core pointer device.
(II) Cannot locate a core keyboard device.
(II) The server relies on HAL to provide the list of input devices.
If no devices become available, reconfigure HAL or disable 
AllowEmptyInput.
(II) Loader magic: 0x6c0
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 5.0
X.Org XInput driver : 4.0
X.Org Server Extension : 2.0
(II) Loader running on linux
(++) using VT number 7

(--) PCI:*(0:1:0:0) 1002:9442:1458:21c7 ATI Technologies Inc RV770 [Radeon HD 
4850] rev 0, Mem @ 0xc000/268435456, 0xfa6f/65536, I/O @ 
0x9000/256, BIOS @ 0x/131072
(II) Open ACPI successful (/var/run/acpid.socket)
(II) System resource ranges:
[0] -1  0   0x - 0x (0x1) MX[B]
[1] -1 

Bug#561657: [Pkg-fglrx-devel] Bug#561657: fglrx-modules-dkms: generated module fails to load into kernel 2.6.32

2009-12-19 Thread Patrick Matthäi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Laurent Bonnaud schrieb:
 Package: fglrx-modules-dkms
 Version: 1:9-11-2
 Severity: important
 
 
 Hi,
 
 here is the problem:
 
 # modprobe fglrx
 FATAL: Error inserting fglrx 
 (/lib/modules/2.6.32-trunk-686-bigmem/updates/dkms/fglrx.ko): Invalid module 
 format
 
 # dmesg | grep fglrx
 [   36.581587] fglrx: disagrees about version of symbol module_layout
 
 The fglrx module generated by dkms used to work with kernel 2.6.31.
 
 The fglrx module compiled with module-assistant does work with kernel 2.6.32.
 
 
 -- Package-specific info:
 VGA-compatible devices on PCI bus:
 01:00.0 VGA compatible controller: ATI Technologies Inc RV770 [Radeon HD 4850]
 
 DRM and fglrx Informations from dmesg:
 [0.991112] Linux agpgart interface v0.103
 [   36.581587] fglrx: disagrees about version of symbol module_layout
 [  319.039216] fglrx: disagrees about version of symbol module_layout
 
 Xorg X server configuration file status:
 -rw-r--r-- 1 root root 1406 Oct 20 11:52 /etc/X11/xorg.conf
 
 Contents of /etc/X11/xorg.conf:
 
 # xorg.conf (X.Org X Window System server configuration file)
 #
 # This file was generated by dexconf, the Debian X Configuration tool, using
 # values from the debconf database.
 #
 # Edit this file with caution, and see the xorg.conf manual page.
 # (Type man xorg.conf at the shell prompt.)
 #
 # This file is automatically updated on xserver-xorg package upgrades *only*
 # if it has not been modified since the last upgrade of the xserver-xorg
 # package.
 #
 # If you have edited this file but would like it to be automatically updated
 # again, run the following command:
 #   sudo dpkg-reconfigure -phigh xserver-xorg
 
 Section ServerLayout
   Identifier aticonfig Layout
   Screen  0  Default Screen 0 0
 EndSection
 
 Section Files
 EndSection
 
 Section Module
 EndSection
 
 Section InputDevice
   Identifier  Generic Keyboard
   Driver  kbd
   Option  XkbRules xorg
   Option  XkbModel pc105
   Option  XkbLayout fr
   Option  XkbVariant latin9
 EndSection
 
 Section InputDevice
   Identifier  Configured Mouse
   Driver  mouse
 EndSection
 
 Section Monitor
   Identifier   Configured Monitor
 EndSection
 
 Section Device
   Identifier  Configured Video Device
   Driver  fglrx
   BusID   PCI:1:0:0
 EndSection
 
 Section Screen
   Identifier Default Screen
   Device Configured Video Device
   MonitorConfigured Monitor
   DefaultDepth 24
 EndSection
 
 
 
 Xorg X server log files on system:
 -rw-r--r-- 1 root root 12990 Feb 24  2009 /var/log/Xorg.1.log
 -rw-r--r-- 1 root root 31514 Dec 19 11:24 /var/log/Xorg.0.log
 
 Contents of most recent Xorg X server log file
 /var/log/Xorg.0.log:
 
 X.Org X Server 1.6.5
 Release Date: 2009-10-11
 X Protocol Version 11, Revision 0
 Build Operating System: Linux 2.6.30.8-dsa-ia32 i686 Debian
 Current Operating System: Linux jophur 2.6.32-trunk-686-bigmem #1 SMP Thu Dec 
 17 01:08:50 UTC 2009 i686
 Build Date: 13 October 2009  11:25:51AM
 xorg-server 2:1.6.5-1 (bui...@murphy.debian.org) 
   Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
 Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
 (==) Log file: /var/log/Xorg.0.log, Time: Sat Dec 19 11:23:54 2009
 (==) Using config file: /etc/X11/xorg.conf
 (==) ServerLayout aticonfig Layout
 (**) |--Screen Default Screen (0)
 (**) |   |--Monitor Configured Monitor
 (**) |   |--Device Configured Video Device
 (==) Automatically adding devices
 (==) Automatically enabling devices
 (WW) The directory /usr/share/fonts/X11/cyrillic does not exist.
   Entry deleted from font path.
 (==) FontPath set to:
   /usr/share/fonts/X11/misc,
   /usr/share/fonts/X11/100dpi/:unscaled,
   /usr/share/fonts/X11/75dpi/:unscaled,
   /usr/share/fonts/X11/Type1,
   /usr/share/fonts/X11/100dpi,
   /usr/share/fonts/X11/75dpi,
   /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
   built-ins
 (==) ModulePath set to /usr/lib/xorg/modules
 (II) Cannot locate a core pointer device.
 (II) Cannot locate a core keyboard device.
 (II) The server relies on HAL to provide the list of input devices.
   If no devices become available, reconfigure HAL or disable 
 AllowEmptyInput.
 (II) Loader magic: 0x6c0
 (II) Module ABI versions:
   X.Org ANSI C Emulation: 0.4
   X.Org Video Driver: 5.0
   X.Org XInput driver : 4.0
   X.Org Server Extension : 2.0
 (II) Loader running on linux
 (++) using VT number 7
 
 (--) PCI:*(0:1:0:0) 1002:9442:1458:21c7 ATI Technologies Inc RV770 [Radeon HD 
 4850] rev 0, Mem @ 0xc000/268435456, 0xfa6f/65536, I/O @ 
 0x9000/256, BIOS @ 0x/131072