From owner-freebsd-gnome@FreeBSD.ORG Sat Sep 12 16:50:30 2009 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0048110656A8; Sat, 12 Sep 2009 16:50:29 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (marcuscom-pt.tunnel.tserv1.fmt.ipv6.he.net [IPv6:2001:470:1f00:ffff::1279]) by mx1.freebsd.org (Postfix) with ESMTP id A21088FC28; Sat, 12 Sep 2009 16:50:29 +0000 (UTC) Received: from [IPv6:2001:470:1f00:2464::4] (shumai.marcuscom.com [IPv6:2001:470:1f00:2464::4]) by creme-brulee.marcuscom.com (8.14.3/8.14.3) with ESMTP id n8CGqlr7019084; Sat, 12 Sep 2009 12:52:47 -0400 (EDT) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Nikolay Tychina In-Reply-To: References: <4AAB9BB6.2040700@infracaninophile.co.uk> <4AAB9F79.4080906@infracaninophile.co.uk> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-/UZhvyVgg0VK1hlIaIp6" Organization: MarcusCom, Inc. Date: Sat, 12 Sep 2009 12:50:33 -0400 Message-Id: <1252774233.97925.75.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 FreeBSD GNOME Team Port X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on creme-brulee.marcuscom.com Cc: gnome@freebsd.org, ports@freebsd.org, Matthew Seaman Subject: Re: FreeBSD Port: hal-0.5.11_26 X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Sep 2009 16:50:30 -0000 --=-/UZhvyVgg0VK1hlIaIp6 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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 st= ate > > -- 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 colu= mn > > of ps(1}'s -auxwww output. That is about the only way to achieve that e= ffect > > I know of, and it shouldn't affect a system daemon like hald though. > > >=20 >=20 > 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 h= al >=20 > 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 bei= ng > 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 --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-/UZhvyVgg0VK1hlIaIp6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEABECAAYFAkqr0VgACgkQb2iPiv4Uz4dDkQCcDnl403bx4VXWVYIHyNtd32J1 AzIAni6Y5CE1tj0EqjAV/ihokgDMVeKB =kyuH -----END PGP SIGNATURE----- --=-/UZhvyVgg0VK1hlIaIp6--