LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-26-2006, 01:15 AM   #1
cdale77
Member
 
Registered: Oct 2006
Location: Berekeley
Distribution: Slackware 11; 2.6.21.1
Posts: 48

Rep: Reputation: 15
Error installing nvidia drivers on 2.6.18 Slack 11


I'm new at this--I've spent the last couple weeks figuring out how to install slackware on my Dell Inspiron 5150 notebook. I've just upgraded to kernel 2.6.18 from 2.4.33, and I'm trying to install the drivers for my nvidia geforce. I successfully did this with 2.4.33, but I just got an error while using the nvidia 1.0-8776 driver installer.

The error message is below.

Quote:
Kernel module compilation complete.
ERROR: Unable to load the kernel module 'nvidia.o'. This happens most
frequently when this kernel module was built against the wrong or
improperly configured kernel sources, with a version of gcc that differs
from the one used to build the target kernel, or if a driver such as
rivafb/nvidiafb is present and prevents the NVIDIA kernel module from
obtaining ownership of the NVIDIA graphics device(s).

Please see the log entries 'Kernel module load error' and 'Kernel
messages' at the end of the file '/var/log/nvidia-installer.log' for
more information.
-> Kernel module load error: insmod: error inserting './usr/src/nv/nvidia.o':
-1 Invalid module format
-> Kernel messages:
ACPI: PCI Interrupt 0000:02:01.0[A] -> Link [LNKB] -> GSI 7 (level, low) ->
IRQ 7
eth0: Broadcom 4400 10/100BaseT Ethernet 00:0d:56:36:d9:57
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
usb 3-1: new low speed USB device using uhci_hcd and address 2
cs: IO port probe 0xc00-0xcff: clean.
cs: IO port probe 0x820-0x8ff: excluding 0x8c0-0x8cf 0x8e0-0x8ff
cs: IO port probe 0x800-0x80f: clean.
cs: IO port probe 0x3e0-0x4ff: excluding 0x4d0-0x4d7
cs: IO port probe 0x100-0x3af: clean.
cs: IO port probe 0xa00-0xaff: clean.
usb 3-1: configuration #1 chosen from 1 choice
input: Logitech USB-PS/2 Optical Mouse as /class/input/input2
input: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on
usb-0000:00:1d.1-1
lp: driver loaded but no devices found
Capability LSM initialized
input: PS/2 Synaptics TouchPad as /class/input/input3
NTFS driver 2.1.27 [Flags: R/W MODULE].
NTFS volume version 3.1.
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver
eth0: no IPv6 routers present
No module found in object
I have no idea what to do to fix this. Any ideas? Thanks!

Last edited by cdale77; 10-26-2006 at 01:40 AM.
 
Old 10-26-2006, 01:53 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,941

Rep: Reputation: 129Reputation: 129
Welcome to LQ!

I had that error on 2.6.18.1 with NVIDIA-Linux-x86-1.0-8762-pkg1.run,
so I got NVIDIA-Linux-x86-1.0-8776-pkg1.run and it installed okay.

Have you tried either 8774 or 8762? They might work where 8776 doesn't.
 
Old 10-26-2006, 02:52 AM   #3
d2490n
Member
 
Registered: Jul 2005
Location: San Diego, CA
Distribution: RHEL, Debian, Gentoo when I'm brave.
Posts: 47

Rep: Reputation: 15
i had this same error when i installed slack 11 on my laptop, turned out that i needed to install the kernel moduals on the second cd, there kind of hidden in the /2.4.18/extras. hope this helps
 
Old 10-26-2006, 03:18 AM   #4
yakoub
Member
 
Registered: Oct 2006
Posts: 99

Rep: Reputation: 15
gcc

make sure you got the same gcc version that the kernel
was compiles with .

you need to install kernel-generic and kernel-modules then
most importatnly kernel-source and all of the same version
you can find the three packages on /extra/linux-2.6.18

get the latest nvidia driver .
 
Old 10-26-2006, 11:54 AM   #5
cdale77
Member
 
Registered: Oct 2006
Location: Berekeley
Distribution: Slackware 11; 2.6.21.1
Posts: 48

Original Poster
Rep: Reputation: 15
Thanks, all

I've installed the kernel modules and source as described in the readme, and that went fine. I've also checked my gcc version, and that's OK, too.

I'm going to try a different nvidia driver and report back. but if anybody else has any suggestions, thanks!
 
Old 10-26-2006, 12:53 PM   #6
cdale77
Member
 
Registered: Oct 2006
Location: Berekeley
Distribution: Slackware 11; 2.6.21.1
Posts: 48

