LinuxQuestions.org
Help answer threads with 0 replies.
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 03-17-2006, 12:09 AM   #1
n_karthy
LQ Newbie
 
Registered: Mar 2006
Posts: 2

Rep: Reputation: 0
Installing Linux Patch and rebuilding the kernel


Hi,
I have linux kernel 2.6.9-22 installed in my PC. I wanted to install a package that required some change in the kernel configuration. So i made the changes and rebuilt the kernel using 'make'. It failed there showing some error in SCSI driver. I found in another forum that the patch 2.6.10-rc1 solves this problem. So applied the patch using 'patch ' command. After this i executed 'make' and it came out successfully. After that i did 'make modules'. But i got the following error for 'make install' :

WARNING: Couldn't open directory /lib/modules/2.6.10-rc1: No such file or directory
FATAL: Could not open /lib/modules/2.6.10-rc1/modules.dep.temp for writing: No such file or directory
/lib/modules/2.6.10-rc1 is not a directory.
mkinitrd failed
make[1]: *** [install] Error 1
make: *** [install] Error 2

How can i solve this problem? I just ran the 'patch' command. Should i do anything after to make the patch effective?

Thanks
Karthik
 
Old 03-17-2006, 09:42 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
i have never done make install with a kernel
try make modules_install first
 
Old 03-18-2006, 12:36 AM   #3
rlrhoads
LQ Newbie
 
Registered: Mar 2006
Posts: 2

Rep: Reputation: 0
There has to be some way to delete a post. rm

Last edited by rlrhoads; 03-18-2006 at 12:43 AM.
 
Old 03-18-2006, 12:50 AM   #4
DeusExLinux
Member
 
Registered: May 2004
Location: Tampa, Fl
Distribution: Arch
Posts: 648

Rep: Reputation: 30
make modules_install should work.

As a side note, why are you using such an old kernel version?
 
  


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
Error after rebuilding linux kernel pas Red Hat 1 05-16-2005 12:53 AM
Error after rebuilding linux kernel pas Linux - Newbie 2 05-14-2005 02:42 PM
debian-patch-debianlogo w/2.6.5 kernel-patch-lpp Outabux Debian 11 05-20-2004 02:21 PM
rebuilding kernel jmarsh Linux - Software 2 04-04-2003 09:09 PM
Rebuilding the kernel decster Linux - General 9 09-23-2002 06:42 AM

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

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