Kernel Woes - modules.dep is empty (newbie question)

Kernel Woes - modules.dep is empty (newbie question)

Post by Oliver B. Tupma » Wed, 04 Jul 2001 04:15:11



Hi there,

I'm attempting to install Linux 2.4.5 on my RedHat 6.1 system,
but once I've installed it and booted it up I cannot seem to
load any modules.

Having discovered this and retraced my steps I still couldn't
work out why. I then took a peek a my modules.dep and it was
empty! And I've no idea why...

My kernel build process was this:

make menuconfig
make dep
make modules
make bzImage
make modules_install

I then copied bzImage across to a floppy disc (dd'd it) and
booted up.

No modules installed. They're all there in /lib/modules/2.4.5
but I can't load (I assume 'cos modules.dep is empty)

I booted back in 2.2.14-5.0 and redid it all, but this time
did a make install and simply tried from the hard drive.

Once again it booted, but I still couldn't load any modules.

Have I missed out a vital step? As far as I know there's nothing
funny about my machine - nearly a clean RH 6.2 installation. I
downloaded 2.4.5 from kernel.org.

help!

Cheers,

  Ollie Tupman

- - - - - - - - - - - - - - - - - -
Gaffa tape is like the force - it has a dark side
and light side and it holds the universe together!

 
 
 

Kernel Woes - modules.dep is empty (newbie question)

Post by Ujwal S. Sathya » Wed, 04 Jul 2001 13:58:22


Is it OK to do make modules before make bzImage? I always do:

make dep
make bzImage
make modules
make modules_install

Ujwal



> Hi there,

> I'm attempting to install Linux 2.4.5 on my RedHat 6.1 system, but once
> I've installed it and booted it up I cannot seem to load any modules.

> Having discovered this and retraced my steps I still couldn't work out
> why. I then took a peek a my modules.dep and it was empty! And I've no
> idea why...

> My kernel build process was this:

> make menuconfig
> make dep
> make modules
> make bzImage
> make modules_install

> I then copied bzImage across to a floppy disc (dd'd it) and booted up.

> No modules installed. They're all there in /lib/modules/2.4.5 but I
> can't load (I assume 'cos modules.dep is empty)

> I booted back in 2.2.14-5.0 and redid it all, but this time did a make
> install and simply tried from the hard drive.

> Once again it booted, but I still couldn't load any modules.

> Have I missed out a vital step? As far as I know there's nothing funny
> about my machine - nearly a clean RH 6.2 installation. I downloaded
> 2.4.5 from kernel.org.

> help!

> Cheers,

>   Ollie Tupman

> - - - - - - - - - - - - - - - - - -
> Gaffa tape is like the force - it has a dark side and light side and it
> holds the universe together!


 
 
 

Kernel Woes - modules.dep is empty (newbie question)

Post by Bill Pit » Wed, 04 Jul 2001 15:41:06



Quote:> Hi there,
> I'm attempting to install Linux 2.4.5 on my RedHat 6.1 system,
> but once I've installed it and booted it up I cannot seem to
> load any modules.
> Having discovered this and retraced my steps I still couldn't
> work out why. I then took a peek a my modules.dep and it was
> empty! And I've no idea why...
> My kernel build process was this:
> make menuconfig
> make dep
> make modules
> make bzImage
> make modules_install
> I then copied bzImage across to a floppy disc (dd'd it) and
> booted up.
> No modules installed. They're all there in /lib/modules/2.4.5
> but I can't load (I assume 'cos modules.dep is empty)
> I booted back in 2.2.14-5.0 and redid it all, but this time
> did a make install and simply tried from the hard drive.
> Once again it booted, but I still couldn't load any modules.
> Have I missed out a vital step? As far as I know there's nothing
> funny about my machine - nearly a clean RH 6.2 installation. I
> downloaded 2.4.5 from kernel.org.

Run make modules and make modules_install again just to be safe.
Then run a 'depmod -a' to build the module dependency file.

-Bill
--
Bill Pitz
e-mail: bill at bill pitz dotcom

 
 
 

