[Top] [All Lists]

Re: Problem with depmod

To: Tommy Tovbin <>
Subject: Re: Problem with depmod
From: Keith Owens <>
Date: Wed, 01 Oct 2003 21:48:40 +1000
In-reply-to: Your message of "Wed, 01 Oct 2003 12:18:04 +0400." <Pine.LNX.4.44.0310011211090.21478-100000@tux.NIISI>
Original-recipient: rfc822;
On Wed, 1 Oct 2003 12:18:04 +0400 (MSD), 
Tommy Tovbin <> wrote:
>Hi, I've recompiled whole RedHat 7.3 on MIPS. Well, when I try to startup 
>my system I`m getting an error like this:
>Finding module dependencies:  depmod: cannot read ELF header from 

Short answer: 'mkdir /lib/modules/2.4.18/kernel' or 'make modules_install'.

Long answer: You can feed depmod multiple module directories, so depmod
has to look for directory 'kernel' to work out the top level of each tree.
modules.dep and the other text files are only ignored at the top level
of each tree.  You have no 'kernel' directory under /lib/modules/2.4.18
so depmod does not ignore the text files.

<Prev in Thread] Current Thread [Next in Thread>