?
Solved

kernel header

Posted on 2008-10-26
5
Medium Priority
?
904 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 10

Assisted Solution

by:kyleb84
kyleb84 earned 500 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 500 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

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses
Course of the Month10 days, 12 hours left to enroll

765 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