Find the answer to your Linux question:
Results 1 to 8 of 8
Hello, I am trying to install a new kernel ( kernel-2.4.21-9.EL.src.rpm) and I am coming up w/ a couple of error messages: warning: Expected size: 35516477 = lead(96)+signs(344)+pad(0)+data(35516037) warning: Actual ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2004
    Posts
    24

    Problems installing redhat kernel


    Hello,

    I am trying to install a new kernel ( kernel-2.4.21-9.EL.src.rpm) and I am coming up w/ a couple of error messages:

    warning: Expected size: 35516477 = lead(96)+signs(344)+pad(0)+data(35516037)

    warning: Actual size: 52687

    I am installing it by doing the usual:
    rpm -ihv kernel-2.4.21-9.EL.src.rpm

    After doing that, supposedly there is supposed to be a directory created under
    /usr/src/<kernel-version>

    I am not seeing this directory.

    What am I missing here?

    Clem C

  2. #2
    Linux Newbie
    Join Date
    Aug 2004
    Location
    Houston Texas
    Posts
    192
    After you rpm -ivh kernel.src.rpm, there should be a kernel.spec file under /usr/src/redhat/SPECS/, then you do rpmbuild -ba kernel.spec so you will have a kernel.rpm under /usr/src/redhat/RPMS/i386/

  3. #3
    Just Joined!
    Join Date
    Jul 2004
    Posts
    24
    I could not find any of that. Could the problem be that it is a src file and not a binary?

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru kkubasik's Avatar
    Join Date
    Mar 2004
    Location
    Lat: 39:03:51N Lon: 77:14:37W
    Posts
    2,396
    sorry, not really familiar w/ rpms, especialy with scr rpms, even less w/ kernel rpm's. But you could try downloading the source and using that.
    Avoid the Gates of Hell. Use Linux
    A Penny for your Thoughts

    Formerly Known as qub333

  6. #5
    Linux Newbie
    Join Date
    Aug 2004
    Location
    Houston Texas
    Posts
    192
    md5sum file to see if you have downloaded the complete and unbroken package.

  7. #6
    Just Joined!
    Join Date
    Jul 2004
    Posts
    24
    what will be the results of md5sum if it's correct?

  8. #7
    Linux Guru kkubasik's Avatar
    Join Date
    Mar 2004
    Location
    Lat: 39:03:51N Lon: 77:14:37W
    Posts
    2,396
    it will say 'file ok'
    Avoid the Gates of Hell. Use Linux
    A Penny for your Thoughts

    Formerly Known as qub333

  9. #8
    Just Joined!
    Join Date
    Aug 2004
    Posts
    6

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •