[CentOS] kernel-devel largesmp or ELlarge?

James Pearson james-p at moving-picture.com
Sat Mar 31 08:39:00 UTC 2007

On 31/03/07, Gordon McLellan <gordonthree at gmail.com> wrote:
> I'm having trouble updating my iscsitarget modules, and it seems to be
> related to a naming convention mixup?
> here's the output of the build command:
> [root at vmhost ~]# rpmbuild --rebuild --sign
> iscsitarget-
> Installing iscsitarget-
> error: Failed build dependencies:
>         kernel-devel = 2.6.9-42.0.10.ELlarge is needed by
> iscsitarget-
> here's everything my system knows about kernels:
> [root at vmhost ~]# rpm -qa|grep kernel
> kernel-utils-2.4-13.1.83
> kernel-smp-2.6.9-42.0.8.EL
> kernel-largesmp-devel-2.6.9-42.0.10.EL
> kernel-largesmp-2.6.9-42.0.10.EL
> kernel-devel-2.6.9-42.0.10.EL
> kernel-smp-devel-2.6.9-42.0.10.EL
> iscsitarget-kernel-smp-
> kernel-smp-2.6.9-42.0.10.EL
> the kernel I'm currently running:
> [root at vmhost ~]# uname -a
> Linux vmhost 2.6.9-42.0.10.ELlargesmp #1 SMP Tue Feb 27 09:59:08 EST
> 2007 x86_64 x86_64 x86_64 GNU/Linux
> kernel-devel-2.6.9-42.0.10.ELlarge doesn't seem to exist.  but I did
> find kernel-largesmp-devel, but that didn't help
> I'm not sure I need to run the largesmp kernel, but it does seem to
> gain me an extra gigabyte of ram when I run the "free" command.  This
> box has a single quadcore xeon and 16 gigs of ram in it.
> Any thoughts or suggestions from the list?

My guess is that some logic in the spec file is getting your running
kernel wrong ...

Install the SRPM and have a look at the spec file - my guess it is
doing some sed'ing, awk'ing or grep'ing on the kernel version and it
getting wrong - may be it doesn't support 'largesmp' ??

I suggest you use the 'normal' smp kernel - I believe the largesmp
kernel is for machines with 8 or more CPUs/cores

James Pearson

More information about the CentOS mailing list