LinuxQuestions.org
Help answer threads with 0 replies.
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-20-2003, 03:06 PM   #136
abonam
LQ Newbie
 
Registered: May 2003
Posts: 13

Rep: Reputation: 0
Errors again after installing kernel sources


Hi stoffel,

Just downloaded the new kernel-2.4.20-x.i686.rpm and the file kernel-source-2.4.20-x.i386.rpm.
I've installed using rpm -ivh and rebooted using the new kernel.

Once again, when I tried to compile the bcm4400 files, I had the same list of errors, please would like to see:
http://www.geocities.com/bontalk2000/bcmlog.log

Thanks againa for your help,

-Andrea
 
Old 05-20-2003, 04:54 PM   #137
stoffell
Member
 
Registered: Apr 2003
Location: belgium
Distribution: debian
Posts: 72

Rep: Reputation: 15
Re: Errors again after installing kernel sources

Quote:
Originally posted by abonam
Hi stoffel,
Just downloaded the new kernel-2.4.20-x.i686.rpm and the file kernel-source-2.4.20-x.i386.rpm.
I've installed using rpm -ivh and rebooted using the new kernel.
Great, kernel's updated now.
But when you rpm -qa | grep kernel, you can see the kernel-source-2.4.20-13.8 is installed while the running kernel (uname -a) is 13-9... Can you check if you've got the right sources downloaded.. Looks like you downloaded the 2.4.20-13.9 for the kernel but the -13.8 for the sources...

Because the error you get is always mentioning : "#warning Using kernel header in userland!" -> not good..


greetz
stoffell
 
Old 05-20-2003, 11:52 PM   #138
abonam
LQ Newbie
 
Registered: May 2003
Posts: 13

Rep: Reputation: 0
Smile Finally!!

HI stoffel,

thank you for your preciuos hint now I am finally able to use my Ethernet card.
Once I've installed the version of the kernel-source* package matching with my actual kernel, I was finally able to compile the bcm4400.o file!
Now (it is my guess) I should be able to compile *any* driver as long as the dependencies are finally resolved.
So, once again, I've obtained my bcm4400.o file and after I've performed the following actions:
#On the same directory where bcm4400.o is stored:
#resolving symbols
depmod
insmod bcm4400.o

#check the resolved driver
lsmod | grep bcm

#the result should be something like: bcm4400 39880 1

#copy the driver
cp bcm4400.o /lib/modules/<your_kernel_version_nr>/kernel/drivers/net

#modify the /etc/modules.conf file
vi /etc/modules.conf
# add the following alias:
alias eth0 bcm4400

#save & exit
#restart the network service
service network restart

At this point the ifconfig command finally shows the eth0 up and running other than loopback0, which is useful for tons of tasks....but not to browse the net!!


Well, another happy !!

Regards & many thanks.
I will keep posting here,

-Andrea
 
Old 05-23-2003, 07:37 AM   #139
kdwagner
LQ Newbie
 
Registered: May 2003
Posts: 4

Rep: Reputation: 0
Sorry I am still having difficulty. I downloaded the kernel and kernel-source to update my RH 7.3 to 2.4.20 (i686). However when I try to install with rpm I get the message modutils>=2.4.18 is needed by kernel-smp-2.4.20-13.7.

How do I upgrade modutils and what else might be missing? Still trying to eventually get my bcm4401 controller working ...

Thanks - Ken
 
Old 05-26-2003, 05:16 PM   #140
abonam
LQ Newbie
 
Registered: May 2003
Posts: 13

Rep: Reputation: 0
Hi Ken,

I've got simlar problem and stoffel helped me.
I do not want be the 'teacher' now, but try to follow my steps I posted in my previous e-mails.
To begin with do a

rpm -qa | grep kernel

to see if you have inconsistencies in between the kernel version and the source installed.
In order to get it everything working, kernel and source version shall have to be the same.

uname -a

will return the current kernel version.

Keep posted,
-Andrea

 
Old 05-26-2003, 06:42 PM   #141
Hawkeye
LQ Newbie
 
Registered: May 2003
Posts: 4

Rep: Reputation: 0
Hiyas,

got an Acer TM653LCI with a built-in broadcom440x (winxp said so before it got wiped ).

using RH8.0 kernel-2.4.20-13.8 i686 and the same for the source (checked)

the driver still does not want to compile.

