Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 07-04-2001, 10:06 PM   #1
Registered: Jul 2001
Location: Texas
Distribution: Fedora 16
Posts: 323

Rep: Reputation: 37
Unhappy building a custom kernel...aic7xxx problem

my first kernel build...Facts:

Redhat (RH) 7.1 installed and running great on its own Seagate 36 gig drive, Dell 330 workstation, 512 meg RAM,USR 3CP5610 modem, SB 16

No problems with my Adaptec 29160N that I can detect.

Using Redhat 7.1 Customization Guide page 177

Building a modular kernel (as opposed to a monolithic kernel... I guessed).

I do not use LILO but boot Linux from a floppy for now.
I am creating a kernel named
2.4.2-2-3JULY01 to preserve my 2.4.2-2 version which still works (using it now).

When I create a boot floppy for 2.4.2-2-3JULY01, I get a message
no module aic7xxx found for kernel 2.4.2-2-3JULY01

Then the floppy fails to boot to anything.

I tried to run:
/sbin/mkinitrd /boot/initrd-2.4.2-2-3JULY01.img
but get the same message as above
no module aic7xxx found for kernel 2.4.2-2-3JULY01

This is a dry run after making no changes to anything. Later I will install Oracle 8.1.7 and need to rebuild kernel.
Old 07-05-2001, 04:18 AM   #2
Senior Member
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
Did you remember to do the
make modules && make modules_install
steps?? Have a look in /lib/modules/and see if the modules are there. I don't know what the story is with having two kernels of the same version that are expecting different moduels - they'll both be looking in /lib/modules/2.4.2/ so you might have some problems due to that.


Old 07-05-2001, 05:46 AM   #3
Registered: Jun 2001
Location: Northern Ohio
Distribution: RedHat, Engarde and LFS
Posts: 237

Rep: Reputation: 30
depmod -a should be done too, in order to write the deppendencies file.
Old 07-16-2001, 08:05 AM   #4
Registered: Jul 2001
Location: Texas
Distribution: Fedora 16
Posts: 323

Original Poster
Rep: Reputation: 37
Question tried all suggestions to no avail

There is no scsi problem here. As stated in the original question, the original install kernel works great.

People at Redhat can't read and spend more time trying to dodge the question. A real kernel expert should be able to answer this question in 30 seconds MAX.

I was hoping to have Oracle installed by now.

Time to go where I never fail and that is my own internal research department.

See Linux stuff in the movie "Score" great movie!
Old 07-23-2001, 11:02 PM   #5
Registered: Jul 2001
Location: Texas
Distribution: Fedora 16
Posts: 323

Original Poster
Rep: Reputation: 37
Thumbs up kernel build problem solved

Solved the problem myself!!! Redhat could not help and you will see why.

On page 180 of the "Customization Guide" that comes with Redhat 7.1, see item 11.

Kernel modules are installed in the name of the original install kernel which for 7.1 is 2.4.2-2.
OK for the old kernel!!!! but...

I changed the Makefile as indicated in item 8 to

Modules should have been installed into


The book is either missing something or
make modules_install is not working.

I created a correct

and now I am off to the next problem
Old 07-24-2001, 12:43 AM   #6
Senior Member
Registered: Jun 2001
Posts: 1,635

Rep: Reputation: 45
hmmm... weird. all these strange red hat peculiarities worry me. i'm moving to debian next

it didn't work the first time when you tried a 'make modules'?


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
building a custom mini distro snipes420 Linux - General 2 10-05-2005 04:04 PM
Message with kernel No module aic7xxx found for kernel 2.4.28 abefroman Red Hat 1 01-31-2005 06:41 AM
Custom optimisation flags for building QT ugenn Linux - Software 0 04-27-2004 08:39 AM
after building a custom kernel h/w Debian 5 08-21-2003 10:13 PM
Building a custom kernel eastj1974 Linux - Newbie 7 07-01-2003 12:59 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:28 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration