Bug 679473

Summary: biosdevname suggests emX names for PCMCIA/PCCard devices
Product: Red Hat Enterprise Linux 6 Reporter: Matt Domsch <matt_domsch>
Component: biosdevnameAssignee: Tom Gundersen <tgunders>
Status: CLOSED CURRENTRELEASE QA Contact: Release Test Team <release-test-team>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0CC: charles_rose, crose, ctatman, harald, jordan_hargrave, matt_domsch, mebrown, narendra_k, pknirsch, sreekanth_reddy, the.ridikulus.rat, wwlinuxengineering
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 679471 Environment:
Last Closed: 2014-12-10 17:22:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 679471    
Bug Blocks: 501533, 741765, 756082    

Description Matt Domsch 2011-02-22 16:30:07 UTC
+++ This bug was initially created as a clone of Bug #679471 +++

Description of problem:
biosdevname suggests emX names for PCMCIA/PCCard devices.  This is arguably incorrect.

Version-Release number of selected component (if applicable):
0.3.7-1


> Let's look at the first device.

> BIOS device: em1
> Kernel name: eth1
> Permanent MAC: 00:0A:CD:17:99:FD
> Assigned MAC : 00:0A:CD:17:99:FD
> Driver: r8169
> Driver version: 2.3LK-NAPI

It's a second PCcard in the docking station, just for testing

> BIOS device: em2
> Kernel name: eth2
> Permanent MAC: 00:00:21:0F:8C:C4
> Assigned MAC : 00:00:21:0F:8C:C4
> Driver: 8139too
> Driver version: 0.9.28

First PCCard in the notebook's PCCard slot



I'm not at all sure what the right thing to do here is.

Comment 2 Harald Hoyer 2011-03-03 16:24:04 UTC
(In reply to comment #0)
> +++ This bug was initially created as a clone of Bug #679471 +++
> 
> Description of problem:
> biosdevname suggests emX names for PCMCIA/PCCard devices.  This is arguably
> incorrect.
> 
> Version-Release number of selected component (if applicable):
> 0.3.7-1
> 
> 
> > Let's look at the first device.
> 
> > BIOS device: em1
> > Kernel name: eth1
> > Permanent MAC: 00:0A:CD:17:99:FD
> > Assigned MAC : 00:0A:CD:17:99:FD
> > Driver: r8169
> > Driver version: 2.3LK-NAPI
> 
> It's a second PCcard in the docking station, just for testing
> 
> > BIOS device: em2
> > Kernel name: eth2
> > Permanent MAC: 00:00:21:0F:8C:C4
> > Assigned MAC : 00:00:21:0F:8C:C4
> > Driver: 8139too
> > Driver version: 0.9.28
> 
> First PCCard in the notebook's PCCard slot
> 
> 
> 
> I'm not at all sure what the right thing to do here is.

any solution for this?

Comment 4 Matt Domsch 2011-06-21 15:20:41 UTC
Adding Jordan and Narendra to close.

Comment 6 RHEL Program Management 2012-07-10 08:36:43 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 7 RHEL Program Management 2012-07-10 23:07:45 UTC
This request was erroneously removed from consideration in Red Hat Enterprise Linux 6.4, which is currently under development.  This request will be evaluated for inclusion in Red Hat Enterprise Linux 6.4.

Comment 9 Václav Pavlín 2013-04-02 11:48:01 UTC
Jordan, Narenda, could you please take a look at this?

Comment 10 Narendra K 2013-05-15 19:26:57 UTC
Hi, fix for the issue is being explored.

Comment 11 RHEL Program Management 2013-10-14 05:19:41 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 12 jordan hargrave 2014-01-16 16:13:27 UTC
Not planning on supporting this.  Need to add a rule to biosdevname rules to exclude PCMCIA cards.

Comment 13 Narendra K 2014-06-13 17:10:37 UTC
It seems like the following patch would result in not naming PCMCIA cards as it checks for SUBSYSTEMS=="pci". As this check will not succeed for PCMCIA devices, they will not be named.

SUBSYSTEMS=="pci", PROGRAM="/sbin/biosdevname --policy physical -i %k", NAME="%c",  OPTIONS+="string_escape=replace"

Fix double renaming of network interfaces on systems with systemd
http://linux.dell.com/cgi-bin/gitweb/gitweb.cgi?p=biosdevname.git;a=commit;h=6f7fbcc352aeae08b5cf2a8e608f92abf98529f8

Comment 14 Sreekanth Reddy 2014-12-10 17:22:22 UTC
Verified in the latest BIOSDEVNAME and is fixed.
Hence closing the bugzilla.