Bug 196104

Summary: mkinitrd network code doesn't work for drivers without modaliases
Product: [Fedora] Fedora Reporter: Jeremy Katz <katzj>
Component: mkinitrdAssignee: Jeremy Katz <katzj>
Status: CLOSED CURRENTRELEASE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: notting, pjones
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 5.0.47-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-07-13 17:12:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 150224    

Description Jeremy Katz 2006-06-21 03:00:02 UTC
The code in mkinitrd for finding net devices won't work for drivers which don't
have modaliases (aka Xen, and probably also some of the wacky platform net
devices too).  

I'll probably put in a hack for now for Xen, but we probably want a better fix
for fc6 final

Comment 1 Bill Nottingham 2006-06-29 03:49:04 UTC
Run ethtool -i <interface> and awk out the 'driver' field? (and beat drivers
that don't support that...)

Comment 2 Jeremy Katz 2006-06-29 15:02:03 UTC
Sounds sane... we could actually probably even do a combination of the two.  Try
the modalias first (because that will better handle if a driver changes names
from one kernel to another) and if that fails go for ethtool ops.

Comment 3 Bill Nottingham 2006-06-29 18:53:00 UTC
Added in CVS. Not built.