[x] Welcome to LinuxSolved.com Linux help forums, here we are a community of Linux users helping each other. It is helpful to both ie. new linux users as well experienced one. We always have our experts to help you and ofcourse members help each other, so you can ask for help any time by Registering.: Click to Register

Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Linux Forums - Linux Help,Advice & support community:LinuxSolved.com  |  Forum  |  Linux in General  |  Linux Kernel  |  Topic: Installing Linux Patch and rebuilding the kernel
The LinuxSolved.com GNU/Linux User Communit - Forum
Welcome to LinuxCommunity You have just arrived to a friendly linux community which is helping Linux Users from Years.. You can be its part if you have not already joined it. Registration is FREE and is gateway to unlimited help and support to all your linux related needs. If you are an GNU/Linux supporter then you have come to the right place.
Pages: [1]
  Print  
Author Topic: Installing Linux Patch and rebuilding the kernel  (Read 1077 times)
0 Members and 1 Guest are viewing this topic.
n_karthy
Linux Noob !
*
Offline Offline

Posts: 6


View Profile
« on: March 17, 2006, 01:26:22 AM »

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? Could that be because my kernel version is 2.6.9 and the patchis for 2.6.10-rc1? I am new to Linux world. Help me out.

Thanks
Karthik
Logged
dalek
Linux Learner
***
Offline Offline

Posts: 137


View Profile
« Reply #1 on: March 17, 2006, 07:43:19 AM »

If you can use a newer kernel, you can get one here:

http://kernel.org/

It may have the fix already in there.  I have done patches but I prefer to just get one that is fixed to begin with.

That help any?

Cheesy Cheesy Cheesy Cheesy
Logged
dragoncity99
LST CareTaker
Experienced
*****
Offline Offline

Posts: 494


View Profile
« Reply #2 on: May 07, 2006, 06:27:25 AM »

U have not created the /lib/modules/2.6.10-rc1 directory, that's the reason why u have this errror.

Im afraid, u did not perform one of the steps properly, so u will end up with this problem.

Wat u can do is create a directory in /lib/modules before performing:

#make modules_install
Logged
Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
   

 Logged
Pages: [1]
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Linux kernel debugging and Linux kernel module programming Linux Kernel Agent007 0 1089 Last post August 12, 2005, 01:54:39 PM
by Agent007
2.4.18 to 2.4.20 upgrd usin patch-kernel in scripts folder Linux Kernel Reck 1 842 Last post December 10, 2005, 09:04:22 AM
by Ricky
patch Linux Kernel Ujjwol 3 448 Last post July 12, 2007, 03:22:22 AM
by gauravbajaj
Where to find e2compr :Compression patch over ext2 file system Miscellaneous mohit.saha 1 654 Last post February 26, 2008, 02:12:48 AM
by mohit.saha
Linux Port/Patch for ARM968E-S core based LPC2919 Microcontroller Linux Kernel rvckumar 0 211 Last post September 23, 2008, 07:07:04 AM
by rvckumar
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 22, 2008, 06:52:22 PM

Login with username, password and session length
Navigation
Recent Discussions
[Today at 02:29:08 PM]

[November 20, 2008, 11:30:52 PM]

[November 19, 2008, 07:52:41 PM]

[November 19, 2008, 07:52:36 PM]

[November 17, 2008, 10:42:59 AM]

[November 16, 2008, 12:49:47 AM]

[November 16, 2008, 12:48:58 AM]

[November 15, 2008, 08:29:02 AM]

[November 15, 2008, 08:24:41 AM]

[November 14, 2008, 05:11:50 AM]
Members
Total Members: 6229
Latest: razon_nnn
Stats
Total Posts: 8270
Total Topics: 2254
Online Today: 14
Online Ever: 111
(June 28, 2007, 06:47:29 AM)
Users Online
Users: 0
Guests: 13
Total: 13
Privacy Policy| Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks
Theme & TinyPortal v0.9.8 © Bloc