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 08-26-2003, 07:10 AM   #1
devashish
Member
 
Registered: Aug 2003
Posts: 31

Rep: Reputation: 15
Kernel patching 2.4.7-2


I have 2.4.7-2 in redflag, I also have intel82830 graphic chip which is not supported in the kernel but intel has the driver avilable which I have downloaded, now this driver requires kernel 2.4.11 so i thought patching would be the way to go i downloaded patches 2.4.8 to 2.4.12 but the very first patch find 90% of the files missing, I saw it was looking for a /linux/ directory but I have a /linux-2.4.7-2/ directory and a symbolic link /linux-2.4/ so I did
$ln -s ./linux-2.4.7-2 ./linux
and tried again, its still the same, any ideas where I am going wrong?? I placed the patch in the directory /usr/src/linux-2.4.7-2/
and did bzip2 -dc patch2.4.8.bz2 | patch -p0
and also tried the ./script/make-patch thing.
Ur suggestions will be highly appreciated.......
 
Old 08-26-2003, 08:21 AM   #2
cnjohnson
Member
 
Registered: Nov 2002
Location: Nashville
Distribution: FreeBSD, Linux, OS-X
Posts: 544

Rep: Reputation: 30
Try going to kernel.org and getting the kernel you need and building that. Much easier to do than trying to patch your kernel.

Cheers--
Charles
 
Old 08-26-2003, 08:58 AM   #3
devashish
Member
 
Registered: Aug 2003
Posts: 31

Original Poster
Rep: Reputation: 15
I have a 2.4.19-16mdk kernel in another partition can I use it??
 
Old 08-26-2003, 08:59 AM   #4
devashish
Member
 
Registered: Aug 2003
Posts: 31

Original Poster
Rep: Reputation: 15
I have a 2.4.19-16mdk kernel in another partition can I use it?? I mean can I copy the /lib/src/2.4.19-16mdk/ directory to /usr/src/ directoty in the other system and do a make config and make dep on it??
 
Old 08-26-2003, 09:01 AM   #5
cnjohnson
Member
 
Registered: Nov 2002
Location: Nashville
Distribution: FreeBSD, Linux, OS-X
Posts: 544

Rep: Reputation: 30
If you are running mandrake, and you have the complete source you can certainly try. But who knows until you try?

Cheers--
Charles
 
Old 08-26-2003, 09:06 AM   #6
devashish
Member
 
Registered: Aug 2003
Posts: 31

Original Poster
Rep: Reputation: 15
ok then lets find out out....
ill do a make xconfig
make dep
make modules
make bzImage
make modules_install
then cp the bzimage to the /boot dir
and then ?? do i set lilo up to boot from the new image instead of vmlinuz or what??
but I boot from floppy how do I make my floppy use the new image???
Thanks once more

Last edited by devashish; 08-26-2003 at 09:23 AM.
 
Old 08-26-2003, 11:00 AM   #7
devashish
Member
 
Registered: Aug 2003
Posts: 31

Original Poster
Rep: Reputation: 15
okay i tried everything went well except for this:

Kernel panic VFS: Unable to mount root file system on 03:04
any ideas??
That was after using the disk created by bzdisk, the old floppy disk still boots the system to the older kernel

Last edited by devashish; 08-27-2003 at 08:17 AM.
 
Old 08-27-2003, 04:01 PM   #8
sb73542
Member
 
Registered: Jul 2003
Distribution: Ubuntu, SUSE
Posts: 79

Rep: Reputation: 15
To make a new boot floppy:
cd /lib/modules
ls and see what is listed
mkbootdisk --device /dev/fd0 kernel_as_listed_above

mkbootdisk may be located in /sbin.
 
  


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
Kernel patching.. new.thing Linux - Hardware 3 07-13-2005 07:36 AM
Patching a 2.6 kernel with a 2.4 kernel keyboard driver..possible? dxx Linux - Laptop and Netbook 3 11-18-2004 05:18 AM
Patching the kernel grazie Fedora 4 11-09-2004 04:29 PM
Patching the Kernel LinuxBlackBox Linux - Software 2 06-16-2004 07:54 AM
Kernel Patching? wr3ck3d Linux - General 4 04-13-2003 04:17 PM


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