LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - Installation (https://www.linuxquestions.org/questions/slackware-installation-40/)
-   -   help installing nforce2 driver for enthrnet (https://www.linuxquestions.org/questions/slackware-installation-40/help-installing-nforce2-driver-for-enthrnet-316537/)

kreb 04-23-2005 09:16 PM

help installing nforce2 driver for enthrnet
 
hello i have nforc2 2 and i have updated my kernel in slackware 10.1
to 2.6.10
and i cant install the driver
so plz can anybody help plz

gbonvehi 04-24-2005 03:10 AM

What errors are you getting? Are you sure you've the latest drivers (http://www.nvidia.com/object/linux_nforce_1.0-0301.html)?

kreb 04-24-2005 06:53 AM

yes it sais it cant craete kernel moduals

gbonvehi 04-24-2005 11:29 AM

Does the error says something else? Like what's causing it?
Also you can try reading here on how to install it (maybe you missed a step or something): http://download.nvidia.com/XFree86/n...easeNotes.html

kreb 04-24-2005 07:36 PM

no i read that guide but its the same thing cannot create kernel modules

gbonvehi 04-24-2005 10:36 PM

I repeat, does it says something else than "cannot create kernel modules"? I ask this because the more details you give, the easier is for us to know the root of the problem, there can be at leaste 100 reasons where a kernel can't be compiled.
How did you upgraded your kernel? Using a package or compiling it yourself?

kreb 04-25-2005 03:08 AM

by this guide

This is a detailed guide to compiling a new kernel version 2.6.10 under a fresh install of Slackware 10.1.

I enjoyed DaOne's little guide and am grateful for his contribution. However, as the total noob I am, in my first kernel compiling experiences I still missed some points I believe some other noobs as me may miss to successfully compiling their new kernel. I am therefore releasing this first 'acid guide' hoping to help out someone, as I was helped by DaOne and various posts' around here. Please do feel free to leave comments on any suggestions / mistakes that you have found in this guide. Forums are all made of this, sharing.

General note: I try and keep this Post #1 updated all the time so that there's no need to go through all the inevitable posts with such a topic. However, feel free to read on and give your own feedbacks.

Now for the guide part. For the purpose of this guide, I'll use version 2.6.10 which at the moment of this writing is the latest kernel release.

Note: even though strictly not necessary, if you are doing a fresh install of Slackware I recommend updating the kernel prior doing anything else, on the first boot after installing Slack (i.e. even before you get the X server configured and running). This is useful since many compiles do rely on the current version of kernel and may need to be reinstalled when upgrading it (for instance, NVIDIA drivers need to be reinstalled after a kernel upgrade).

The following are my recommended points to follow. Definitely not exhaustive. One last thing: this worked for me. It doesn't mean that it will work for you. Upgrading a kernel may result in the total mess up of your system (this sound scary: it is however a normal operation done by most linux users; it is here to ensure you are aware of what you are doing).

Before you begin, download the necessary files and save them to /etc/src:

1. Get the kernel 2.6.10 sources
Slackware 10.1 comes with kernel 2.4.29. You therefore need to download the full sources of the new kernel. You can get them here: linux-2.6.10.tar.bz2 (35MB). This is the .bz2 file format, which is more compressed than the tar.gz one.

2. Get a valid kernel 2.6.10 configuration file
At a certain point you will have to configure your kernel. You may start off with a fresh configuration, however I recommend getting a good starting point by downloading Patrick's excellent configuration file: config-2.6.10.

Now let's start the operations. Let's move into the /usr/src directory (where you have put the two files here above) and decompress the kernel 2.6.10 source code:
code: # cd /usr/src
/usr/src# tar xjvf linux-2.6.10.tar.bz2

The Kernel 2.6.10 source code will now be found into the directory /usr/src/linux-2.6.10.

Note: as per Linus Tovalds, there's a philosophy that if it doesn't have to be done as root it shouldn't be, in order to reduce error / hacking risks. You may consider compiling the kernel on your local home directory and then su to root to move the compiled files. However, I somewhat tend to believe that having a symbolic link /usr/src/linux to /usr/src/kernel-2.6.10 might be needed by some applications / installs that look for the kernel source, and therefore the fastest / easiest way to proceed is as described here below. If you didn't understand a single word of this, you may just as well ignore this note.

Now, delete the symbolic link 'linux' that is under /usr/src and which points to the old kernel source directory and recreate it to point to the new directory:
code: /usr/src# rm linux
/usr/src# ln -s linux-2.6.10 linux

Now the symbolic link 'linux' points to the new kernel source directory.

Move into the directory linux:
code: /usr/src# cd linux

Prepare the compiling by removing all eventual precedent files (which you shouldn't have since this is your first compiling, isn't it?) :)
code: /usr/src/linux# make mrproper

Now let's start configuring the kernel. There are several tools around, I prefer menuconfig. Start it up:
code: /usr/src/linux# make menuconfig

You may now start configuring from scratch, however as I already explained I believe that it is better to load Patrick's configuration file and build on it. In the configuration window, choose the option 'Load an alternate file', an type /usr/src/config-2.6.10 in the box, then click 'ok'. You have now loaded a proper startup configuration file.

Here things can get tricky, since the options that you set here must build the kernel according to the system you are running linux on. Read all available help and be sure to have the correct settings.

Personally, I setup these three additional things:

1. I have an AMD64 processor, therefore under the processors section I select 'AMD64' and leave 'PC-compatible' as architecture.

2. I use SATA disks, therefore I must ensure that these disks are understood by the kernel at boot time or it will not be able to read from it and I would experience a 'Kernel panic' error. To enable SATA support, under Device drivers->SCSI device support I ensure that I have 'SCSI disk' and 'SCSI generic' selected <*> and not loaded in modules [M]. Also, under SCSI Low Level Drivers, I make sure that 'Serial ATA' is <*>, and I ensure that my chipset support is also enabled here (I enabled NVIDIA chipset support since I have a NFORCE one). This is all done since at boot time modules are not loaded yet, therefore I can't have this support on modules (or, as explained, I wouldn't be able to boot).

