Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 905
  • Last Modified:

kernel header

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
eyeqube
Asked:
eyeqube
  • 2
  • 2
3 Solutions
 
kyleb84Commented:
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
 
eyequbeAuthor Commented:
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
 
kyleb84Commented:
These following commands, one after the other, once the previous one has finished:

make
make modules
make modules_install

0
 
jrunixadminCommented:
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
 
eyequbeAuthor Commented:
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now