LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-28-2004, 03:38 PM   #1
rooman
Member
 
Registered: Mar 2002
Location: Lausanne, Switzerland
Distribution: Mandriva 2007.0
Posts: 233

Rep: Reputation: 30
kernel sources compilation prob.


The nvidia installer claims that modversion.h is missing and that the kernel sources are not configured. So I installed them with the package manager and followed the official instructions:

make xconfig:
make dep:
make clean:
make bzimage stopped; no rules etc...

make modules.
make install:
make modules-install; stopped: no rules etc...

Also, no /lib/modules/2.6.3-4mdkcustom, skipping creation of inird,
and
defaulllt vmlinux version is not the same as initrd, you have a mdk kernel but not a mdk initrd.

What should I try in order to install the sources corrrectly?
 
Old 09-28-2004, 04:50 PM   #2
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
make dep went out with the 2.4 kernel series. If you want to clean the kernel source use make mrproper not make clean. If I were you, I would put a copy of your old kernel .config in the source folder then

make menuconfig
make
make modules_install
cp arch/i386/boot/bzImage /boot
cp System.map /boot

Then update your bootloader so it boots the new kernel
 
Old 09-28-2004, 06:11 PM   #3
mjmwired
Member
 
Registered: Apr 2004
Distribution: CentOS6, CentOS5, F16, F15, Ubuntu, OpenSuse
Posts: 620

Rep: Reputation: 39
If you copy an older .config file into a source directory make sure to run 'make oldconfig' also.
 
Old 10-01-2004, 06:57 AM   #4
rooman
Member
 
Registered: Mar 2002
Location: Lausanne, Switzerland
Distribution: Mandriva 2007.0
Posts: 233

Original Poster
Rep: Reputation: 30
kernel build

Okay guys, it's done and working, new procedure noted, thanks a lot. Next post for nvidia installer prob!
 
Old 10-01-2004, 07:31 AM   #5
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
nvidia install should be okay up to 2.6.9-rc2 with 6111 driver

need patched one for 2.6.9-rc3

Last edited by amosf; 10-01-2004 at 07:33 AM.
 
Old 10-01-2004, 03:34 PM   #6
rooman
Member
 
Registered: Mar 2002
Location: Lausanne, Switzerland
Distribution: Mandriva 2007.0
Posts: 233

Original Poster
Rep: Reputation: 30
nv not ok!

The kernel sources seem to be installed ok as make and make_modules_install went through ok.
However, the nvidia 6111 installer doesn't like the rivafb as a module and stops before completion. Here's the installer log, or should I put this in another post?

How to stop the rivafb module loading? Do I need to make another kernel and install it?

Last edited by rooman; 10-01-2004 at 03:35 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
Ndiswrapper - Cant find kernel sources while installing (Kernel 2.6.11) krayhze Linux - Wireless Networking 6 05-23-2006 06:30 AM
compilation prob with gcc srinis Programming 4 03-15-2005 04:53 AM
compilation prob with gcc srinis Linux - Newbie 2 03-11-2005 04:06 PM
does kernel-source installs with the compilation cum installtion of a new kernel? luqman Linux - General 18 03-04-2005 07:33 AM
CAVEAT: /boot/kernel.h & how not to clobber your kernel sources (Conectiva, Red Hat) JCCyC LinuxQuestions.org Member Success Stories 0 08-07-2003 07:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:37 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
Open Source Consulting | Domain Registration