Gilles Mocellin <[EMAIL PROTECTED]> writes:
> >No module xfs_support found for kernel 2.4.20-0.4mdk
> >There was an error when generating initrd try to do a :
> >/sbin/mkinitrd /boot/initrd-2.4.20-0.4mdk.img 2.4.20-0.4mdk
> >and see the errors
> >look like there was a problem, the default vmlinuz version is not the
> >same of the initrd
> >which mean you have a mdk kernel and not a mdk initrd you may go in
> >trouble
>
> Is there a workaraound, or I am the only one with this problem ?
I have asked our kernel team about that problem (I'm the packager
for mkinitrd) on our internal kernel related mailing-list, but
they don't answer my questions. I won't make a new mkinitrd until
they answer.
The following patch should fix your problem.
--- /sbin/mkinitrd 2002-11-07 12:26:46.000000000 +0100
+++ /tmp/mkinitrd 2002-11-26 13:18:23.000000000 +0100
@@ -84,21 +84,6 @@
modName="fcal"
fi
- if [ "$modName" = "xfs" ]; then
- if [ -n "$skiperrors" ]; then
- findmodule -pagebuf
- else
- findmodule pagebuf
- fi
- findmodule xfs_support
- if [ -n "$skiperrors" ]; then
- findmodule -xfs_dmapi
- else
- findmodule xfs_dmapi
- fi
- modName="xfs"
- fi
-
if [ "$modName" = "ext3" ]; then
if [ -n "$skiperrors" ]; then
findmodule -jbd
--
Guillaume Cottenceau - http://people.mandrakesoft.com/~gc/