FreeBSD Port: hal-0.5.11_26

Joe Marcus Clarke marcus at marcuscom.com
Sat Sep 12 16:50:30 UTC 2009


On Sat, 2009-09-12 at 17:35 +0400, Nikolay Tychina wrote:
> 2009/9/12 Matthew Seaman wrote:
> >
> > If hald is in a state where it won't respond to a kill -9 then you have
> > no alternative but to hit the big red button and force your machine to
> > reboot in order to get rid of it.  hald shouldn't ever get into that state
> > -- it used to happen to programs using resources on a NFS drive if the NFS
> > server went away suddenly, and you'ld see lots of 'D's in the STAT column
> > of ps(1}'s -auxwww output. That is about the only way to achieve that effect
> > I know of, and it shouldn't affect a system daemon like hald though.
> >
> 
> 
> Here's ps output:
> > ps auxww | grep hal
> haldaemon   1240  0,0  0,2  6812  4012  ??  Ds   12:17     0:15,38
> /usr/local/sbin/hald
> root        1244  0,0  0,1  5776  2140  ??  I    12:17     0:00,04
> hald-runner
> root        1252  0,0  0,1  5600  1732  ??  I    12:17     0:00,01
> hald-addon-mouse-sysmouse: /dev/psm0 (hald-addon-mouse-sy)
> root        1258  0,0  0,1  5600  1732  ??  I    12:17     0:00,01
> hald-addon-mouse-sysmouse: /dev/ums0 (hald-addon-mouse-sy)
> root        1261  0,0  0,1  3652  1432  ??  S    12:17     0:02,30
> hald-addon-storage: /dev/cd0 (hald-addon-storage)
> nicholas    1471  0,0  0,2  8084  3692  ??  S    12:20     0:00,64
> /usr/local/libexec/gvfs-hal-volume-monitor
> root        2513  0,0  0,1  3652  1292  ??  DE   15:46     0:00,21
> hald-probe-scsi: /dev/da1 (hald-probe-scsi)
> root        2514  0,0  0,1  3652  1240  ??  I    15:46     0:00,01
> /usr/local/libexec/hald-addon-storage
> nicholas    3735  0,0  0,1  3340  1152  p1  S+   17:31     0:00,00 grep hal
> 
> I noticed, if i plug/unplug my mobile phone (it works as flash drive) for
> several times, usb can brake. I.e. when i plug phone again nothing is being
> shown in dmesg. Could usb cause this hald state?

This has been reported before.  You need to make sure you unmount any
volumes related to that USB device before removing it.  The new USB
stack will allow hal to force the unmount, but that isn't coming until
hal-0.5.13, and won't be available unless you're running 8.X or higher.

Joe

-- 
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20090912/c0233292/attachment.pgp


More information about the freebsd-ports mailing list