Skip to contentSkip to conversation

A problem I'm having with mkinitrd for linux-2.6-test7

DISCUSSION George R Goffe 2 participants 3 messages Oct 15, 2003 – Oct 16, 2003

lore
Share & tools
lore
#0 lore raw

Howdy,

I have built a linux 2.6-test7 kernel on my redhat 8.0 system and am trying to use mkinitrd. I am getting this message relating to a module not being found (see command and error message below).

I'm not sure what to do at this point. The make modules produced no problems but make modules_install had a bunch of depmod problems. I have been using the module-init-tools-0.9.15-pre2 tools from Rusty's site.

Any/all help/tips/hints/suggestions would be greatly appreciated.

Regards,

George...

2.4.20-20.8smp root->server3# mkinitrd /boot/initrd-2.6.0-test7.img 2.6.0-test7
No module mptbase found for kernel 2.6.0-test7

=====
=====

    _/_/_/_/ _/_/_/_/ _/_/_/_/ _/_/_/_/ _/_/_/_/ _/_/_/_/ -----

_/ _/ _/ _/ _/ _/ _/ _/
_/ _/_/ _/_/_/_/ _/ _/ _/_/_/_/ _/ _/_/ _/_/_/_/ -----
_/ _/ _/ _/ _/ _/ _/ _/ _/ _/
_/_/_/_/ _/_/_/_/ _/_/_/_/ _/ _/ _/_/_/_/ _/_/_/_/ -----
"It's not what you know that hurts you, It's what you know that ain't so." Wil Rogers

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

#1 lore raw

On Wed, 15 Oct 2003 13:27:09 -0700 (PDT) George R Goffe <[email protected]> wrote:

| Howdy,
| 
| I have built a linux 2.6-test7 kernel on my redhat 8.0 system and am trying to
| use mkinitrd. I am getting this message relating to a module not being found
| (see command and error message below).
| 
| I'm not sure what to do at this point. The make modules produced no problems
| but make modules_install had a bunch of depmod problems. I have been using the
| module-init-tools-0.9.15-pre2 tools from Rusty's site.

Compare 'depmod -V' from your user login prompt to 'depmod -V' when logged in (or 'su') as root.

There shouldn't be these depmod errors, and I've seen at least one case of root's depmod being the old modutils one instead of the one from module-init-tools (this being a $PATH issue).

| Any/all help/tips/hints/suggestions would be greatly appreciated.
| 
| Regards,
| 
| George...
| 
| 2.4.20-20.8smp root->server3# mkinitrd /boot/initrd-2.6.0-test7.img
| 2.6.0-test7
| No module mptbase found for kernel 2.6.0-test7

Someone else also reported this problem with mptbase and mkinitrd.... I'll look at the mkinitrd script to see if anything pokes me in the eye.

--
~Randy

#2 lore raw
In reply to George R Goffe

On Wed, 15 Oct 2003 13:27:09 -0700 (PDT) George R Goffe <[email protected]> wrote:

| I have built a linux 2.6-test7 kernel on my redhat 8.0 system and am trying to
| use mkinitrd. I am getting this message relating to a module not being found
| (see command and error message below).
| 
| I'm not sure what to do at this point. The make modules produced no problems
| but make modules_install had a bunch of depmod problems. I have been using the
| module-init-tools-0.9.15-pre2 tools from Rusty's site.
| 
| Any/all help/tips/hints/suggestions would be greatly appreciated.
| 
| 
| 2.4.20-20.8smp root->server3# mkinitrd /boot/initrd-2.6.0-test7.img
| 2.6.0-test7
| No module mptbase found for kernel 2.6.0-test7

The 'mkinitrd' script is probably different on our systems. I expect that distros customize it a bit and I don't have a RH 8.0 version of it.

The latest version that I found (3.5.14) searches for module files ending in o.gz, o, or ko. I expect that you are using a version of mkinitrd that does not search for module files ending in ko. You (or I) could modify your mkinitrd file to search for ko module names, or you could try an updated version of mkinitrd that does search for modules names that end with ko.

Do you actually want/need the mptbase module in your initrd? If not, edit /etc/modules.conf and remove that module name. But mkinitrd needs to be updated to look in /etc/modprobe.conf instead of /etc/modules.conf for module names. I expect that the distros will take care of that.

--
~Randy