LinuxQuestions.org
Help answer threads with 0 replies.
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 09-03-2010, 07:57 PM   #1
CincinnatiKid
Member
 
Registered: Jul 2010
Posts: 454

Rep: Reputation: 47
Linux 2.6.33.4 Slackware Generic Config


Where can I get a copy of the 2.6.33.4 config that comes with Slackware? Also, can I get a binary of the kernel, the one that comes with Slackware 13.1?
 
Old 09-03-2010, 08:08 PM   #2
XGizzmo
Member
 
Registered: Mar 2007
Distribution: Slackware
Posts: 264

Rep: Reputation: 68
Extract them from this xz compressed tarball.

http://slackware.oregonstate.edu/sla...3.4-i486-1.txz
 
Old 09-03-2010, 08:32 PM   #3
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: Slackware
Posts: 8,243

Rep: Reputation: 3348Reputation: 3348Reputation: 3348Reputation: 3348Reputation: 3348Reputation: 3348Reputation: 3348Reputation: 3348Reputation: 3348Reputation: 3348Reputation: 3348
They're also in the /kernels directory.

http://ftp.oregonstate.edu/pub/slack...gesmp.s/config
 
Old 09-03-2010, 08:43 PM   #4
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,366

Rep: Reputation: 835Reputation: 835Reputation: 835Reputation: 835Reputation: 835Reputation: 835Reputation: 835
If you're running the kernel you can get the config with
Code:
zcat /proc/config.gz
since Slackware kernels support that feature.
 
Old 09-03-2010, 10:53 PM   #5
CincinnatiKid
Member
 
Registered: Jul 2010
Posts: 454

Original Poster
Rep: Reputation: 47
I removed the kernel a while back after installing a new one, but I want the old one back. I was able to install it via slackpkg, but when I attempt to make a initrd for the kernel I am told the modules for the kernel arn't installed. How can I install the modules?
 
Old 09-04-2010, 12:02 AM   #6
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,366

