On Fri, 2012-06-08 at 23:58 -0700, cheng renquan wrote: > recently after my Arch Linux desktop update, I found with home > internet, the networkmanager > seems constantly kills dhcpcd, then spawn it again, then kill it, with this > loop > for 10 minutes or longer time it may not kill dhcpcd and get wifi > stably working;
Any chance you can stop NM, and then run it manually with --no-daemon --log-level=debug for us? The logs below don't provide enough information to figure out if NM is terminating the dhcpcd process or not, and if it is, for what reason. But the debug logs would: NetworkManager --no-daemon --log-level=debug Thanks, Dan > $ ps fuww -s 3160 > USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND > root 3160 1.2 0.1 238464 6924 ? Ssl 23:30 0:00 > /usr/sbin/NetworkManager > root 3165 0.0 0.0 8512 856 ? S 23:30 0:00 \_ > /sbin/dhcpcd -B -K -L -G -c > /usr/lib/networkmanager/nm-dhcp-client.action wlan0 > > From syslog we can see dhcpcd[3165]: received SIGTERM and removed > ipaddr info of wlan0, > I don't know what program is sending the SIGTERM, > > but finally if kill NetworkManager[3160] after spawned a new dhcpcd > assigned ipaddr for wlan0 and before it received SIGTERM; > then dhcpcd itself could work for long time, and the wifi network is then > stable > > > Jun 8 23:30:21 archtop NetworkManager[3160]: keyfile: parsing ATT448 ... > Jun 8 23:30:21 archtop NetworkManager[3160]: keyfile: read > connection 'ATT448' > Jun 8 23:30:21 archtop kernel: [ 745.685042] cfg80211: Calling CRDA > to update world regulatory domain > Jun 8 23:30:24 archtop dhcpcd[3165]: version 5.5.6 starting > Jun 8 23:30:24 archtop dhcpcd[3165]: all: not configured to accept IPv6 RAs > Jun 8 23:30:24 archtop dhcpcd[3165]: wlan0: rebinding lease of 192.168.1.121 > Jun 8 23:30:24 archtop dhcpcd[3165]: wlan0: acknowledged > 192.168.1.121 from 192.168.1.254 > Jun 8 23:30:25 archtop dhcpcd[3165]: wlan0: checking for 192.168.1.121 > Jun 8 23:30:30 archtop dhcpcd[3165]: wlan0: leased 192.168.1.121 for > 86400 seconds > Jun 8 23:30:31 archtop dbus[2095]: [system] Activating service > name='org.freedesktop.nm_dispatcher' (using servicehelper) > Jun 8 23:30:31 archtop dbus[2095]: [system] Successfully activated > service 'org.freedesktop.nm_dispatcher' > Jun 8 23:30:45 archtop dbus[2095]: [system] Activating service > name='org.freedesktop.nm_dispatcher' (using servicehelper) > Jun 8 23:30:45 archtop dhcpcd[3165]: received SIGTERM, stopping > Jun 8 23:30:45 archtop dhcpcd[3165]: wlan0: removing interface > Jun 8 23:30:45 archtop dbus[2095]: [system] Successfully activated > service 'org.freedesktop.nm_dispatcher' > Jun 8 23:30:45 archtop kernel: [ 769.311366] cfg80211: Calling CRDA > to update world regulatory domain > Jun 8 23:30:51 archtop dhcpcd[3184]: version 5.5.6 starting > Jun 8 23:30:51 archtop dhcpcd[3184]: all: not configured to accept IPv6 RAs > Jun 8 23:30:51 archtop dhcpcd[3184]: wlan0: rebinding lease of 192.168.1.121 > Jun 8 23:30:51 archtop dhcpcd[3184]: wlan0: acknowledged > 192.168.1.121 from 192.168.1.254 > Jun 8 23:30:51 archtop dhcpcd[3184]: wlan0: checking for 192.168.1.121 > Jun 8 23:30:56 archtop dhcpcd[3184]: wlan0: leased 192.168.1.121 for > 86400 seconds > > > $ pacman -Qi networkmanager > Name : networkmanager > Version : 0.9.4.0-4 > URL : http://www.gnome.org/projects/NetworkManager/ > _______________________________________________ > networkmanager-list mailing list > [email protected] > https://mail.gnome.org/mailman/listinfo/networkmanager-list _______________________________________________ networkmanager-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/networkmanager-list
