Find the answer to your Linux question:
Results 1 to 8 of 8
I am new to this whole Linux thing and I installed Gentoo Linux on my brand new computer on /sdc. Comp has 4gb memory 3 x 250gb sata hard drives ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2006
    Posts
    3

    Error While running Update


    I am new to this whole Linux thing and I installed Gentoo Linux on my brand new computer on /sdc.
    Comp has 4gb memory
    3 x 250gb sata hard drives
    duo core 3.2ghz pentium processor
    nvidia geforce 7300le video card
    Intel High Definition (HD) Audio
    This is a Pavilion m7490n TV Minitower (with some extras)
    Very fast and smooth operation now

    after I installed gentoo on my /sdc and booted up everything is fine except no sound (not sure how to install), for now I ran the (emerge --update --deep world command) after 8 hours of updating it failed and I am getting an error (posted below) and I am unsure of what it means and I am in need of some serious help, I am new to this and not sure what to do at this point, I can still boot and opperate computer but it will not get past this error. PLEASE HELP if you can I would be very greatful

    Error Message:

    emerge --update --deep world
    Calculating world dependencies ...done!
    emerge (1 of 91) media-sound/cdparanoia-3.9.8-r3 to /
    md5 files cdparanoia-3.9.8-r1.ebuild
    md5 files cdparanoia-3.9.8-r2.ebuild
    md5 files cdparanoia-3.9.8-r3.ebuild
    md5 files files/cdparanoia-3.9.8-include-cdda_interface_h.patch
    md5 files files/3.9.8-gcc34.patch
    md5 files files/cdparanoia-3.9.8-identify_crash.patch
    md5 files files/digest-cdparanoia-3.9.8-r2
    md5 files files/cdparanoia-3.9.8-toc.patch
    md5 files files/digest-cdparanoia-3.9.8-r1
    md5 files files/cdparanoia-3.9.8-use-destdir.patch
    md5 files files/cdparanoia-3.9.8-respectflags-pio.patch
    md5 files files/cdparanoia-3.9.8-respectflags-sgio.patch
    md5 files files/digest-cdparanoia-3.9.8-r3
    md5 files files/flex-configure-LANG.patch
    md5 src_uri cdparanoia-III-alpha9.8.src.tgz
    md5 src_uri cdparanoia-3.9.8-SG_IO-patches.tar.gz
    * Determining the location of the kernel source code
    * Found kernel source directory:
    * /usr/src/linux
    * Could not find a usable .config in the kernel source directory.
    * Please ensure that /usr/src/linux points to a configured set of Linux sources.
    * If you are using KBUILD_OUTPUT, please set the environment var so that
    * it points to the necessary object directory so that it might find .config.
    !!! ERROR: media-sound/cdparanoia-3.9.8-r3 failed.
    !!! Function linux-info_pkg_setup, Line 549, Exitcode 1
    !!! Unable to calculate Linux Kernel version
    !!! If you need support, post the topmost build error, NOT this status message.

  2. #2
    Linux Enthusiast apoorv_khurasia's Avatar
    Join Date
    Feb 2005
    Posts
    624
    Quote Originally Posted by j_c_cheasebro
    I am new to this whole Linux thing and I installed Gentoo Linux on my brand new computer on /sdc.
    Comp has 4gb memory
    3 x 250gb sata hard drives
    duo core 3.2ghz pentium processor
    nvidia geforce 7300le video card
    Intel High Definition (HD) Audio
    This is a Pavilion m7490n TV Minitower (with some extras)
    Very fast and smooth operation now

    after I installed gentoo on my /sdc and booted up everything is fine except no sound (not sure how to install), for now I ran the (emerge --update --deep world command) after 8 hours of updating it failed and I am getting an error (posted below) and I am unsure of what it means and I am in need of some serious help, I am new to this and not sure what to do at this point, I can still boot and opperate computer but it will not get past this error. PLEASE HELP if you can I would be very greatful

    Error Message:

    emerge --update --deep world
    Calculating world dependencies ...done!
    emerge (1 of 91) media-sound/cdparanoia-3.9.8-r3 to /
    md5 files cdparanoia-3.9.8-r1.ebuild
    md5 files cdparanoia-3.9.8-r2.ebuild
    md5 files cdparanoia-3.9.8-r3.ebuild
    md5 files files/cdparanoia-3.9.8-include-cdda_interface_h.patch
    md5 files files/3.9.8-gcc34.patch
    md5 files files/cdparanoia-3.9.8-identify_crash.patch
    md5 files files/digest-cdparanoia-3.9.8-r2
    md5 files files/cdparanoia-3.9.8-toc.patch
    md5 files files/digest-cdparanoia-3.9.8-r1
    md5 files files/cdparanoia-3.9.8-use-destdir.patch
    md5 files files/cdparanoia-3.9.8-respectflags-pio.patch
    md5 files files/cdparanoia-3.9.8-respectflags-sgio.patch
    md5 files files/digest-cdparanoia-3.9.8-r3
    md5 files files/flex-configure-LANG.patch
    md5 src_uri cdparanoia-III-alpha9.8.src.tgz
    md5 src_uri cdparanoia-3.9.8-SG_IO-patches.tar.gz
    * Determining the location of the kernel source code
    * Found kernel source directory:
    * /usr/src/linux
    * Could not find a usable .config in the kernel source directory.
    * Please ensure that /usr/src/linux points to a configured set of Linux sources.
    * If you are using KBUILD_OUTPUT, please set the environment var so that
    * it points to the necessary object directory so that it might find .config.
    !!! ERROR: media-sound/cdparanoia-3.9.8-r3 failed.
    !!! Function linux-info_pkg_setup, Line 549, Exitcode 1
    !!! Unable to calculate Linux Kernel version
    !!! If you need support, post the topmost build error, NOT this status message.
    How did u install gentoo?
    "There is no sixth rule"
    --Rob Pike
    Registered Linux User: 400426 home page

  3. #3
    Just Joined!
    Join Date
    Dec 2005
    Posts
    54
    Go into /usr/src/linux and run 'make menuconfig'. Simply running that then exiting and saving the configuration will be sufficient to solve that problem, however you might want to actually configure the kernel for your hardware.

    Like apoorv_khurasia said, how did you install gentoo in the first place? The install procedure gives you two options genkernel and manual kernel configuration, either of which would of created the appropriate .config file.

  4. #4
    Linux Engineer spencerf's Avatar
    Join Date
    Jan 2005
    Location
    Syracuse, NY
    Posts
    1,144
    here is a link for alsa + gentoo which should help you on figuring out sound.
    All right, brain. You don't like me and I don't like you, but let's just do this and I can get back to killing you with beer. All New Users Read This!!! If you have a grub problem please look at GRUB MANUAL

  5. #5
    Just Joined!
    Join Date
    Jul 2006
    Posts
    2

    Check linux symlink in /usr/src

    When you did an update it may have installed a new kernel. If it did, it probably updated the "/usr/src/linux" symlink to point to the new kernel.

    However, you want "/usr/src/linux" to point to the kernel that you're using. So you don't want "/usr/src/linux" to point to the new kernel unless and until you've compiled and installed the new kernel.

    You can find out which kernel you're currently using by typing "uname -r".

    Look in "/usr/src" for a directory "linux-that_same_version". That directory will contain a ".config" file, because you did compile and install that kernel.

    Update "/usr/src/linux" to point to that directory.

  6. #6
    Just Joined!
    Join Date
    Sep 2006
    Posts
    6

    Cool

    I've been having that same kind of problem but when i use uname -r it shows me 2.6.15-gentoo-r5 but the only directory in /usr/src is 2.6.17-gentoo-r7. so is the kernel i'm using somewhere else? or how do i use 2.6.17-gentoo-r7 or something. I just need to find any way so that i can install the sound and video drivers.

    --
    There are 10 kinds of people in this world-
    *Those who know binary
    *And those who don't.

  7. #7
    Just Joined!
    Join Date
    Jul 2006
    Posts
    2
    Quote Originally Posted by linuxfreak003
    I've been having that same kind of problem but when i use uname -r it shows me 2.6.15-gentoo-r5 but the only directory in /usr/src is 2.6.17-gentoo-r7. so is the kernel i'm using somewhere else? or how do i use 2.6.17-gentoo-r7 or something. I just need to find any way so that i can install the sound and video drivers.
    Just guessing, but maybe

    1. you first compiled and installed 2.6.15-gentoo-r5 following the instructions in the Gentoo Handbook

    2. then you did a deep update, which maybe not only added 2.6.17-gentoo-r7 sources to /usr/src, but also removed the old 2.6.15-gentoo-r5 sources you used to have?

    (I don't know if a deep update would do that, but if it could, it would explain your situation).

    Anyway, regardless of how you got here, you need to be using the same kernel as the one you have sources for. Since you have 2.6.17-gentoo-r7 sources now, you need to redo the installation instructions for compiling and installing your kernel: http://www.gentoo.org/doc/en/handboo...?part=1&chap=7

    Then you'll have sources for the kernel that you're actually using.

    I hope this helps,

    Andrew

  8. #8
    Just Joined!
    Join Date
    Sep 2006
    Posts
    6

    Cool

    actually i figured out that i hadn't actaully configured/compiled the 2.6.17-r7 kernel so i'm doing that right now and i hope everything else works after but i don't know what happed to the 2.6.15 kernel sources.

Posting Permissions

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