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

Solaris, RedHat, FreeBSD and the like
Post Reply
Message
Author
Marin85
Senior ThinkPadder
Senior ThinkPadder
Posts: 2975
Joined: Sat May 12, 2007 10:54 am
Location: Munich, Germany

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

#1 Post by Marin85 » Mon Sep 01, 2008 1:08 pm

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! :)
Last edited by Marin85 on Wed Sep 03, 2008 3:16 am, edited 3 times in total.
IBM Lenovo Z61p | 15.4'' WUXGA | Intel Core 2 Duo T7400 2x 2.16GHz | 4 GB Kingston HyperX | Hitachi 7K500 500 GB + WD 1TB (USB) | ATI Mobility FireGL V5200 | ThinkPad Atheros a/b/g | Analog Devices AD1981HD | Win 7 x86 + ArchLinux 2009.08 x64 (number crunching)

Marin85
Senior ThinkPadder
Senior ThinkPadder
Posts: 2975
Joined: Sat May 12, 2007 10:54 am
Location: Munich, Germany

#2 Post by Marin85 » Tue Sep 02, 2008 11:25 am

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
IBM Lenovo Z61p | 15.4'' WUXGA | Intel Core 2 Duo T7400 2x 2.16GHz | 4 GB Kingston HyperX | Hitachi 7K500 500 GB + WD 1TB (USB) | ATI Mobility FireGL V5200 | ThinkPad Atheros a/b/g | Analog Devices AD1981HD | Win 7 x86 + ArchLinux 2009.08 x64 (number crunching)

Harryc
Moderator Emeritus
Moderator Emeritus
Posts: 13228
Joined: Thu Apr 12, 2007 8:23 am
Location: Upstate New York

#3 Post by Harryc » Tue Sep 02, 2008 12:12 pm

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

Marin85
Senior ThinkPadder
Senior ThinkPadder
Posts: 2975
Joined: Sat May 12, 2007 10:54 am
Location: Munich, Germany

#4 Post by Marin85 » Tue Sep 02, 2008 1:58 pm

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
IBM Lenovo Z61p | 15.4'' WUXGA | Intel Core 2 Duo T7400 2x 2.16GHz | 4 GB Kingston HyperX | Hitachi 7K500 500 GB + WD 1TB (USB) | ATI Mobility FireGL V5200 | ThinkPad Atheros a/b/g | Analog Devices AD1981HD | Win 7 x86 + ArchLinux 2009.08 x64 (number crunching)

Harryc
Moderator Emeritus
Moderator Emeritus
Posts: 13228
Joined: Thu Apr 12, 2007 8:23 am
Location: Upstate New York

#5 Post by Harryc » Tue Sep 02, 2008 2:39 pm

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.

Marin85
Senior ThinkPadder
Senior ThinkPadder
Posts: 2975
Joined: Sat May 12, 2007 10:54 am
Location: Munich, Germany

#6 Post by Marin85 » Wed Sep 03, 2008 3:24 am

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
IBM Lenovo Z61p | 15.4'' WUXGA | Intel Core 2 Duo T7400 2x 2.16GHz | 4 GB Kingston HyperX | Hitachi 7K500 500 GB + WD 1TB (USB) | ATI Mobility FireGL V5200 | ThinkPad Atheros a/b/g | Analog Devices AD1981HD | Win 7 x86 + ArchLinux 2009.08 x64 (number crunching)

Harryc
Moderator Emeritus
Moderator Emeritus
Posts: 13228
Joined: Thu Apr 12, 2007 8:23 am
Location: Upstate New York

#7 Post by Harryc » Wed Sep 03, 2008 5:16 am

Nothing, they were built on fresh binaries from Madwifi.

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “Linux Questions”

Who is online

Users browsing this forum: No registered users and 1 guest