LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 05-25-2001, 11:40 AM   #1
prowzen
Member
 
Registered: Apr 2001
Location: Canada
Distribution: RH 7.0,
Posts: 89

Rep: Reputation: 15
Installing Ethernet Card(eth1)! Please help!


Iam running a RH 7.0 with a D-Link network card installed and working and which connects me to the internet. It says it uses the net-2pk module.
Iam trying to add another ethernet card for my LAN. It's also a D-Link, model: DFE530TX+ 10/100MPS Ethernet Card (PCI). I have been trying to install it the last few days without any success.
0. First and foremost I ensured that the card is place correctly in it's slot.
1. I ran netconf and enabled my eth1. I chose the kernel module rtl8139(thatz what the document mentions to be the kernel module for the card). At boot time it says "Hint: resource busy....insmod errors can occur because IRQ port may be specified incorrectly.."
I ran lsmod to see if the module is listed but didn' mention 'rtl8139'.

2. I saw somewhere else in this forum regarding the same card that it works with the tulip module and the via-rhine module....I ran netconf and tried with both of them....But I got incorrect module error and again nothing worked.

3. I had a driver disk with the rtl8139.c file and a makefile. I ran make -f Makefile1 rtl8139.c and it created a rtl8139.o file. I tried doing a insmod rtl8139.o but I got teh error 'insmod error:resource may be busy or the IRQ port may be specified incorrectly'...Basically the same error that I had mentione above.

4. I checked my CMOS settings....It's configured for autodetect , which I believe would take care of assigning the port number for IRQ ( I don't know much about these. ). There was an option for 'PCI snoop'. I enabled it and tried rebooting. no effect. I disabled it and tried again. no effect.

PLEASE HELP!!!! I read and re-read the howto document and tried everything within my knowledge. Iam not able to get it working. Take pity on this soul and help me get my network card configured!




 
Old 05-28-2001, 05:21 PM   #2
prowzen
Member
 
Registered: Apr 2001
Location: Canada
Distribution: RH 7.0,
Posts: 89

Original Poster
Rep: Reputation: 15
Angry

Is my situation that hopeless? Anyone's got an idea on this?
 
Old 05-29-2001, 11:03 AM   #3
prowzen
Member
 
Registered: Apr 2001
Location: Canada
Distribution: RH 7.0,
Posts: 89

Original Poster
Rep: Reputation: 15
Still awaiting a response....
 
Old 05-29-2001, 04:48 PM   #4
Avatar
Member
 
Registered: May 2001
Location: Canada
Distribution: old ones
Posts: 532

Rep: Reputation: 30
Exclamation I'll try....

Here's my guess

I am also having trouble with a machine with 2 network cards, one is a D-LINK both have Realtek chips.

I believe in my case the IRQ conflict between the video card and one of the ethernet cards (eth1). Both trying to use IRQ 5.

I used netconf to change the IRQ on the network card to 4.

But, I still can't connect to the DSL modem.

However, changing the IRQ on your card sounds like solution for you.

HTH
 
Old 05-29-2001, 07:38 PM   #5
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
Lightbulb I'll have a shot too

Quote:
Originally posted by Avatar
Here's my guess

I am also having trouble with a machine with 2 network cards, one is a D-LINK both have Realtek chips.

I believe in my case the IRQ conflict between the video card and one of the ethernet cards (eth1). Both trying to use IRQ 5.

I used netconf to change the IRQ on the network card to 4.

But, I still can't connect to the DSL modem.

However, changing the IRQ on your card sounds like solution for you.

HTH
IRQ 4 will typically be used by ttyS0 & ttyS2 (Com 1 & 3) so beware of that one.

What kernel are you running? Is it one with nice PnP support, if so is it enabled? In your BIOS what are the 'resources' being allocated by - auto or manual (if the option exists)?

You should be able to share PCI IRQs without any problems. I've got two PCI cards here that show up on IRQ 11, a RealTek 8029 (ne2k-pci) and a RealTek 8139 (rtl8139too) on 2.2.19 and both are schweet... (well for cheapo cards anyway):

root@mnemosyne:~# cat /proc/interrupts
CPU0
0: 95481765 XT-PIC timer
1: 2 XT-PIC keyboard
2: 0 XT-PIC cascade
4: 5731071 XT-PIC serial
7: 321174 XT-PIC soundblaster
8: 46 XT-PIC rtc
11: 33598979 XT-PIC eth0, eth1
13: 1 XT-PIC fpu
14: 1750430 XT-PIC ide0
15: 5336 XT-PIC ide1
NMI: 0

root@mnemosyne:~# cat /proc/pci | more
PCI devices found:
Bus 0, device 0, function 0:
Host bridge: Intel 82437 (rev 2).
Medium devsel. Master Capable. Latency=64.
Bus 0, device 7, function 0:
ISA bridge: Intel 82371FB PIIX ISA (rev 2).
Medium devsel. Fast back-to-back capable. Master Capable. No bursts.
Bus 0, device 13, function 0:
Ethernet controller: Realtek 8139 (rev 16).
Medium devsel. Fast back-to-back capable. IRQ 11. Master Capable. Late
ncy=66. Min Gnt=32.Max Lat=64.
I/O at 0xf800 [0xf801].
Non-prefetchable 32 bit memory at 0xfffbec00 [0xfffbec00].
Bus 0, device 14, function 0:
Ethernet controller: Realtek 8029 (rev 0).
Medium devsel. IRQ 11.
I/O at 0xff80 [0xff81].
Bus 0, device 15, function 0:
SCSI storage controller: Adaptec AIC-7861 (rev 1).
Medium devsel. Fast back-to-back capable. IRQ 11. Master Capable. Late
ncy=64. Min Gnt=4.Max Lat=4.
I/O at 0xfc00 [0xfc01].
--More--

