LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 09-20-2005, 02:49 AM   #1
Phyrexicaid
Member
 
Registered: Aug 2004
Location: JHB - South Africa
Distribution: Kubuntu 7.04; openSUSE 10.1
Posts: 176

Rep: Reputation: 30
reiserfs invalid module format after kernel compile


Oh dear. I've broken my system yet again! This seems to be a commen occurrence in my quest for the perfect machine.

Anyway.

I did a "make xconfig" in /usr/src/linux in order to take out more unneccesary stuff (I'd already done it once but had so much fun I just had to do it again).

So I rebooted after the make install and got
Quote:
loading kernel/fs/reiserfs/reiserfs.ko
reiserfs: version magic '2.6.8-24-default 586 REGPARM gcc-3.3' should be '2.6.8-24-default PENTIUMIII REGPARM gcc-3.3'
insmod: error inserting lib/modules/2.6.8-24-default/kernel/fs/reiserfs/reiserfs.ko: -1 invalid module format
....
kernel panic
Argh. So I've mucked up again. I did change the processor type when I did a make xconfig from 586 to pentiumIII (since I have a pentium III). Question is, how do I fix this?

I have a non-graphical gentoo installation on another partition. Should I boot into there? What would my method of attack be? How do I fix it in easy steps?

Do I boot the Suse cd's and go into a rescue system? Again I'd need step by step instructions.

Thanks for any help!
Dave

Last edited by Phyrexicaid; 09-20-2005 at 02:50 AM.
 
Old 09-20-2005, 06:27 AM   #2
Phyrexicaid
Member
 
Registered: Aug 2004
Location: JHB - South Africa
Distribution: Kubuntu 7.04; openSUSE 10.1
Posts: 176

Original Poster
Rep: Reputation: 30
Hmmm,

okay, I booted into the gentoo partition and mounted my Suse root partition.

I then ran

chroot /mnt/Suse

Now i'm working in my suse distribution.

I think I should have run

make modules

which I didn't do before. I'll give it a go and post my results.
 
Old 09-21-2005, 09:01 AM   #3
Phyrexicaid
Member
 
Registered: Aug 2004
Location: JHB - South Africa
Distribution: Kubuntu 7.04; openSUSE 10.1
Posts: 176

Original Poster
Rep: Reputation: 30
That didn't work

Still get kernel panic, but now the reiserfs module complains about not finding kmap and other stuff. Bit hard to post exact details when my computer is toasted.

I'm booting into the suse rescue system and i'm giong to try from there. If anyone is reading this and has better ideas please post

Dave
 
Old 09-21-2005, 09:31 AM   #4
Phyrexicaid
Member
 
Registered: Aug 2004
Location: JHB - South Africa
Distribution: Kubuntu 7.04; openSUSE 10.1
Posts: 176

Original Poster
Rep: Reputation: 30
yee-flippin-ha.

Booted into the Suse system and first tried make and then make install. But still didn't like that, (although it complained less).

So I edited the .config file and changed reiserfs from being compiled as a module to being compiled into the kernel.

ran make
ran make install.

rebooted and root partition loaded. But now I have more problems. I can't startx, so I'm busy trying to recompile my kernel now in the original system. Getting clock skew warnings though.
 
Old 09-22-2005, 01:51 AM   #5
Phyrexicaid
Member
 
Registered: Aug 2004
Location: JHB - South Africa
Distribution: Kubuntu 7.04; openSUSE 10.1
Posts: 176

Original Poster
Rep: Reputation: 30
All is right with the world.

I ran:
$make mrproper
which got rid of the skew clock warnings.
$make
$make install
$make modules_install

rebooted. Still no x though, which is odd since I should be able to recompile the kernel and still have nvidia cos suse is so smart.

So, I whipped out my copy of the 6111 drivers and installed those. Tried modprobe -a nvidia and still no startx. Tried sax2 and couldn't get a usable configuration. Recopied my old xorg.conf. Nothing. So, in utter despair I rebooted and began the process of reinstalling. but wait! I need a copy of my fstab. Let's boot into my old system one last time.

X started! Weird. So it's fixed but I don't know how!

Dave
 
  


Reply



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
"Invalid module format" after FULL kernel recompile RedDwarf Linux - General 6 08-07-2004 07:46 PM
'Invalid module format' loading simple module on Suse Linux Professional 9.1 rocketdude Linux - Distributions 3 07-27-2004 11:40 PM
invalid module format on kernel 2.6.6 using gcc 3.3 oh_me Linux - Software 0 05-20-2004 09:48 AM
kernel compile: reiserfs module error geniarse Linux - Software 2 04-04-2004 05:37 PM
invalid module format powadha Slackware 5 12-25-2003 04:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

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