Usually devd does not stop, but hald comsumes CPU 100% after /etc/rc.d/devd stop or restart. Fix: In /usr/ports/sysutils/hal/work/hal-0.5.14/hald/freebsd/hf-devd.c, becasue hf_devd_event_cb() does not handle G_IO_STATUS_EOF event, the event loop runs forever. this patch stops the event storm. hald should re-connect to devd if devd restarts. Patch attached with submission follows: How-To-Repeat: /etc/rc.d/devd restart
Responsible Changed From-To: freebsd-ports-bugs->gnome Assign to maintainer
State Changed From-To: open->closed I fixed this using the existing restart code. Thanks for reporting.
marcus 2011-01-08 18:05:48 UTC FreeBSD ports repository Modified files: sysutils/hal Makefile Added files: sysutils/hal/files patch-hald_freebsd_hf-devd.c Log: Check for G_IO_STATUS_EOF when reading from the devd socket to prevent an event storm. PR: 152524 Revision Changes Path 1.67 +1 -1 ports/sysutils/hal/Makefile 1.4 +11 -0 ports/sysutils/hal/files/patch-hald_freebsd_hf-devd.c (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"