Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Recompiling Linux Kernel

 
   Soft32 Home -> Linux2 Arch -> Setup RSS
Next:  Linux Install Problem (No bootable CD or other de..  
Author Message
JuniorG

External


Since: Mar 04, 2006
Posts: 1



(Msg. 1) Posted: Sat Mar 04, 2006 4:25 am
Post subject: Recompiling Linux Kernel
Archived from groups: comp>os>linux>setup (more info?)

Hi all,

I'm currently trying to compile the linux-2.4.21-27 kernel on an HP
DL585. My end goal is to enable HIGHMEM64GB so that linux will use all
the available RAM on the machine instead of only 4GB.

I've been able to successfully compile the kernel with HIGHMEM set, but
when I use this version to boot linux cannot find my ethernet card.
"Can't locate module eth0", I suspect it has something to do with a
missing driver or something.

Currently in "/lib/modules/2.4.21-27.ELsmp/kernel/drivers/net/" I have
bcm5700.o whereas in
my custom modules "/lib/modules/2.4.21-27.EL_64GB/kernel/drivers/net" I
do not.

So my question is, how do I include that driver when compiling the
kernel?

Thanks!
Junior
Back to top
Login to vote
Nico Kadel-Garcia

External


Since: Apr 05, 2004
Posts: 1563



(Msg. 2) Posted: Sat Mar 04, 2006 8:09 am
Post subject: Re: Recompiling Linux Kernel [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

JuniorG wrote:
> Hi all,
>
> I'm currently trying to compile the linux-2.4.21-27 kernel on an HP
> DL585. My end goal is to enable HIGHMEM64GB so that linux will use all
> the available RAM on the machine instead of only 4GB.
>
> I've been able to successfully compile the kernel with HIGHMEM set,
> but when I use this version to boot linux cannot find my ethernet
> card. "Can't locate module eth0", I suspect it has something to do
> with a missing driver or something.

What *ELSE* did you change in the kernel? And did you do "make install; make
modules_install" to get the modules installed? And why are you using a 2.4
kernel?

> Currently in "/lib/modules/2.4.21-27.ELsmp/kernel/drivers/net/" I have
> bcm5700.o whereas in
> my custom modules "/lib/modules/2.4.21-27.EL_64GB/kernel/drivers/net"
> I do not.
>
> So my question is, how do I include that driver when compiling the
> kernel?

What did you use to configure the kernel the first time you built it? "make
menuconfig"?
Back to top
Login to vote
Michael Heiming

External


Since: Aug 19, 2003
Posts: 2577



(Msg. 3) Posted: Sat Mar 04, 2006 1:43 pm
Post subject: Re: Recompiling Linux Kernel [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In comp.os.linux.setup JuniorG <goldenboy_jg.RemoveThis@hotmail.com>:
> Hi all,

> I'm currently trying to compile the linux-2.4.21-27 kernel on an HP
> DL585. My end goal is to enable HIGHMEM64GB so that linux will use all
> the available RAM on the machine instead of only 4GB.

> I've been able to successfully compile the kernel with HIGHMEM set, but
> when I use this version to boot linux cannot find my ethernet card.
> "Can't locate module eth0", I suspect it has something to do with a
> missing driver or something.

> Currently in "/lib/modules/2.4.21-27.ELsmp/kernel/drivers/net/" I have
> bcm5700.o whereas in
> my custom modules "/lib/modules/2.4.21-27.EL_64GB/kernel/drivers/net" I
> do not.

You forgot to compile it, you didn't used
/boot/config-<kernel_version> as template for yours?

> So my question is, how do I include that driver when compiling the
> kernel?

Why would you want to go through the steps? You can just download
the recent update kernel from rhn, yours is ages old
(outdated/buggy).

Just install the bigmem version and you should be set.

Good luck


BTW
Please try below URL(s) before answering, most people aren't
using a browser here to read/write, this is usenet.

http://www.safalra.com/special/googlegroupsreply
http://cfaj.freeshell.org/google

--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo zvpunry.RemoveThis@urvzvat.qr | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 293: You must've hit the wrong any key.
Back to top
Login to vote
kermit

External


Since: Aug 30, 2005
Posts: 96



(Msg. 4) Posted: Sun Mar 05, 2006 6:00 am
Post subject: Re: Recompiling Linux Kernel [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Nico Kadel-Garcia wrote:

>
> What *ELSE* did you change in the kernel? And did you do "make install;
> make modules_install" to get the modules installed?

This is usually other way round. 'make install' often creates initrd as part
of kernel installation and initrd needs already installed modules.

> And why are you using
> a 2.4 kernel?
>

Because it is apparently RHEL3 as indicated below

>> Currently in "/lib/modules/2.4.21-27.ELsmp/kernel/drivers/net/"

=arvi=
Back to top
Login to vote
Nico Kadel-Garcia

External


Since: Apr 05, 2004
Posts: 1563



(Msg. 5) Posted: Sun Mar 05, 2006 6:01 am
Post subject: Re: Recompiling Linux Kernel [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

kermit wrote:
> Nico Kadel-Garcia wrote:
>
>>
>> What *ELSE* did you change in the kernel? And did you do "make
>> install; make modules_install" to get the modules installed?
>
> This is usually other way round. 'make install' often creates initrd
> as part of kernel installation and initrd needs already installed
> modules.

Umm. If your kernel has loadable modules (and that is the de facto standard
for contemporary kernels), the old standard behavior for "make install" was
to install the kernel itself, not most of the modules may not be installed
by it. I'd really have to go take apart the strange Makefile structure to
get into details, but I found "make modules_install" to be a fairly
necessary followup step.

It's why I preferred "make rpm", which built up the images for me and would
also report if I forgot to rename the new kernel and tried to put it on top
of an old one with the same name (a source of endless trouble for new kernel
builders).

>> And why are you using
>> a 2.4 kernel?
>>
>
> Because it is apparently RHEL3 as indicated below
>
>>> Currently in "/lib/modules/2.4.21-27.ELsmp/kernel/drivers/net/"
>
> =arvi=
Back to top
Login to vote
Display posts from previous:   
Related Topics:
difficulty recompiling RHEL 4.2 kernel - I've installed a version of Red Hat Enterprise Linux 4.2 and now am try- ing to add filesystem module support for HPFS,...

Making NTFS writeable without recompiling kernel - Hi, I'm using Debian testing with kernel 2.6.3 on a dualbooting Windows XP System. The Data Partition is NTFS and..

linux.kernel, mlist.linux.kernel, lucky.linux.kernel, comp.. - Hi *, .. you could compile an application into the kernel, but I was wondering what a difference does it actually make...

Recompiling Apache - Hello all, Is it possible to keep a (working) existing Apache setup when you recompile the source? I'm sure I can..

linux kernel 2.6.3 - Kernel panic: VFS: Unable to mount ro.. - I am not sure if I am experiencing a silo problem, or a problem with a kernel configuration. I have a couple of sparc....

new kernel => which linux now? - Hi! I had installed FC1 which came with kernel 2.4.22, then I installed apt-get and did an upgrade of all my system...
       Soft32 Home -> Linux2 Arch -> Setup All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
 Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]