[SOLVED] Slack64 13.1 - X failure + nvidia driver failure
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.
Distribution: Fedora, CentOS, and would like to get back to Gentoo
Posts: 332
Rep:
Slack64 13.1 - X failure + nvidia driver failure
Hi Group,
I installed Slackware64 13.1 with everything except Emacs and KDEI. All appeared right and healthy until configuring X. I performed Xorg -configure and then copied xorg.conf.new to /etc/X11/xorg.conf and /home/user/xorg.conf.
Startx fails.
I've provided shortened/relevant sections from the Xorg.0.log:
Code:
X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
Build Operating System: Slackware 13.1 Slackware Linux Project
Current Operating System: Linux kobayashi 2.6.33.4 #3 SMP Wed May 12 23:13:09 CDT 2010 x86_64
Kernel command line: BOOT_IMAGE=Linux ro root=802 vt.default_utf8=0
Build Date: 05 May 2010 01:59:51AM
Current version of pixman: 0.16.6
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Mar 2 13:13:53 2011
(II) Loader magic: 0x7c0040
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 6.0
X.Org XInput driver : 7.0
X.Org Server Extension : 2.0
(--) using VT number 8
Backtrace:
0: /usr/bin/X (xorg_backtrace+0x28) [0x461c78]
1: /usr/bin/X (0x400000+0x5a799) [0x45a799]
2: /lib64/libpthread.so.0 (0x7ffda17c2000+0xf770) [0x7ffda17d1770]
3: /usr/bin/X (FreeClientResources+0xbe) [0x42ed9e]
4: /usr/bin/X (CloseDownClient+0x60) [0x445ff0]
5: /usr/bin/X (0x400000+0x4b6c8) [0x44b6c8]
6: /usr/bin/X (0x400000+0x2270c) [0x42270c]
7: /lib64/libc.so.6 (__libc_start_main+0xfd) [0x7ffda0601b6d]
8: /usr/bin/X (0x400000+0x222c9) [0x4222c9]
Segmentation fault at address (nil)
Fatal server error:
Caught signal 11 (Segmentation fault). Server aborting
I deleted all xorg.conf files and started X, but the same failure occurs.
So, I thought maybe I need to install the nvdia proprietary drivers for my Nvidia 8800 GTS vidcard.
Download the most recent AMD64 driver and proceeded to execute ./NVIDIA*.run.
I accepted the license and then the driver install failed stating that I don't have a sane compiler environment.
Okay, I grabbed the ver. 13.1 install dvd and did installpkg /mnt/cdrom/slackware64/d/gcc-4.4.4*.txz.
Tried again to install nvidia driver and failed again.
The /var/log/nvidia-installer.log:
Code:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Wed Mar 2 13:03:55 2011
installer version: 1.0.7
PATH: /usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:/bin:/usr/bin
Using: nvidia-installer ncurses user interface
-> License accepted.
-> Installing NVIDIA driver version 173.14.28.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/lib/modules/2.6.33.4/source'
-> Kernel output path: '/lib/modules/2.6.33.4/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.33.4/source
SYSOUT=/lib/modules/2.6.33.4/build'...
NVIDIA: calling KBUILD...
make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.33.4/build KBUILD_VERBOSE=1 -C /li
b/modules/2.6.33.4/source SUBDIRS=/tmp/selfgz2623/NVIDIA-Linux-x86_64-173.14
.28-pkg2/usr/src/nv modules
make -C /lib/modules/2.6.33.4/build \
KBUILD_SRC=/usr/src/linux-2.6.33.4 \
KBUILD_EXTMOD="/tmp/selfgz2623/NVIDIA-Linux-x86_64-173.14.28-pkg2/usr/src/n
v" -f /usr/src/linux-2.6.33.4/Makefile \
modules
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/generated/autoconf.h or include/config/auto.conf are
missing.";\
echo " Run 'make oldconfig && make prepare' on kernel src to fix it
."; \
echo; \
/bin/false)
mkdir -p /tmp/selfgz2623/NVIDIA-Linux-x86_64-173.14.28-pkg2/usr/src/nv/.tmp_
versions ; rm -f /tmp/selfgz2623/NVIDIA-Linux-x86_64-173.14.28-pkg2/usr/src/
nv/.tmp_versions/*
make -f /usr/src/linux-2.6.33.4/scripts/Makefile.build obj=/tmp/selfgz2623/N
VIDIA-Linux-x86_64-173.14.28-pkg2/usr/src/nv
cc -Wp,-MD,/tmp/selfgz2623/NVIDIA-Linux-x86_64-173.14.28-pkg2/usr/src/nv/.
nv.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/4.4.4/inclu
de -I/usr/src/linux-2.6.33.4/arch/x86/include -Iinclude -I/usr/src/linux-2.
6.33.4/include -include include/generated/autoconf.h -I/tmp/selfgz2623/NVI
DIA-Linux-x86_64-173.14.28-pkg2/usr/src/nv -D__KERNEL__ -Wall -Wundef -Wstri
ct-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implic
it-function-declaration -Wno-format-security -fno-delete-null-pointer-checks
-O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -macc
umulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SI
GNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-ss
e -mno-mmx -mno-sse2 -mno-3dnow -fno-omit-frame-pointer -fno-optimize-siblin
g-calls -pg -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-over
flow -fno-dwarf2-cfi-asm -fconserve-stack -I/tmp/selfgz2623/NVIDIA-Linux-x
86_64-173.14
.28-pkg2/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-
subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -mcmodel=ker
nel -mno-red-zone -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__
-DMODULE -DNVRM -DNV_VERSION_STRING=\"173.14.28\" -UDEBUG -U_DEBUG -DNDEBUG
-DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_
MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz2623/NVIDIA-Linux-x86_64-173.1
4.28-pkg2/usr/src/nv/nv.o /tmp/selfgz2623/NVIDIA-Linux-x86_64-173.14.28-pkg2
/usr/src/nv/nv.c
In file included from include/linux/bitops.h:17,
from include/linux/kernel.h:15,
from include/linux/sched.h:54,
from include/linux/utsname.h:35,
from /tmp/selfgz2623/NVIDIA-Linux-x86_64-173.14.28-pkg2/usr
/src/nv/nv-linux.h:25,
from /tmp/selfgz2623/NVIDIA-Linux-x86_64-173.14.28-pkg2/usr
/src/nv/nv.c:13:
/usr/src/linux-2.6.33.4/arch/x86/include/asm/bitops.h: In function 'set_bit'
:
/usr/src/linux-2.6.33.4/arch/x86/include/asm/bitops.h:64: warning: pointer o
f type 'void *' used in arithmetic
/usr/src/linux-2.6.33.4/arch/x86/include/asm/bitops.h: In function 'clear_bi
t':
/usr/src/linux-2.6.33.4/arch/x86/include/asm/bitops.h:102: warning: pointer
of type 'void *' used in arithmetic
/usr/src/linux-2.6.33.4/arch/x86/include/asm/bitops.h: In function 'change_b
it':
/usr/src/linux-2.6.33.4/arch/x86/include/asm/bitops.h:178: warning: pointer
of type 'void *' used in arithmetic
In file included from include/linux/preempt.h:11,
from include/linux/spinlock.h:50,
from include/linux/seqlock.h:29,
from include/linux/time.h:8,
from include/linux/timex.h:56,
from include/linux/sched.h:56,
from include/linux/utsname.h:35,
from /tmp/selfgz2623/NVIDIA-Linux-x86_64-173.14.28-pkg2/usr
/src/nv/nv-linux.h:25,
from /tmp/selfgz2623/NVIDIA-Linux-x86_64-173.14.28-pkg2/usr
/src/nv/nv.c:13:
include/linux/list.h: In function 'list_del':
include/linux/list.h:106: warning: pointer of type 'void *' used in arithmet
ic
include/linux/list.h:107: warning: pointer of type 'void *' used in arithmet
ic
include/linux/list.h: In function 'hlist_del':
include/linux/list.h:579: warning: pointer of type 'void *' used in arithmet
ic
include/linux/list.h:580: warning: pointer of type 'void *' used in arithmet
ic
<<<<Big Snip>>>
pkg2/usr/src/nv/nvidia.ko;) > /tmp/selfgz2623/NVIDIA-Linux-x86_64-173.14.28-
pkg2/usr/src/nv/modules.order
make -f /usr/src/linux-2.6.33.4/scripts/Makefile.modpost
scripts/mod/modpost -i /usr/src/linux-2.6.33.4/Module.symvers -I /tmp/se
lfgz2623/NVIDIA-Linux-x86_64-173.14.28-pkg2/usr/src/nv/Module.symvers -o /t
mp/selfgz2623/NVIDIA-Linux-x86_64-173.14.28-pkg2/usr/src/nv/Module.symvers -
S -w -s
FATAL: parse error in symbol dump file
make[4]: *** [__modpost] Error 1
make[3]: *** [modules] Error 2
make[2]: *** [sub-make] 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.
Looking for guidance; I'm confused as to what the problem may be. Thank you for your help.
There's howtos all over the place for this. You need a compiled kernel source similar to the one you are running on. Just stuff your config into the kernel source and type make
then try your nvidia thing.
Distribution: Fedora, CentOS, and would like to get back to Gentoo
Posts: 332
Original Poster
Rep:
Quote:
Originally Posted by mats_b_tegner
Quick question: Why are you using a legacy (173.14.28) driver for your 8800 GTS card? Have you tested with the latest driver (260.19.36)?
Mats, you are quite right -- I noticed that too very late last night.
I was rushing along trying to find the right driver using links in a non-framebuffered terminal and that can get pretty messing looking on a modern website.
Distribution: Fedora, CentOS, and would like to get back to Gentoo
Posts: 332
Original Poster
Rep:
/usr/src/linux-2.6.33.4/ -- make oldconfig && make prepare -- this worked; but,
something very strange continues to happen --- stuff I've never encountered after a fresh install of any version of slackware. I am getting segmentation faults and other application errors when using anything in X. Apps won't start from any window manager menu and then when I try to start them from terminal, I get seg. faults and other errors.
Please don't misunderstand, I'm definitely not complaining about slackware.
I can't seem to figure out what is happening in my home computer environment upon new 13.1 installation vs. I recently completed ver. 13 >> current "update/install" using slackroll on a production server at work with no issue.
I'm going to mark this thread solved and try again from the start.
Distribution: Fedora, CentOS, and would like to get back to Gentoo
Posts: 332
Original Poster
Rep:
I wanted to follow up on this thread as it is now truly SOLVED.
I am relieved to report that ALL issues associated with this thread have nothing to do with operating systems, software applications, or human configuration.
The short story is: One must be careful when mixing sets of RAM.
I lost several evenings of sleep this week chasing error after segmentation fault after invalid extent entries after kernel panic after missing module only to find that removing a recently added set of RAM solved all issues.
The problem was masked by the fact there were no errors or instability on any of the OS installations I have on multiple hard drives which I constantly swap in/out by way hot swap port. I was using Gentoo, Slackware, and Windows XP....and everything worked normally.
It wasn't until I started to install/upgrade/compile new packages about a month later that suddenly all my Linux began to break and fail.
I even obtained a couple of spare hard drives and tried installing Slack64 13.0 and 13.1, Crux 2.7, Aptosid .... and nothing worked ... the world had changed ... I no longer knew how to function in it -- quite an uneasy "sci-fi" feeling for an amateur sys-admin. :-)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.