[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Ovirt-devel] [PATCH]: Add /lib/modules/*/lib and /lib/modules/*/crypto into managed node



All,
     In order for iSCSI to work properly, we actually need a few of the kernel
modules that we've blown away inside the managed node.  Currently, if you try to
attach to an iSCSI target, you get this in /var/log/messages in the managed node:

> Aug  8 13:35:03 node201 kernel: session7: couldn't create a new
> connection.<6>scsi11 : iSCSI Initiator over TCP/IP Aug  8 13:35:03 node201
> modprobe: WARNING: Could not open
> '/lib/modules/2.6.25.11-97.fc9.x86_64/kernel/lib/libcrc32c.ko': No such file
> or directory Aug  8 13:35:03 node201 modprobe: FATAL: Could not open
> '/lib/modules/2.6.25.11-97.fc9.x86_64/kernel/crypto/crc32c.ko': No such file
> or directory Aug  8 13:35:03 node201 kernel: connection8:0: Could not create
> connection due to crc32c loading error. Make sure the crc32c module is built
> as a module or into the kernel

This patch just adds those two directories back in; if we really need the space
savings, we can probably get rid of some other modules, but we definitely need
the crc ones listed above.

Signed-off-by: Chris Lalancette <clalance redhat com>
diff --git a/ovirt-host-creator/common-post.ks b/ovirt-host-creator/common-post.ks
index 92255a0..4daf264 100644
--- a/ovirt-host-creator/common-post.ks
+++ b/ovirt-host-creator/common-post.ks
@@ -99,7 +99,7 @@ driver_mods="drivers/auxdisplay drivers/net/appletalk \
 
 misc_mods="drivers/bluetooth drivers/firewire drivers/i2c drivers/isdn \
        drivers/media drivers/misc drivers/leds drivers/mtd drivers/w1 sound \
-       drivers/input drivers/pcmcia drivers/scsi/pcmcia crypto lib"
+       drivers/input drivers/pcmcia drivers/scsi/pcmcia"
 
 for mods in $fs_mods $net_mods $misc_mods $driver_mods ; do
     $RM $MODULES/$mods

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]