LinuxQuestions.org
Review your favorite Linux distribution.
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 07-04-2001, 10:06 PM   #1
landonmkelsey
Member
 
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
2.4.2-2-3JULY01
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
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
Did you remember to do the
Code:
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.

cheers

Jamie...
 
Old 07-05-2001, 05:46 AM   #3
cinnix
Member
 
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
landonmkelsey
Member
 
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
landonmkelsey
Member
 
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.
/lib/modules/2.4.2-2/kernel/drivers/...
OK for the old kernel!!!! but...

I changed the Makefile as indicated in item 8 to
EXTRAVERSION=2.4.2-2-3JULY01.

Modules should have been installed into

/lib/modules/2.4.2-2-3JULY01/kernel/drivers/...

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

I created a correct
/lib/modules/2.4.2-2-3JULY01/kernel/drivers/...

and now I am off to the next problem
 
Old 07-24-2001, 12:43 AM   #6
isajera
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'?
 
  


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
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:22 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
Open Source Consulting | Domain Registration