Bug 673387

Summary: igb device named ethxx when sriov enabled and pci## when not
Product: [Fedora] Fedora Reporter: Ram Pai <linuxram>
Component: biosdevnameAssignee: Narendra K <narendra_k>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: harald, jordan_hargrave, linux-bugs, matt_domsch, mebrown, narendra_k, shyam_iyer
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-07 17:28:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
biosdecode,biosdevname,dmidecode,lspci none

Description Ram Pai 2011-01-28 00:03:37 UTC
Created attachment 475707 [details]
biosdecode,biosdevname,dmidecode,lspci

Description of problem:

An igb device's PF is named eth22  when sriov is enabled
but the same PF is named pci3#3_14 when sriov is not enabled.




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

biosdevname-0.3.4-1.fc15.x86_64




How reproducible:

easily. 


Steps to Reproduce:
1.
2.
3.
  
rmmod igb
modprobe igb

device name shows up as follows:
pci3#3_14 Link encap:Ethernet  HWaddr 00:1B:21:37:3F:9C

rmmod igb

modprobe igb max_vfs=15

device name shows up as follows:
eth22     Link encap:Ethernet  HWaddr 00:1B:21:37:3F:9C



Actual results:

ifconfig -a | grep '00:1B:21:37:3F:9C'

eth22     Link encap:Ethernet  HWaddr 00:1B:21:37:3F:9C



Expected results:

ifconfig -a | grep '00:1B:21:37:3F:9C'

pci3#3_14 Link encap:Ethernet  HWaddr 00:1B:21:37:3F:9C



Additional info:

Comment 1 Matt Domsch 2011-01-29 05:44:27 UTC
Ah ha.  See this note in the biosdevname -d output:
  Duplicate: True

That means it was going to try to assign the same name to two different devices, but instead of doing that, it didn't rename either.  Congrats - you managed to trip up a race that I hadn't seen before.

Comment 2 Matt Domsch 2011-02-17 16:22:00 UTC
I'm unable to reproduce this with the igb card I have available to me.  This may be resolved in biosdevname 0.3.7.  Please test with that version which I built today and will be in updates-testing and rawhide tomorrow, or grab it from http://linux.dell.com/biosdevname/permalink/.

Thanks,
Matt

Comment 3 Narendra K 2012-02-01 19:21:28 UTC
Hi Ram,

Is the issue seen on biosdevname version 0.3.11 ? It is available here - http://linux.dell.com/biosdevname/biosdevname-0.3.11/

Comment 4 Fedora End Of Life 2012-08-07 17:28:05 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 15. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that
we were unable to fix it before Fedora 15 reached end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged to click on
"Clone This Bug" (top right of this page) and open it against that
version of Fedora.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

The process we are following is described here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping