bugzilla-daemon at freedesktop.org
2007-Aug-18 12:46 UTC
[Nouveau] [Bug 12051] 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: nouveau at lists.freedesktop.org
ReportedBy: mjulien.m at gmail.com
QAContact: xorg-team at lists.x.org
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)
--
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.
bugzilla-daemon at freedesktop.org
2007-Aug-20 16:25 UTC
[Nouveau] [Bug 12051] inserting nouveau.ko failed with kernel 2.6.17 since commit 8a4d7f34d9c0182c466518c6f413d9a039db402d
http://bugs.freedesktop.org/show_bug.cgi?id=12051
pmandin at caramail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Comment #1 from pmandin at caramail.com 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.
--
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.
Seemingly Similar Threads
- [Bug 13792] New: NV30: Switching video modes hangs Xorg server
- [Bug 12158] New: mouse cursor disappears
- [PATCH V2 10/29] drm/nouveau: deprecate pci_get_bus_and_slot()
- [PATCH V3 10/29] drm/nouveau: deprecate pci_get_bus_and_slot()
- [PATCH V3 10/29] drm/nouveau: deprecate pci_get_bus_and_slot()