Summary: | sys-fs/udev: problem renaming interface with iwl3945 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Pacho Ramos <pacho> |
Component: | Current packages | Assignee: | Mobile Herd (OBSOLETE) <mobile+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | pacho, wanthalf |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://bugs.launchpad.net/ubuntu/+source/udev/+bug/183968 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
70-persistent-net.rules.iwl
fix-persistent-net.pl |
Description
Pacho Ramos
2008-02-10 12:54:32 UTC
*** This bug has been marked as a duplicate of bug 199512 *** I have tried removing /etc/udev/rules.d/70-persistent-net.rules and running udevtrigger, I don't suffer now the delay, but the error is still being shown I attach the new created rule (that doesn't also work) Created attachment 143117 [details]
70-persistent-net.rules.iwl
Which driver are you using? iwl3945, from iwlwifi (I am trying to use it instead of old ipw3945) removing the old udev rules for ipw3945 in /etc/udev/rules.d/70-persistent-net.rules worked for me. in your case remove both iwl entries from the file. hth I had the same problem with stable udev and bc43 wifi after I upgraded to 2.6.24. I found out that the problem was mainly the necessity to get another (newer) version of firmware for b43, not only the rules. Maybe this should be mentioned somewhere too. (In reply to comment #7) > I had the same problem with stable udev and bc43 wifi after I upgraded to > 2.6.24. I found out that the problem was mainly the necessity to get another > (newer) version of firmware for b43, not only the rules. Maybe this should be > mentioned somewhere too. > I've just solved this probem on my laptop (I think works for iwl3945 too), you have to del previous line in 70-persistent-net.rules.iwl for your old BCM43xx drivers, so udev will write correct line for you at next boot. I remember you the new driver works different from previous, also works fine! This is mine, created at boot by udev: # PCI device 0x14e4:0x4320 (b43-pci-bridge) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:90:4b:9e:f4:b0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0" This seems to be a common problem when updating from ipw3945 to iwlwifi: http://wiki.debian.org/iwlwifi#head-c9ab967d827d9e5de52656b78edab5f349bc70f6 but I am not sure if there would be an "automagic" way for removing all lines automatically... :-/ Created attachment 181149 [details] fix-persistent-net.pl Ubuntu is running this script for adding ADDR{type}=="1" to 70-persistent-net.rules when possible as can be read in its changelog: This bug was fixed in the package udev - 117-6 --------------- udev (117-6) hardy; urgency=low * Automatically add ADDR{type}=="1" to 70-persistent-net.rules rules where we can or at least add a useful comment where the user has written their own rule that's broken in the same way. LP: #183968. * Automatically comment out rules from 70-persistent-net.rules that would match any device. -- Scott James Remnant <scott@ubuntu.com> Thu, 10 Apr 2008 23:49:41 +0100 But I cannot test as I no longer have old rules :-/ I think that this can be closed as udev already shows tips about "persistent-net-rules" problem |