LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 03-02-2011, 11:48 AM   #1
Sum1
Member
 
Registered: Jul 2007
Distribution: Slackware and Gentoo
Posts: 238

Rep: Reputation: 25
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.
 
Old 03-02-2011, 02:24 PM   #2
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Go to '/usr/src/linux-2.6.33.4/' and run 'make oldconfig && make prepare', then try again.
 
Old 03-02-2011, 02:25 PM   #3
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,622

Rep: Reputation: 585Reputation: 585Reputation: 585Reputation: 585Reputation: 585Reputation: 585
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.
 
Old 03-02-2011, 04:52 PM   #4
Sum1
Member
 
Registered: Jul 2007
Distribution: Slackware and Gentoo
Posts: 238

Original Poster
Rep: Reputation: 25
Thank you guys for the quick responses.
I will give this a try after work this evening.
 
Old 03-03-2011, 03:20 AM   #5
mats_b_tegner
Member
 
Registered: Nov 2009
Location: Gothenburg, Sweden
Distribution: Slackware64
Posts: 145

Rep: Reputation: 47
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)?
 
Old 03-03-2011, 09:45 AM   #6
Sum1
Member
 
Registered: Jul 2007
Distribution: Slackware and Gentoo
Posts: 238

Original Poster
Rep: Reputation: 25
Quote:
Originally Posted by mats_b_tegner View Post
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.
 
Old 03-03-2011, 09:52 AM   #7
mats_b_tegner
Member
 
Registered: Nov 2009
Location: Gothenburg, Sweden
Distribution: Slackware64
Posts: 145

Rep: Reputation: 47
http://us.download.nvidia.com/XFree8...-260.19.36.run

Here is the direct link to the latest driver.
 
Old 03-03-2011, 09:55 AM   #8
Sum1
Member
 
Registered: Jul 2007
Distribution: Slackware and Gentoo
Posts: 238

Original Poster
Rep: Reputation: 25
/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.
 
Old 03-03-2011, 11:23 AM   #9
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,622

Rep: Reputation: 585Reputation: 585Reputation: 585Reputation: 585Reputation: 585Reputation: 585
Nvidia drivers did have issues with some kernel versions recently.

Try the search nvidia kernel bug. Interesting?
 
Old 03-04-2011, 08:41 AM   #10
Sum1
Member
 
Registered: Jul 2007
Distribution: Slackware and Gentoo
Posts: 238

Original Poster
Rep: Reputation: 25
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. :-)

Last edited by Sum1; 03-04-2011 at 11:07 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
nvidia 6600 ubuntu hardy driver failure mid ut2004 netsurf Linux - Hardware 2 06-03-2009 06:57 PM
2.6.27.5-smp Generic + Nvidia (*.run) Driver = Failure orbit Slackware 6 11-11-2008 04:39 AM
is this a disk failure msg - hdc: request senense failure walterj Linux - Hardware 3 03-26-2008 12:01 AM
Bad Cache Aliasing -> NVIDIA driver failure -> Blank screen when X should start tnandy Linux - Hardware 4 09-26-2006 09:41 AM
SuSE 9.1 NVidia Geforce 256 Driver Failure? dona Linux - Distributions 4 07-01-2004 10:41 AM


All times are GMT -5. The time now is 01:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration