Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
Ok, brand new Linux geek here, not expert at all.
I've been tempted by Dell so I've got my new Dimension 2350, first thing I had in mind was to install RedHat 9.
My problem is compiling the driver of the Broadcom 4400.
I read a lot of people resolved the problem recompiling the driver with the new kernel. I don't know what do I have to do to install
the kernel source.
I found the source package on the CD Rom I've been trying to play with rpm but I think I am doing something wrong.....
Please, which exact sequence do I have to follow in order to install the kernel sources and to compile the driver for the Broadcom 4400 ?
Thanks, Tinglett. I followed your post #66 pretty closely, and RH 9 worked with my P4PE, and the bcm4401 nightmare is finally over. I had the complier tools installed, so I didn't see any errors in step #4.
I just rebooted after following your direections and rebooted via the kudzu prompts thereafter.
I also tried it on an identical machine I had RH 8 installed on, and it worked well there, also (although I had errors after step #4, I just ignored them.)
Can someone tell me how they got the BCM4401 working on an ASUS P4PE motherboard? The driver on the CD, the ASUS site and other sites all have the same driver (V1.0.1) and fail to compile with make due to multiple missing files in Redhat 7.3 on a clean install. Amusingly, they claim its been tested under RH 7.1, 7.2, 7.3 and 8.0 beta.
As I noted in the post above yours, I just installed it on two P4PEs after a bunch of failed attempts by following tiglett's directions. I believe you have to have the compiler libraries and kernel sources installed, but other than that, just reboot and configure it at the prompts.
I have now used his directions on 4 more RH 9 machines with no problems.
I use Mandrake, and the Mandrake Control Centre has a Software Management section, which in turn leads to icons enabling you to install or remove software packages. When you install Mandrake this is initially set up for your installation disks. You can add internet sources once you have your network running.
As "RPM" stands for Redhat Package Manager, I am certain that Red Hat has something similar!
The kernel-source file is an rpm file, and can be installed like any other in Mandrake and I'm sure it's the same for Red Hat. The problem I could have had in Mandrake is that many people only bother with the first two disks in the download version, and the kernel-source file is on disk 3!
If you cannot get the kernel-source off your installation disks try the following:
Go into KDE and run the KDE Control Centre
On the opening "page" under release it will have the release code of your Kernel. In the case of my version it says:
2.4.21-0.13mdk
For Red Hat it will obviously be different.
Now do a google search with two words, the first "kernel-source" and the second the release code. Hopefully you will find the source on the internet.
I'm assuming that you have access to the internet either through a Windows partition or another computer, (maybe a friend's computer).
Once you've downloaded the file, you may be able to install it through KPackage (though in Mandrake this is also disk 3!) or by a command line (read the manual because I've never had to do this - the command will be rpm or similar).
thank you a lot for the explanations.
Actually I did already installed the kernel source into the appropriate location, however right now the major problem is with make as the driver for the Broadcom 4401 still refuses to compile.
I've been trying to make with the Makefile provided by the distribution (I've downloaded the source which comes with a Makefile) and I did not get the job done, still abunch of errors appear when I am running the make command.
I read a lot of people resolved this issue with the Broadcom ethernet card simply installing the kernel source code, however in my case this operation is not enough.
What else shall I have to do to make this file?
Does eventually anyone have the possibility to send me the bdcm4400.o compiled for Kernel 2.4.20-6 (Red Hat 9) ?
Thanks a lot for your time and attention,
-Andrea
is a status.
No right for u to skip it.
No right for u to stay 4ever
here a log session of what I did.
I have my src directory with all the bcm files and I am launching make from there.
Please let me know if you have the access to the file:
#warning Using kernel headers in userspace: atomicity
not guaranteed
Can you do a 'uname -a' and make sure the kernel sources and headers are installed ? ('rpm -qa | grep kernel' should give you a good view of the installed kernel related stuff)
Originally posted by abonam [root@localhost src]# rpm -qa | grep kernel
kernel-pcmcia-cs-3.1.31-13
kernel-2.4.20-6
Hi abonam,
Seems your sources for this kernel version seem missing.
If you installed no newer kernel then the one from CD, you'll find the kernel sources on the cd's... the package should be called kernel-source-2.4.20-6.i386.rpm ... you can also try the search function on Red Hat's download page. (or get the 'latest' kernel ; https://rhn.redhat.com/errata/RHSA-2003-172.html)
Red hat CD lists only the file kernel-2.4.20-6.src, but no 'kernel-source*' files.
I've tried to look for it at www.redhat.com, but no rpm 'kernel-source*" seems to exist.
Originally posted by abonam Hi stoffel,
Red hat CD lists only the file kernel-2.4.20-6.src, but no 'kernel-source*' files.
I've tried to look for it at www.redhat.com, but no rpm 'kernel-source*" seems to exist.
Thanks,
-Andrea
Well, i'd suggest upgrading the kernel and using the correct sources for that. Don't worry, upgrading RH kernel is a piece of cake
Re: problems of broadcom 4401 driver in redhat 9.0
Quote:
Originally posted by noluck hi fellow,
i m a newbie .. i just install redhat 9.0 on my new dell inspiron 5100 which has a broadcom 4401 ethernet driver
i compiled the driver file bcm4400-1.0.1-0pcap.src.rpm
and i encounter a lot of errors
what errors? maybe paste url to the errorlog?
try to :
cp .....bcm4xxx.tar.gz -> /usr/src/
cd /usr/src
tar xzf bcm4xxx.tar.gz
cd bcm4xxx
./configure
make
make install
before doing this, please make sure your kernel sources are installed (if you don't know where to find, upgrade to newest kernel as in one of the previous posts..)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.