LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 05-28-2004, 03:06 PM   #16
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,301

Rep: Reputation: 69

More idea ? Yes but it's weird :
./NVIDIA-Linux-x86-1.0-5336-pkg1.run -k=2.6.6 --kernel-source-path=/usr/src/linux/include/linux

./NVIDIA-Linux-x86-1.0-5336-pkg1.run -k=2.6.6 --kernel-source-path=/usr/src/linux/include

And at last look in the file :
/lib/modules/2.6.6/build/include/linux/version.h

What is the value for UTS_RELEASE ?

And also this value should be the same in
/usr/src/linux/include/linux/version.h

Last edited by keefaz; 05-28-2004 at 03:11 PM.
 
Old 05-28-2004, 03:09 PM   #17
LinuxOG
LQ Newbie
 
Registered: Aug 2003
Posts: 22

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by keefaz
And at last look in the file :
/lib/modules/2.6.6/build/include/linux/version.h

What is the value for UTS_RELEASE ?
??
there is no version.h

greets

Last edited by LinuxOG; 05-28-2004 at 03:10 PM.
 
Old 05-28-2004, 03:12 PM   #18
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,301

Rep: Reputation: 69
You replied before I edit the previous post Then what is the value for UTS_RELEASE in
/usr/src/linux/include/linux/version.h ?
 
Old 05-28-2004, 03:15 PM   #19
LinuxOG
LQ Newbie
 
Registered: Aug 2003
Posts: 22

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by keefaz
You replied before I edit the previous post Then what is the value for UTS_RELEASE in
/usr/src/linux/include/linux/version.h ?
im sry, but there isnt version.h, too

greets
 
Old 05-28-2004, 03:36 PM   #20
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,301

Rep: Reputation: 69
Ok I think your best way is :
download a 2.6.6 kernel from www.kernel.org
untar the file in /usr/src so you obtain a linux-2.6.6 directory in /usr/src
delete the file named 'linux' in /usr/src (a link to a directory)
ln -s linux-2.6.6 linux
./NVIDIA-Linux-x86-1.0-5336-pkg1.run -k=2.6.6 --kernel-source-path=/usr/src/linux

If that fails I can't help

[ edit ]
if you want compile your own kernel copy the config file for the actual kernel in /boot (named config.2.6.6 or so) and name it .config in /usr/src/linux-2.6.6 directory so you will just start from a workable config, just set a few features like processor (features which you are sure) then make and make modules_install, easy

Last edited by keefaz; 05-28-2004 at 03:44 PM.
 
Old 05-28-2004, 07:46 PM   #21
iotc247
Member
 
Registered: Mar 2004
Location: Florida
Distribution: Gentoo
Posts: 248

Rep: Reputation: 30
Yeah i suggest compiling the kernel yourself.. But first try to do this.. Cd to the directory you have the file in like this

cd /path/to/directory

Then when your in that directory do

sh NVIDIA-Linux-x86-1.0-5336-pkg1.run

If that doesnt work then compile your own kernel..
 
Old 05-28-2004, 08:45 PM   #22
brenton
Member
 
Registered: Mar 2004
Location: Sydney, Australia
Distribution: Slackware
Posts: 112

Rep: Reputation: 15
I think your missing the 2.6.6 kernel headers. Atm you should have the kernel-headers-2.4.22-i386-1.tgz package installed, but they won't work with 2.6. I don't think you'll need to compile the kernel. Just remove the 2.4 package and copy:

The folders:
/usr/src/linux-2.6.6/include/asm-generic
/usr/src/linux-2.6.6/include/asm-i386
/usr/src/linux-2.6.6/include/linux

And the symlink
/usr/src/linux-2.6.6/include/asm -> /usr/include/asm-i386

Over to /usr/src/include.

So you'll be able to compile programs against the 2.6 kernel, but not against the 2.4 kernel anymore.
 
Old 06-06-2004, 04:34 PM   #23
Sadist
LQ Newbie
 
Registered: Jun 2004
Location: Bulgaria
Distribution: Debian, Slackware
Posts: 3

Rep: Reputation: 0
Kernel

cd /usr/src/linux-2.6.6
make mrproper
make menuconfig (console) or make xconfig (X, you need tcl\tk installed)
load altenative config file (/boot/config-2.6.6) from running kernel
and fix what you need
at last read the manual how to compile 2.6.6 kernel and compile ;]
 
  


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 find/install kernel-source or kernel-headers timsch75 Slackware 3 10-22-2005 09:17 AM
10.1 install kernel and kernel-source different - build fails Feebles Mandriva 2 06-10-2005 06:58 PM
how to install kernel source for kernel 2.6 appas Red Hat 1 09-27-2004 07:07 AM
Slackware 9.0 kernel source acom99 Slackware 17 09-26-2003 12:09 PM
slackware 9.0 kernel source sharrej Slackware 9 08-07-2003 04:55 PM


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

Main Menu
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