LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 12-13-2011, 09:16 AM   #1
j_h
LQ Newbie
 
Registered: Oct 2011
Posts: 12

Rep: Reputation: Disabled
[SOLVED] Can't boot into recompiled kernel


The solution for this was to set allow_unsupported_modules to 1 in /etc/modprobe.d before running make. Original text below

----------------------------------
Hi all,

I recompiled the kernel on my (SLES 11.3) box. I'm happy with the process for doing that, and it all seemed to work successfully, but I am unable to boot into the recompiled kernel.

I recompiled 2.6.32-12.0.7-default, no patches, just changed some options to do with timing and set the localversion string. Trying to boot into it gives lots of these errors:

FATAL: module '/lib/modules/2.6.32.12-0.7-modified/kernel/drivers/xxx/xxxx.ko' is unsupported.

I can still boot into the default kernel with no issues. Can anyone shed some light on this for me?

Thanks in advance for any help

Last edited by j_h; 01-13-2012 at 04:57 AM.
 
Old 12-13-2011, 01:00 PM   #2
malekmustaq
Member
 
Registered: Dec 2008
Location: /root
Distribution: Slackware & BSD
Posts: 796

Rep: Reputation: 106Reputation: 106
Can it be a version mismatch? What module are you trying to install? Check if it is the version intended for the kernel version you recompiled: they have to match.
 
Old 12-14-2011, 01:50 AM   #3
j_h
LQ Newbie
 
Registered: Oct 2011
Posts: 12

Original Poster
Rep: Reputation: Disabled
Hi,

This happens while trying to boot, I'm not trying to install anything. It's a whole bunch of them under /kernel/drivers that are erroring, e.g. libata, ide-core.

[Edit: I checked and these have definitely been recompiled when the kernel was recompiled, and the path it is looking for them in is correct, so I'm not sure why they are giving errors. Trying to apply the fix suggested below the error (setting --allow-unsupported) simply changes the error to FATAL: error inserting <x>: Invalid module format']

Last edited by j_h; 12-14-2011 at 08:47 AM.
 
Old 12-14-2011, 01:59 AM   #4
John VV
Guru
 
Registered: Aug 2005
Location: Ann Arbor Mi.
Distribution: OpenSUSE 12.1 & Scientfic Linux 6.1
Posts: 7,295

Rep: Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706
it is possible that you did not build the kernel correctly

also is this SUSE Enterprise Linux ( Desktop or Server ) 11 service pack 3 -- still supported

or
Is it openSUSE 11.3

if opensuse that 11.3 is not supported any more
there will NEVER be updates to it . The only support version in 11 is 11.4


So with out knowing WHAT kernel you built ( the version # ) and WHAT patches you included ?

And did you REBUILD the boot image for this "custom " kernel ?

Without the needed information ,there is not much we can do to help .
 
Old 12-14-2011, 02:09 AM   #5
j_h
LQ Newbie
 
Registered: Oct 2011
Posts: 12

Original Poster
Rep: Reputation: Disabled
Sorry, this is SLES 11.3, I mistyped. I've updated the OP to reflect more accurately what steps I have done etc and the errors I am getting.

Last edited by j_h; 12-14-2011 at 08:39 AM.
 
Old 01-13-2012, 04:52 AM   #6
j_h
LQ Newbie
 
Registered: Oct 2011
Posts: 12

Original Poster
Rep: Reputation: Disabled
Just to report back on this in case anyone else has similar issues -

The fix was to ensure that allow_unsupported_modules was set to 1 in /etc/modprobe.d before running make modules. Only re-running 'make modules_install' with it set did not work.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Recompiled kernel will not boot on slackware 12 AceofSpades19 Slackware 21 04-30-2008 09:38 PM
Recompiled kernel and LILO wont boot it! pnh73 Linux - Software 9 04-07-2004 02:06 PM
Inspiron laptop, kernel recompiled -> cannot boot x sedulous Red Hat 2 09-08-2003 07:59 AM
Recompiled kernel boot problem... lokee Linux - Software 5 05-15-2003 05:35 PM
kernel recompiled - but i boot from floppy? gui10 Slackware 8 05-08-2002 12:43 PM


All times are GMT -5. The time now is 12:01 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration