LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-18-2003, 10:20 PM   #1
wsuchewie
LQ Newbie
 
Registered: Nov 2002
Distribution: Mandrake 9.1
Posts: 3

Rep: Reputation: 0
problem with Realtek RTL8139 - Device or Resource busy


I have Mandrake 9.1 running kernel v 2.4.21. My network cards is a Realtek RTL8139. When the computer is booting up, I see a message Device or Resource busy after it trys to bring up interface eth0. It goes by too fast for me to read all of it and i've checked every log I could think of and I couldn't find the rest of the message. The driver is loaded as a module, not compiled into the kernel.

Here is the pertinent information from dmesg
8139too Fast Ethernet driver 0.9.26
eth0: RealTek RTL8139 Fast Ethernet at 0xdc97d000, 00:40:2b:39:bb:2b, IRQ 1
eth0: Identified 8139 chip type 'RTL-8139C'

Here is the output from ifconfig
eth0 Link encap:Ethernet HWaddr 00:40:2B:39:BB:2B
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:1 Base address:0xd000

I noticed that the interrupt was 1.

Output from cat /proc/interrupts
CPU0
0: 61053 IO-APIC-edge timer
1: 999 IO-APIC-edge keyboard
2: 0 XT-PIC cascade
3: 99202028 IO-APIC-level usb-uhci
5: 0 IO-APIC-edge usb-ohci
6: 0 IO-APIC-edge usb-ohci
7: 4 IO-APIC-edge usb-uhci, ehci-hcd, ehci-hcd
8: 1 IO-APIC-edge rtc
12: 9879 IO-APIC-edge PS/2 Mouse
14: 11280 IO-APIC-edge ide0
15: 10 IO-APIC-edge ide1
NMI: 0
LOC: 60277
ERR: 0
MIS: 0

I noticed that the keyboard is also 1.
I go into modules.conf and add an option for irq = 17.
17 is the irq that windows shows this card as having.
The modules.conf now looks like this:
alias eth0 8139too
options 8139too irq=17

That didn't work, but i'm not 100% sure I did it right.

So I try to put in a kernel option ether=17,0x2000,0,1,eth0
That didn't work either.

Finially I disabled PnP OS from the Bios, once again to no avial.

After everything I did, /proc/interrupts never changed.

I don't know what else to try other than recompiling the kernel or buying a supported network card.

Any help will be appreciated.
 
Old 09-19-2003, 03:19 AM   #2
Backslash
LQ Newbie
 
Registered: Apr 2003
Location: Belgium
Distribution: Red Hat 9.0 (Shrike)
Posts: 23

Rep: Reputation: 15
I'm using 3 Realtek RTL8139 cards here and linux run them without any problem.

I remember I had a similar problem with a router/firewall I had to install. There were 5 different cards and IRQ conflicts but they worked without problem, even with the conflicts. We tried to change the IRQ's but we never succeeded. We gave up trying to change the IRQ's and the machine has run day and night for months now, and is still running.

Something you can try, is to change the card from PCI slot. It will maybe get another IRQ ...
 
Old 09-19-2003, 05:24 AM   #3
wsuchewie
LQ Newbie
 
Registered: Nov 2002
Distribution: Mandrake 9.1
Posts: 3

Original Poster
Rep: Reputation: 0
I can't change the pci slot, the card is integrated onto the motherboard.
 
Old 09-19-2003, 10:05 AM   #4
davidfrahm
LQ Newbie
 
Registered: Sep 2003
Location: United States
Distribution: Red Hat 9
Posts: 4

Rep: Reputation: 0
Backslash (or anyone else who knows)...

I'm a newbie who just installed Red Hat 9 on a used Dell CPi laptop. I picked up a Netgear MA521 and a Linksys WPC11 and would LOVE step-by-step instructions for how to get either of them installed.

I picked up both so I'd have two to try but now I find they might both be Realtek 8139.
 
Old 09-19-2003, 11:52 AM   #5
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
You could check you're bios again and under p'n'p/pci check for

Resources controlled By Auto(ESCD)

just to make sure Linux is in charge and leave

PNP os Installed No

I'm a bit hazy on it but from my understanding pci uses a pci controller that sorts/assigns everything and uses a method called shared interrupt Channels rather than out an out IRQ's

But as I say I'm a bit hazy myself on it
 
Old 09-19-2003, 05:24 PM   #6
linuxJaver
Member
 
Registered: Jul 2003
Location: Jakartax, ID
Distribution: slack9.1+,9.1,rh9
Posts: 203

Rep: Reputation: 30
R u sure that ur devices used irq 1 ? To see ur screen output during the booting process, u can type dmesg >dmesg.txt, then read the dmesg.txt with any texteditor..
The log is actually appended in /var/log/message(s) under slackware. Gotta read the bottom lines from it.

For list ur pci resource u can use: "lspci"

I'd 2 dlink 538TX (rtl8139) nic sticked on mobo, never have problem. It used irq 10,11. If u wonna tune ur dlink NIC, u can used the delivered disket, under the folder there is a tool called "diag.exe", but u have to boot the box barely with dos..
The tool is actually dedicated for testing the NIC .., likely that most ppl dunt need it ..
 
  


Reply



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
Device or Resource Busy ..by what xrado Linux - General 1 04-23-2005 06:05 AM
Device or resource busy mikedurant Linux - Newbie 4 03-29-2005 07:52 PM
Device or Resource Busy deepfrybonanza Linux - Wireless Networking 1 02-18-2005 03:27 PM
realtek rtl8139 gives device or resource busy error with slack 9.1 /xp dualboot joe83 Linux - Networking 2 06-10-2004 07:32 AM
Device or resource busy teeno Linux - Newbie 3 03-09-2004 10:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:04 PM.

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