Solved

kernel header

Posted on 2008-10-26
5
897 Views
Last Modified: 2013-12-15
Hi,

          When I start linux i can hear the startup sound. However, when i play a mp3 file it does not play. So i install the sound driver that comes with the hardware. I have NFORCE-linux-x86_64-1.0-0311-pkg1.run. When i execute this using

                                   sh NFORCE-linux-x86_64-1.0-0311-pkg1.run. I get error saying

" No precompiled kernel interface was found to match your kernel; this means that the installer will need to compile a new kernel  interface." I need to hear sound not just when linux starts and ends but also in between. How is it possible. ?


Brgds,

kNish

ERROR: The kernel header file '/lib/modules/2.6.25.5-1.1-default/build/include/linux/kernel.h' does not exist.  The most likely reason
         for this is that the kernel source path '/lib/modules/2.6.25.5-1.1-default/build' is incorrect.  Please make sure you have
         installed the kernel source files for your kernel; on Red Hat Linux systems, for example, be sure you have the 'kernel-source'
         rpm installed.  If you know the correct kernel source files are installed, you may specify the kernel source path with the
         '--kernel-source-path' commandline option.
0
Comment
Question by:eyeqube
  • 2
  • 2
5 Comments
 
LVL 10

Assisted Solution

by:kyleb84
kyleb84 earned 125 total points
ID: 22809037
I had this issue as well, I ended up building a fresh kernel and doing it that way.

Download this to your home folder:: http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.27.4.tar.bz2

Perform these commands:

mkdir /usr/src
cd /usr/src
tar -xvf ~/linux-2.6.27.4.bz2
cd /linux-2.6.27.4
make defconfig
(Go make some coffee)
make
(Make more coffee)
make modules_install
make install

If your using grub, just reboot and the new kernel will be available in the boot menu, otherwise you might have to fiddle a  bit.

Once rebooted:

sh NFORCE-linux-x86_64-1.0-0311-pkg1.run --kernel-source-path /usr/src/linux-2.6.27.4.bz2

You should be right then.
0
 

Author Comment

by:eyeqube
ID: 22821443
Hi,

             How do I go further from here. ?

linux-qon1:/usr/src/linux-2.6.27.4.bz2 # make defconfig
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/docproc
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/kxgettext.o
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/lex.zconf.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
*** Default configuration is based on 'x86_64_defconfig'
#
# configuration written to .config
#
linux-qon1:/usr/src/linux-2.6.27.4.bz2 #


Brgds,

kNish



0
 
LVL 10

Expert Comment

by:kyleb84
ID: 22826938
These following commands, one after the other, once the previous one has finished:

make
make modules
make modules_install

0
 
LVL 1

Assisted Solution

by:jrunixadmin
jrunixadmin earned 125 total points
ID: 23388635
Not sure what distro you are using but you may simply need to install the Kernel Headers for the version of the Kernel that you are running and then compile your driver.

First check to see if you have any thing in '/lib/modules/2.6.25.5-1.1.

Please include the name of your distro.

0
 

Accepted Solution

by:
eyeqube earned 0 total points
ID: 23876665
Since i am using gnome as an alternative to kde and gnome works well for me, this question becomes obselete.

BRgds,

kNish
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now