LinuxQuestions.org
Review your favorite Linux distribution.
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 07-02-2008, 03:33 PM   #1
dougbourne
LQ Newbie
 
Registered: Jun 2008
Posts: 29

Rep: Reputation: 15
NIC label is busy cant rename


Hi folks,
i have an issue here..

My server was working fine, but since i set up a new NIC, i got this problem:
my 3rd interface got dev$RANDOM name when eth2 was expected.


i'm trying to rename a interface label from dev$RANDOM to eth2, but i got this message:

# nameif eth2 00:50:BF:38:xx:xx
cannot change name of dev28022 to eth2: Device or resource busy
#

The problem is:
# ifconfig |grep HWaddr |cut -f 1 -d ' '
dev28022
eth0
eth1

I have NO eth2.

Checking boot logs i found this suspect information:
kernel: eth0: RealTek RTL8139 at 0xd000, 00:50:bf:38:99:23, IRQ 10
kernel: eth1: RealTek RTL8139 at 0xd400, 00:08:54:17:82:c6, IRQ 11
kernel: eth2: VIA Rhine II at 0xef003000, 00:0f:ea:a1:9c:85, IRQ 11.

but this order is wrong!

# cat /etc/sysconfig/hwconf
------------------------------
class: NETWORK
bus: PCI
detached: 0
device: eth0
driver: via-rhine
desc: "VIA Technologies, Inc. VT6102 [Rhine-II]"
network.hwaddr: 00:0F:EA:A1:xx:yy
...
-
class: NETWORK
bus: PCI
detached: 0
device: eth1
driver: 8139too
desc: "Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+"
network.hwaddr: 00:08:54:17:xx:xy
...
-
class: NETWORK
device: eth3
driver: 8139too
desc: "Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+"
network.hwaddr: 00:50:BF:38:xx:xx
....
-----------------------------------

my ifcfg-eth* is configured like hwconf, and my modprobe.conf too.



Why my eth2 is BUSY?
I will organize these interfaces like boot sugest, but i'm curious WHY its busy when it doesn't.

thankz.
 
Old 07-03-2008, 04:26 AM   #2
storkus
Member
 
Registered: Jun 2008
Location: Phoenix, Arizona, USA
Distribution: Slackware
Posts: 329

Rep: Reputation: 51
This is getting right on the edge of my knowledge so what I say may or may not be good info. I once experienced something sort of like this
and had to mess around with the udev configuration. Udev caches stuff that it sees for later use and retains that setting, if untouched,
forever. Did you *EVER* have an interface that registered as "eth2"? If so, that may be the reason why it's refusing to allow it. I can't
remember which file contains the udev cache, you'll have to look at the documents, but I'm willing to bet from past experience and what you're
saying that your problem lies there.

Let me know if this works!

Mike
 
Old 07-03-2008, 07:46 AM   #3
dougbourne
LQ Newbie
 
Registered: Jun 2008
Posts: 29

Original Poster
Rep: Reputation: 15
Hi storkus,
yes, it aways "hold" the name 'eth2'.
I've been searching about 'udev cache', but without lucky.
I fix the problem using the correct name detected at boot time, configuring hwconf,modprobe and ifcfg files.

Its a way to solve another problem my internet NIC hang, causing lost of connection to internet.
Investigating the problem I found this problem yesterday, now i'm looking the new scenario to know if this is the solution.

thankz for you support, i really apreciated.
 
  


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
NIC resource busy maxsanders Linux - Networking 1 07-15-2007 04:07 PM
can't delete, rename, unmount: Busy resource. AIX 5.3 poeta_boy AIX 4 08-16-2006 09:11 AM
can't DHCP, i think due to ioctl's busy(?). sis900 NIC, linksys router, 2.4 kernel FirebirdV0273 Linux - Networking 2 02-11-2006 03:43 PM
How can I rename the LABEL on my partition xkape Linux - General 3 01-18-2006 02:49 PM
NIC Busy redness Linux - Networking 16 12-11-2004 03:15 AM

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

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