Rep: Reputation: 835Reputation: 835Reputation: 835Reputation: 835Reputation: 835Reputation: 835Reputation: 835
You want the kernel-* packages in the a/ series of packages. In particular the kernel-modules-smp package (assuming you're using the generic-smp kernel).
Code:
kernel-firmware-2.6.33.4-noarch-1.txz
kernel-generic-2.6.33.4-i486-1.txz
kernel-generic-smp-2.6.33.4_smp-i686-1.txz
kernel-huge-2.6.33.4-i486-1.txz
kernel-huge-smp-2.6.33.4_smp-i686-1.txz
kernel-modules-2.6.33.4-i486-1.txz
kernel-modules-smp-2.6.33.4_smp-i686-1.txz
 
Old 09-04-2010, 03:36 AM   #7
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 7,109

Rep: Reputation: 4855Reputation: 4855Reputation: 4855Reputation: 4855Reputation: 4855Reputation: 4855Reputation: 4855Reputation: 4855Reputation: 4855Reputation: 4855Reputation: 4855
Kernel config files here: http://mirrors.kernel.org/slackware/...13.1/source/k/

Eric
 
Old 09-04-2010, 11:48 AM   #8
CincinnatiKid
Member
 
Registered: Jul 2010
Posts: 454

Original Poster
Rep: Reputation: 47
I got the generic kernel up and running. The only issue I am having now, is when I try to install the nvidia driver, I get this message:
Code:
Using: nvidia-installer ncurses user interface
-> License accepted by command line option.
-> Installing NVIDIA driver version 256.44.
-> There appears to already be a driver installed on your system (version: 256.
   44).  As part of installing this driver (version: 256.44), the existing driv
   er will be uninstalled.  Are you sure you want to continue? ('no' will abort
   installation) (Answer: Yes)
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/lib/modules/2.6.33.4-smp/source'
-> Kernel output path: '/lib/modules/2.6.33.4-smp/build'
ERROR: If you are using a Linux 2.4 kernel, please make sure
       you either have configured kernel sources matching your
       kernel or the correct set of kernel headers installed
       on your system.

       If you are using a Linux 2.6 kernel, please make sure
       you have configured kernel sources matching your kernel
       installed on your system. If you specified a separate
       output directory using either the "KBUILD_OUTPUT" or
       the "O" KBUILD parameter, make sure to specify this
       directory with the SYSOUT environment variable or with
       the equivalent nvidia-installer command line option.
       
       Depending on where and how the kernel sources (or the
       kernel headers) were installed, you may need to specify
       their location with the SYSSRC environment variable or
       the equivalent nvidia-installer command line option.
I assume installing:

kernel-generic-smp-2.6.33.4_smp-i686-1.txz
kernel-modules-smp-2.6.33.4_smp-i686-1.txz

installed this installed configured kernel sources matching my kernel, or do I have to do something else to get the configured kernel sources for my nvidia driver?

Here is the build and source symlinks:

Code:
root@slackware-laptop:/usr/src# ls /lib/modules/2.6.33.4-smp/source -l
lrwxrwxrwx 1 root root 23 2010-09-04 11:27 /lib/modules/2.6.33.4-smp/source -> /usr/src/linux-2.6.33.4/
root@slackware-laptop:/usr/src# ls /lib/modules/2.6.33.4-smp/build -l
lrwxrwxrwx 1 root root 23 2010-09-04 11:27 /lib/modules/2.6.33.4-smp/build -> /usr/src/linux-2.6.33.4/

Last edited by CincinnatiKid; 09-04-2010 at 12:00 PM. Reason: forgot something
 
Old 09-04-2010, 12:02 PM   #9
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,278

Rep: Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201
you probably need to install the kernel-source-2.6.33.4-noarch-1 package.
 
Old 09-04-2010, 12:13 PM   #10
CincinnatiKid
Member
 
Registered: Jul 2010
Posts: 454

Original Poster
Rep: Reputation: 47
Quote:
Originally Posted by ponce View Post
you probably need to install the kernel-source-2.6.33.4-noarch-1 package.
Do you know where I can get that? I cannot find it on the mirrors.

*nevermind, I found it. I am installing right now, I will let you know if this worked.

Last edited by CincinnatiKid; 09-04-2010 at 12:15 PM.
 
Old 09-04-2010, 12:26 PM   #11
CincinnatiKid
Member
 
Registered: Jul 2010
Posts: 454

Original Poster
Rep: Reputation: 47
This didn't work, I am still getting the same errors. Do you have any other suggestions or things that I can look at to help troubleshoot this?
 
Old 09-04-2010, 12:42 PM   #12
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,278

Rep: Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201
the nvidia installers needs a path in which it can find the sources for the running kernel, so I think it usually relies on /lib/modules/$(uname -r)/build and /lib/modules/$(uname -r)/source.
those are symlinks that point to /usr/src/linux-2.6.33.4 (in your case it's the folder that you have installing this package).
you can also pass the option --kernel-source-path=/your/path if you got the kernel sources in a nonstandard place.
(if you pass the -A option to the nvidia installer it will show you all the possible install option).
if it gives you those errors it's because the folder it's trying to use or doesn't exists or it doesn't contain the build sources for your running kernel.

Last edited by ponce; 09-04-2010 at 12:43 PM.
 
Old 09-04-2010, 12:55 PM   #13
CincinnatiKid
Member
 
Registered: Jul 2010
Posts: 454

Original Poster
Rep: Reputation: 47
Hmm... I am vexed. I installed the kernel source, you can see it here:

Code:
bash-4.1$ ls /usr/src/
linux  linux-2.6.33.4  linux-2.6.35.3
Here is /lib/modules/linux-2.6.33.4-smp:

Code:
bash-4.1$ ls -l /lib/modules/2.6.33.4-smp/
total 3448
lrwxrwxrwx  1 root root     23 2010-09-04 11:27 build -> /usr/src/linux-2.6.33.4
drwxr-xr-x  3 root root   4096 2010-08-18 12:36 extra
drwxr-xr-x 10 root root   4096 2010-05-12 22:42 kernel
-rw-r--r--  1 root root 540185 2010-09-04 11:27 modules.alias
-rw-r--r--  1 root root 525055 2010-09-04 11:27 modules.alias.bin
-rw-r--r--  1 root root   6268 2010-05-12 22:42 modules.builtin
-rw-r--r--  1 root root   8846 2010-09-04 11:27 modules.builtin.bin
-rw-r--r--  1 root root     69 2010-09-04 11:27 modules.ccwmap
-rw-r--r--  1 root root 263655 2010-09-04 11:27 modules.dep
-rw-r--r--  1 root root 373291 2010-09-04 11:27 modules.dep.bin
-rw-r--r--  1 root root   1257 2010-09-04 11:27 modules.ieee1394map
-rw-r--r--  1 root root    218 2010-09-04 11:27 modules.inputmap
-rw-r--r--  1 root root  19573 2010-09-04 11:27 modules.isapnpmap
-rw-r--r--  1 root root     74 2010-09-04 11:27 modules.ofmap
-rw-r--r--  1 root root  89866 2010-05-12 22:42 modules.order
-rw-r--r--  1 root root 325151 2010-09-04 11:27 modules.pcimap
-rw-r--r--  1 root root   1429 2010-09-04 11:27 modules.seriomap
-rw-r--r--  1 root root 210385 2010-09-04 11:27 modules.symbols
-rw-r--r--  1 root root 271966 2010-09-04 11:27 modules.symbols.bin
-rw-r--r--  1 root root 843287 2010-09-04 11:27 modules.usbmap
lrwxrwxrwx  1 root root     23 2010-09-04 11:27 source -> /usr/src/linux-2.6.33.4
When I select the paths I still get the error message I posted above.
 
Old 09-04-2010, 01:14 PM   #14
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,278

Rep: Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201
I forgot to ask you before, do you have the package kernel-headers installed?
shouldn't be needed for 2.6 kernel (basing on what the error says) but who knows?

Last edited by ponce; 09-04-2010 at 01:17 PM.
 
Old 09-04-2010, 01:45 PM   #15
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,492
Blog Entries: 3

Rep: Reputation: 426Reputation: 426Reputation: 426Reputation: 426Reputation: 426
push the Alt F2 key and type kdesu konqueror put in your root password.
make sure you have /etc/modprobe.d/BLACKLIST-nouveau.conf .
if it is there go into /etc/slackpkg/mirrors and make sure you have a mirror uncomented # for slackware 13.1. save the file exit. open a terminal assume root su passward.
Quote:
type slackpkg update then type slackpkg upgrade-all and then do a slackpkg install-new
you can always type slackpkg reinstall kernel it will ask you what you want to reinstall
the headers are part of the default Slackware installation you should have them installed

after that go here http://www.nvidia.com/Download/index.aspx?lang=en-us down load it.
now restart the machine in runlevel 3 default run level for Slackware.

login as root change directory cd /your/nvidia/file and type sh Nvidia then push the tab button it will finsh the string push enter and build it.

this should work it never failed for me.

Last edited by Drakeo; 09-05-2010 at 12:29 PM.
 
  


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
trying to use acpi-eeepc-generic (an arch package) in slackware trumpet_tom Slackware 8 05-26-2009 10:49 PM
generic kernel config question amiga32 Slackware 6 03-31-2009 11:28 AM
GART TLB error generic level generic Clydesdale Linux - Software 1 08-13-2007 06:47 PM
Kernel 2.6.22 + generic config = PANIC dugan Slackware 4 08-12-2007 12:00 PM
generic parser to read/write linux config files amitchandel Linux - Software 1 06-14-2004 04:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:10 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration