Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-26-2006, 01:15 AM
|
#1
|
Member
Registered: Oct 2006
Location: Berekeley
Distribution: Slackware 11; 2.6.21.1
Posts: 48
Rep:
|
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.
|
|
|
10-26-2006, 01:53 AM
|
#2
|
HCL Maintainer
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,941
Rep:
|
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.
|
|
|
10-26-2006, 02:52 AM
|
#3
|
Member
Registered: Jul 2005
Location: San Diego, CA
Distribution: RHEL, Debian, Gentoo when I'm brave.
Posts: 47
Rep:
|
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
|
|
|
10-26-2006, 03:18 AM
|
#4
|
Member
Registered: Oct 2006
Posts: 99
Rep:
|
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 .
|
|
|
10-26-2006, 11:54 AM
|
#5
|
Member
Registered: Oct 2006
Location: Berekeley
Distribution: Slackware 11; 2.6.21.1
Posts: 48
Original Poster
Rep:
|
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!
|
|
|
10-26-2006, 12:53 PM
|
#6
|
Member
Registered: Oct 2006
Location: Berekeley
Distribution: Slackware 11; 2.6.21.1
Posts: 48
Original Poster
Rep:
|
No Dice
I tried both 8774 and 8762 with the same result.
|
|
|
10-26-2006, 01:01 PM
|
#7
|
Member
Registered: Aug 2004
Location: Aguascalientes, AGS. Mexico.
Distribution: Slackware 13.0 kernel 2.6.29.6
Posts: 816
Rep:
|
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
|
|
|
10-26-2006, 03:31 PM
|
#8
|
Member
Registered: May 2006
Location: Tennessee
Distribution: current, rawhide
Posts: 88
Rep:
|
Had no problem with 9625 on 2.6.16.27 or 2.6.18. Supports older Geforce2MX 100 card very nicely.
|
|
|
10-27-2006, 12:44 AM
|
#9
|
Member
Registered: Oct 2006
Location: Berekeley
Distribution: Slackware 11; 2.6.21.1
Posts: 48
Original Poster
Rep:
|
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?
|
|
|
10-27-2006, 01:00 AM
|
#10
|
HCL Maintainer
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,941
Rep:
|
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.
|
|
|
10-27-2006, 06:00 AM
|
#11
|
Member
Registered: Mar 2005
Location: chennai(madras), India
Distribution: slackware ofcourse
Posts: 654
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 11:57 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|