[CentOS-devel] Back-port md raid1/10 BIO_RW_SYNC patch for DRBD

Johnny Hughes mailing-lists at hughesjr.com
Thu Mar 1 10:56:59 UTC 2007


On Thu, 2007-03-01 at 00:24 -0500, Ross S. W. Walker wrote:

<snip>

> Again, I don't want to be alarmist but... I think there might be a build
> problem with the latest plus kernel:
> 
> [root at mfg-nyc-iscsi2 make]# rpm -qa | grep kernel | sort
> iscsitarget-kernel-smp-0.4.14-98_2.6.9_42.0.8.plus.c4
> kernel-doc-2.6.9-42.0.10.plus.c4
> kernel-ib-1.0-1
> kernel-module-drbd-2.6.9-42.0.3.plus.c4smp-0.7.21-1.c4
> kernel-module-drbd-2.6.9-42.0.8.plus.c4smp-0.7.23-1.c4
> kernel-smp-2.6.9-42.0.10.EL
> kernel-smp-2.6.9-42.0.8.plus.c4
> kernel-smp-devel-2.6.9-42.0.10.EL
> kernel-utils-2.4-13.1.83
> 
> Looks like the plus kernel dependencies got mixed up...
> 
> [root at mfg-nyc-iscsi2 make]# ls -l /lib/modules/
> total 32
> drwxr-xr-x  3 root root 4096 Feb 28 23:45 2.6.9-42.0.10.ELsmp
> drwxr-xr-x  2 root root 4096 Dec 22 23:13 2.6.9-42.0.3.EL
> drwxr-xr-x  3 root root 4096 Feb  2 17:31 2.6.9-42.0.3.ELsmp
> drwxr-xr-x  4 root root 4096 Feb 24 11:13 2.6.9-42.0.3.plus.c4smp
> drwxr-xr-x  4 root root 4096 Feb 28 23:45 2.6.9-42.0.8.plus.c4smp
> drwxr-xr-x  2 root root 4096 Dec 22 23:12 2.6.9-42.EL
> drwxr-xr-x  2 root root 4096 Feb 27 09:53 kabi-4.0-0smp
> 
> And it's gone and installed the standard kernel.
> 
> -Ross

It just looks like you installed the standard kernel

This shows that the modules go into the normal place when the plus
kernel is installed:

[buildsvn at build-i386 newkernel]$ rpm -qlp kernel-smp-2.6.9-42.0.10.plus.c4.x86_64.rpm | grep "\/lib\/modules" 
/lib/modules/2.6.9-42.0.10.plus.c4smp
/lib/modules/2.6.9-42.0.10.plus.c4smp/kernel
/lib/modules/2.6.9-42.0.10.plus.c4smp/kernel/arch
/lib/modules/2.6.9-42.0.10.plus.c4smp/kernel/arch/x86_64
/lib/modules/2.6.9-42.0.10.plus.c4smp/kernel/arch/x86_64/kernel
/lib/modules/2.6.9-42.0.10.plus.c4smp/kernel/arch/x86_64/kernel/microcode.ko
/lib/modules/2.6.9-42.0.10.plus.c4smp/kernel/arch/x86_64/oprofile
/lib/modules/2.6.9-42.0.10.plus.c4smp/kernel/arch/x86_64/oprofile/oprofile.ko
/lib/modules/2.6.9-42.0.10.plus.c4smp/kernel/crypto
/lib/modules/2.6.9-42.0.10.plus.c4smp/kernel/crypto/aes.ko
/lib/modules/2.6.9-42.0.10.plus.c4smp/kernel/crypto/arc4.ko
/lib/modules/2.6.9-42.0.10.plus.c4smp/kernel/crypto/blowfish.ko
/lib/modules/2.6.9-42.0.10.plus.c4smp/kernel/crypto/cast5.ko
/lib/modules/2.6.9-42.0.10.plus.c4smp/kernel/crypto/cast6.ko
/lib/modules/2.6.9-42.0.10.plus.c4smp/kernel/crypto/crc32c.ko
/lib/modules/2.6.9-42.0.10.plus.c4smp/kernel/crypto/crypto_null.ko
/lib/modules/2.6.9-42.0.10.plus.c4smp/kernel/crypto/deflate.ko
/lib/modules/2.6.9-42.0.10.plus.c4smp/kernel/crypto/des.ko
/lib/modules/2.6.9-42.0.10.plus.c4smp/kernel/crypto/khazad.ko
/lib/modules/2.6.9-42.0.10.plus.c4smp/kernel/crypto/md4.ko
/lib/modules/2.6.9-42.0.10.plus.c4smp/kernel/crypto/md5.ko
/lib/modules/2.6.9-42.0.10.plus.c4smp/kernel/crypto/michael_mic.ko
/lib/modules/2.6.9-42.0.10.plus.c4smp/kernel/crypto/serpent.ko
/lib/modules/2.6.9-42.0.10.plus.c4smp/kernel/crypto/sha256.ko
/lib/modules/2.6.9-42.0.10.plus.c4smp/kernel/crypto/sha512.ko

<snip>
================================================================

Also ... the naming of the plus smp kernel seems fine:

[buildsvn at build-i386 newkernel]$ rpm -qp --provides kernel-smp-2.6.9-42.0.10.plus.c4.x86_64.rpm | grep smp
kernel-smp-x86_64 = 2.6.9-42.0.10.plus.c4
kABI(4.0smp.x86_64) = 0
kernel-smp = 2.6.9-42.0.10.plus.c4
================================================================

Other than you do not have to 42.0.10.plus.c4smp kernel installed (but
instead the standard 42.0.10.ELsmp), I am not sure what your question
is.

Thanks,
Johnny Hughes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.centos.org/pipermail/centos-devel/attachments/20070301/f9c0dcc9/attachment.bin


More information about the CentOS-devel mailing list