LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-25-2004, 09:49 AM   #1
kevinatkins
Member
 
Registered: Jan 2004
Location: cheshire, uk
Distribution: Ubuntu Hoary
Posts: 605

Rep: Reputation: 32
Question Problem patching SuSE 2.4.20 kernel


Hello,

I've got a bit of a problem adding a kernel patch to my SuSE 8.2 distro, which uses 2.4.20 kernel.

I need to add the patch to allow support for Via VT8237 South Bridge chipset on my mobo.

In brief, here's what I did -

1. Patched kernel source according to Via's instructions - no problems.
2. Used default configuration, did 'make oldconfig', and checked config file. all seemed ok.
3. Edited Makefile to create a 'test' kernel / modules directory (added -test EXTRAVERSION)
4. Make dep, make bzImage, make modules, make modules_install. All went fine, without hitch and no funny messages..
5. Copied bzImage to /boot, renaming it as vmlinuz-test
6. Edited /boot/grub/menu.lst to include new kernel. I simply copied existing kernel and changed label and kernel image name.
7. Rebooted machine.

All went fine, until the following error appeared -

loading module reiserfs ...
insmod : reiserfs : no module by that name found
..
...
...
kernel panic : VFS : Unable to mount root fs on 03 : 03

Oh dear - I rebooted using vanilla kernel, and check locations of modules - all appeared OK.
So what's happening here? How does a kernel know where to look for modules? I'm a bit
confused. Any help would be much appreciated.

Thanks.
 
Old 01-25-2004, 10:12 AM   #2
g-rod
Member
 
Registered: Dec 2003
Location: Long Island, NY USA
Distribution: RedHat, SUSE
Posts: 336

Rep: Reputation: 30
Your root filesystem is a Reiser filesystem and the module is not include in the inital ram disk. This is a kinda catch 22 the module is stored on the root file system, but the module needs to be loaded in order to read the filesystem.

Try running make install that should copy the kernel to the boot partition, build the initrd, modify grub...

or run
mkinitrd /boot/initrd-2.4.20-test.img 2.4.20-test
and add the initrd to your grub config.
 
Old 01-25-2004, 07:20 PM   #3
kevinatkins
Member
 
Registered: Jan 2004
Location: cheshire, uk
Distribution: Ubuntu Hoary
Posts: 605

Original Poster
Rep: Reputation: 32
hi g-rod,

thanks for your reply - i'm off to try what you suggested now, will let you know of progress
asap..

cheers.
 
Old 01-27-2004, 04:52 PM   #4
kevinatkins
Member
 
Registered: Jan 2004
Location: cheshire, uk
Distribution: Ubuntu Hoary
Posts: 605

Original Poster
Rep: Reputation: 32
ok, all sorted - thanks g-rod!
 
  


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
Help! Patching Kernel in Suse 10, YIKES! batorma SUSE / openSUSE 3 10-29-2005 02:43 PM
Suse 9.1 - ndiswrapper and patching the kernel fortheether SUSE / openSUSE 2 07-15-2005 06:47 PM
problem while patching kernel cdavidson Linux - Newbie 3 03-31-2005 11:00 PM
problem with with patching mm kernel! bamboo123 Linux - General 2 02-02-2004 04:50 PM
Patching SuSe stock kernel lacerto Linux - Software 0 10-28-2003 11:11 AM


All times are GMT -5. The time now is 07:45 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