Hi all, I am using heartbeat and drbd on CentOS 5 (see http://www.centos.org/modules/newbb/viewtopic.php?topic_id=7816&forum=41 for details).. DRBD and heartbeat are working, and now I want to put GNBD on top on this. However, I installed the latest CentOS-plus kernel (2.6.18-8.1.8.el5.centos.plus) but there doesn't appear to be a kmod-gndb for this kernel. Looks like the latest kmod-gnbd is available for kernel 2.6.18-8.1.8.el5. But I cannot find a kmod-drbd for this kernel. Am I missing something or is this worth a entry in the buglist? Tnx! -- We've Got Your Name at http://www.mail.com ! Get a FREE E-mail Account Today - Choose From 100+ Domains
Bart wrote:> Hi all, > > I am using heartbeat and drbd on CentOS 5 (see http://www.centos.org/modules/newbb/viewtopic.php?topic_id=7816&forum=41 for details).. > > DRBD and heartbeat are working, and now I want to put GNBD on top on this. However, I installed the latest CentOS-plus kernel (2.6.18-8.1.8.el5.centos.plus) but there doesn't appear to be a kmod-gndb for this kernel. > > Looks like the latest kmod-gnbd is available for kernel 2.6.18-8.1.8.el5. But I cannot find a kmod-drbd for this kernel. Am I missing something or is this worth a entry in the buglist? > > Tnx! >That kmod is in extras repo: http://mirror.centos.org/centos/5/extras/i386/RPMS/ -------------- 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/20070818/7b42804e/attachment.sig>
Hmm, I have to disagree: First check the current kernelversion: [root at bartje ~]# uname -a Linux bartje 2.6.18-8.1.8.el5.centos.plus #1 SMP Mon Jul 16 08:49:50 EDT 2007 i686 athlon i386 GNU/Linux Check for kmod-drbd: [root at bartje ~]# modprobe drbd [root at bartje ~]# lsmod | grep drbd drbd 180488 1 Install the gnbd-kernel mod. We do want to keep the current kernel, so we exclude it now: [root at bartje ~]# yum install kmod-gnbd --exclude=kernel Loading "installonlyn" plugin Setting up Install Process Setting up repositories Reading repository metadata in from local files Excluding Packages in global exclude list Finished Parsing package install arguments Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Downloading header for kmod-gnbd to pack into transaction set. kmod-gnbd-0.1.3-4.2.6.18_ 100% |=========================| 4.2 kB 00:00 ---> Package kmod-gnbd.i686 0:0.1.3-4.2.6.18_8.1.6.el5 set to be installed --> Running transaction check --> Processing Dependency: kernel-i686 = 2.6.18-8.1.6.el5 for package: kmod-gnbd --> Finished Dependency Resolution Error: Missing Dependency: kernel-i686 = 2.6.18-8.1.6.el5 is needed by package kmod-gnbd Oops.. Do we have the extra repro? [root at bartje ~]# grep extra /etc/yum.repos.d/CentOS-* /etc/yum.repos.d/CentOS-Base.repo:[extras] /etc/yum.repos.d/CentOS-Base.repo:mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras /etc/yum.repos.d/CentOS-Base.repo:#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/ Jeps, and it's enabled (but that's not shown :P ) But what if we do allow the kernel to be updated/changed? [root at bartje ~]# yum install kmod-gnbd Loading "installonlyn" plugin <SNIP!> Dependencies Resolved ============================================================================ Package Arch Version Repository Size ============================================================================Installing: kmod-gnbd i686 0.1.3-4.2.6.18_8.1.6.el5 updates 13 k Removing: kernel i686 2.6.18-8.1.8.el5 installed 34 M Installing for dependencies: kernel i686 2.6.18-8.1.6.el5 updates 12 M Removing for dependencies: kmod-gnbd i686 0.1.3-4.2.6.18_8.1.8.el5 installed 25 k Transaction Summary ============================================================================Install 2 Package(s) Update 0 Package(s) Remove 2 Package(s) Total download size: 12 M Is this ok [y/N]: That will remove kmod-drbd, which I need... Regards, Bart ----- Original Message ----- From: "Johnny Hughes" To: "CentOS mailing list" Subject: Re: [CentOS] GNBD and DRBD kernel mods Date: Sat, 18 Aug 2007 06:46:20 -0500 Bart wrote:> Hi all, > > I am using heartbeat and drbd on CentOS 5 (see > http://www.centos.org/modules/newbb/viewtopic.php?topic_id=7816&forum=41 for > details).. > > DRBD and heartbeat are working, and now I want to put GNBD on top > on this. However, I installed the latest CentOS-plus kernel > (2.6.18-8.1.8.el5.centos.plus) but there doesn't appear to be a > kmod-gndb for this kernel. > > Looks like the latest kmod-gnbd is available for kernel > 2.6.18-8.1.8.el5. But I cannot find a kmod-drbd for this kernel. > Am I missing something or is this worth a entry in the buglist? > > Tnx! >That kmod is in extras repo: http://mirror.centos.org/centos/5/extras/i386/RPMS/ << signature.asc >> _______________________________________________ CentOS mailing list CentOS at centos.org http://lists.centos.org/mailman/listinfo/centos -- We've Got Your Name at http://www.mail.com ! Get a FREE E-mail Account Today - Choose From 100+ Domains
>http://mirror.centos.org/centos/5/updates/i386/RPMS/ >i can see the kmod-gnbd for 2.6.18-8.1.8 fine thereIt's not one of both kmod's, it's the combination ;) I can't find a kernel that has both.>Also, i dont seem to recall us ever shipping kmod-gnbd for the >CentOSPlus kernels.Well, that explains. Can you start shipping kmod-gndb in the CentOSPlus kernels? -- We've Got Your Name at http://www.mail.com ! Get a FREE E-mail Account Today - Choose From 100+ Domains
>What is it in the Plus kernel that you need and cant be packaged >into a kmod itself ?Ehm, nothing... I just need a kernel that both has a kmod-drbd and kmod-gnbd. I don't believe that this is the case for the current Plus kernel. This is my problem: [root at bartje log]# yum install kmod-gnbd kmod-drbd Loading "installonlyn" plugin Setting up Install Process Setting up repositories Reading repository metadata in from local files Parsing package install arguments Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Package kmod-drbd.i686 0:8.0.4-1.2.6.18_8.1.8.el5.centos.plus set to be installed ---> Package kmod-gnbd.i686 0:0.1.3-4.2.6.18_8.1.8.el5 set to be installed --> Running transaction check --> Processing Dependency: kernel-i686 = 2.6.18-8.1.8.el5 for package: kmod-gnbd --> Processing Dependency: kernel-i686 = 2.6.18-8.1.8.el5.centos.plus for package: kmod-drbd --> Restarting Dependency Resolution with new changes. --> Populating transaction set with selected packages. Please wait. ---> Package kernel.i686 0:2.6.18-8.1.8.el5 set to be installed ---> Package kernel.i686 0:2.6.18-8.1.8.el5.centos.plus set to be installed --> Running transaction check --> Processing Dependency: kernel-i686 = 2.6.18-8.1.8.el5 for package: kmod-gnbd --> Restarting Dependency Resolution with new changes. --> Populating transaction set with selected packages. Please wait. ---> Package kernel.i686 0:2.6.18-8.1.8.el5 set to be installed --> Running transaction check --> Processing Dependency: kernel-i686 = 2.6.18-8.1.8.el5 for package: kmod-gnbd --> Restarting Dependency Resolution with new changes. --> Populating transaction set with selected packages. Please wait. ---> Package kernel.i686 0:2.6.18-8.1.8.el5 set to be installed --> Running transaction check Error: Unable to satisfy dependencies Error: Package kmod-gnbd needs kernel-i686 = 2.6.18-8.1.8.el5, this is not available. Thanks. -- We've Got Your Name at http://www.mail.com ! Get a FREE E-mail Account Today - Choose From 100+ Domains
Thanks Karanbir! It's bug #0002284. I hope you can do a lot ;) ----- Original Message ----- From: "Karanbir Singh" To: "CentOS mailing list" Subject: Re: [CentOS] GNBD and DRBD kernel mods Date: Tue, 21 Aug 2007 02:35:17 +0100 Bart wrote:>> What is it in the Plus kernel that you need and cant be packaged >> into a kmod itself ? > > Ehm, nothing... > > I just need a kernel that both has a kmod-drbd and kmod-gnbd. I > don't believe that this is the case for the current Plus kernel. > > This is my problem: > [root at bartje log]# yum install kmod-gnbd kmod-drbd > Loading "installonlyn" plugin > Setting up Install Process > Setting up repositories > Reading repository metadata in from local files > Parsing package install arguments > Resolving Dependencies > --> Populating transaction set with selected packages. Please wait. > ---> Package kmod-drbd.i686 > 0:8.0.4-1.2.6.18_8.1.8.el5.centos.plus set to be installed > ---> Package kmod-gnbd.i686 0:0.1.3-4.2.6.18_8.1.8.el5 set to be installed > --> Running transaction check > --> Processing Dependency: kernel-i686 = 2.6.18-8.1.8.el5 for > package: kmod-gnbd > --> Processing Dependency: kernel-i686 = > 2.6.18-8.1.8.el5.centos.plus for package: kmod-drbd > --> Restarting Dependency Resolution with new changes. > --> Populating transaction set with selected packages. Please wait. > ---> Package kernel.i686 0:2.6.18-8.1.8.el5 set to be installed > ---> Package kernel.i686 0:2.6.18-8.1.8.el5.centos.plus set to be installed > --> Running transaction check > --> Processing Dependency: kernel-i686 = 2.6.18-8.1.8.el5 for > package: kmod-gnbd > --> Restarting Dependency Resolution with new changes. > --> Populating transaction set with selected packages. Please wait. > ---> Package kernel.i686 0:2.6.18-8.1.8.el5 set to be installed > --> Running transaction check > --> Processing Dependency: kernel-i686 = 2.6.18-8.1.8.el5 for > package: kmod-gnbd > --> Restarting Dependency Resolution with new changes. > --> Populating transaction set with selected packages. Please wait. > ---> Package kernel.i686 0:2.6.18-8.1.8.el5 set to be installed > --> Running transaction check > Error: Unable to satisfy dependencies > Error: Package kmod-gnbd needs kernel-i686 = 2.6.18-8.1.8.el5, > this is not available. > > Thanks. >if you open an issue report for this situation at http://bugs.centos.org/ we'll see what can be done -- Karanbir Singh : http://www.karan.org/ : 2522219 at icq _______________________________________________ CentOS mailing list CentOS at centos.org http://lists.centos.org/mailman/listinfo/centos -- We've Got Your Name at http://www.mail.com ! Get a FREE E-mail Account Today - Choose From 100+ Domains