Where is the KERNELPATH ?

  • mychance
Posted: Mon, 07/13/2009 - 13:03
Hi ! I apologize for the silliness of my question, I am not very knowledgeable in Linux... Wifi is not working on my Acer Aspire One. No surprise, it seldom does out of the box with that machine. My usual workaround is to install a customized kernel specially tailored for this machine hardware. If I understand it right however, 64Studio needs its own kernel for low latency so, what is left to me is to compile madwifi on the field. I found this set of instructions but it get stuck on setting the KERNELPATH: sudo apt-get install build-essential subversion cd ~ mkdir madwifi cd madwifi svn co https://svn.madwifi-project.org/madwifi/branches/madwifi-hal- cd madwifi-hal- make It works up to this point where I get cd: 1: can't cd to /lib/modules/2.6.29-1-multimedia-686/build Makefile.inc:66: *** /lib/modules/2.6.29-1-multimedia-686/build is missing, please set KERNELPATH. Stop. In the INSTALL file of madwifi, I can read this instruction: "If you want to compile MadWifi for a different kernel, you need to specify the location of the kernel build tree, e.g.: $ make KERNELPATH=/usr/src/linux-2.6.3" But nothing is to be found in /usr/src/ repertory Any hint ? Thanks !


  • Icemouse
  • 08/04/07
  • Sat, 07/18/2009 - 03:50
Include Quentin's repository: http://apt.harleystudio.co.za hardy main There is the source code for

Kernel headers

  • Icemouse
  • 08/04/07
  • Sat, 07/18/2009 - 03:47
Hi :) you need the kernel headers. Unfortunately there are no kernel headers for 2.6.29-1-multimedia in the repository, because 64 Studio 3.0 is a beta version. What you need is a real-time kernel, resp. the headers for this real-time kernel. There are other versions of real-time kernels in the repositories and in addition you also can compile your own kernel and patch it with the real-time patch. I once wrote a howto make your own real-time patched kernel for 64 Studio, search the user mailing list archive or simply use one of the kernels "rt" by running synaptic to install it. There are different versions in the Ubuntu repositories that are patched with Ingo's real-time patch and that come with the headers you need. Hth, Ralf