Actually - looks like the SCSI card is on IRQ 11 too... shocking...

Jamie
 
Old 05-30-2001, 06:09 AM   #6
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
I had the same fight with the dfe530 and I thought it was hopeless until I found a reference to the MoBo (ABIT BX-133 RAID) and PCI slot fights. It seems that while the device may show up and the module will load, the card would be completely dysfuntional. Swapped in a 3c905 and it lit up real perty, but squakked all over my network until it took a port on my Superstack II hub offline! After experimenting with disabling some of the IDE channels (I forget which ones) and shuffling through the PCI slots I made good. I've heard of a couple of more boards with the same probs. My guess is that it's a bus-mastering issue, not a flaw. It's worth looking into if you have a newer board.

As much as I hate to admit it, I'm becoming a big fan of the Intel 815 boards. I might jump the ASUS ship, even tho I'm still using an old P2L97/233.

As far as the rtl8139/ne2k-pci combo goes - I could not resolve that issue on any platform/kernel combo. I changed physical order (slots) load sequence, IRQ poking; and all I got was grief. I was able to pair off the ne2k-pci with a 3Com into a firewall box and get it outta my shop.

In short - NICs are a pain in the *** and are a problem I would rather throw money at than time.

Cheers,
D.
 
Old 05-30-2001, 03:04 PM   #7
prowzen
Member
 
Registered: Apr 2001
Location: Canada
Distribution: RH 7.0,
Posts: 89

Original Poster
Rep: Reputation: 15
First of all, thanks a lot for all your repsones.

Iam running a 2.2.16 kernel, RH 7.0 distro. I have my pnp enabled and BIOS resources set to AUTO. ( I also tried disabling the pnp and setting the BIOS allocation of resources to Manual.....tried every possible combination really). I did try to specify the IRQ # manually. I tried 3, 7 and 15 which my system showed them to be free. My eth0 is set to IRQ # 5. I'll try sharing the same IRQ with eth1 and see what happens.

Will changing the network interface card bring about a solution??? I have that option open to change my network card without a hassle. But will that bring about a solution or is the problem to do with my 'SYSTEM' not being able to detect the NIC?

By the way...
mnemosyne:~# cat /proc/pci | more

Will this show up my undetected NIC?

I'll be trying all your suggestions the first thing I get back home and will post the outcomes.


Once again, thanks a lot guys, for lighting up some hope into me!

ps:
Forgot to ask one more thing! If changing my NIC wud solve my problem, is there an absolutely 'SAFE, RELIABLE, TESTED' NIC that you can suggest? I looked at the hardware compatibility list to fish out for this D-Link card but they didn't mention any downsides in getting it installed. So is there a 'Will definitely Work' NIC for linux that you know of???
 
Old 05-31-2001, 11:49 AM   #8
prowzen
Member
 
Registered: Apr 2001
Location: Canada
Distribution: RH 7.0,
Posts: 89

Original Poster
Rep: Reputation: 15
Thumbs down

I tried it all but my NIC doesn't want to work. I set up the IRQ to 4 and tried but again no effect. I have run out of ideas. I have two thoughts on my mind right now..1. to change the network card - this would solve my problem if my present D-Link card has compatibility issues with red hat 2. Install windows and see if it is able to detect the card to make sure that it's an OS issue and not a problem with my motherboard.
Basically I am not sure which option I should take as I don't understand if the issue is because of the Operating System or with my Motherboard(PCI stuff).
Any suggestions, please?
 
Old 05-31-2001, 12:02 PM   #9
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
Quote:
Originally posted by prowzen
I tried it all but my NIC doesn't want to work. I set up the IRQ to 4 and tried but again no effect <snip>
Did you disable your serial port first?

Jamie...
 
Old 06-01-2001, 11:19 AM   #10
prowzen
Member
 
Registered: Apr 2001
Location: Canada
Distribution: RH 7.0,
Posts: 89

Original Poster
Rep: Reputation: 15
No I didn't. There was nothing on IRQ=4.. At least thatz what netconf showed me when I dropped down the menu for the IRQ values...
 
Old 06-02-2001, 03:36 PM   #11
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
By default your BIOS will most likely have set the com port to IRQ 4. Netconfig might not see it if you don't have serial support in the kernel, or its being autoloaded as a module, yet isn't loaded at the moment. Its still there though.

Jamie...
 
Old 06-05-2001, 12:35 PM   #12
prowzen
Member
 
Registered: Apr 2001
Location: Canada
Distribution: RH 7.0,
Posts: 89

Original Poster
Rep: Reputation: 15
No luck!

Tried swapping my NICs to check if this is a motherboard problem. Fortunately it is not. Iam planning to exchange my D-Link NIC for something else, that would be easy to install. I have submitted a new post asking for suggestions for a good NIC. Any inputs please?
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
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
I need help for my D-Link Ethernet Card stonesino Linux - Newbie 2 03-14-2004 08:00 PM
Need help installing the D-Link DFE-670-TXD 10/100 Ethernet Card crushburn Linux - Laptop and Netbook 0 03-10-2004 11:01 AM
installing D-link DE-650 ethernet card on Red Hat 7 poeta_boy Linux - Hardware 2 02-06-2004 01:10 PM
D-Link ethernet card Rutnut Linux - Networking 10 08-16-2001 04:05 PM


All times are GMT -5. The time now is 05:51 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration