Solved

kernel header

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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Linux Mint 18 31 91
VirtualBox in Fedora 25 Linux:  Unable to Install OS 11 224
awk sed 8 42
awk variable in printf 1 25
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

773 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