warnings look similar to abonamīs ones (lotsa wrong pointer dereferences and parse errors. (the one on the previous page)

did not work on a plain RH8.0 setup either.

Last edited by Hawkeye; 05-26-2003 at 07:01 PM.
 
Old 05-27-2003, 05:51 AM   #142
stoffell
Member
 
Registered: Apr 2003
Location: belgium
Distribution: debian
Posts: 72

Rep: Reputation: 15
try abonam's suggestion

Quote:
Originally posted by Hawkeye
Hiyas,
using RH8.0 kernel-2.4.20-13.8 i686 and the same for the source (checked)
the driver still does not want to compile.
warnings look similar to abonamīs ones (lotsa wrong pointer dereferences and parse errors. (the one on the previous page)
did not work on a plain RH8.0 setup either.
Indeed, plain RH8 does not work; kernel sources aren't installed. I suggest upgrading to most recent kernel (see previous posts directed towards abonam).

Then please try what abonam suggests; rpm -qa | grep kernel .. and uname -a..

Keep us posted.
 
Old 05-27-2003, 07:02 AM   #143
Hawkeye
LQ Newbie
 
Registered: May 2003
Posts: 4

Rep: Reputation: 0
then i downloaded the wrong source package?

rpm -qa | grep kernel returns
kernel-pcmcia-cs-3.1.31-9
kernel-2.4.18-14
kernel-2.4.20-13.8 (which im currently using)

uname -a/-r (whatever) returns:
2.4.20-13.8

previously downloadedthis source

now downloading this one
burning it on cd then and trying. cya in 15mins
 
Old 05-27-2003, 07:46 AM   #144
Hawkeye
LQ Newbie
 
Registered: May 2003
Posts: 4

Rep: Reputation: 0
hm it seems it could generate the objectfile now
but with those warnings the programers would fail all exams in programing
 
Old 05-27-2003, 08:11 AM   #145
Hawkeye
LQ Newbie
 
Registered: May 2003
Posts: 4

Rep: Reputation: 0
LAN works --> plugged into switch --> internet works.

thx guys
 
Old 05-27-2003, 01:12 PM   #146
abonam
LQ Newbie
 
Registered: May 2003
Posts: 13

Rep: Reputation: 0
Eureka! :)

Hi Hawkeye,

then i downloaded the wrong source package?

rpm -qa | grep kernel returns
kernel-pcmcia-cs-3.1.31-9
kernel-2.4.18-14
kernel-2.4.20-13.8 (which im currently using)

uname -a/-r (whatever) returns:
2.4.20-13.8

previously downloadedthis source

now downloading this one
burning it on cd then and trying. cya in 15mins



which it is consistent because you are now installing the same version of kernel-source as thekernel you are using.
Thanks stoffel

-Andrea
 
Old 06-19-2003, 09:17 AM   #147
wahooka27
LQ Newbie
 
Registered: Jun 2003
Posts: 2

Rep: Reputation: 0
can someone help me get this working with the latest distro of knoppix?

i'm a linux newbie so i dont know how the steps would be different for redhat or suse. i would greatly appreciate any points in the right direction.

thanks
 
Old 06-19-2003, 10:17 AM   #148
crox
Member
 
Registered: Feb 2003
Location: Tennessee
Distribution: Red Hat 9
Posts: 45

Rep: Reputation: 15
Knoppix

Unless you install Knoppix on your hard drive, it probably will not work. Because Knoppix runs off the CD and swap space, you probably cannot insert the driver on the CD.
 
Old 07-06-2003, 03:02 AM   #149
Wolfster
LQ Newbie
 
Registered: Jul 2003
Posts: 1

Rep: Reputation: 0
Post Broadcom 4400 linux Redhat 9 drivers

Has anyone scored some new drivers for the ASUS P4PE Broadcom 4400 Ethernet running RH 9, I had the old drivers working under RH 8 and then upgraded to RH 9 but now the drivers won't load on boot etc. Have tried all the above solutions with no luck !

Appreciate some help ; )
 
Old 07-06-2003, 08:03 AM   #150
crox
Member
 
Registered: Feb 2003
Location: Tennessee
Distribution: Red Hat 9
Posts: 45

Rep: Reputation: 15
Drivers

The old bcm4400-1.0.1.tar.gx works fine. Just move it to home directory, extract. From shell prompt as root: cd src; then as root: make; root: make install. Reboot your system. The system will prompt you abour configuration.
 
  


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