linux-headers to build kernel modules (for WLAN USB stick)

  • LAUWannabe
Posted: Thu, 06/11/2009 - 14:26
I have a WLAN USB stick with rt2570 chipset now (D-Link DWL-G122 Rev: C1). With 64 Studio Beta 3 this is not supported out-of-the-box. I have downloaded and installed the source package for the driver + dependencies (manually with dpkg -i as I currently have no internet connection on this computer [I buyed the WLAN stick for this]): http://packages.ubuntu.com/hardy/net/rt2570-source Then I tried to run module-assistant to build and install the module but: module-assistant needs the package linux-headers-2.6.29-1-multimedia-amd64 to build the module. :( Any hints where I can get this package from? I didn't found any multimedia linux-headers in the ubuntu-packages.

Different chipset

  • LAUWannabe
  • 01/01/09
  • Sun, 06/21/2009 - 16:28
I found out that the G122 Rev c1 uses a different chipset: rt73. Facts: 1. There are no rt73-source/rt73-common packages for Hardy 2. There are ones for Intrepid (Ubuntu 8.10) 3. According to the rt2x00 driver website the rt2x00 drivers are included since kernel 2.6.24 (they are not included in the 64 Studio beta 3 kernel -> lsmod) 4. The new kernel 2.6.30 has many bugfixes for WLAN including rt2x00 Questions: 1. Shall I use the rt73-source package for Intrepid? or shall I use the rt2x00 driver from the git snapshot? or is there another solution which I have overseen? 2. Shall I compile a kernel 2.6.30 to have the latest WLAN bugfixes?

Ok, in the meantime I found

  • LAUWannabe
  • 01/01/09
  • Thu, 06/11/2009 - 21:05
Ok, in the meantime I found: [linux-kbuild-2.6.29 - backport your own NOW](http://www.64studio.com/node/1047) and: [2.6.29.2-rt11 kernel testing](http://www.64studio.com/node/1119) For the testing kernel: I could use this: [linux-image-2.6.29.2-rt11-20090502_2.6.29.2-rt11-20090502-10.00.Custom_amd64.deb](http://apt.harleystudio.co.za/pool/linux-image-2.6.29.2-rt11-20090502_2.6.29.2-rt11-20090502-10.00.Custom_amd64.deb) and for the headers: [linux-headers-2.6.29.2-rt11-20090502_2.6.29.2-rt11-20090502-10.00.Custom_amd64.deb](http://apt.harleystudio.co.za/pool/linux-headers-2.6.29.2-rt11-20090502_2.6.29.2-rt11-20090502-10.00.Custom_amd64.deb) Or is it better to use the following? [linux-image-2.6.29-1-multimedia-amd64_2.6.29-2_amd64.deb](http://apt.64studio.com/backports/pool/main/l/linux-2.6/linux-image-2.6.29-1-multimedia-amd64_2.6.29-2_amd64.deb) and as headers: [linux-headers-2.6.29-1-multimedia-amd64_2.6.29-2_amd64.deb](http://apt.64studio.com/backports/pool/main/l/linux-2.6/linux-headers-2.6.29-1-multimedia-amd64_2.6.29-2_amd64.deb) There seem to be no headers for the Beta 3 kernel. Edit: As no one answered by now I simply tried to install the latter. It needed another dependency which I found here: [linux-headers-2.6.29-1-common-multimedia_2.6.29-2_amd64.deb](http://apt.harleystudio.co.za/pool/linux-headers-2.6.29-1-common-multimedia_2.6.29-2_amd64.deb) Now I'm running into an error message similar to [[64studio-devel] some dpkg problems](http://www.mail-archive.com/64studio-devel@lists.64studio.com/msg00327.html) Although on my system there is no dependency error. I get the following error message on the end of the dpkg output: User postinst hook script [update-grub] exited with value 20 dpkg: error processing linux-image-2.6.29-1-multimedia-amd64 (--install): subprocess post-installation script returned error exit status 20 Edit2: Ok, found a cure for this problem, too: [http://www.64studio.com/node/1075](http://www.64studio.com/node/1075#comment-4770)