3. Also, since I've formatted my disks using ReiserFS, I also want to be sure that at boot time the Kernel is able to read from them. To do so, under File systems I enable Reiserfs support <*>.

Thank you db391 for these clues.

4. I have a PS2 mouse, therefore i ensure that under Device Drivers I select all the necessary PS2 and serial port support otherwise my mouse will not work.

5. Finally, I enable ALSA support to allow for my sound card configuration and I ensure to select the driver for my card (SoundBlaster). You may consider in setting this as module <M> instead of compiled into the kernel <*>.

If you do believe that you need to make additional changes, do so. Otherwise, quit and, when prompted, save the file leaving the .config name as it is by default. You have now configured your kernel.

Now, it's time to build the compressed kernel image using the command:
code: /usr/src/linux# make -j5 bzImage

You'll have to wait some time here depending on your machine's speed.

After a certain time it will finish, and you will have the kernel image into the directory /usr/src/linux/arch/i386/boot/ (do not browse there for now, stay into the /usr/src/linux directory).

Now let's proceed with compiling and the install of the modules by issuing these 2 commands:
code: /usr/src/linux# make -j5 modules
/usr/src/linux# make modules_install

This will take longer, and the modules will be installed into /lib/modules/**kernel version here**.

We will now create a new boot entry for LILO, so that you can boot in your new kernel but keeping the old kernel still available.

First, we need to put the freshly generated System.map, .config and the compiled kernel image bzImage into the /boot/ directory.

To do so:
code: /usr/src/linux# mv System.map /boot/System.map-2.6.10
/usr/src/linux# mv .config /boot/config-2.6.10
/usr/src/linux# mv /usr/src/linux/arch/i386/boot/bzImage /boot/vmlinuz-2.6.10

Now we need to rename the old kernel image (why we do this will become clear when we recreate the virtual links):
code: /usr/src/linux# mv /boot/vmlinuz /boot/vmlinuz-old

Now let's create the new LILO entry, modifying its config file (lilo.conf). Open this file in pico, a very simple text editor:
code: /usr/src/linux# pico /etc/lilo.conf

Note on pico: as per XavierP post here below, pico is only installed if PINE is installed. If you selected a full install of Slack, you will have it. If not, you may try using 'nano' instead of 'pico', or use any text editor you may be familiar with.

You will see at the end of the lilo.conf file the Windows entry of your boot option, and then the Linux one. Do not touch the Windows entry. We will modify the existing Linux entry and add a new one so that the last two entries of this file look like this:
code: # Slack NEW begins
image = /boot/vmlinuz-2.6.10
root = /dev/sdb5
label = Slack_2.6.10
read-only
# Slack NEW ends
# Slack OLD begins
image = /boot/vmlinuz-old
root = /dev/sdb5
label = Slack_OLD
read-only
# Slack OLD ends

Important note: please do use the appropriate root disk instead of the example /dev/sdb5 which is the partition that I use in my system.

Quit pico by pressing Ctrl-X and say yes to save the file, leave default name unchanged (lilo.conf).

Now, let's activate these changes by running lilo:
code: /usr/src/linux# lilo


------------------ Optional Step ------------------

If you wish, you may remove the existing symbolic links to the old kernel files:
code: /usr/src/linux# cd /boot
/boot# rm System.map
/boot# rm config
/boot# rm vmlinuz

We can now add the links to the new files:
code: /boot# ln -s System.map-2.6.10 System.map
/boot# ln -s config-2.6.10 config
/boot# ln -s vmlinuz-2.6.10 vmlinuz

Now these symlinks will point directly to the new compiled files.

-------------- End of Optional Step -------------


We're almost done. Since kernel version 2.6.xx, the file modules.conf is now substituted by the file modprobe.conf, which you normally shouldn't have already, or if you do, it might just as well be empty.

to see if you have it or if it is empty, type:
code: /boot# pico /etc/modprobe.conf

and see if the file contains something. Exit pico, typing Ctrl-X. If the file doesn't contain anything, delete it:
code: /boot# rm /etc/modprobe.conf

(If you receive an error it is simply because you didn't have the file in the first place).

Now let's create a good file from the new kernel:
code: /boot# generate-modprobe.conf /etc/modprobe.conf

Final step, ensure that you have a /sys directory. If you do not have, create one with
code: mkdir /sys

You may now reboot, and at boot select the Slack_2.6.10 option from LILO.

Enjoy.

kreb 04-26-2005 02:22 AM

ERROR: The NVIDIA kernel module was not created.
ERROR: Installation of the network driver has failed. Please see the file
'/var/log/nvidia-nforce-installer.log' for details. You may find suggestions
on fixing installation problems in the README available on the Linux driver
download page at www.nvidia.com.

ok this are the errors that i get

gbonvehi 04-26-2005 06:53 AM

Cool, and what '/var/log/nvidia-nforce-installer.log' says?

kreb 04-26-2005 06:58 PM

nforce-installer log file '/var/log/nvidia-nforce-installer.log'
creation time: Tue Apr 26 10:16:54 2005

option status:
license pre-accepted : false
expert : false
uninstall : false
driver info : false
no precompiled interface : false
no ncurses color : false
no questions : false
silent : false
Installer install prefix : /usr
kernel source path : (not specified)
net kernel install path : (not specified)
audio kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp

Using: nvidia-installer ncurses user interface
-> Found package NVIDIA network driver for Linux-x86
-> Found package NVIDIA audio driver for Linux-x86
-> Please select packages for installation:
Selections:
NVIDIA network driver for Linux-x86 (1.0-11)
NVIDIA audio driver for Linux-x86 (1.0-2)
-> Starting install of NVIDIA network driver for Linux-x86
-> Checking for loaded module nvnet
-> Checking for loaded module forcedeth
-> License accepted.
-> Skipping check for conflicting rpms.
-> /proc/version is Linux version 2.6.10 (root@darkstar) (gcc version 3.3.4) #1
SMP Sat Apr 23 22:29:53 IDT 2005
-> No precompiled kernel interface was found to match your kernel; this means
that the installer will need to compile a new kernel interface.
-> Kernel source path: '/lib/modules/2.6.10/source'
-> Kernel output path: '/lib/modules/2.6.10/build'
-> Performing cc_version_check with CC="cc".
-> running command /usr/bin/grep "^PATCHLEVEL ="
/lib/modules/2.6.10/source/Makefile | /usr/bin/cut -d " " -f 3
-> Kernel module filename is nvnet.ko
Cleaning kernel module build directory.
executing: 'cd ./nvnet; make clean'...
rm -f *.ko *mod.* *.cmd nvenet.o nvenetif.o nvnet.o *~ core
-> Building kernel module:
executing: 'cd ./nvnet; make module SYSSRC=/lib/modules/2.6.10/source SYSOUT
=/lib/modules/2.6.10/build'...
make -C /lib/modules/2.6.10/build \
KBUILD_SRC=/usr/src/linux-2.6.10 KBUILD_VERBOSE=1 \
KBUILD_CHECK= KBUILD_EXTMOD="/tmp/selfgz3854/NFORCE-Linux-x86-1.0-0301-pkg1/
nvnet" \
-f /usr/src/linux-2.6.10/Makefile modules
/usr/src/linux-2.6.10/Makefile:484: .config: No such file or directory
mkdir -p /tmp/selfgz3854/NFORCE-Linux-x86-1.0-0301-pkg1/nvnet/.tmp_versions
make -f /usr/src/linux-2.6.10/scripts/Makefile.build obj=/tmp/selfgz3854/NFO
RCE-Linux-x86-1.0-0301-pkg1/nvnet
cc -Wp,-MD,/tmp/selfgz3854/NFORCE-Linux-x86-1.0-0301-pkg1/nvnet/.nvenet.o.
d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/sr
c/linux-2.6.10/include -I/tmp/selfgz3854/NFORCE-Linux-x86-1.0-0301-pkg1/nvn
et -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common
-O2 -fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2 -I/
usr/src/linux-2.6.10/include/asm-i386/mach-default -Iinclude/asm-i386/mach-d
efault -DDRIVERVER=\"9999\" -I/tmp/selfgz3854/NFORCE-Linux-x86-1.0-0301-pkg
1/nv
net -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wpar
entheses -Wpointer-arith -Wno-multichar -Werror -O -MD -Wno-cast-qual -Wno-e
rror -DMODULE -DKBUILD_BASENAME=nvenet -DKBUILD_MODNAME=nvnet -c -o /tmp/sel
fgz3854/NFORCE-Linux-x86-1.0-0301-pkg1/nvnet/nvenet.o /tmp/selfgz3854/NFORCE
-Linux-x86-1.0-0301-pkg1/nvnet/nvenet.c
In file included from include/linux/list.h:7,
from include/linux/wait.h:23,
from include/asm/semaphore.h:41,
from include/linux/sched.h:18,
from include/linux/module.h:10,
from /tmp/selfgz3854/NFORCE-Linux-x86-1.0-0301-pkg1/nvnet/n
venet.h:20,
from /tmp/selfgz3854/NFORCE-Linux-x86-1.0-0301-pkg1/nvnet/n
venet.c:22:
include/linux/prefetch.h: In function `prefetch_range':
include/linux/prefetch.h:62: warning: pointer of type `void *' used in arith
metic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:837,
from /tmp/selfgz3854/NFORCE-Linux-x86-1.0-0301-pkg1/nvnet/n
venet.h:32,
from /tmp/selfgz3854/NFORCE-Linux-x86-1.0-0301-pkg1/nvnet/n
venet.c:22:
include/asm/io.h: In function `check_signature':
include/asm/io.h:242: warning: wrong type argument to increment
ld -m elf_i386 -d -r -o /tmp/selfgz3854/NFORCE-Linux-x86-1.0-0301-pkg1/nvn
et/nvnet.o /tmp/selfgz3854/NFORCE-Linux-x86-1.0-0301-pkg1/nvnet/nvenetlib.o
/tmp/selfgz3854/NFORCE-Linux-x86-1.0-0301-pkg1/nvnet/nvenet.o
Building modules, stage 2.
make -rR -f /usr/src/linux-2.6.10/scripts/Makefile.modpost
/usr/src/linux-2.6.10/scripts/Makefile.modpost:38: .config: No such file or
directory
make[4]: *** No rule to make target `.config'. Stop.
make[3]: *** [modules] Error 2
make[2]: *** [modules] Error 2
-> Error.
ERROR: The NVIDIA kernel module was not created.
ERROR: Installation of the network driver has failed. Please see the file
'/var/log/nvidia-nforce-installer.log' for details. You may find
suggestions on fixing installation problems in the README available on
the Linux driver download page at www.nvidia.com.
-> Starting install of NVIDIA audio driver for Linux-x86
-> Checking for loaded module nvsound
-> Checking for loaded module nvaudio
-> License accepted.
-> Skipping check for conflicting rpms.
-> /proc/version is Linux version 2.6.10 (root@darkstar) (gcc version 3.3.4) #1
SMP Sat Apr 23 22:29:53 IDT 2005
-> No precompiled kernel interface was found to match your kernel; this means
that the installer will need to compile a new kernel interface.
-> Using the kernel source path '/lib/modules/2.6.10/source' as specified by
the '--kernel-source-path' commandline option.
-> Kernel source path: '/lib/modules/2.6.10/source'
-> Using the kernel output path '/lib/modules/2.6.10/build' as specified by the
'--kernel-output-path' commandline option.
-> Kernel output path: '/lib/modules/2.6.10/build'
-> Performing cc_version_check with CC="cc".
-> running command /usr/bin/grep "^PATCHLEVEL ="
/lib/modules/2.6.10/source/Makefile | /usr/bin/cut -d " " -f 3
-> Kernel module filename is nvsound.ko
Cleaning kernel module build directory.
executing: 'cd ./nvsound/main; make clean'...
rm -f *.ko *mod.* *.cmd nv*.o *~ core
-> Building kernel module:
executing: 'cd ./nvsound/main; make module SYSSRC=/lib/modules/2.6.10/source
SYSOUT=/lib/modules/2.6.10/build'...
make -C /lib/modules/2.6.10/build \
KBUILD_SRC=/usr/src/linux-2.6.10 KBUILD_VERBOSE=1 \
KBUILD_CHECK= KBUILD_EXTMOD="/tmp/selfgz3854/NFORCE-Linux-x86-1.0-0301-pkg1/
nvsound/main" \
-f /usr/src/linux-2.6.10/Makefile modules
/usr/src/linux-2.6.10/Makefile:484: .config: No such file or directory
mkdir -p /tmp/selfgz3854/NFORCE-Linux-x86-1.0-0301-pkg1/nvsound/main/.tmp_ve
rsions
make -f /usr/src/linux-2.6.10/scripts/Makefile.build obj=/tmp/selfgz3854/NFO
RCE-Linux-x86-1.0-0301-pkg1/nvsound/main
cc -Wp,-MD,/tmp/selfgz3854/NFORCE-Linux-x86-1.0-0301-pkg1/nvsound/main/.nv
alinux.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Iinclude2
-I/usr/src/linux-2.6.10/include -I/tmp/selfgz3854/NFORCE-Linux-x86-1.0-0301
-pkg1/nvsound/main -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-alia
sing -fno-common -O2 -fomit-frame-pointer -pipe -msoft-float -mpreferred-sta
ck-boundary=2 -I/usr/src/linux-2.6.10/include/asm-i386/mach-default -Iinclud
e/asm-i386/mach-default -I/tmp/selfgz3854/NFORCE-Linux-x86-
1.0-0301-pkg1/nvsound/main -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat
-Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -M
D -Wno-cast-qual -Wno-error -DNV_REMAP_PFN_RANGE_PRESENT -DMODULE -DKBUILD_B
ASENAME=nvalinux -DKBUILD_MODNAME=nvsound -c -o /tmp/selfgz3854/NFORCE-Linux
-x86-1.0-0301-pkg1/nvsound/main/nvalinux.o /tmp/selfgz3854/NFORCE-Linux-x86-
1.0-0301-pkg1/nvsound/main/nvalinux.c
In file included from include/linux/list.h:7,
from include/linux/wait.h:23,
from include/asm/semaphore.h:41,
from include/linux/sched.h:18,
from include/linux/module.h:10,
from /tmp/selfgz3854/NFORCE-Linux-x86-1.0-0301-pkg1/nvsound
/main/nvalinux.c:19:
include/linux/prefetch.h: In function `prefetch_range':
include/linux/prefetch.h:62: warning: pointer of type `void *' used in arith
metic
In file included from /tmp/selfgz3854/NFORCE-Linux-x86-1.0-0301-pkg1/nvsound
/main/nvalinux.c:24:
include/asm/io.h: In function `check_signature':
include/asm/io.h:242: warning: wrong type argument to increment
cc -Wp,-MD,/tmp/selfgz3854/NFORCE-Linux-x86-1.0-0301-pkg1/nvsound/main/.nv
mixer.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Iinclude2 -
I/usr/src/linux-2.6.10/include -I/tmp/selfgz3854/NFORCE-Linux-x86-1.0-0301-
pkg1/nvsound/main -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-alias
ing -fno-common -O2 -fomit-frame-pointer -pipe -msoft-float -mpreferred-stac
k-boundary=2 -I/usr/src/linux-2.6.10/include/asm-i386/mach-default -Iinclude
/asm-i386/mach-default -I/tmp/selfgz3854/NFORCE-Linux-x86-1.0-0301-pkg1/nvs
ound/main -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts
-Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -MD -Wno-cast-qual -
Wno-error -DNV_REMAP_PFN_RANGE_PRESENT -DMODULE -DKBUILD_BASENAME=nvmixer -D
KBUILD_MODNAME=nvsound -c -o /tmp/selfgz3854/NFORCE-Linux-x86-1.0-0301-pkg1/
nvsound/main/nvmixer.o /tmp/selfgz3854/NFORCE-Linux-x86-1.0-0301-pkg1/nvsoun
d/main/nvmixer.c
In file included from include/linux/list.h:7,
from include/linux/wait.h:23,
from include/asm/semaphore.h:41,
from include/linux/sched.h:18,
from /tmp/selfgz3854/NFORCE-Linux-x86-1.0-0301-pkg1/nvsound
/main/nvhw.h:16,
from /tmp/selfgz3854/NFORCE-Linux-x86-1.0-0301-pkg1/nvsound
/main/nvmixer.c:14:
include/linux/prefetch.h: In function `prefetch_range':
include/linux/prefetch.h:62: warning: pointer of type `void *' used in arith
metic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:837,
from /tmp/selfgz3854/NFORCE-Linux-x86-1.0-0301-pkg1/nvsound
/main/nvhw.h:22,
from /tmp/selfgz3854/NFORCE-Linux-x86-1.0-0301-pkg1/nvsound
/main/nvmixer.c:14:
include/asm/io.h: In function `check_signature':
include/asm/io.h:242: warning: wrong type argument to increment
cc -Wp,-MD,/tmp/selfgz3854/NFORCE-Linux-x86-1.0-0301-pkg1/nvsound/main/.nv
main.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Iinclude2 -I
/usr/src/linux-2.6.10/include -I/tmp/selfgz3854/NFORCE-Linux-x86-1.0-0301-p
kg1/nvsound/main -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasi
ng -fno-common -O2 -fomit-frame-pointer -pipe -msoft-float -mpreferred-stack
-boundary=2 -I/usr/src/linux-2.6.10/include/asm-i386/mach-default -Iinclude/
asm-i386/mach-default -I/tmp/selfgz3854/NFORCE-Linux-x86-1.0-0301-pkg1/nvso
und/main -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts
-Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -MD -Wno-cast-qual -
Wno-error -DNV_REMAP_PFN_RANGE_PRESENT -DMODULE -DKBUILD_BASENAME=nvmain -DK
BUILD_MODNAME=nvsound -c -o /tmp/selfgz3854/NFORCE-Linux-x86-1.0-0301-pkg1/n
vsound/main/nvmain.o /tmp/selfgz3854/NFORCE-Linux-x86-1.0-0301-pkg1/nvsound/
main/nvmain.c
In file included from include/linux/list.h:7,
from include/linux/wait.h:23,
from include/asm/semaphore.h:41,
from include/linux/sched.h:18,
from include/linux/module.h:10,
from /tmp/selfgz3854/NFORCE-Linux-x86-1.0-0301-pkg1/nvsound
/main/nvmain.c:12:
include/linux/prefetch.h: In function `prefetch_range':
include/linux/prefetch.h:62: warning: pointer of type `void *' used in arith
metic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:837,
from /tmp/selfgz3854/NFORCE-Linux-x86-1.0-0301-pkg1/nvsound
/main/nvhw.h:22,
from /tmp/selfgz3854/NFORCE-Linux-x86-1.0-0301-pkg1/nvsound
/main/nvmain.c:14:
include/asm/io.h: In function `check_signature':
include/asm/io.h:242: warning: wrong type argument to increment
ld -m elf_i386 -d -r -o /tmp/selfgz3854/NFORCE-Linux-x86-1.0-0301-pkg1/nvs
ound/main/nvsound.o /tmp/selfgz3854/NFORCE-Linux-x86-1.0-0301-pkg1/nvsound/m
ain/mcpmain.o /tmp/selfgz3854/NFORCE-Linux-x86-1.0-0301-pkg1/nvsound/main/nv
alinux.o /tmp/selfgz3854/NFORCE-Linux-x86-1.0-0301-pkg1/nvsound/main/nvmixer
.o /tmp/selfgz3854/NFORCE-Linux-x86-1.0-0301-pkg1/nvsound/main/nvmain
.o
Building modules, stage 2.
make -rR -f /usr/src/linux-2.6.10/scripts/Makefile.modpost
/usr/src/linux-2.6.10/scripts/Makefile.modpost:38: .config: No such file or
directory
make[4]: *** No rule to make target `.config'. Stop.
make[3]: *** [modules] Error 2
make[2]: *** [modules] Error 2
-> Error.
ERROR: The NVIDIA kernel module was not created.
ERROR: Installation of the audio driver has failed. Please see the file
'/var/log/nvidia-nforce-installer.log' for details. You may find
suggestions on fixing installation problems in the README available on
the Linux driver download page at www.nvidia.com.

gbonvehi 04-26-2005 09:49 PM

It seems it's complaining because you don't have a .config file ( "/usr/src/linux-2.6.10/Makefile:484: .config: No such file or directory") of your kernel in your kernel sources. Do you have a copy of it at /boot? If so copy it to /usr/src/linux-2.6.10/ and name it .config.

kreb 04-27-2005 01:20 PM

i dont have a copy of it in ./boot so what can i do?

gbonvehi 04-27-2005 01:57 PM

Here: http://ftp.scarlet.be/pub/slackware/.../config-2.6.10
Download it, and put it in your /usr/src/linux-2.6.10/ directory and rename it to .config

kreb 04-27-2005 10:52 PM

thx it helpd but it still dosent find my enthrnet card
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

gbonvehi 04-28-2005 12:01 AM

So they installed fine? Great, however, I remember there's some extra stuff you need to do (add some lines to a file) to load nvidia drivers. I don't own a nforce card so I don't know, but i'm sure it's explained with the drivers readme (could also be at nvidia's page).
If you can't come up with nothing, search this forum or ask this in Slackware isntead of Slackware Install.

Edit: I had some time while drinking some mates and took the liberty to check: http://download.nvidia.com/XFree86/n...00000000000000

Quote:

Add the following line to the configuration file:

alias eth0 nvnet

The configuration file is /etc/modprobe.conf

And for sound in the same file add:
alias sound-slot-0 nvsound
alias snd-card-0 nvsound

kreb 04-28-2005 06:18 AM

ok thx
i am sorry i am so lame :\
but the config file i s empty
and i add the lines that you talld me but
it still dosent work

gbonvehi 04-28-2005 09:53 AM

I'm out of ideas then :(
You can try asking in the nvidia forum: http://www.nvnews.net/vbulletin/foru...?s=&forumid=14

kreb 04-28-2005 06:12 PM

ok thx anyway


All times are GMT -5. The time now is 04:05 PM.