Original Poster
Rep: Reputation: 15
No Dice

I tried both 8774 and 8762 with the same result.
 
Old 10-26-2006, 01:01 PM   #7
raska
Member
 
Registered: Aug 2004
Location: Aguascalientes, AGS. Mexico.
Distribution: Slackware 13.0 kernel 2.6.29.6
Posts: 816

Rep: Reputation: 31
Quote:
Originally Posted by cdale77
"or if a driver such as
rivafb/nvidiafb is present and prevents the NVIDIA kernel module from
obtaining ownership of the NVIDIA graphics device(s)."
Did you include nvidia drivers in your compiled kernel? Like nvidiafb and/or rivafb? That's likely to break the propietary nvidia driver support. Double check your kernel config and recompile if necesary
 
Old 10-26-2006, 03:31 PM   #8
TNWestTex
Member
 
Registered: May 2006
Location: Tennessee
Distribution: current, rawhide
Posts: 88

Rep: Reputation: 16
Had no problem with 9625 on 2.6.16.27 or 2.6.18. Supports older Geforce2MX 100 card very nicely.
 
Old 10-27-2006, 12:44 AM   #9
cdale77
Member
 
Registered: Oct 2006
Location: Berekeley
Distribution: Slackware 11; 2.6.21.1
Posts: 48

Original Poster
Rep: Reputation: 15
Quote:
Did you include nvidia drivers in your compiled kernel? Like nvidiafb and/or rivafb?
Not sure. I tried the Find function in KDE without luck. Where would I find those files if I had them?
 
Old 10-27-2006, 01:00 AM   #10
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,941

Rep: Reputation: 129Reputation: 129
You will find them in your kernel .config file.
In the directory where it's located, issue in a terminal (konsole):
Code:
mingdao@silas:~/kernel/linux-2.6.18.1$ cat .config | grep -i CONFIG_FB_
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
# CONFIG_FB_MACMODES is not set
# CONFIG_FB_BACKLIGHT is not set
# CONFIG_FB_MODE_HELPERS is not set
# CONFIG_FB_TILEBLITTING is not set
# CONFIG_FB_CIRRUS is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_ARC is not set
# CONFIG_FB_ASILIANT is not set
# CONFIG_FB_IMSTT is not set
# CONFIG_FB_VGA16 is not set
CONFIG_FB_VESA=y
# CONFIG_FB_HGA is not set
# CONFIG_FB_S1D13XXX is not set
# CONFIG_FB_NVIDIA is not set  <<-- he is talking 
# CONFIG_FB_RIVA is not set  <<-- about these two 
# CONFIG_FB_I810 is not set
# CONFIG_FB_INTEL is not set
# CONFIG_FB_MATROX is not set
# CONFIG_FB_RADEON is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_SAVAGE is not set
# CONFIG_FB_SIS is not set
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_KYRO is not set
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_CYBLA is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_GEODE is not set
# CONFIG_FB_VIRTUAL is not set
to see what framebuffer options you configured.
 
Old 10-27-2006, 06:00 AM   #11
rkrishna
Member
 
Registered: Mar 2005
Location: chennai(madras), India
Distribution: slackware ofcourse
Posts: 654

Rep: Reputation: 32
i also had problem with nvidia driver while trying to compile 2.6.18.1 kernel and the error message was the "kernel version is different"

today i downlaoded the new run file "NVIDIA-Linux-x86-1.0-8776-pkg1.run" from nvida and try compiling kernel with diff options to the nvidia graphics part and now it is workin fine. also it seems teh new driver have more advantages.
here i enabled "nvida framebuffer support" as module and "enabled DDC support"
with no "nvidia riva" usualy that will conflict so we dont usually enable it
if u made it as a module, then no problem but compiling in is dangerous

so i grabbed the new nvidia run "NVIDIA-Linux-x86-1.0-8776-pkg1.run" file and with nvidia fb as module and no riva--- it is working for me best of luck
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NVIDIA Drivers + Slack 11 SMP kernel mogunus Slackware 40 02-01-2007 03:42 PM
Installing nvidia drivers from nvidia website on mepis 3.3 xbennyboy Linux - Hardware 4 04-23-2005 10:19 AM
Installing latest nVidia drivers in Mandrake 10. rivafb error? Pumaman Linux - Hardware 4 07-09-2004 08:04 PM
ERROR running make when installing Nvidia drivers (syntax error) randyriver10 Linux - Software 5 02-21-2004 05:51 PM
nvidia drivers and slack 9.1 chris26 Slackware 9 11-21-2003 06:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration