severity 637267 important
found 637267 1.7.2.4-2
thanks

On 2011-08-10 02:38:24 +0200, Vincent Lefevre wrote:
> When using wicd with a wifi connection using the DHCP client dhclient,
> making my Debian laptop DELL Latitude E6400 sleep (suspend) sometimes
> fail.

This bug still occurs, even when there's no wifi connection and the
RF_KILL bit is set (radio disabled, so that wifi is not possible).
The suspend doesn't fail, but is just very slow (several dozens of
seconds, which is unacceptable).

It seems to occur only when there is no Ethernet cable plugged in
(perhaps the wicd daemon can detect it and doesn't try to do anything
in such a case?).

After a Fn-F1 to put the machine into sleep, as I was seeing that
it was not put into sleep yet, I did a ps and found that
/usr/lib/pm-utils/sleep.d/55wicd was running, with a child
/usr/share/wicd/daemon/suspend.py; the 55wicd script has:

wicd_suspend()
{
        # Put wifi interface down
        /usr/share/wicd/daemon/suspend.py 1>/dev/null 2>/dev/null
        RETVAL=$?
}

The /var/log/syslog file shows that dhclient is started several
times to do a DHCPRELEASE on wlan0 (even though wlan0 isn't up),
e.g.

Aug  4 13:55:32 xvii dhclient: Internet Systems Consortium DHCP Client 4.2.4
Aug  4 13:55:32 xvii dhclient: Copyright 2004-2012 Internet Systems Consortium.
Aug  4 13:55:32 xvii dhclient: All rights reserved.
Aug  4 13:55:32 xvii dhclient: For info, please visit 
https://www.isc.org/software/dhcp/
Aug  4 13:55:32 xvii dhclient: 
Aug  4 13:55:32 xvii dhclient: Listening on LPF/wlan0/00:21:6a:47:b3:80
Aug  4 13:55:32 xvii dhclient: Sending on   LPF/wlan0/00:21:6a:47:b3:80
Aug  4 13:55:32 xvii dhclient: Sending on   Socket/fallback
Aug  4 13:55:32 xvii dhclient: DHCPRELEASE on wlan0 to 192.168.0.1 port 67
Aug  4 13:55:32 xvii dhclient: send_packet: Network is unreachable
Aug  4 13:55:32 xvii dhclient: send_packet: please consult README file 
regarding broadcast address.
Aug  4 13:55:32 xvii dhclient: dhclient.c:2268: Failed to send 300 byte long 
packet over fallback interface.

and some daemons were reconfigured, again, several times (this may be
a consequence of /etc/network/if-down.d/ scripts), before the machine
entered sleep:

Aug  4 13:54:52 xvii acpid: received input layer event "button/sleep SBTN 
00000080 00000000"
Aug  4 13:54:52 xvii acpid: rule from 2860[0:0] matched
Aug  4 13:54:52 xvii acpid: notifying client 2860[0:0]
Aug  4 13:54:52 xvii acpid: rule from /etc/acpi/events/sleepbtn matched
Aug  4 13:54:52 xvii acpid: executing action "/etc/acpi/sleep_suspend.sh sleep"
[...]
Aug  4 13:54:55 xvii named[2748]: received control channel command 'reconfig'
Aug  4 13:54:55 xvii postfix/master[4183]: reload -- version 2.9.3, 
configuration /etc/postfix
[...]
Aug  4 13:55:07 xvii named[2748]: received control channel command 'reconfig'
Aug  4 13:55:07 xvii postfix/master[4183]: reload -- version 2.9.3, 
configuration /etc/postfix
Aug  4 13:55:07 xvii dhclient: Internet Systems Consortium DHCP Client 4.2.4
Aug  4 13:55:07 xvii dhclient: Copyright 2004-2012 Internet Systems Consortium.
Aug  4 13:55:07 xvii dhclient: All rights reserved.
Aug  4 13:55:07 xvii dhclient: For info, please visit 
https://www.isc.org/software/dhcp/
Aug  4 13:55:07 xvii dhclient: 
Aug  4 13:55:07 xvii dhclient: Listening on LPF/wlan0/00:21:6a:47:b3:80
Aug  4 13:55:07 xvii dhclient: Sending on   LPF/wlan0/00:21:6a:47:b3:80
Aug  4 13:55:07 xvii dhclient: Sending on   Socket/fallback
Aug  4 13:55:08 xvii dhclient: DHCPRELEASE on wlan0 to 192.168.0.1 port 67
Aug  4 13:55:08 xvii dhclient: send_packet: Network is unreachable
Aug  4 13:55:08 xvii dhclient: send_packet: please consult README file 
regarding broadcast address.
Aug  4 13:55:08 xvii dhclient: dhclient.c:2268: Failed to send 300 byte long 
packet over fallback interface.
[...]
Aug  4 13:55:20 xvii named[2748]: received control channel command 'reconfig'
[...]
Aug  4 13:55:20 xvii postfix/master[4183]: reload -- version 2.9.3, 
configuration /etc/postfix
[...]
Aug  4 13:55:32 xvii named[2748]: received control channel command 'reconfig'
[...]
Aug  4 13:55:32 xvii postfix/master[4183]: reload -- version 2.9.3, 
configuration /etc/postfix
Aug  4 13:55:32 xvii dhclient: Internet Systems Consortium DHCP Client 4.2.4
Aug  4 13:55:32 xvii dhclient: Copyright 2004-2012 Internet Systems Consortium.
Aug  4 13:55:32 xvii dhclient: All rights reserved.
Aug  4 13:55:32 xvii dhclient: For info, please visit 
https://www.isc.org/software/dhcp/
Aug  4 13:55:32 xvii dhclient: 
Aug  4 13:55:32 xvii dhclient: Listening on LPF/wlan0/00:21:6a:47:b3:80
Aug  4 13:55:32 xvii dhclient: Sending on   LPF/wlan0/00:21:6a:47:b3:80
Aug  4 13:55:32 xvii dhclient: Sending on   Socket/fallback
Aug  4 13:55:32 xvii dhclient: DHCPRELEASE on wlan0 to 192.168.0.1 port 67
Aug  4 13:55:32 xvii dhclient: send_packet: Network is unreachable
Aug  4 13:55:32 xvii dhclient: send_packet: please consult README file 
regarding broadcast address.
Aug  4 13:55:32 xvii dhclient: dhclient.c:2268: Failed to send 300 byte long 
packet over fallback interface.
[...]
Aug  4 13:55:44 xvii named[2748]: received control channel command 'reconfig'
[...]
Aug  4 13:55:45 xvii postfix/master[4183]: reload -- version 2.9.3, 
configuration /etc/postfix
[...]
Aug  4 13:55:57 xvii kernel: [32338.056083] PM: Syncing filesystems ... done.
Aug  4 13:55:57 xvii kernel: [32338.079064] PM: Preparing system for mem sleep

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to