View Single Post
Old 10-12-05, 12:50 AM   #8
Jaggana
Registered User
 
Join Date: Sep 2005
Posts: 3
Default Re: Unable to load the kernel module 'nvidia.ko'

Quote:
Originally Posted by Lithorus
1. What does a "ls -la /lib/modules/`uname -r`/build" (without the ") produce?
Code:
ls: /lib/modules/2.6.8.1-12mdk/build: No such file or directory
Code:
[jaggana@localhost jaggana]$ /lib/modules/2.6.8.1-12mdk/kernel/
3rdparty  arch      crypto    drivers   fs        lib       net       security  sound
Code:
[jaggana@localhost jaggana]$ /lib/modules/2.6.8.1-12mdk/kernel/drivers/
acpi       block      char       ide        isdn       message    net        pcmcia     telephony  w1
atm        bluetooth  cpufreq    ieee1394   md         misc       parport    scsi       usb
base       cdrom      i2c        input      media      mtd        pci        serial     video
Code:
[jaggana@localhost jaggana]$ /lib/modules/2.6.8.1-12mdk/kernel/drivers/video/
aty      console  i810     kyro     matrox   riva     sis
but i hade this:
Code:
[jaggana@localhost jaggana]$ /usr/src/linux-2.6.8.1-25mdk/include/linux/
byteorder         isdn              netfilter_arp     netfilter_ipv6    sunrpc
dvb               lockd             netfilter_bridge  nfsd
hdlc              mtd               netfilter_ipv4    raid
Quote:
Originally Posted by Lithorus
2. If the above works what does "cat /lib/modules/`uname -r`/build/include/linux/compile.h" produce?
Code:
[jaggana@localhost jaggana]$ cat /lib/modules/`uname -r`/build/include/linux/compile.h
cat: /lib/modules/2.6.8.1-12mdk/build/include/linux/compile.h: No such file or directory
Quote:
Originally Posted by Lithorus
3. What does a gcc -v say?
Code:
[jaggana@localhost jaggana]$ gcc -v
Reading specs from /usr/lib/gcc/i586-mandrake-linux-gnu/3.4.1/specs
Configured with: ../configure --prefix=/usr --libdir=/usr/lib --with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --enable-long-long --enable-__cxa_atexit --enable-clocale=gnu --disable-libunwind-exceptions --enable-languages=c,c++,ada,f77,objc,java --host=i586-mandrake-linux-gnu --with-system-zlib
Thread model: posix
gcc version 3.4.1 (Mandrakelinux 10.1 3.4.1-4mdk)
Jaggana is offline   Reply With Quote