Bug 180021
Summary: | 0.71 update breaks orinoco/firmware based NICs | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Lonni J Friedman <netllama> | ||||||
Component: | udev | Assignee: | Harald Hoyer <harald> | ||||||
Status: | CLOSED NOTABUG | QA Contact: | |||||||
Severity: | high | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 5 | CC: | fawad, jwalden+brc, pekkas, ralston | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | i386 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2007-08-24 10:19:40 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: | |||||||||
Attachments: |
|
Description
Lonni J Friedman
2006-02-04 20:33:16 UTC
please post your /etc/sysconfig/network-scripts/ifcfg-* files here. Created attachment 124735 [details]
ifcfg-* files
requested files attached in tarball.
More generally: udev-0.71 doesn't seem to be able to rename network interfaces. Here's my /etc/sysconfig/network-scripts/ifcfg-ipw0 file: DEVICE=ipw0 TYPE=Wireless MODE=Managed BOOTPROTO=dhcp ONBOOT=no Here's my /etc/udev/rules.d/10-ipw2100.rules file: # Name my wireless interface ipw0 instead of the next available "eth" number. KERNEL=="eth*", BUS=="pci", ID=="0000:02:03.0", DRIVER=="ipw2100", NAME="ipw0", OPTIONS="last_rule" If I modprobe the ipw2100 module, and then use udevtest, all seems well: $ udevtest /sys/class/net/eth1 net main: looking at device '/class/net/eth1' from subsystem 'net' main: opened class_dev->name='eth1' udev_rules_get_name: rule applied, 'eth1' becomes 'ipw0' rename_net_if: changing net interface name from 'eth1' to 'ipw0' udev_add_device: renamed netif to 'ipw0' I've inspected the log messages from udev, and nothing seems amiss. (I'll attach them in my next comment.) However, the rename never happens: $ ip link show 1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000 link/ether 00:0b:db:a1:19:98 brd ff:ff:ff:ff:ff:ff 13: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000 link/ether 00:04:23:48:8e:e6 brd ff:ff:ff:ff:ff:ff I can rename the interface manually, no problem: $ ifrename -c /dev/null -i eth1 -n ipw0 ipw0 $ ip link show 1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000 link/ether 00:0b:db:a1:19:98 brd ff:ff:ff:ff:ff:ff 13: ipw0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000 link/ether 00:04:23:48:8e:e6 brd ff:ff:ff:ff:ff:ff The fact that this worked perfectly using udev-058, combined with the fact that udevtest thinks the rename should happen, leads me to believe that this is actually a regression/bug in udev-0.71. Created attachment 124781 [details]
udev log messages
These are the log messages that are generated when I execute "modprobe
ipw2100".
Is there a reason why this bug is still in the NEEDINFO_REPORTER state? I attached the requested information a week ago. Harald, any ideas when this might see some attention? I'm deathly afraid of upgrading to FC5 because I have no clue whether this bug is still there, and I *really* need wifi to work. ok, next step... comment out all modprobe lines from: /etc/udev/rules.d/* try to boot oops... forget the last comment... wrong bugzilla :) FWIW, I don't experience this problem with FC5 ( udev-084-13). More specifically, this line in a file in /etc/udev/rules.d: # Name my wireless interface ipw0 instead of the next available "eth" number. KERNEL=="eth*", BUS=="pci", ID=="0000:02:03.0", DRIVER=="ipw2100", NAME="ipw0" ...does what one would expect. Lonni, I suspect that you might have to use a similar rule to ensure that your wireless interface is named exactly what you want it to be, but if this works for me, it should work for you, too. This report targets the FC3 or FC4 products, which have now been EOL'd. Could you please check that it still applies to a current Fedora release, and either update the target product or close it ? Thanks. I'm still seeing this problem in FC5. Just FYI, I've had no issues with udev being able to rename the interface of my ipw2100 adapter from eth1 to ipw0 since FC5, so I don't think this is a general udev problem per se. |