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)
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.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.