LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-04-2002, 11:41 AM   #1
hacketta
LQ Newbie
 
Registered: Oct 2001
Distribution: SuSE
Posts: 9

Rep: Reputation: 0
Kernel recompilation fails


I've installed RedHat 7.1 without any problems, and now I'm trying to build a 'monolithic' kernel (2.4.2). Having done make mrproper, make xconfig, make dep, edit EXTRAVERSION in Makefile, I then do make bzImage. A few minutes in, the make bzImage fails with this error message:

arch/i386/kernel/kernel.o: In function `pci_fixup_vt8363':
arch/i386/kernel/kernel.o(.text.init+0x3857): indefined reference to `noautodma'
make: *** [vmlinux] Error 1

I can't upgrade to newer kernel as I need this version for Oracle. If anybody has any idea what the cause of this is the help would be much appreciated.

Thanks.

Austin.
 
Old 02-04-2002, 04:35 PM   #2
isajera
Senior Member
 
Registered: Jun 2001
Posts: 1,635

Rep: Reputation: 45
just because i like picking at details, linux is, by definition, always a monolithic kernel...

anyway, i'll guess that you meant that you're not compiling it with any modules. not too much of a problem. did you patch the kernel with a patch from oracle, or are you just recompiling it as per instructions?
 
Old 02-05-2002, 04:28 AM   #3
hacketta
LQ Newbie
 
Registered: Oct 2001
Distribution: SuSE
Posts: 9

Original Poster
Rep: Reputation: 0
Hello Isajera

You're right, I have disabled loadable modules in make xconifg.

The kernel I'm trying to compile is the one that comes with the retail RedHat 7.1 Professional Edition. According Oracle it is this version (2.4.2) that they support for 9i on RedHat 7.1. I'm compiling it as per the instructions in the Customization Guide that comes with the boxed RedHat 7.1 distro.

I've come across the problem on a couple of websites. In one case the kernel was upgraded and this solved the problem. In another (RedHat's website) they suggested that some IDE stuff had been left chosen in xconfig. I checked for this and couldn't find anything as far as I'm aware.

I'll maybe try a fresh install today and then recompile, adding needed bits one at a time and see when/if it fails. If this is OK I'll start to remove stuff one at a time and see where/if this fails.

I
 
Old 02-06-2002, 08:33 AM   #4
hacketta
LQ Newbie
 
Registered: Oct 2001
Distribution: SuSE
Posts: 9

Original Poster
Rep: Reputation: 0
OK, I've got this sorted now so for the benefit of others who may have this problem...

The kernel started to error on make bzImage when I removed ATA/IDE/MFM/RLL Support. I was under the false impression that the server was 100% SCSI which it wasn't. Both CD Rom and floppy were IDE so I needed these anyway.
 
  


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 recompilation ciopi Mandriva 2 11-06-2005 04:18 AM
kernel recompilation sachin_malik Linux - Enterprise 1 05-20-2005 02:57 PM
Recompilation of the kernel s_shenbaga Linux - Newbie 2 04-14-2005 04:06 PM
Kernel Recompilation ... tjrajan Linux - General 3 11-18-2001 05:12 PM
Kernel Recompilation Thomas_Delrue Linux - General 1 08-30-2001 05:11 PM


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