Where is Slackware Kernel Source?
Dear All,
I installed Slackware 9.1 from a single CD image. I am currently poking around with my nVIDIA GeForce 4 graphics card to get the greatest resolutions available to my system, and I think I've come to the point at which I have to recompile my kernel to get any further. When I ran NVIDIA-Linux-x86-1.0-5336-pkg1.run, it wasn't able to find my kernel source code. Where is, or where can I get, this source code? Thanks. - Ben |
On my Slack 9.1 it was on Disc 1 in
/slackware/k/kernel-source-2.4.22-noarch-3.tgz You could also download it from www.kernel.org J |
Slackware Kernel Source
The kernel source is located on CD1 in the /slackware/k/ directory
I've recently done the same install you are attempting so I'll go through it the Smee Way (all this stuff needs to be done as root btw) Code:
mount /mnt/cdrom Code:
cd / now change to the directory where you've got the NVIDIA installer located Code:
sh NVIDIA-I-Can'tRememberthenameofthepackage.run when the install is complete Code:
jed /etc/X11/XF86Config Now, save the XF86Config, log in as a regular user and Code:
startx Luck Smee |
Dear All,
I had no "k" package directory on my slackware CD. I downloaded 2.6.4 source from www.kernel.org and ended up putting the untarred mass under /usr/local/src. Is that a good place to put it? I configured and compiled and made and installed (and frowned a lot) and at last got /usr/local/src/linux-2.6.4/arch/i386/boot/bzImage. It works as a kernel. But it does not solve the nVIDIA problem. That problem speaks volumes, as below: ---NVIDIA-I.LOG--- nvidia-installer log file '/var/log/nvidia-installer.log' creation time: Fri Mar 26 20:55:53 2004 option status: license pre-accepted : false update : false force update : false expert : false uninstall : false driver info : false no precompiled interface: false no ncurses color : false query latest driver ver : false OpenGL header files : false no questions : false silent : false XFree86 install prefix : /usr/X11R6 OpenGL install prefix : /usr Installer install prefix: /usr kernel source path : (not specified) kernel install path : (not specified) proc mount point : /proc ui : (not specified) tmpdir : /tmp ftp site : ftp://download.nvidia.com Using: nvidia-installer ncurses user interface -> License accepted. -> No precompiled kernel interface was found to match your kernel; would you like the installer to attempt to download a kernel interface for your kernel from the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: No) -> 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.4/build' -> Performing cc_version_check with CC="cc". -> Cleaning kernel module build directory. executing: 'cd ./usr/src/nv; make clean'... rm -f -f nv.o os-agp.o os-interface.o os-registry.o nv.o os-agp.o os-interface.o os-registry.o nvidia.mod.o rm -f -f build-in.o nv-linux.o *.d .*.{cmd,flags} rm -f -f nvidia.{o,ko,mod.{o,c}} nv_compiler.h *~ -> Building kernel module: executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.4/build'... CC scripts/empty.o MKELF scripts/elfconfig.h HOSTCC scripts/file2alias.o HOSTCC scripts/modpost.o HOSTCC scripts/sumversion.o HOSTLD scripts/modpost *** Warning: Overriding SUBDIRS on the command line can cause *** inconsistencies CC arch/i386/kernel/asm-offsets.s CHK include/asm-i386/asm_offsets.h echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz360/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv_compiler.h CC [M] /tmp/selfgz360/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.o /tmp/selfgz360/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:1185: warning: initialization from incompatible pointer type CC [M] /tmp/selfgz360/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-agp.o CC [M] /tmp/selfgz360/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-interface.o CC [M] /tmp/selfgz360/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-registry.o LD [M] /tmp/selfgz360/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nvidia.o Building modules, stage 2. MODPOST CC drivers/net/dummy.mod.o LD [M] drivers/net/dummy.ko CC /tmp/selfgz360/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nvidia.mod.o LD [M] /tmp/selfgz360/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nvidia.ko -> done. -> Kernel module compilation complete. ERROR: Unable to load the kernel module 'nvidia.ko'. This is most likely because the kernel module was built using the wrong kernel source files. Please make sure you have installed the kernel source files for your kernel; on Red Hat Linux systems, for example, be sure you have the 'kernel-source' rpm installed. If you know the correct kernel source files are installed, you may specify the kernel source path with the '--kernel-source-path' commandline option. -> Kernel module load error: insmod: QM_MODULES: Function not implemented ERROR: Installation has failed. Please see the file '/var/log/nvidia-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. If this means anything to anyone, let me know. |
do you have module-init-tools installed
|
Dear All,
I feel like this is hand-holding... I apologize and will gladly take any advise as to what documentation I should read before proceding... but I'm willing to bulldoze through it, too. I downloaded module-init-tools-3.0-i486-1.tgz, then gzip -d and tar -xf'd. I ended up with several directories pretending to be sbin, bin, usr, and etc, along with an install directory with a file named doinst.sh and another something-desc. What do I do now? Thank you for your patience. - Ben |
you dont need to extract the file you just need to run installpkg module-init-tools-3.1-i486-1.tgz
|
Dear thewizard20,
Kahplah! Thank you kindly. - Ben |
does the nvidia driver install know for you
|
All times are GMT -5. The time now is 11:32 PM. |