Kernel Woes - modules.dep is empty (newbie question)

Post by Oliver B. Tupma » Wed, 04 Jul 2001 16:59:03



> Run make modules and make modules_install again just to be safe.
> Then run a 'depmod -a' to build the module dependency file.

> -Bill

Yep, done that but it didn't work. I tried depmod -va to see what
depmod was doing and it didn't even touch my 2.4.5 directory! All
it did was the old kernel directory.

   Ollie T.

- - - - - - - - - - - -
Gaffa tape is like the force - it has a light side
and a dark side and it holds the universe together!

 
 
 

Kernel Woes - modules.dep is empty (newbie question)

Post by Gene Hesket » Wed, 04 Jul 2001 20:06:04


Gene Heskett sends Greetings to Bill Pitz;


Quote:>> Hi there,
>> I'm attempting to install Linux 2.4.5 on my RedHat 6.1 system,
>> but once I've installed it and booted it up I cannot seem to
>> load any modules.
>> Having discovered this and retraced my steps I still couldn't
>> work out why. I then took a peek a my modules.dep and it was
>> empty! And I've no idea why...
>> My kernel build process was this:
>> make menuconfig
>> make dep
>> make modules
>> make bzImage
>> make modules_install
>> I then copied bzImage across to a floppy disc (dd'd it) and
>> booted up.
>> No modules installed. They're all there in /lib/modules/2.4.5
>> but I can't load (I assume 'cos modules.dep is empty)
>> I booted back in 2.2.14-5.0 and redid it all, but this time
>> did a make install and simply tried from the hard drive.
>> Once again it booted, but I still couldn't load any modules.
>> Have I missed out a vital step? As far as I know there's nothing
>> funny about my machine - nearly a clean RH 6.2 installation. I
>> downloaded 2.4.5 from kernel.org.

 BP> Run make modules and make modules_install again just to be safe.
 BP> Then run a 'depmod -a' to build the module dependency file.

Please make note that he is starting with a truely jurrasic system Bill,
and he is even confused about its install version in that he wuotes both
RH6.1 and RH6.2 above.

There are several other utils that must also be updated, binutils and
modutils come to mind, before its going to work.  modutils in particular
because the directory tree construction for the individual
/lib/modules/n.n.n has been totally ripped up and replanted.  His
modules.dep is empty because depmod is looking in the wrong places.

Cheers, Gene
--
  Gene Heskett, CET, UHK       |Amiga A2k Zeus040, 70MB ram, 31 gigs

             email gene underscore heskett at iolinc dot net
#Amiga based X10 home automation program EZHome, see at:#
               <http://www.iolinc.net/gene_heskett>
This messages reply content, but not any previously quoted material,
is ? 2001 by Gene Heskett, all rights reserved.
--

 
 
 

1. 2.2.1 and modules -- modules.dep is empty

I haven't been able to get modules to work with 2.2.1.  I have
modutils 2.1.121; I compiled and brought up a version of 2.2.1
without modules, and built modutils with that running.

But, at boot time, depmod -a is leaving /lib/modules/2.2.1/modules.dep
empty.  As you can imagine, everything is down hill after that!  I
could use any suggestions anybody might have as to where to look for
my error...
--
Joseph J. Pfeiffer, Jr., Ph.D.       Phone -- (505) 646-1605
Department of Computer Science       FAX   -- (505) 646-1002
New Mexico State University          http://www.cs.nmsu.edu/~pfeiffer

2. Reading is much more interesting than TV (0773/1708)

3. modules.dep is empty!

4. Netware

5. Newbie: modules.dep

6. newbie: retrieve name of tmpfile problem

7. conf.modules vs. modules.conf & modules.dep??

8. help on DSL setup

9. kernel 2.2.16 - no modules.dep?

10. problem with modules.dep <- after compiling a new kernel

11. Note: conf.modules more recent that /usr/src/linux*/modules.dep message

12. modules.dep is older than modules.conf

13. modules.conf more recent than modules.dep