Martin Hamant
2007-Jul-30 14:32 UTC
[CentOS] kmod-drbd-smp (2.6.9-55.0.2.EL) has unknown symbols (kmod-drbd not).
Hi ! Not very blocking because the smp module loads perfectly. # yum --exclude=kmod-drbd*\plus\* install kmod-drbd Setting up Install Process Setting up repositories Reading repository metadata in from local files Excluding Packages in global exclude list Finished Reducing CentOS-4 - Plus to included packages only Finished Parsing package install arguments Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Package kmod-drbd.i686 0:0.7.24-1.2.6.9_55.0.2.EL set to be updated --> Running transaction check Dependencies Resolved ============================================================================ Package Arch Version Repository Size ============================================================================Installing: kmod-drbd i686 0.7.24-1.2.6.9_55.0.2.EL extras 472 k Transaction Summary ============================================================================Install 1 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 472 k Is this ok [y/N]: y Downloading Packages: Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing: kmod-drbd ######################### [1/1] WARNING: /lib/modules/2.6.9-55.0.2.EL/extra/drbd.ko needs unknown symbol _spin_unlock_irq WARNING: /lib/modules/2.6.9-55.0.2.EL/extra/drbd.ko needs unknown symbol _spin_unlock WARNING: /lib/modules/2.6.9-55.0.2.EL/extra/drbd.ko needs unknown symbol _spin_unlock_irqrestore WARNING: /lib/modules/2.6.9-55.0.2.EL/extra/drbd.ko needs unknown symbol _spin_lock_irq WARNING: /lib/modules/2.6.9-55.0.2.EL/extra/drbd.ko needs unknown symbol del_timer_sync WARNING: /lib/modules/2.6.9-55.0.2.EL/extra/drbd.ko needs unknown symbol _spin_lock_irqsave WARNING: /lib/modules/2.6.9-55.0.2.EL/extra/drbd.ko needs unknown symbol _spin_lock Installed: kmod-drbd.i686 0:0.7.24-1.2.6.9_55.0.2.EL Complete! # uname -a Linux *** 2.6.9-55.0.2.EL #1 Tue Jun 26 14:08:18 EDT 2007 i686 i686 i386 GNU/Linux # modprobe drbd FATAL: Error inserting drbd (/lib/modules/2.6.9-55.0.2.EL/extra/drbd.ko): Invalid module format (PS: I think something really needs to be done with the --exclude / plus issue) -- Martin Hamant
Martin Hamant
2007-Jul-30 14:36 UTC
[CentOS] kmod-drbd (2.6.9-55.0.2.EL) has unknown symbols (kmod-drbd-smp not).
/!\ sorry, inverted smp and no-smp in the subject ! Le Mon, 30 Jul 2007 16:32:32 +0200 Martin Hamant <mh at accelance.fr> ?crivait:> Hi ! > > Not very blocking because the smp module loads perfectly. > > # yum --exclude=kmod-drbd*\plus\* install kmod-drbd > Setting up Install Process > Setting up repositories > Reading repository metadata in from local files > Excluding Packages in global exclude list > Finished > Reducing CentOS-4 - Plus to included packages only > Finished > Parsing package install arguments > Resolving Dependencies > --> Populating transaction set with selected packages. Please wait. > ---> Package kmod-drbd.i686 0:0.7.24-1.2.6.9_55.0.2.EL set to be > updated --> Running transaction check > > Dependencies Resolved > > ============================================================================> Package Arch Version > Repository Size > ============================================================================> Installing: kmod-drbd i686 > 0.7.24-1.2.6.9_55.0.2.EL extras 472 k > > Transaction Summary > ============================================================================> Install 1 Package(s) > Update 0 Package(s) > Remove 0 Package(s) > Total download size: 472 k > Is this ok [y/N]: y > Downloading Packages: > Running Transaction Test > Finished Transaction Test > Transaction Test Succeeded > Running Transaction > Installing: kmod-drbd ######################### > [1/1] WARNING: /lib/modules/2.6.9-55.0.2.EL/extra/drbd.ko needs > unknown symbol _spin_unlock_irq > WARNING: /lib/modules/2.6.9-55.0.2.EL/extra/drbd.ko needs unknown > symbol _spin_unlock > WARNING: /lib/modules/2.6.9-55.0.2.EL/extra/drbd.ko needs unknown > symbol _spin_unlock_irqrestore > WARNING: /lib/modules/2.6.9-55.0.2.EL/extra/drbd.ko needs unknown > symbol _spin_lock_irq > WARNING: /lib/modules/2.6.9-55.0.2.EL/extra/drbd.ko needs unknown > symbol del_timer_sync > WARNING: /lib/modules/2.6.9-55.0.2.EL/extra/drbd.ko needs unknown > symbol _spin_lock_irqsave > WARNING: /lib/modules/2.6.9-55.0.2.EL/extra/drbd.ko needs unknown > symbol _spin_lock > > Installed: kmod-drbd.i686 0:0.7.24-1.2.6.9_55.0.2.EL > Complete! > > # uname -a > Linux *** 2.6.9-55.0.2.EL #1 Tue Jun 26 14:08:18 EDT 2007 i686 i686 > i386 GNU/Linux > > # modprobe drbd > FATAL: Error inserting drbd > (/lib/modules/2.6.9-55.0.2.EL/extra/drbd.ko): Invalid module format > > > (PS: I think something really needs to be done with the --exclude / > plus issue) >-- Martin Hamant
Johnny Hughes
2007-Jul-31 10:17 UTC
[CentOS] kmod-drbd-smp (2.6.9-55.0.2.EL) has unknown symbols (kmod-drbd not).
Martin Hamant wrote:> Hi ! > > Not very blocking because the smp module loads perfectly. > <snip>OK ... there was a problem with some of the drbd modules (all except the smp ones). This problem is now fixed and the changes are syncing to the mirrors. The new version is: kmod-drbd-0.7.24-2.<kernel-version>. The old (broken) ones have been removed.> (PS: I think something really needs to be done with the --exclude / plus > issue)OK ... For the drbd-kmod*.plus kernels, they are now in the CentOSPlus directory / Repository. If you are using CentOSPlus kernel, you need to also get your module for DRBD (or XFS) from there too. If you are using the Base Kernel (non-Plus one) then you would get your DRBD Modules (or XFS modules) from extras. This should prevent the exclude requirement to get non-Plus kernel modules. SO ... if you need a module for the base kernel, it is in extras ... if you need a module for the centosplus kernel, it is in centosplus. Thanks, Johnny Hughes -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 252 bytes Desc: OpenPGP digital signature URL: <http://lists.centos.org/pipermail/centos/attachments/20070731/2ed15980/attachment.sig>
Martin Hamant
2007-Jul-31 12:16 UTC
[CentOS] kmod-drbd-smp (2.6.9-55.0.2.EL) has unknown symbols (kmod-drbd not).
Le Tue, 31 Jul 2007 05:17:08 -0500 Johnny Hughes <johnny at centos.org> ?crivait:> Martin Hamant wrote: > > Hi ! > > > > Not very blocking because the smp module loads perfectly. > > <snip> > > OK ... there was a problem with some of the drbd modules (all except > the smp ones). This problem is now fixed and the changes are syncing > to the mirrors. > > The new version is: kmod-drbd-0.7.24-2.<kernel-version>. > > The old (broken) ones have been removed.Yes ! Thank you :)> > > (PS: I think something really needs to be done with the --exclude / > > plus issue) > > OK ... For the drbd-kmod*.plus kernels, they are now in the CentOSPlus > directory / Repository. If you are using CentOSPlus kernel, you need > to also get your module for DRBD (or XFS) from there too. > > If you are using the Base Kernel (non-Plus one) then you would get > your DRBD Modules (or XFS modules) from extras. > > This should prevent the exclude requirement to get non-Plus kernel > modules. > > SO ... if you need a module for the base kernel, it is in extras ... > if you need a module for the centosplus kernel, it is in centosplus.Sounds great. The last problem is if "plus" and "extras" repos are both activated: it occurs for centosbase/centosplus kernels the same way as for kmod-drbd... because last version is determined by the text pattern :( The centosplus repo should be activated with care... About updating drbd modules, what is the current behavior when you issue a "yum update" ? Is the new kmod-drbd is install automatically (like kernels are) ? With the precedent package you'll had to install the new one manually if you didn't want to get stuck with a new fresh default kernel without any drbd support ^^ I'm asking this because it becomes complicated between servers which have drbd modules installed, and others. "yum update" on a drbd-ready machine should not be rebooted after an kernel upgrade as long as the corresponding kmod has not been released (ie: editing grub.conf to change default entry for a while in case of a unexpected reboot). I don't know how it's possible to improve this, maybe a yum plugin which could detect any drbd modules and if it's matches with any installed kernels... what do you think ? Thanks to you :) -- Martin Hamant