LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-11-2003, 07:42 PM   #121
abonam
LQ Newbie
 
Registered: May 2003
Posts: 13

Rep: Reputation: 0
Installing the kernel ???




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 a lot in advance,

-Andrea
 
Old 05-12-2003, 08:44 PM   #122
gregt
LQ Newbie
 
Registered: May 2003
Posts: 7

Rep: Reputation: 0
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.)

Great job!
 
Old 05-13-2003, 08:01 PM   #123
kdwagner
LQ Newbie
 
Registered: May 2003
Posts: 4

Rep: Reputation: 0
BCM4401 LAN Ethernet

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.

Thanks - Ken
 
Old 05-13-2003, 09:51 PM   #124
gregt
LQ Newbie
 
Registered: May 2003
Posts: 7

Rep: Reputation: 0
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.

Hope this helps.
 
Old 05-14-2003, 03:20 AM   #125
davecs
Member
 
Registered: Feb 2003
Location: Barking, Essex, Britain
Distribution: PCLinuxOS and MX-Linux
Posts: 502

Rep: Reputation: 32
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).

Hope that helps someone...
 
Old 05-15-2003, 11:43 PM   #126
abonam
LQ Newbie
 
Registered: May 2003
Posts: 13

Rep: Reputation: 0
kernel source installed

Hi davecs,

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
 
Old 05-16-2003, 01:20 AM   #127
stoffell
Member
 
Registered: Apr 2003
Location: belgium
Distribution: debian
Posts: 72

Rep: Reputation: 15
sources installed not working, what errors?

hi Andrea,

first of all, what errors do you get? could you post some tiny example?

if not, I could send you the bcm4400.o file for kernel 2.4.20-8..

greetz..
stoffell
 
Old 05-18-2003, 08:17 PM   #128
abonam
LQ Newbie
 
Registered: May 2003
Posts: 13

Rep: Reputation: 0
errors on make

Hi stoffel,


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:

http://www.geocities.com/bontalk2000/bcm4400.log

Best regards,
-Andrea
 
Old 05-19-2003, 12:53 PM   #129
stoffell
Member
 
Registered: Apr 2003
Location: belgium
Distribution: debian
Posts: 72

Rep: Reputation: 15
kernel headers

hi,

this error seems strange..

#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)

what platform you running on? i386?


stoffell
 
Old 05-19-2003, 03:46 PM   #130
abonam
LQ Newbie
 
Registered: May 2003
Posts: 13

Rep: Reputation: 0
Hi stoffel,
my platform is a i686.
Here the output of the rpm -qa


[root@localhost src]# uname -a
Linux localhost.localdomain 2.4.20-6 #1 Thu Feb 27 10:06:59 EST 2003 i686 i686 i386 GNU/Linux
[root@localhost src]#
[root@localhost src]# rpm -qa | grep kernel
kernel-pcmcia-cs-3.1.31-13
kernel-2.4.20-6
[root@localhost src]#


Thank you so much for your help,

-Andrea
 
Old 05-20-2003, 12:42 AM   #131
stoffell
Member
 
Registered: Apr 2003
Location: belgium
Distribution: debian
Posts: 72

Rep: Reputation: 15
Quote:
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)

Good luck and keep us posted ..

stoffell.
 
Old 05-20-2003, 02:47 AM   #132
abonam
LQ Newbie
 
Registered: May 2003
Posts: 13

Rep: Reputation: 0
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
 
Old 05-20-2003, 06:38 AM   #133
stoffell
Member
 
Registered: Apr 2003
Location: belgium
Distribution: debian
Posts: 72

Rep: Reputation: 15
kernel version

Quote:
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

Go get the correct kernel for your version of Red Hat at https://rhn.redhat.com/errata/RHSA-2003-172.html

Just download kernel-2.4.20-x.i686.rpm and the file kernel-source-2.4.20-x.i386.rpm (source is in the i386 section).

then follow the instructions at the bottom, being:
rpm -ivh <yournewkernel>
rpm -ivh <andthesources>

reboot after this (maybe re-run lilo if using lilo) and select the new kernel..

keep us posted

g'luck.
 
Old 05-20-2003, 11:51 AM   #134
noluck
LQ Newbie
 
Registered: May 2003
Posts: 1

Rep: Reputation: 0
Unhappy problems of broadcom 4401 driver in redhat 9.0

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

> 300 lines of errors

and i could not manage to get the bcm4400.o

erm it would be nice if u all can help me :-)

new newbie
 
Old 05-20-2003, 12:14 PM   #135
stoffell
Member
 
Registered: Apr 2003
Location: belgium
Distribution: debian
Posts: 72

Rep: Reputation: 15
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..)

greetz
stoffell
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Suse 9.0 doesn't detect Ethernet card on nVidia shipset 2, on-board card Realtek 8201 devilpim Linux - Newbie 3 05-27-2006 12:08 AM
Fedora 2 can't detect PCMCIA Ethernet card philipmorgan Linux - Networking 9 09-16-2005 01:38 PM
Ethernet card on laptop: I installed my D-Link ethernet card into Redhat 9, not detec brighamr Linux - Hardware 0 05-18-2004 12:33 AM
Mandrake doesnt detect Ethernet card VinTSS Linux - Newbie 2 01-09-2004 12:53 AM
New kernel cud not detect ethernet cards palanisaravanan Linux - Hardware 2 12-08-2003 06:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration