You are not logged in.

#1 2010-09-05 08:58:20

fizk-jnk
Member
Registered: 2010-09-03
Posts: 22

Which packages do I need to compile a kernel module ?

Hello:)
Long strory short : I just installed Arch, but I can not get to the internet.
This is because the atl1c and atl1e modules don't work for my Lan and because I need a driver for my wifi.

My plan is to download the packages and install them ofline.

So I need to know which packages are required to compile this driver without Internet connection.

My kernel version is : 2.6.33-ARCH #1

Any help is greatly appreciated.

Offline

#2 2010-09-05 09:08:19

archman-cro
Member
From: Croatia
Registered: 2010-04-04
Posts: 943
Website

Re: Which packages do I need to compile a kernel module ?

Paste the output for

lspci | grep Network

So we can know which exact broadcom model you got.
You followed http://wiki.archlinux.org/index.php/Broadcom_BCM43XX ?
Tried this: http://aur.archlinux.org/packages.php?ID=19514 ?
Cheers!

EDIT: my reply doesn't really solve your question. I've been in the same situation as you. You don't need any dependencies (for installing the driver). I just followed the " http://wireless.kernel.org/en/users/Dri … CI_devices " page, grabbed fw cutter (dunno if you need it) and broadcom-wl driver from here http://downloads.openwrt.org/sources/
Add all of this on your usb and install with pacman -U.

Follow the "You are using the b43 driver from linux-2.6.25 or newer"

export FIRMWARE_INSTALL_DIR="/lib/firmware"
wget http://mirror2.openwrt.org/sources/broadcom-wl-4.150.10.5.tar.bz2
tar xjf broadcom-wl-4.150.10.5.tar.bz2
cd broadcom-wl-4.150.10.5/driver
sudo ../../b43-fwcutter-013/b43-fwcutter -w "$FIRMWARE_INSTALL_DIR" wl_apsta_mimo.o

Good luck!

Last edited by archman-cro (2010-09-05 09:25:45)

Offline

#3 2010-09-05 11:09:06

fizk-jnk
Member
Registered: 2010-09-03
Posts: 22

Re: Which packages do I need to compile a kernel module ?

Hi, thanks for the prompt reply smile

here is the output of lspci :

03:00.0 Ethernet controller: Atheros Communications AR8151 v1.0 Gigabit Ethernet (rev c0)
05:00.0 Network controller: Broadcom Corporation Device 4357 (rev 01)

my wireless card is not supported by the b43 driver sad

But I will try the proposed solution and let you know weather it worked.

EDIT : --------------------------------------------------------------------------------------------
Ok. I did the fw cutter thing to extract the firmware to /lib/firmware succesfully.

But when I issue :

pacman -U <path to broadcom driver tar>

I get:

 error: ... :invalid or corrupted package

Any Ideas on why this is happening ? The package seems ok... I mean I can extract it without any errors with the tar command.

Last edited by fizk-jnk (2010-09-05 12:31:25)

Offline

#4 2010-09-05 12:38:50

quarkup
Member
From: Portugal
Registered: 2008-09-07
Posts: 497
Website

Re: Which packages do I need to compile a kernel module ?

pacman -U <package>
only works for <packages> created with makepkg

first of all: follow the wiki
build the driver for you from AUR - you can use an aur helper like yaourt or such to make it easier if you really need it

Chat to the arch-people over the IRC-channel (freenode's server, #archlinux channel)
Check the bugtracker


If people do not believe that mathematics is simple, it is only because they do not realize how complicated life is.
Simplicity is the ultimate sophistication.

Offline

#5 2010-09-05 12:47:06

fizk-jnk
Member
Registered: 2010-09-03
Posts: 22

Re: Which packages do I need to compile a kernel module ?

Ok... I see... I knew I must have missed something.

I will try it again later and let you know if it works or not.

Offline

#6 2010-09-05 16:27:54

archman-cro
Member
From: Croatia
Registered: 2010-04-04
Posts: 943
Website

Re: Which packages do I need to compile a kernel module ?

fizk-jnk wrote:

But when I issue :

pacman -U <path to broadcom driver tar>

No, no, no, just modprobe your module now. Mine was modprobe b43. It worked. Dunno which one is yours.

Edit: Some guy on italian arch forum just did the

tar xjf broadcom-wl-4.80.53.0.tar.bz2
 cd broadcom-wl-4.80.53.0/kmod
 b43-fwcutter-w "/ lib / firmware /" wl_apsta.o

part and it works for him. Just try "modprobe b43" with root privs and it should work. Report back if you have problems. smile

Last edited by archman-cro (2010-09-05 16:34:35)

Offline

#7 2010-09-05 17:15:45

fizk-jnk
Member
Registered: 2010-09-03
Posts: 22

Re: Which packages do I need to compile a kernel module ?

Well thank you guys for the help smile

Though I found a solution to the ethernet problem in this thread and decided to start off with a fresh install. It seems like the 2.6.35 kernel solves the problem with the atl1c and atl1e modules.

So now I can make the package from the AUR, without any dependency problems.

Offline

Board footer

Powered by FluxBB