SlackwareThis 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.
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.
Before I attempted to upgrade I was at the standard Slackware 10.1, 2.4.29 kernel.
I followed this guide: http://www.linuxquestions.org/questi...icle&artid=408
word for word, and did everything like the guide says.
Then I reboot slack, all seems to be going well. I get to the login prompt. Login. Next, I attempt to start X. And I get error that says that it can't find the nvidia kernel module, it fails to load. And then spurts out a line about /dev/null Permission denied. (Sorry I don't have the log file.. I can go back to 2.6.10 and run startx and get the log if need be.)
So figuring that since I just installed a new kernel, I thought I might have to reinstall my NVIDIA driver. No problem I say. sh NVIDIA-blahblah.. Was the 7664 pakage if you need to know. And I get this. =/
Code:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Thu Jun 9 22:46:10 2005
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 : true
no questions : false
silent : false
no backup : false
kernel module only : false
sanity : false
add this kernel : false
no runlevel check : false
no network : false
no ABI note : false
no RPMs : false
force tls : (not specified)
force compat32 tls : (not specified)
X install prefix : /usr/X11R6
OpenGL install prefix : /usr
compat32 install prefix : (not specified)
installer install prefix: /usr
utility install prefix : /usr
kernel name : (not specified)
kernel include path : (not specified)
kernel source path : (not specified)
kernel output path : (not specified)
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp
ftp mirror : ftp://download.nvidia.com
RPM file list : (not specified)
Using: nvidia-installer ncurses user interface
-> License accepted.
-> There appears to already be a driver installed on your system (version: 1.0-
7174). As part of installing this driver (version: 1.0-7664), the existing
driver will be uninstalled. Are you sure you want to continue? ('no' will a
bort installation) (Answer: Yes)
-> No precompiled kernel interface was found to match your kernel; would you li
ke the installer to attempt to download a kernel interface for your kernel f
rom 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.10/source'
-> Performing CC test with CC="cc".
-> Performing rivafb check.
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
rm -f -f nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv.o nv-vm.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 *~
rm -f -rf .tmp_versions
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.10/source S
YSOUT=/lib/modules/2.6.10/build'...
NVIDIA: calling KBUILD...
make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.10/build KBUILD_VERBOSE=1 -C /lib/
modules/2.6.10/source SUBDIRS=/tmp/selfgz9363/NVIDIA-Linux-x86-1.0-7664-pkg1
/usr/src/nv modules
make -C /lib/modules/2.6.10/build \
KBUILD_SRC=/usr/src/linux-2.6.10 KBUILD_VERBOSE=1 \
KBUILD_CHECK= KBUILD_EXTMOD="/tmp/selfgz9363/NVIDIA-Linux-x86-1.0-7664-pkg1/
usr/src/nv" \
-f /usr/src/linux-2.6.10/Makefile modules
/usr/src/linux-2.6.10/Makefile:484: .config: No such file or directory
cat: /dev/null: No such file or directory
mkdir -p /tmp/selfgz9363/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv/.tmp_vers
ions
cat: /dev/null: No such file or directory
cat: /dev/null: No such file or directory
make -f /usr/src/linux-2.6.10/scripts/Makefile.build obj=/tmp/selfgz9363/NVI
DIA-Linux-x86-1.0-7664-pkg1/usr/src/nv
cat: /dev/null: No such file or directory
cat: /dev/null: No such file or directory
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz9363/NVI
DIA-Linux-x86-1.0-7664-pkg1/usr/src/nv/nv_compiler.h
cc -Wp,-MD,/tmp/selfgz9363/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv/.nv.o
.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/s
rc/linux-2.6.10/include -I/tmp/selfgz9363/NVIDIA-Linux-x86-1.0-7664-pkg1/us
r/src/nv -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-
common -O2 -fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundar
y=2 -I/usr/src/linux-2.6.10/include/asm-i386/mach-default -Iinclude/asm-i386
/mach-default -I/tmp/selfgz9363/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv -
Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparenthe
ses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -MD -Wsign-compare
-Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM
-D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION
=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=7664 -UDEBUG -U_DEBUG -DNDEBUG -DNV_
SIGNAL_STRUCT_RLIM -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESEN
T -DNV_PCI_DISABLE
_DEVICE_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_VMAP_4_PRESENT -DMODULE -DKB
UILD_BASENAME=nv -DKBUILD_MODNAME=nvidia -c -o /tmp/selfgz9363/NVIDIA-Linux-
x86-1.0-7664-pkg1/usr/src/nv/nv.o /tmp/selfgz9363/NVIDIA-Linux-x86-1.0-7664-
pkg1/usr/src/nv/nv.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/selfgz9363/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src
/nv/nv-linux.h:46,
from /tmp/selfgz9363/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src
/nv/nv.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/selfgz9363/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src
/nv/nv-linux.h:69,
from /tmp/selfgz9363/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src
/nv/nv.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/selfgz9363/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv/.nv-v
m.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Iinclude2 -I/us
r/src/linux-2.6.10/include -I/tmp/selfgz9363/NVIDIA-Linux-x86-1.0-7664-pkg1
/usr/src/nv -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -f
no-common -O2 -fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boun
dary=2 -I/usr/src/linux-2.6.10/include/asm-i386/mach-default -Iinclude/asm-i
386/mach-default -I/tmp/selfgz9363/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/n
v -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparen
theses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -MD -Wsign-comp
are -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -D
NTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VE
RSION=1
-DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=7664 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SI
GNAL_STRUCT_RLIM -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT
-DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_VMAP_4_PRESE
NT -DMODULE -DKBUILD_BASENAME=nv_vm -DKBUILD_MODNAME=nvidia -c -o /tmp/selfg
z9363/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv/nv-vm.o /tmp/selfgz9363/NVID
IA-Linux-x86-1.0-7664-pkg1/usr/src/nv/nv-vm.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/selfgz9363/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src
/nv/nv-linux.h:46,
from /tmp/selfgz9363/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src
/nv/nv-vm.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/selfgz9363/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src
/nv/nv-linux.h:69,
from /tmp/selfgz9363/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src
/nv/nv-vm.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/selfgz9363/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv/.os-a
gp.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Iinclude2 -I/u
sr/src/linux-2.6.10/include -I/tmp/selfgz9363/NVIDIA-Linux-x86-1.0-7664-pkg
1/usr/src/nv -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -
fno-common -O2 -fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-bou
ndary=2 -I/usr/src/linux-2.6.10/include/asm-i386/mach-default -Iinclude/asm-
i386/mach-default -I/tmp/selfgz9363/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/
nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wpare
ntheses -Wpointer-arith -Wno-multichar -Werror -O -f
no-common -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES
-D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL_
_ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=7664 -U
DEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_REMAP_PFN_RANGE_PRESENT
-DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_PCI_GET_C
LASS_PRESENT -DNV_VMAP_4_PRESENT -DMODULE -DKBUILD_BASENAME=os_agp -DKBUILD_
MODNAME=nvidia -c -o /tmp/selfgz9363/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/
nv/os-agp.o /tmp/selfgz9363/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv/os-agp
.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/selfgz9363/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src
/nv/nv-linux.h:46,
from /tmp/selfgz9363/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src
/nv/os-agp.c:24:
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/selfgz9363/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src
/nv/nv-linux.h:69,
from /tmp/selfgz9363/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src
/nv/os-agp.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/selfgz9363/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv/.os-i
nterface.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Iinclude
2 -I/usr/src/linux-2.6.10/include -I/tmp/selfgz9363/NVIDIA-Linux-x86-1.0-76
64-pkg1/usr/src/nv -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/selfgz9363/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv -Wall
-Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -
Wpointer-arith -Wno-multichar -Werror -O -fno-common -MD -Wsign-compare -Wno
-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_
GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1
-DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=7664 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIG
NAL_STRUCT_RLIM -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -
DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_VMAP_4_PRESEN
T -DMODULE -DKBUILD_BASENAME=os_interface -DKBUILD_MODNAME=nvidia -c -o /tmp
/selfgz9363/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv/os-interface.o /tmp/se
lfgz9363/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv/os-interface.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/selfgz9363/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src
/nv/nv-linux.h:46,
from /tmp/selfgz9363/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src
/nv/os-interface.c:26:
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/selfgz9363/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src
/nv/nv-linux.h:69,
from /tmp/selfgz9363/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src
/nv/os-interface.c:26:
include/asm/io.h: In function `check_signature':
include/asm/io.h:242: warning: wrong type argument to increment
cc -Wp,-MD,/tmp/selfgz9363/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv/.os-r
egistry.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Iinclude2
-I/usr/src/linux-2.6.10/include -I/tmp/selfgz9363/NVIDIA-Linux-x86-1.0-7664
-pkg1/usr/src/nv -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/selfgz9363/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/
src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -W
parentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -MD -Wsign
-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODU
LE -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJ
OR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=7664 -UDEBUG -U_DEBUG -DND
EBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_A
TTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_
VMAP_4_PRESENT -DMODULE -DKBUILD_BASENAME=os_registry -DKBUILD_MODNAME=nvidi
a -c -o /tmp/selfgz9363/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv/os-registr
y.o /tmp/selfgz9363/NVIDIA-Linux-x86-1.0-7664-pkg1/us
r/src/nv/os-registry.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/selfgz9363/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src
/nv/nv-linux.h:46,
from /tmp/selfgz9363/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src
/nv/os-registry.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/selfgz9363/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src
/nv/nv-linux.h:69,
from /tmp/selfgz9363/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src
/nv/os-registry.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 -r -o /tmp/selfgz9363/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/s
rc/nv/nvidia.o /tmp/selfgz9363/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv/nv-
kernel.o /tmp/selfgz9363/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv/nv.o /tmp
/selfgz9363/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv/nv-vm.o /tmp/selfgz936
3/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv/os-agp.o /tmp/selfgz9363/NVIDIA-
Linux-x86-1.0-7664-pkg1/usr/src/nv/os-interface.o /tmp/selfgz9363/NVIDIA-Lin
ux-x86-1.0-7664-pkg1/usr/src/nv/os-registry.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
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2
-> Error.
ERROR: Unable to build the NVIDIA kernel module.
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.
Now, this isn't the only thing that seems to be broken. alsa sound is broken too, fbsetbg is also broken. Those are just the things I've tried so far. Anyone have any ideas on how to fix this? I'd really hate to have to reinstall Linux for something like this.
Thanks in advance.
you should know enough your software to compile successfully a kernel so you don't make mistakes if some options are forgotten by make oldconfig or anything like that assuming you are not doing make menuconfig...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.