Solved

kernel header

Posted on 2008-10-26
5
898 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
docker invalid registry name 2 107
linux boot fsck problem 3 61
looking for a CENTOS ISO to download with x window installed 2 22
Linux VM 6 49
In this tutorial I will explain how to make squid prevent malwares in five easy steps: Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-…
Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
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.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

895 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

12 Experts available now in Live!

Get 1:1 Help Now