Re: Problems with Debian 1.3.1 kernel rebuild
Hi,
>>On Sun, 10 Aug 1997, Harmon Sequoya Nine wrote:
Harmon> I've rebuilt my kernel and the compile goes well. However,
Harmon> /lib/modules/2.0.30/modules.dep does not get created properly
Harmon> on the first reboot. The kernel says its creating it (which it
Harmon> does), but its completely empty.
AFAIK, the modules.dep file is created by depmod -a (has to be
run as root). depmod -a is run early during the booting up process
(/etc/init.d/modules or /etc/init.d/modutils).
A possible cause of error could be the newly introduced
incompatibility in modutils/modules package: it has not grown
intolerant of non .0 files in /lib/modules/2.0.30. (Running depmod -a
-v manually as super user should confirm this).
Newer kernel-image packages (created using newer kernel-package
packages) do not put non .o files under /lib/modules; older packages
tended to have text files there.
If this is the case, remove any file that causes depmod -a to
have hissy fits. The following may help identify those files.
# find /lib/modules/2.0.30 -type f | xargs file | grep -v 'ELF 32-bit LSB'
/lib/modules/2.0.30/modules.dep: ASCII text
The only acceptable file is modules.dep.
Hope this helps.
manoj
--
"NASA Announces New Deck Chair Arrangement For Space Station
Titanic." Tom Neff
Manoj Srivastava <url:mailto:srivasta@acm.org>
Mobile, Alabama USA <url:http://www.datasync.com/%7Esrivasta/>
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . Trouble?
e-mail to templin@bucknell.edu .
Reply to: