problems installing kernel source w/ SuSE 9.1 Personal


Results 1 to 7 of 7

Thread: problems installing kernel source w/ SuSE 9.1 Personal

  1. #1
    Join Date
    Oct 2002
    Location
    Vacaville, CA
    Posts
    20

    Need help -- problems installing kernel source w/ SuSE 9.1 Personal

    Not sure if this is the right forum, but....

    Has anyone had problems installing the kernel source in SuSE 9.1 Personal? I have downloaded the source rpms from the SuSE FTP site. When I click on the RPM, it opens YaST. I then click on the button that says "install with YaST." YaST then closes quickly, and I do not see a /usr/src/linux directory. The same thing happens when I try to install the gcc source. Installing from the command line yields the same results, and the packages are not listed when I do an rpm -qa. Does anyone have any tips for this, or should I just bite the bullet and use 9.1 Professional?

    Thanks.....

  2. #2
    Join Date
    Jun 2002
    Location
    Nashville, TN
    Posts
    487
    Don't think the Pro version is going to help you out here. It doesn't have anything to do with that I wouldn't think. Try actually installing the rpms via the command line, ie.
    Code:
    rpm -ivh kernelsources.rpm
    and see if you get some error messages. Could be that yast is just borked up.
    My Weblog

    ASUS A7N8X
    Athlon XP 2500+
    GeForce FX 5200 128Mb
    1Gb PC2700
    120Gb & 40 Gb HD
    Gentoo & Flux

  3. #3
    Join Date
    Oct 2002
    Location
    Vacaville, CA
    Posts
    20
    Installing via the command line with the -ivh switch does not produce any error messages. I get the hash marks #### up to 100% then it kicks me back to the command line. Querying the rpm database shows the package is still not installed, and there is no /usr/src/linux directory.

  4. #4
    Join Date
    Jun 2002
    Location
    Nashville, TN
    Posts
    487
    /usr/src/linux is normally just a link to /usr/src/linux-2.x.x

    See what you have under /usr/src. Also do a
    Code:
    rpm --rebuilddb
    then try to query all and see if its there.
    My Weblog

    ASUS A7N8X
    Athlon XP 2500+
    GeForce FX 5200 128Mb
    1Gb PC2700
    120Gb & 40 Gb HD
    Gentoo & Flux

  5. #5
    Join Date
    Oct 2002
    Location
    Vacaville, CA
    Posts
    20
    I'll give the rebuilddb command a try tonight. The only folder under /usr/src that I saw last night was /packages.

  6. #6
    Join Date
    Jul 2002
    Location
    Vladivostok, Russia
    Posts
    9,053
    Its just as easy and more straightforward just to download the source and uncompress it to /usr/src. Why put one more equation to work with..... in the soup?
    "I was pulled over for speeding today. The officer said, "Don't you know
    the speed limit is 55 miles an hour?" And I said, "Yes, but I wasn't going
    to be out that long."

    How To Ask Questions The Smart Way
    COME VISIT ME IN RUSSIA NOW!!

  7. #7
    Join Date
    Dec 1999
    Location
    Toronto
    Posts
    39,307
    Originally posted by sfmusicman
    Installing via the command line with the -ivh switch does not produce any error messages. I get the hash marks #### up to 100% then it kicks me back to the command line.

    Querying the rpm database shows the package is still not installed, and there is no /usr/src/linux directory.
    That would indicate you have successfully installed that rpm package.

    Are you sure you are installing the correct kernel source?

    You want the one similiar to

    # rpm -qa | grep kernel-source
    kernel-source-2.4.21-215

    which would actually have the extension of i386.rpm or i686.rpm and NOT src.rpm. The src.rpm package would install the kernel source in /usr/src/packages and not /usr/src/linux-#-#-#.

    The i#86.rpm package is the resulting kernel source after compiling that particular kernel version.

    The src.rpm package is a uncompiled kernel source.

    Note: This is from SuSE 9.0.
    SEARCH FIRST... ASK SECOND Read the JL 'Community Help Posting Guidelines' before posting in the forums.

    Precompiled Redhat NTFS Modules

    Linuxplanet Tutorials

    If Linux doesn't have the solution, you have the wrong problem. ... Please do not send me a PM asking for help...

    Please read the search suggestion thread in JL Ideas

Posting Permissions

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