Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Also this might be useful 14e4:4328 (not exactly sure what it is but I know it's important)
I tried using ndiswrapper and it didn't change anything.
I also tried installing the tar.gz file but got an error message when i had to use the "make" command. said I had to install the PiSi make command. I installed it in the terminal exactly like it told me. I later got the make command and got this error message:
Code:
kroth@Kroth-PC hybrid_wl $ make
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd`
make[1]: Entering directory `/usr/src/linux-headers-2.6.37.6'
LD /home/kroth/hybrid_wl/built-in.o
CC [M] /home/kroth/hybrid_wl/src/shared/linux_osl.o
CC [M] /home/kroth/hybrid_wl/src/wl/sys/wl_linux.o
/home/kroth/hybrid_wl/src/wl/sys/wl_linux.c: In function 'wl_attach':
/home/kroth/hybrid_wl/src/wl/sys/wl_linux.c:485:3: error: implicit declaration of function 'init_MUTEX'
*** 1 errors, 0 warnings
make[2]: *** [/home/kroth/hybrid_wl/src/wl/sys/wl_linux.o] Error 1
make[1]: *** [_module_/home/kroth/hybrid_wl] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.37.6'
make: *** [all] Error 2
So i cannot install tar.gz files since i cannot use the make command
I am using a Dell XPS M1530 if that helps at all.
Can anyone help me with my make command issue + my wireless drivers issue?
Thanks for the link but you didn't read that i cannot use the Make command so that means no tar.gz or related files because I keep getting an error message. This one was a little bit different this time. Here:
Code:
kroth@Kroth-PC Installations $ wget http://bu3sch.de/b43/fwcutter/b43-fwcutter-013.tar.bz2
--2011-06-03 23:11:35-- http://bu3sch.de/b43/fwcutter/b43-fwcutter-013.tar.bz2
Resolving bu3sch.de (bu3sch.de)... 80.190.117.144
Connecting to bu3sch.de (bu3sch.de)|80.190.117.144|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 15359 (15K) [application/x-bzip2]
Saving to: “b43-fwcutter-013.tar.bz2”
100%[======================================>] 15,359 53.8K/s in 0.3s
2011-06-03 23:11:36 (53.8 KB/s) - “b43-fwcutter-013.tar.bz2” saved [15359/15359]
kroth@Kroth-PC Installations $ ls
b43-fwcutter-013.tar.bz2
kroth@Kroth-PC Installations $ tar xjf b43-fwcutter-013.tar.bz2
kroth@Kroth-PC Installations $ ls
b43-fwcutter-013 b43-fwcutter-013.tar.bz2
kroth@Kroth-PC Installations $ cd b43-fwcutter-013
kroth@Kroth-PC b43-fwcutter-013 $ ls
b43-fwcutter.1 fwcutter.h Makefile md5.h README
fwcutter.c fwcutter_list.h md5.c mklist.py
kroth@Kroth-PC b43-fwcutter-013 $ make
DEPEND dep/md5.d
DEPEND dep/fwcutter.d
CC obj/fwcutter.o
fwcutter.c:33:20: fatal error: stdlib.h: No such file or directory
compilation terminated.
make: *** [obj/fwcutter.o] Error 1
Can anyone help me install the correct packages so I can install tar.gz files? Please and Thank You.
Search LQ for threads on "linux broadcom wireless."
I don't know enough about Pardus to make any Pardus-specific suggestions.
Another option would be to track down the error messages to find out what you are missing that keeps you from compiling software. The tools are basic Linux tools and should be readily available once you identify the missing ones.
Aside: I get quite irritated at distros that do not include gcc, glibc, and other tools necessary for compiling software. It seems most impolite to omit basic Linux tools.
@Krothie - What kernel version is Pardus using? The output of uname -a should tell you if you don't know. The Broadcom sta driver needs some patching to work with more recent kernels, and I think the error message in your first post suggests that is the case.
kroth@Kroth-PC b43-fwcutter-013 $ uname -a
Linux Kroth-PC 2.6.37.6 #1 SMP Wed Mar 30 16:31:56 EEST 2011 i686 i686 i386 GNU/Linux
I don't understand how the kernel i'm using would effect the "make" command though. I might not have a problem with my wireless if I can use the "make" command to install tar.gz files.
Does anyone know what packages needed to be installed to use the make command successfully?
I have the following packages installed:
gcc
kernel-module-headers
kernel-headers
I may have others installed but these are three I know of...
I don't understand how the kernel i'm using would effect the "make" command though.
It isn't affecting the make command. The make command is simply compiling the source code in an orderly fashion, and the errors you're seeing are because either libraries needed by the source are not there or have changed such that some assumptions made in the source code are no longer true. That is the case here. The kernel has changed since the sta source code was written and Broadcom hasn't updated the driver. If you read through this thread there are instructions of how to patch the sta source code so it works with newer kernels. And Broadcom also has the patch and instructions on their site.
Thank you for posting but your information doesn't help. I do not use a deb based package managerI use a new PiSi package manager so the first link is gone. As for the second link you still have to understand that I cannot install tar.gz files so the sencond link is useless untill I can get the Make command to work.
As for the kernel update... I never had to update the kernel yet and the Make command ive had problems with before on Ubuntu 10.10 as well. only seems to work correctly on Linux Mint 10.
I do not know why the make command has these errors and I seem to be the only one ever to get the errors...
I do not use a deb based package managerI use a new PiSi package manager so the first link is gone.
I know that. Since you originally said that the Pardus driver didn't work, I am assuming that you're trying to isntall from source, and the thread I linked to has posts on how to patch the source. I suspect the Broadcom link also has instructions in the tarball.
Quote:
As for the second link you still have to understand that I cannot install tar.gz files so the sencond link is useless untill I can get the Make command to work.
Let me be blunt so there is no room for misunderstanding:
Your make command is not broken.
You are seeing legitimate error messages thrown by Make because it is encountering a situation it can't handle. Make is doing exactly what it is supposed to do.
The ACTUAL problem is that the sta source code was written for an older kernel version than you have and it makes assumptions that are no longer true. If you download the source from Broadcom and patch it according to their instructions, it will likely work.
Quote:
As for the kernel update...
Nobody is asking you to update your kernel. We simply needed to know what was standard for Pardus. We needed to know this because Broadcom is very slow in updating the sta driver and I suspected you had a newer kernel than their source code allowed.
I also tried the sta and b43 most recent drivers and got two different errors.
Well they are two different drivers, so it is highly unlikely you would get the same error from both. And as I've said, it looks like you tried to compile the unpatched version of the sta driver, so that is certainly going to fail on your system.
You really have two options here:
1- The sta driver. Assuming that there isn't a viable driver in the Pardus repository, you will need to download the source code and patch from Broadcom. You will then need to patch the source code and compile it.
2- The b43 driver. The kernel portion is already installed on your machine (assuming Pardus turned on b43 when they created their kernel) and you'll need to install firmware in order for b43 to work. If Pardus doesn't have a firmware package (and they likely don't since Broadcom licensing doesn't allow it), you'll have to install fwcutter and use that to create the needed firmware files.
For your step 1: Thats exactly what I did and got the error and what ive been trying to tell you.
No, I don't think you did. I just downloaded the source and patch from Broadcom. When I tried to compile the unpatched source, it failed with the exact error message you posted. When I patched it, it compiled fine. I'm also running a 2.6.37.6 kernel.
Quote:
For your step 2: I have both the wireless drivers and the firmware installed for the b43 drivers and still got nothing.
If that is true you need to look in your log files and see if b43 is complaining.
I missed to patch info on the broadcom site before my last post.
The instructions say this:
Quote:
Patch for Broadcom 80211 (STA) driver 5.100.82.38
# Fixes the 'init_MUTEX' compile problem seen on newer (> 2.6.37) kernels.
# If you were able to compile, you don't need this patch.
# To apply:
# cd to the top level of the driver source. ('ls' should show at least src, lib, Makefile)
# patch -p0 < this_file
# make
But when I tried to patch I got this:
Quote:
kroth@Kroth-PC hybrid_wl $ ls
built-in.o lib Makefile src
kroth@Kroth-PC hybrid_wl $ patch -p0
The program 'patch' is not installed on your system. You can install it using package manager or by typing:
sudo pisi it patch
bash: patch: command not found
kroth@Kroth-PC hybrid_wl $ make
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd`
make[1]: Entering directory `/usr/src/linux-headers-2.6.37.6'
CC [M] /home/kroth/hybrid_wl/src/wl/sys/wl_linux.o
/home/kroth/hybrid_wl/src/wl/sys/wl_linux.c: In function 'wl_attach':
/home/kroth/hybrid_wl/src/wl/sys/wl_linux.c:485:3: error: implicit declaration of function 'init_MUTEX'
You ran the patch command wrong. Look again at what the instructions say:
Quote:
# patch -p0 < this_file
You left off the "< this_file" part (where "this_file" is the name of the patch file you just downloaded from Broadcom). It won't patch if you don't do that.
And apparently you also have to install the patch command to begin with.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.