** Description changed:

- After upgrading pm-utils from 0.99.2-3ubuntu5 to 0.99.2-3ubuntu6 my
- iwl3945 wireless driver no longer worked after suspend-and-resume. A
- full reboot was required to make it work again.
- https://bugs.launchpad.net/ubuntu/+source/udev/+bug/208103/comments/5
- suggested a solution that seems to work: removing /etc/udev/rules.d/70
- -persistent-net.rules and rebooting so that it was regenerated. I am
- leaving this bug open so that it can be evaluated by udev (duplicate,
- invalid, or a genuine problem with some earlier versions of this file).
+ The logic in udev according to /etc/udev/rules.d/70-persistent-net.rules 
seems to have changed:
+ Old lines look like:
+  # PCI device 0x10de:0x0057 (forcedeth)
+  SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:0f:ea:8c:2d:36", 
NAME="eth0"
+ which causes udev to add new lines like the following after suspend/resume 
(module unload/reload):
+  # PCI device 0x10de:0x0057 (forcedeth)
+  SUBSYSTEM=="net", ACTION=="add", ATTR{type}=="1", NAME="eth2"
+ 
+ After removing 70-persistent-net.rules and rebooting, the following line gets 
created:
+  # PCI device 0x10de:0x0057 (forcedeth)
+  SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", 
ATTR{address}=="00:0f:ea:8c:2d:36", ATTR{type}=="1", NAME="eth0"
+ 
+ The old entries are missing an ACTION and ATTR{type} attribute, which
+ seems to cause udev to add the extra line and therefore renaming the
+ interface somehow.
+ 
+ ORIGINAL DESCRIPTION:
+ After upgrading pm-utils from 0.99.2-3ubuntu5 to 0.99.2-3ubuntu6 my iwl3945 
wireless driver no longer worked after suspend-and-resume. A full reboot was 
required to make it work again. 
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/208103/comments/5 suggested 
a solution that seems to work: removing 
/etc/udev/rules.d/70-persistent-net.rules and rebooting so that it was 
regenerated. I am leaving this bug open so that it can be evaluated by udev 
(duplicate, invalid, or a genuine problem with some earlier versions of this 
file).
  
  System info was attached to bug 204040 (all with the failing pm-utils
  0.99.2-3ubuntu6 and /etc/udev/rules.d/70-persistent-net.rules file
  installed):
  
  $ uname -a
  Linux gertrude 2.6.24-12-generic #1 SMP Wed Mar 12 23:01:54 UTC 2008 i686 
GNU/Linux
  
  Output of "lspci -vvnn":
  http://launchpadlibrarian.net/12935525/lspci-vvnn.txt
  
  Output of dmesg immediately after boot (no attempt at suspend at this point)
  http://launchpadlibrarian.net/12935528/dmesg-afterboot.txt
  
  Output of dmesg after resuming from suspend:
  http://launchpadlibrarian.net/12935535/dmesg-afterresume.txt
  
  Output of dmesg after resume and after running "modprobe -r iwl3945 && 
modprobe iwl3945" as root:
  http://launchpadlibrarian.net/12935544/dmesg-aftermodprobe.txt
  
  Other possibly relevant info: I am using Network Manager to manage the
  wireless connection, version 0.6.6-0ubuntu3.
+ 
+ WORKAROUND:
+ 1. sudo rm /etc/udev/rules.d/70-persistent-net.rules
+ 2. Reboot
+ /etc/udev/rules.d/70-persistent-net.rules should have been regenerated 
correctly.

-- 
/etc/udev/rules.d/70-persistent-net.rules file needed to be regenerated to be 
able to use wireless after suspend (iwl3945)
https://bugs.launchpad.net/bugs/208103
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to