Hi All,
I am trying to recompile the stock kernel to include XFS. At install time of the OS I select to install the kernel source code however I do not have a /usr/src/linux-2.6.9-5.0.3.EL-smp directory. I then learned you must run "yum install kernel-sourcecode" to properly install the source. When I run the command this is what happens ( see below) . The error I get is:
warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID 443e1821 public key not available for qt-devel-3.3.3-9.3.i386.rpm
does anyone know what to do at this point?
Thanks, Andrew
[root@se1 kernels]# yum install kernel-sourcecode Setting up Install Process Setting up Repos update 100% |=========================| 951 B 00:00 base 100% |=========================| 1.1 kB 00:00 addons 100% |=========================| 951 B 00:00 extras 100% |=========================| 1.1 kB 00:00 Reading repository metadata in from local files update : ################################################## 109/109 base : ################################################## 1406/1406 extras : ################################################## 32/32 Parsing package install arguments Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Package kernel-sourcecode.noarch 0:2.6.9-11.EL set to be updated --> Running transaction check --> Processing Dependency: qt-devel for package: kernel-sourcecode --> Processing Dependency: gtk2-devel for package: kernel-sourcecode --> Restarting Dependency Resolution with new changes. --> Populating transaction set with selected packages. Please wait. ---> Package qt-devel.i386 1:3.3.3-9.3 set to be updated ---> Package gtk2-devel.i386 0:2.4.13-14 set to be updated --> Running transaction check --> Processing Dependency: atk-devel >= 1.6.0-1 for package: gtk2-devel --> Processing Dependency: pango-devel >= 1.4.0-1 for package: gtk2-devel --> Restarting Dependency Resolution with new changes. --> Populating transaction set with selected packages. Please wait. ---> Package pango-devel.i386 0:1.6.0-9 set to be updated ---> Package atk-devel.i386 0:1.8.0-2 set to be updated --> Running transaction check
Dependencies Resolved Transaction Listing: Install: kernel-sourcecode.noarch 0:2.6.9-11.EL - base
Performing the following to resolve dependencies: Install: atk-devel.i386 0:1.8.0-2 - base Install: gtk2-devel.i386 0:2.4.13-14 - base Install: pango-devel.i386 0:1.6.0-9 - base Install: qt-devel.i386 1:3.3.3-9.3 - base Total download size: 60 M Is this ok [y/N]: y Downloading Packages: warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID 443e1821 public key not available for qt-devel-3.3.3-9.3.i386.rpm
On Sat, Aug 20, 2005 at 07:42:09PM -0500, Andrew Zahn enlightened us:
I am trying to recompile the stock kernel to include XFS. At install time of the OS I select to install the kernel source code however I do not have a /usr/src/linux-2.6.9-5.0.3.EL-smp directory. I then learned you must run "yum install kernel-sourcecode" to properly install the source. When I run the command this is what happens ( see below) . The error I get is:
warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID 443e1821 public key not available for qt-devel-3.3.3-9.3.i386.rpm
http://www.centos.org/modules/smartfaq/faq.php?faqid=17
Try that.
Matt
warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID 443e1821 public key not available for qt-devel-3.3.3-9.3.i386.rpm
Matt had the answer for this error.
does anyone know what to do at this point?
Once you've done what he suggested, You should install the kernel from centosplus as it has XFS support built in. No need for you to build anything. You can do this with "yum --enablerepo centosplus install kernel"
Also, getting the kernel-source package provides you with the kernel source in /usr/src/linux-VERSION like you'd expect, but doesn't really give you the proper way to rebuild a kernel for an rpm based distribution. If you build/install your own custom kernel outside the package manager you can cause problems with updates down the road for things that depend on the kernel. RPM is not aware of things you don't tell it about. To properly rebuild a kernel for an rpm based system, a decent how-to is available at http://crab-lab.zool.ohiou.edu/kevin/kernel-compilation-tutorial-en/
Last thing. Since it seems you haven't installed the gpg key at this point, make sure you do a "yum update" after you import the GPG key. This will bring your system up to date with the latest packages to help avoid any potential security risks etc.
-- Jim Perrin System Administrator - UIT Ft. Gordon & US Army Signal Center
Jim Perrin wrote:
Once you've done what he suggested, You should install the kernel from centosplus as it has XFS support built in. No need for you to build anything. You can do this with "yum --enablerepo centosplus install kernel"
Ok sorry for the beginner question, but what do I have to do next? I have only ever recompiled kernels never installed through yum. How do I start to use the centosplus kernel?
Jim Perrin wrote:
warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID 443e1821 public key not available for qt-devel-3.3.3-9.3.i386.rpm
Matt had the answer for this error.
does anyone know what to do at this point?
Once you've done what he suggested, You should install the kernel from centosplus as it has XFS support built in. No need for you to build anything. You can do this with "yum --enablerepo centosplus install kernel"
Okay I got to this point above, and it worked great! I was able to mount and use an xfs partition. I edited grub.conf to use the kernel entry below:
title CentOS (2.6.9-11.106.unsupported) root (hd0,0) kernel /vmlinuz-2.6.9-11.106.unsupported ro root=/dev/hda2 rhgb quiet initrd /initrd-2.6.9-11.106.unsupported.img
I am assuming this was the one that was installed via "yum --enablerepo centosplus install kernel". However now I have lost my smp support :(. On this system I have two processors and I run them hyperthreaded. How can I enable smp support in this kernel?
Also, getting the kernel-source package provides you with the kernel source in /usr/src/linux-VERSION like you'd expect, but doesn't really give you the proper way to rebuild a kernel for an rpm based distribution. If you build/install your own custom kernel outside the package manager you can cause problems with updates down the road for things that depend on the kernel. RPM is not aware of things you don't tell it about. To properly rebuild a kernel for an rpm based system, a decent how-to is available at http://crab-lab.zool.ohiou.edu/kevin/kernel-compilation-tutorial-en/
Last thing. Since it seems you haven't installed the gpg key at this point, make sure you do a "yum update" after you import the GPG key. This will bring your system up to date with the latest packages to help avoid any potential security risks etc.
-- Jim Perrin System Administrator - UIT Ft. Gordon & US Army Signal Center _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
I am assuming this was the one that was installed via "yum --enablerepo centosplus install kernel". However now I have lost my smp support :(. On this system I have two processors and I run them hyperthreaded. How can I enable smp support in this kernel?
Apparently I missed the whole smp kernel thing earlier. "yum --enablerepo centosplus install kernel-smp" will provide smp support. I'd recommend reading through the yum docs. You can do some very interesting things, for example "yum --enablerepo centosplus list kernel* " will show all available kernel packages. If you want a full list of what's available you can do yum --enablerepo centosplus list > rpmlist and it will give you a list of all available packages in a file called rpmlist. Once you know the basics you can get very creative.