Bug 196104 - mkinitrd network code doesn't work for drivers without modaliases
Summary: mkinitrd network code doesn't work for drivers without modaliases
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: mkinitrd
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks: FC6Blocker
TreeView+ depends on / blocked
 
Reported: 2006-06-21 03:00 UTC by Jeremy Katz
Modified: 2007-11-30 22:11 UTC (History)
2 users (show)

Fixed In Version: 5.0.47-1
Clone Of:
Environment:
Last Closed: 2006-07-13 17:12:50 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.