LinuxQuestions.org
Review your favorite Linux distribution.
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 07-09-2003, 02:23 AM   #1
Monkeysee
LQ Newbie
 
Registered: Jul 2003
Posts: 16

Rep: Reputation: 0
4400 Network card troble


I am running the fallowing version of Linux-

Linux localhost.localdomain 2.4.20-8 #1 Thu Mar 13 17:18:24 EST 2003 i686 athlon
i386 GNU/Linux

I downloaded the file named bcm4400-1.0.1.tar.gz which is the driver for my network card (its integrated on my asus board and itís a Boardcom 4400 10/100 Ethernet Card)

Anyhow I fallowed the very simple instructions and extracted it to a directory, went into the SRC folder and ran the command

make && make install

And this is what happened (screen shot at link below)
Screen Shot of the Death that Fallowed

Anyhow if anyone knows how I can fix this I would appreciate it.

-Monkeysee
 
Old 07-09-2003, 03:23 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927
Have you got kernel-source /-headers installed?

I've compiled & installed that driver no sweat...

Cheers,
Tink
 
Old 07-09-2003, 03:47 AM   #3
Monkeysee
LQ Newbie
 
Registered: Jul 2003
Posts: 16

Original Poster
Rep: Reputation: 0
im very much a n00b at linux. ive had it for like 3 days lol

i have not done "kernel-source /-headers" could someone tell me how to do that?

-Monkeysee

Last edited by Monkeysee; 07-09-2003 at 03:51 AM.
 
Old 07-09-2003, 05:07 AM   #4
leifole
LQ Newbie
 
Registered: Aug 2002
Location: Copenhagen, Denmark
Distribution: Redhat, familiar
Posts: 7

Rep: Reputation: 0
Which linux distribution have you installed?
 
Old 07-09-2003, 03:52 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927
Quote:
Originally posted by Monkeysee
im very much a n00b at linux. ive had it for like 3 days :D lol

i have not done "kernel-source /-headers" could someone tell me how to do that?

-Monkeysee
If you're using RedHat, Mandrake,
SuSE or another RPM based distro do
Code:
su -
rpm -qa | grep -i kernel
And as for how to install it: if the above
commands yield no output, find your
distro's software installation tool and search
the CD's for packages saying kernel.

Cheers,
Tink
 
Old 07-09-2003, 09:44 PM   #6
Monkeysee
LQ Newbie
 
Registered: Jul 2003
Posts: 16

Original Poster
Rep: Reputation: 0
sry. im useing RedHat 9 Shrike, um. version ends with a -8... ok so i open the command prompt and...

run 'su-'
run 'rpm -qa | grep -i kernel'

right?

-Monkeysee

Last edited by Monkeysee; 07-09-2003 at 09:45 PM.
 
Old 07-09-2003, 10:03 PM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927
yip ... and, what is the output? :)

Cheers,
Tink
 
Old 07-09-2003, 10:31 PM   #8
Monkeysee
LQ Newbie
 
Registered: Jul 2003
Posts: 16

Original Poster
Rep: Reputation: 0
the command 'su-' returned

'command not found'

the command 'rpm -qa | grep -i kernel' teturned

'kernel-pcmcia-cs-3.1.31-13'
'kernel-2.4.20-8'
'kernel-ntfs-2.4.20-8'

-Monkeysee
 
Old 07-10-2003, 12:09 AM   #9
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927
That's su<space>- :)

OK, now I'm not a 100% familiar with the
naming conventions of Redhat, but do assume
that the packages DON'T have the source ....

check the following


rpm -ql kernel-2.4.20-8 | grep src

If you get heaps of lines the source might
be installed, and we'll have to start looking
for other reasons of your problem.

If there's none or little output, search your
cd's for rpms with kernel in the name and install
ones that also say something like source or src :)

Cheers,
Tink
 
Old 07-10-2003, 02:19 AM   #10
Monkeysee
LQ Newbie
 
Registered: Jul 2003
Posts: 16

Original Poster
Rep: Reputation: 0
run 'rpm -ql kernel-2.4.20-8 | grep src' retruned

nothing (no errors, but nothing)
oh and on the cd's is only the file i mentioned in my first post.

-Monkeysee

Last edited by Monkeysee; 07-10-2003 at 02:20 AM.
 
Old 07-10-2003, 06:00 AM   #11
leifole
LQ Newbie
 
Registered: Aug 2002
Location: Copenhagen, Denmark
Distribution: Redhat, familiar
Posts: 7

Rep: Reputation: 0
I assume you are running kernel version 2.4.20-8 and using grub as your boot manager.

The problem with kernel and loadable modules is the need for consistent versions of kernel and modules. You must have a framework for including your own modules. This can be achieved by the procedure below.

I will warn you that you might end up with a system you cannot start. This is a standard warning for all changes on kernel and grub.

As far as I can recall here is what I did to install a loadable module driver for my wireless card:

1. Install kernel source and headers (kernel-source-2.4.20-8.i386.rpm)
2. Install development tools and libraries (gcc-3.2.2-5.i386.rpm and libgcc-3.2.2-5.i386.rpm) There might be some packages that the above mentioned packages are dependent on. They should be installed as well.
3. Read /usr/src/linux-2.4.20-8/README and run make oldconfig.
4. Select configs/kernel-2.4.20-athlon.config as your model for configuration and do not change other parameters
5. run "make dep"
6. run "make bzImage"
7. run "make modules"
8. as root run "make modules_install"
9. as root run "make install"
10. as root run "mkinitrd "/boot/initrd-2.4.20-8-custom.img 2.4.20-8-custom"
11. before reboot you might look into the /etc/grub.conf file and the /boot directory to verify the settings.
12. reboot your machine and select boot of linux-2.4.20-8-custom.
13. Now you can run the customization of the kernel with the new loadable module. Most of those locates kernel source automatically and you can accept defaults.
 
Old 07-10-2003, 11:33 PM   #12
Monkeysee
LQ Newbie
 
Registered: Jul 2003
Posts: 16

Original Poster
Rep: Reputation: 0
Its not a wireless card. leifole, should fallow your instructions anyhow?

-Monkeysee
 
  


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
Visioneer 4400 scanner Spudley Linux - Hardware 5 08-01-2014 01:57 PM
linux shuts down built in network card then windows tells me network card is unplugge lesmoxhaybaker SUSE / openSUSE 8 08-29-2006 06:10 PM
sudoers troble e1000 Linux - Security 1 02-17-2004 02:37 AM
cant get redhat to detect my bcm 4400 network card Omair Linux - Networking 0 01-24-2004 12:00 PM
BCM 4400 System Slowdown jevans337 Linux - Networking 0 08-29-2003 10:45 AM

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

All times are GMT -5. The time now is 03:42 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