New: inserting nouveau.ko failed with kernel 2.6.17 since commit 8a4d7f34d9c0182c466518c6f413d9a039db402d
http://bugs.freedesktop.org/show_bug.cgi?id=12051
Summary: inserting nouveau.ko failed with kernel 2.6.17 since
commit 8a4d7f34d9c0182c466518c6f413d9a039db402d
Product: xorg
Version: unspecified
Platform: x86-64 (AMD64)
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]Hi,
Since commit 8a4d7f34d9c0182c466518c6f413d9a039db402d, when I try to insert nouveau.ko, it failed with unknown symbol, and dmesg say :
[drm] Initialized drm 1.1.0 20060810
nouveau: Unknown symbol pci_get_bus_and_slot
I get a warning at this place during the compilation
/home/jules/nouveau/drm/linux-core/nouveau_mem.o /home/jules/nouveau/drm/linux-core/nouveau_mem.c: In function 'nouveau_mem_fb_amount_igp':/home/jules/nouveau/drm/linux-core/nouveau_mem.c:230: warning: implicit declaration of function 'pci_get_bus_and_slot' /home/jules/nouveau/drm/linux-core/nouveau_mem.c:230: warning: assignment makes pointer from integer without a cast
commenting out the body of the function nouveau_mem_fb_amount_igp, I can compile without warning and insert the module (and Nouveau works).
I'm running linux mandriva 2007.1 with kernel 2.6.17, gcc 4.1.2, x86_64.
01:00.0 VGA compatible controller [0300]: nVidia Corporation NV35 [GeForce FX 5900XT] [10de:0332] (rev a1)
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
[Bug 12051] inserting nouveau.ko failed with kernel 2.6.17 since commit 8a4d7f34d9c0182c466518c6f413d9a039db402d
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=12051
pmandin-/BqsFWbVIFRWk0Htik3J/[email protected] changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED------- Comment #1 from pmandin-/BqsFWbVIFRWk0Htik3J/[email protected] 2007-08-20 09:25 PST ------- A #ifdef check for both Linux kernel (in case of Bsd or other OS) and Linux
kernel version (pci_get_bus_and_slot() function needs 2.6.19) has been added.
It means detection of IGP memory will fail if not Linux>=2.6.19, but at least
the module is loadable again.
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.