Page 1 of 1

KERNELPATH/linux-headers for OpenSuse 11 x86_64 [solved]

Posted: Mon Sep 01, 2008 1:08 pm
by Marin85
Hi,
I have the following problem: I have a dual boot install Vista/OpenSuse 11 x64 on my ThinkPad and I have internet connection only under Vista. When trying to compile the madwifi driver, it was required to enter a path to the build source for the driver to be compiled against. AFAIK it is not the entire kernel source needed for this, kernel headers would do as well. So, my question is: Is there any way to obtain this by downloading it under Vista or update through the install DVD (under Ubuntu one can install build-essential from the CD)? Any suggestions?

Thanks

Marin

Off topic: As I couldn´t make my wifi work under Ubuntu, I moved on to OpenSuse. KDE 4 crashed all the time and GNOME looked awful under OpenSuse :D But I´m very glad with the KDE 3.5 in Suse :P It looks really nice and I really like the fact that Novell is paying attention to a plenty of details of their OS. Very user- and ThinkPad-friendly distro! :)

Posted: Tue Sep 02, 2008 11:25 am
by Marin85
Update: I installed a virtual machine of OpenSuse under Vista in order to be able to compile the madwifi driver against the kernel I want to use. I have installed kernel-source through YAST2 (in the virtual machine), but when I try to make the madwifi (being of course inside the folder :) ) I get following message from konsole:

Code: Select all

Makefile.inc:91: *** KERNELCONF: /lib/modules/2.6.25.5-1.1-pae/build/.config does not exist..  Stop.
I have already read the full install manual of madwifi but I can´t figure out what I´m doing wrong. Any suggestions?

Thanks

Marin

Posted: Tue Sep 02, 2008 12:12 pm
by Harryc
Install the kernel source. As a side note, I created madwifi rpms for Opensuse 11.0 KDE 3.5 here. Make sure that you blacklist ath5k.

Code: Select all

echo "blacklist ath5k" >> /etc/modprobe.d/blacklist

Posted: Tue Sep 02, 2008 1:58 pm
by Marin85
I thought I have installed the kernel source :roll: Probably I only managed to download it without installing :oops: I´ll check that out. Also thanks a lot for the link! Could you specify which one is applicable for a "normal" install (no debugging or whatsoever): simple madwifi-0.9.4, madwifi-kmp-default or madwifi-kmp-pae? Your rpms will make my life easier, and I´m going to try these tomorrow.
As for blacklisting ath5k I believe there is no chance I could forget that after the few recent posts :lol:

Thanks

Marin

Posted: Tue Sep 02, 2008 2:39 pm
by Harryc
Marin85 wrote: Could you specify which one is applicable for a "normal" install ... madwifi-0.9.4, madwifi-kmp-default or madwifi-kmp-pae?
Always install the madwifi rpm. The other rpm depends on your installed kernel. Run uname -a from a console to verify. For example, if you are running a pae kernel, install the pae rpm. If you are not running a pae kernel, install the default rpm.

Posted: Wed Sep 03, 2008 3:24 am
by Marin85
Thanks. That was what I thought too but just wanted to be sure :) The final resolution came with realizing that I only need to additionally install the Linux kernel development part from the install DVD, so actually no need to download linux-source via YAST2 :P But it toke me long to figure out what I was doing wrong. No clue why it didn´t work via YAST2, but it doesn´t matter anymore either :D And so I could successfully compile the madwifi driver mayself by just issuing the make command in konsole :)
I now "only" have to configure it in the right way, which may turn out to be more problematic than the actual compiling...
Thanks again for your efforts to make madwifi rpms! Have you actually changed anything hardware-related in the source when creating the rpms (just my curiosity :) )?

Marin

Posted: Wed Sep 03, 2008 5:16 am
by Harryc
Nothing, they were built on fresh binaries from Madwifi.