LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-27-2003, 11:39 AM   #1
graystarr
Member
 
Registered: Dec 2001
Location: Layton, Utah
Distribution: Red Hat 8.0 and Mandrake 9.0
Posts: 85

Rep: Reputation: 15
Help with new kernel please?


Ok I have upgraded my kernel to the latest RH9 kernel. Now my NIC wont work. when I follow the directions to install the driver from RPM I get this message.

[root@redhat redhat]# rpmbuild -bb SPECS/bcm4400.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.754
+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=C
+ export LANG
+ cd /usr/src/redhat/BUILD
+ rm -rf bcm4400-2.0.5
+ /bin/mkdir -p bcm4400-2.0.5
+ cd bcm4400-2.0.5
+ /usr/bin/gzip -dc /usr/src/redhat/SOURCES/bcm4400-2.0.5.tgz
+ tar -xvvf -
-rw-r--r-- root/root 2901 2003-07-02 06:49:37 DISTRIB.TXT
-rw-r--r-- root/root 15153 2003-07-02 06:49:37 LICENSE
-rw-r--r-- root/root 2431 2003-07-02 06:49:37 Makefile
-rw-r--r-- root/root 7988 2003-07-02 06:49:37 README.TXT
-rw-r--r-- root/root 3168 2003-07-02 06:49:37 RELEASE.TXT
-rw-r--r-- root/root 38408 2003-07-02 06:49:37 b44.h
-rw------- root/root 60290 2003-07-02 06:49:37 b44lm.c
-rw-r--r-- root/root 17257 2003-07-02 06:49:37 b44lm.h
-rw-r--r-- root/root 8353 2003-07-02 06:49:37 b44mm.h
-rw-r--r-- root/root 10138 2003-07-02 06:49:37 b44proc.c
-rw-r--r-- root/root 11645 2003-07-02 06:49:37 b44queue.h
-rw-r--r-- root/root 45553 2003-07-02 06:49:37 b44um.c
-rw-r--r-- root/root 2113 2003-07-02 06:49:37 bcm4400.4.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ /usr/bin/gzip -dc /usr/src/redhat/SOURCES/bcm4400-2.0.5.tgz
+ tar -xvvf -
-rw-r--r-- root/root 2901 2003-07-02 06:49:37 DISTRIB.TXT
-rw-r--r-- root/root 15153 2003-07-02 06:49:37 LICENSE
-rw-r--r-- root/root 2431 2003-07-02 06:49:37 Makefile
-rw-r--r-- root/root 7988 2003-07-02 06:49:37 README.TXT
-rw-r--r-- root/root 3168 2003-07-02 06:49:37 RELEASE.TXT
-rw-r--r-- root/root 38408 2003-07-02 06:49:37 b44.h
-rw------- root/root 60290 2003-07-02 06:49:37 b44lm.c
-rw-r--r-- root/root 17257 2003-07-02 06:49:37 b44lm.h
-rw-r--r-- root/root 8353 2003-07-02 06:49:37 b44mm.h
-rw-r--r-- root/root 10138 2003-07-02 06:49:37 b44proc.c
-rw-r--r-- root/root 11645 2003-07-02 06:49:37 b44queue.h
-rw-r--r-- root/root 45553 2003-07-02 06:49:37 b44um.c
-rw-r--r-- root/root 2113 2003-07-02 06:49:37 bcm4400.4.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.42656
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd bcm4400-2.0.5
+ LANG=C
+ export LANG
+ make bcm4400.o
Makefile:18: *** Linux kernel source tree not found. Stop.
error: Bad exit status from /var/tmp/rpm-tmp.42656 (%build)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.42656 (%build)

How can I get this thing to work? I have a Dell Dimension 2400 with a broadcom 4401 nic.

Thanks in advance,

Mike
 
Old 08-27-2003, 12:16 PM   #2
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 65
You RPM'ed in a new kernel, but as the BCM4400 seems to build from source, you also need the new kernel source to get it to build right. I'm assuming you went from 2.4.20 to 2.4.21 to ditch the ptrace bug... The RPM should be available from RH somewhere...

Cheers,

Finegan
 
Old 08-27-2003, 03:37 PM   #3
vasudevadas
Member
 
Registered: Jul 2003
Location: Bedford, UK
Distribution: Slackware 11.0, LFS 6.1
Posts: 519

Rep: Reputation: 30
Or failing that, get it from the horse's mouth http://www.kernel.org

Version 2.4.21 is available as full source.
 
  


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
Kernel 2.4 in Zipslack (Waring: unable to open an initial console | Kernel Panic...) kurtamos Linux - General 2 05-10-2006 12:58 PM
Kernel-Patch Debian Logo 2.6.2 not correctly working for custom kernel 2.6.11 smp deepclutch Debian 3 06-27-2005 03:59 AM
kernel panic: try passing init= option to kernel...installation with Red Hat 9 kergen Linux - Hardware 1 09-30-2004 03:28 AM
Unable to build NVIDIA kernel module / determin kernel version Night Ink Fedora 2 05-31-2004 04:54 PM
Kernel 2.4.23 compile causes kernel panics on ATA RAID-1 (mirror) array Raptor Ramjet Slackware 3 12-18-2003 01:40 PM

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

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