Skip to contentSkip to conversation

2.5 module-init-tools/mk_initrd problems

DISCUSSION Sid Boyce 1 participant 1 message Mar 30, 2003 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 1048970779.847.70.camel@barrabas

Sid Boyce

author
#1 lore raw

OK, found the problem, the mkinitrd script was looking for modules .o
instead of .ko, fixed script. I discovered that the RedHat source rpm contained a mkinitrd script for 2.4 kernels.
Regards
Sid.

Quoted 17 lines · Sid Boyce

On both SuSE 8.1 and Mandrake 9.1rc2, I can't get mk_initrd to find
modules.

	I've installed module-init-tools 0.9.10 (SuSE 8.1) and 0.9.9 (Mandrake

9.1rc2), mkinitrd 3.4.32 (SuSE 8.1) and 3.1.6 (Mandrake). "depmod -ae 2.5.66-ac1" finds no problems.
"mkinitrd --preload reiserfs --preload aic7xxx /boot/initrd-2.5.66-ac1 2.5.66-ac1" returns message on both systems e.g "no module reiserfs found for kernel 2.5.66-ac1".
strace says it's at least trying to look in the right top directory ...
stat64("/lib/modules/2.5.66-ac1", {st_mode=S_IFDIR|0755, st_size=288, ...}) = 0
I can't see why it's not searching further down to where the module is.
Regards
Sid.

Signature · 2 lines
Sid Boyce ... hamradio G3VBV ... Cessna/Warrior Pilot
Linux only shop
Signature · 2 lines
Sid Boyce ... hamradio G3VBV ... Cessna/Warrior Pilot
Linux only shop