From owner-freebsd-questions@FreeBSD.ORG Fri Sep 25 07:33:01 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B12D1065670 for ; Fri, 25 Sep 2009 07:33:01 +0000 (UTC) (envelope-from gpagnoni@gmail.com) Received: from mail-bw0-f227.google.com (mail-bw0-f227.google.com [209.85.218.227]) by mx1.freebsd.org (Postfix) with ESMTP id EFD498FC18 for ; Fri, 25 Sep 2009 07:33:00 +0000 (UTC) Received: by bwz27 with SMTP id 27so1756669bwz.43 for ; Fri, 25 Sep 2009 00:32:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=UQMQbIigfAKemxr9Fq1PmGsrKGDZV8aqwFXJGQ4hlcI=; b=um5YcTQTAH2aFDqXo0u7LLvrx+KHKuc4GW6RyDSGSWkkdOlp9gR1s3y1w9Zv1rQ7oH a8WHaAZcKezHNrpeHZ7hwgiraOOPHpmcdkXpwwcG3N2JYLv2uX+o+GiKuXZxVFZQkmIW N6y1yz2GzS7ouXgC88YCbiNyafjHEXswE0E/c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=dLDnsH2um+7TYxEQDyv2QfuYONKuNdo6m/uF9n04vjLhZUH+Nvd+edhut+8Lg/Lj5N REgO/KzGnI8gK4OteDN4U4vdDKo2IEmave+pcMRqoLpG2BoL+VSJ3d451oOVf0j0O0nL tX4GUjkgBV/qSSYLuBFOZnk7klCnUscgQcz+4= MIME-Version: 1.0 Received: by 10.223.14.140 with SMTP id g12mr1648917faa.50.1253863979443; Fri, 25 Sep 2009 00:32:59 -0700 (PDT) Date: Fri, 25 Sep 2009 09:32:59 +0200 Message-ID: <92056ebc0909250032y5d4378efw36d9ac464d16a795@mail.gmail.com> From: Giuseppe Pagnoni To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: dbus/hal in freebsd 7.2 hangs X11 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Sep 2009 07:33:01 -0000 Hi all, I am trying to use hal/dbus on a i386 machine with FreeBSD 7.2 (ports updated to the latest tree snapshot as of yesterday), but despite spending a full day looking up the handbook, faq, and google, I cannot make it work properly. More specifically, when I use either xfce4 or xmonad after having enabled dbus/hald in rc.conf: hald_enable="YES" dbus_enable="YES" both window managers become very unresponsive and hang as if hal was trying to access/mount something. For example, the terminal may take *seconds* to display typed in characters and in xfce if you click on the desktop icons for home directory etc., they don't open up at all in the thunar file manager (they do though, if you right click on them and choose 'open'). I read on the freebsd/gnome/halfaq that you should not have in your /etc/fstab entries that are supposed to be used by hal, so I commented out the lines for cdrom and flash USB drive in fstab: # Device Mountpoint FStype Options Dump Pass# /dev/ad6s1b none swap sw 0 0 /dev/ad6s1a / ufs rw 1 1 /dev/ad6s1e /tmp ufs rw 2 2 /dev/ad6s1f /usr ufs rw 2 2 /dev/ad6s1d /var ufs rw 2 2 #/dev/acd0 /cdrom cd9660 ro,noauto 0 0 # Changed the above for the following (ATAPI-CAM) #/dev/cd0 /mnt/cdrom cd9660 ro,noauto 0 0 #/dev/da0s1 /mnt/flash msdosfs rw,noauto 0 0 # For linux compat linproc /usr/compat/linux/proc linprocfs rw 0 0 # For VirtualBox, truss(1) proc /proc procfs rw 0 0 However, this produces no improvement. Also, following the instruction in the mentioned FAQ, I added the following lines to the /usr/local/etc/PolicyKit/PolicyKit.conf file: alas, with no improvement either... Before trying to use hal (which I needed for VirtualBox), I had changed system settings for making the flash USB drive and CD-rom user mountable, following the instructions in the handbook at: http://www.freebsd.org/doc/en/books/handbook/usb-disks.html that is: 1) adding myself to the operator group 2) adding the following lines to /etc/devfs.rules [localrules=5] add path 'cd*' mode 0660 group operator [localrules=6] add path 'da*' mode 0660 group operator 3) enable devfs.rules(5) in /etc/rc.conf: devfs_system_ruleset="localrules" 4) adding the line to /etc/sysctl.conf vfs.usermount=1 5) create user accessible mount points: mkdir /mnt/cdrom /mnt/flash chown giuseppe:giuseppe /mnt/cdrom /mnt/flash It seems to me that this should not have any relevance for the misbehavior of hal/dbus, but I am reporting it here just in case there is some weird interaction that I am not aware of. I am kind of stumped at this point, I would be very grateful is somebody has any suggestion to share. thanks in advance! giuseppe