Solved

Can't get NC100 card to work!

Posted on 2000-04-22
3
168 Views
Last Modified: 2010-03-18
RedHat 6.1
Kernel 2.2.12-20

I'm a Linux newbie so your patience is appreciated.  Three months ago I purchased two NC100 Fast Ethernet cards from Linksys.  I am trying to install the tulip module to get this card to work, but I keep getting this error:

./tulip.o: init_module: Device or resource busy

I went to ftp://cesdis.gsfc.nasa.gov and downloaded the latest tulip.c file and kern_compat.h.  (Somewhere I was told to do this). After a number of misfires with compilation, I moved tulip.c and kern to /etc and it compiled with no errors.  Now, when I move tulip.o to /lib/modules/2.2.12-20/net and attempt to use the insmod command.  I keep getting the above error.   I can do a lsmod and see that the module isn't loaded.

If I try to recompile tulip.c, I get
[root@localhost net]# gcc -D__SMP__ -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -c tulip.c `[ -f /usr/include/linux/modversions.h ] && echo -DMODVERSIONS`
/usr/include/asm/smp.h: In function `hard_smp_processor_id':
In file included from /usr/include/linux/smp.h:11,
                 from /usr/include/linux/sched.h:20,
                 from tulip.c:118:
/usr/include/asm/smp.h:209: warning: implicit declaration of function `GET_APIC_ID'
/usr/include/asm/smp.h:209: `APIC_BASE' undeclared (first use in this function)
/usr/include/asm/smp.h:209: (Each undeclared identifier is reported only once
/usr/include/asm/smp.h:209: for each function it appears in.)
/usr/include/asm/smp.h:209: `APIC_ID' undeclared (first use in this function)

Any help would be appreciated!
0
Comment
Question by:pauld28_
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 75 total points
ID: 2739971
I think you are using the wrong compile command. The one you've chosen would be for a multi-processor box with an SMP kernel running. The compile command that I think you need is the second in the list at the end of tulip.c, labeled "compile command:" I just tried it on RH 6.1 and it compiles with no errors using that command and without installing kern_compat.h (I don't believe you need or want that file).
0
 

Author Comment

by:pauld28_
ID: 2753629
Thank you very much for the answer.  I actually found the answer on my own before I checked my messages (but you were right - and thusly get the points) Thanks again, eth0 is working and I got Samba working:)>
0
 
LVL 40

Expert Comment

by:jlevie
ID: 2754112
Great!
0

Featured Post

Limited time offer using promo code EXPERTS25

Designed with a wealth of functionality and convenience, ATEN's new Thunderbolt™ 2 Sharing Switch takes your Thunderbolt setup to the next level. Now through August 31, 2017, Experts Exchange members get 25% off the US7220 on the ATEN USA eShop using promo code EXPERTS25.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Suggested Courses

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question