From owner-freebsd-gnome@FreeBSD.ORG Sun Aug 22 22:35:43 2010 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 B7AD510656A3; Sun, 22 Aug 2010 22:35:43 +0000 (UTC) (envelope-from marcus@freebsd.org) Received: from av-tac-rtp.cisco.com (hen.cisco.com [64.102.19.198]) by mx1.freebsd.org (Postfix) with ESMTP id 6BD8C8FC1E; Sun, 22 Aug 2010 22:35:43 +0000 (UTC) X-TACSUNS: Virus Scanned Received: from rooster.cisco.com (localhost.cisco.com [127.0.0.1]) by av-tac-rtp.cisco.com (8.13.8+Sun/8.13.8) with ESMTP id o7MMZg2E022381; Sun, 22 Aug 2010 18:35:42 -0400 (EDT) Received: from 184-210-33-84.pools.spcsdns.net (jclarke-pc.cisco.com [172.18.254.236]) by rooster.cisco.com (8.13.8+Sun/8.13.8) with ESMTP id o7MMZXVL005887; Sun, 22 Aug 2010 18:35:34 -0400 (EDT) Message-ID: <4C71A635.6070205@freebsd.org> Date: Sun, 22 Aug 2010 18:35:33 -0400 From: Joe Marcus Clarke Organization: FreeBSD, Inc. User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: Juergen Lock References: <4C66C4BC.4040504@janh.de> <4C6704A6.3050407@FreeBSD.org> <201008191617.o7JGHq9c003392@triton8.kn-bremen.de> <4C6DC8BC.9080100@freebsd.org> <20100820180648.GA90683@triton8.kn-bremen.de> In-Reply-To: <20100820180648.GA90683@triton8.kn-bremen.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: me@janh.de, kde@freebsd.org, hselasky@freebsd.org, freebsd-multimedia@freebsd.org, gnome@freebsd.org Subject: Re: kaffeine-1.0 and webcamd based DVB-T? 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: Sun, 22 Aug 2010 22:35:43 -0000 On 8/20/10 2:06 PM, Juergen Lock wrote: > > b) (this is the bug) hald's current handling of multiple devices > in hfp_v4l_get_unit() is broken (the last number in webcamd's pidfile > name is _not_ the device index, it's always 0 or at least it is > here), and also it would have to be extended/adjusted for webcamd > svn which now supports dvb devices with multiple tuners, like > the dual dvb-t one I have here. Ugh. I only had one Quickcam with which to test. > > Because of the latter webcamd now allocates each device's first tuner > index in increments of 8 (I think that's the max number of tuners on > a single device the Linux code will handle), and so if I use webcamd > with my two devices for a total of three tuners I get e.g. > /dev/dvb/adapter0/*, /dev/dvb/adapter8/*, and /dev/dvb/adapter9/* > (and I have to symlink adapter8 to adapter1 and adapter9 to adapter2 > if I want vdr to find all of them, but of course that shouldn't > affect hal and kdelibs/kaffeine.) > > I have Cc'd hps, maybe he has an idea how to get the device index > out of a running webcamd for hal to use... (maybe webcamd should > also do a setproctitle()?) Actually, I'd prefer if there was a file or socket from which I could read to get this data. hps, is this doable? That is, could I have a file or socket that would allow me to map a USB bus/addr to a video (or dvb) device ID? > > Oh and also I wondered whether there might be races in case of > hotplugging a device, i.e. if probe-video4linux.c gets run right > at the moment after plugging a device in webcamd and the Linux code it > runs might not yet have finished initializing and device nodes might > not (all?) have been created yet? Yeah, there definitely is. What might be a solution to all of this is to add support to webcamd to run hal-device --add when a new device comes online. That would obviate the need for any hal code. If this is done, hald would need to drop its dependency on webcamd, and webcamd would need to start depending on hald (in rc.d only). If hal-device doesn't exist or fails, that would just be ignored by webcamd. Joe -- Joe Marcus Clarke FreeBSD GNOME Team :: gnome@FreeBSD.org FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome From owner-freebsd-gnome@FreeBSD.ORG Mon Aug 23 07:27:13 2010 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 CA63110656A3; Mon, 23 Aug 2010 07:27:13 +0000 (UTC) (envelope-from hselasky@freebsd.org) Received: from swip.net (mailfe01.swip.net [212.247.154.1]) by mx1.freebsd.org (Postfix) with ESMTP id C7B288FC21; Mon, 23 Aug 2010 07:27:12 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=+aufMl16ZjoZikD717oZHt/II3iOLg17uabV0d0CmU0= c=1 sm=1 a=ivRC_LpHlL4A:10 a=8nJEP1OIZ-IA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=BYoYLfrPASm7W___lM4A:9 a=ZBgizSBePDyoWE4SqlCgHD_LVOkA:4 a=wPNLvfGTeEIA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:117 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe01.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 10702642; Mon, 23 Aug 2010 09:16:23 +0200 Received-SPF: softfail receiver=mailfe01.swip.net; client-ip=188.126.201.140; envelope-from=hselasky@freebsd.org From: Hans Petter Selasky To: freebsd-multimedia@freebsd.org Date: Mon, 23 Aug 2010 09:13:15 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) References: <4C66C4BC.4040504@janh.de> <20100820180648.GA90683@triton8.kn-bremen.de> <4C71A635.6070205@freebsd.org> In-Reply-To: <4C71A635.6070205@freebsd.org> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'( =?iso-8859-1?q?=3B=5FIjlA=3A=0A=09hGE=2E=2EEw?=, =?iso-8859-1?q?XAQ*o=23=5C/M=7ESC=3DS1-f9=7BEzRfT=27=7CHhll5Q=5Dha5Bt-s=7Co?= =?iso-8859-1?q?TlKMusi=3A1e=5BwJl=7Dkd=7DGR=0A=09Z0adGx-x=5F0zGbZj=27e?=(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201008230913.15246.hselasky@freebsd.org> Cc: me@janh.de, kde@freebsd.org, Joe Marcus Clarke , Juergen Lock , gnome@freebsd.org Subject: Re: kaffeine-1.0 and webcamd based DVB-T? 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: Mon, 23 Aug 2010 07:27:13 -0000 On Monday 23 August 2010 00:35:33 Joe Marcus Clarke wrote: > Actually, I'd prefer if there was a file or socket from which I could > read to get this data. hps, is this doable? That is, could I have a > file or socket that would allow me to map a USB bus/addr to a video (or > dvb) device ID? I could add an IOCTL that reports that. I think a socket would be overkill. --HPS From owner-freebsd-gnome@FreeBSD.ORG Mon Aug 23 07:28:29 2010 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 7208D106567A; Mon, 23 Aug 2010 07:28:29 +0000 (UTC) (envelope-from hselasky@freebsd.org) Received: from swip.net (mailfe14.tele2.se [212.247.155.161]) by mx1.freebsd.org (Postfix) with ESMTP id 6EC9D8FC1B; Mon, 23 Aug 2010 07:28:28 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=ivRC_LpHlL4A:10 a=8nJEP1OIZ-IA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=g8NZzGB4F15ilha4X6wA:9 a=IVh4sZdtwXq2mpBAI8hCU6YbpbkA:4 a=wPNLvfGTeEIA:10 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe14.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 651155094; Mon, 23 Aug 2010 09:18:22 +0200 Received-SPF: softfail receiver=mailfe14.swip.net; client-ip=188.126.201.140; envelope-from=hselasky@freebsd.org From: Hans Petter Selasky To: Joe Marcus Clarke Date: Mon, 23 Aug 2010 09:14:30 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) References: <4C66C4BC.4040504@janh.de> <20100820180648.GA90683@triton8.kn-bremen.de> <4C71A635.6070205@freebsd.org> In-Reply-To: <4C71A635.6070205@freebsd.org> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201008230914.30762.hselasky@freebsd.org> Cc: me@janh.de, kde@freebsd.org, Juergen Lock , freebsd-multimedia@freebsd.org, gnome@freebsd.org Subject: Re: kaffeine-1.0 and webcamd based DVB-T? 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: Mon, 23 Aug 2010 07:28:29 -0000 > > > > I have Cc'd hps, maybe he has an idea how to get the device index > > > > out of a running webcamd for hal to use... (maybe webcamd should > > also do a setproctitle()?) > > Actually, I'd prefer if there was a file or socket from which I could > read to get this data. hps, is this doable? That is, could I have a > file or socket that would allow me to map a USB bus/addr to a video (or > dvb) device ID? I think something like this has been discussed before, that perhaps webcamd, when it is ready updates hald, if present in the system. Could you provide me the snprintf() I need and where to send it? --HPS From owner-freebsd-gnome@FreeBSD.ORG Mon Aug 23 07:30:20 2010 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 625B810656A7; Mon, 23 Aug 2010 07:30:20 +0000 (UTC) (envelope-from marcus@freebsd.org) Received: from av-tac-rtp.cisco.com (hen.cisco.com [64.102.19.198]) by mx1.freebsd.org (Postfix) with ESMTP id 1B5928FC16; Mon, 23 Aug 2010 07:30:19 +0000 (UTC) X-TACSUNS: Virus Scanned Received: from rooster.cisco.com (localhost.cisco.com [127.0.0.1]) by av-tac-rtp.cisco.com (8.13.8+Sun/8.13.8) with ESMTP id o7N7UILg000384; Mon, 23 Aug 2010 03:30:18 -0400 (EDT) Received: from 108-123-136-255.pools.spcsdns.net (jclarke-pc.cisco.com [172.18.254.236]) by rooster.cisco.com (8.13.8+Sun/8.13.8) with ESMTP id o7N7UDoe029227; Mon, 23 Aug 2010 03:30:13 -0400 (EDT) Message-ID: <4C722383.2040906@freebsd.org> Date: Mon, 23 Aug 2010 03:30:11 -0400 From: Joe Marcus Clarke Organization: FreeBSD, Inc. User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: Hans Petter Selasky References: <4C66C4BC.4040504@janh.de> <20100820180648.GA90683@triton8.kn-bremen.de> <4C71A635.6070205@freebsd.org> <201008230913.15246.hselasky@freebsd.org> In-Reply-To: <201008230913.15246.hselasky@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org, me@janh.de, kde@freebsd.org, Juergen Lock , gnome@freebsd.org Subject: Re: kaffeine-1.0 and webcamd based DVB-T? 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: Mon, 23 Aug 2010 07:30:20 -0000 On 8/23/10 3:13 AM, Hans Petter Selasky wrote: > On Monday 23 August 2010 00:35:33 Joe Marcus Clarke wrote: >> Actually, I'd prefer if there was a file or socket from which I could >> read to get this data. hps, is this doable? That is, could I have a >> file or socket that would allow me to map a USB bus/addr to a video (or >> dvb) device ID? > > I could add an IOCTL that reports that. I think a socket would be overkill. An ioctl would be fine. I was thinking of a socket a la devd, but an ioctl or static PID-like file would work as well. Joe -- Joe Marcus Clarke FreeBSD GNOME Team :: gnome@FreeBSD.org FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome From owner-freebsd-gnome@FreeBSD.ORG Mon Aug 23 08:08:39 2010 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 BDCBD1065693 for ; Mon, 23 Aug 2010 08:08:39 +0000 (UTC) (envelope-from lars.engels@0x20.net) Received: from mail.0x20.net (mail.0x20.net [217.69.67.217]) by mx1.freebsd.org (Postfix) with ESMTP id 821878FC1B for ; Mon, 23 Aug 2010 08:08:39 +0000 (UTC) Received: from mail.0x20.net (mail.0x20.net [217.69.67.217]) by mail.0x20.net (Postfix) with ESMTP id F1E5939DFE for ; Mon, 23 Aug 2010 09:49:06 +0200 (CEST) Received: from i011-63.fin-nrw.de (i011-63.fin-nrw.de [193.109.238.130]) by 0x20.net (Horde MIME library) with HTTP; Mon, 23 Aug 2010 09:49:06 +0200 Message-ID: <20100823094906.kc66qf3a8kwssk0k@0x20.net> X-Priority: 3 (Normal) Date: Mon, 23 Aug 2010 09:49:06 +0200 From: Lars Engels To: gnome@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=_5yliwm88n00s"; protocol="application/pgp-signature"; micalg="pgp-sha1" Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.1.3) Cc: Subject: ZFS Timeslider in Nautilus 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: Mon, 23 Aug 2010 08:08:39 -0000 This message is in MIME format and has been PGP signed. --=_5yliwm88n00s Content-Type: text/plain; charset=ISO-8859-15; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hey guys, the Opensolaris people have a nice plugin for Nautilus that can access =20 ZFS snapshots and display changes to the current state of the =20 filesystem with a slider. Would it be possible to integrate the patches into our Nautilus, too? Details are here: http://blogs.sun.com/erwann/entry/zfs_on_the_desktop_zfs At the bottom you find this: The zfs automatic snapshots hg repository can be found here [1]. Its =20 spec-file can be found here. [2] The time slider repository can be found here[3]. Its spec-file there[4]. The nautilus visualization patch for nautilus can be found here[5]. [1] http://src.opensolaris.org/source/xref/jds/zfs-snapshot/ [2] =20 http://src.opensolaris.org/source/xref/jds/spec-files-other/trunk/core/SUNWz= fs-auto-snapshot.spec [3] http://src.opensolaris.org/source/xref/jds/time-slider/ [4] =20 http://src.opensolaris.org/source/xref/jds/spec-files-other/trunk/core/SUNWg= nome-time-slider.spec [5] =20 http://src.opensolaris.org/source/xref/jds/spec-files/branches/gnome-2-24/pa= tches/nautilus-13-zfs-snapshot.diff They have a automatic snapshot service. At the moment we have =20 sysutils/zfs-snapshot-mgmt which is a ruby script and sysutils/zfsnap, =20 an sh(1) based solution via cron. Does anyone like to port the slider-plugin? Cheers Lars --=20 Lars Engels E-Mail: lars.engels@0x20.net --=_5yliwm88n00s Content-Type: application/pgp-signature Content-Description: PGP Digital Signature Content-Disposition: inline Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEABECAAYFAkxyJ/IACgkQKc512sD3afhueQCeLkXnJZT7h8ZGURc4YbCOmx53 g7cAnAnSDsLd5LRBqitelAyLDoFRP3fW =TPgF -----END PGP SIGNATURE----- --=_5yliwm88n00s-- From owner-freebsd-gnome@FreeBSD.ORG Mon Aug 23 11:07:22 2010 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 58DC610656A4 for ; Mon, 23 Aug 2010 11:07:22 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2D5868FC18 for ; Mon, 23 Aug 2010 11:07:22 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o7NB7MiV089414 for ; Mon, 23 Aug 2010 11:07:22 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o7NB7Lr9089412 for gnome@FreeBSD.org; Mon, 23 Aug 2010 11:07:21 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 23 Aug 2010 11:07:21 GMT Message-Id: <201008231107.o7NB7Lr9089412@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: gnome@FreeBSD.org Cc: Subject: Current problem reports assigned to gnome@FreeBSD.org 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: Mon, 23 Aug 2010 11:07:22 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o ports/149805 gnome [patch] let sysutils/brasero recognize cdrecord versio o ports/149710 gnome [PATCH]devel/gobject-introspection: fix build with pyt p ports/149629 gnome [PATCH] lang/gjs: update to 0.7 f ports/149134 gnome x11/gnome2 unable to unmount UFS file system f ports/148272 gnome polkit-gnome-authen core dumps when starting gnome o ports/148244 gnome x11/gnome2: gnome desktop and HAL prevent umount witho f ports/146544 gnome graphics/inkscape crashes when locale is enabled o ports/146422 gnome [patch] x11-toolkits/gtk20: experimental DIRECTFB targ o ports/146421 gnome [patch] graphics/cairo: add DIRECTFB knob s ports/145301 gnome [patch] sysutils/hal: /usr/local/etc/rc.d/hald startup o ports/143260 gnome devel/gobject-introspection writes files in $HOME o ports/142549 gnome sysutils/hal: hald cannot find DVD/CS anymore p ports/141033 gnome [PATCH] allow to build devel/libsoup without gnome o ports/140533 gnome bsd.gnome.mk - mtree may get parameters w/o space s ports/140216 gnome [patch] devel/nspr does not check POLLHUP in PR_Connec o ports/138410 gnome finance/gnucash quote price editor adds price data as s ports/137367 gnome net/libproxy: add menu option to configure dependence o ports/132304 gnome ports/devel/dbus misses /var/db/dbus/machine-id in dis 18 problems total. From owner-freebsd-gnome@FreeBSD.ORG Tue Aug 24 01:23:39 2010 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 E36DB10656A3 for ; Tue, 24 Aug 2010 01:23:39 +0000 (UTC) (envelope-from jason@naughton.ca) Received: from trooper.jnaughton.com (naughton.ca [206.248.137.184]) by mx1.freebsd.org (Postfix) with ESMTP id 968368FC16 for ; Tue, 24 Aug 2010 01:23:33 +0000 (UTC) Received: from webmail.jnaughton.com (localhost [127.0.0.1]) by trooper.jnaughton.com (8.14.4/8.14.4) with ESMTP id o7O13Xc1062400 for ; Mon, 23 Aug 2010 21:03:34 -0400 (EDT) (envelope-from jason@naughton.ca) Received: from 192.168.1.2 (SquirrelMail authenticated user jnaughto) by webmail.jnaughton.com with HTTP; Mon, 23 Aug 2010 21:03:34 -0400 Message-ID: Date: Mon, 23 Aug 2010 21:03:34 -0400 From: "Jason Naughton" To: gnome@FreeBSD.org User-Agent: SquirrelMail/1.4.20-RC2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: Subject: pango broken? 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: Tue, 24 Aug 2010 01:23:40 -0000 Hello all, I'm running into an issue installing pango on my: FreeBSD 6.4-STABLE FreeBSD 6.4-STABLE #1: Sun Jun 13 22:08:53 EDT 2010 When I attempt to compile pango I get: /usr/ports/x11-toolkits/pango/work/pango-1.28.1/pango/pangocairo-fc.h:48: syntax error, unexpected identifier in ' PangoFcFontKey *key);' at 'PangoFcFontKey' /usr/ports/x11-toolkits/pango/work/pango-1.28.1/pango/pangocairo-fc.h:49: syntax error, unexpected ')', expecting ',' or ';' in 'FT_Library _pango_cairo_fc_font_map_get_library (PangoCairoFcFontMap *fontmap);' at ')' /usr/bin/ld: warning: libintl.so.8, needed by /usr/local/lib/libgirepository-1.0.so, may conflict with libintl.so.9 /usr/local/bin/g-ir-compiler --includedir=. --includedir=. --includedir=. Pango-1.0.gir -o Pango-1.0.typelib /libexec/ld-elf.so.1: /usr/local/lib/libgthread-2.0.so.0: Undefined symbol "pthread_getschedparam" gmake[4]: *** [Pango-1.0.typelib] Error 1 gmake[4]: Leaving directory `/usr/ports/x11-toolkits/pango/work/pango-1.28.1/pango' Any suggestions? From owner-freebsd-gnome@FreeBSD.ORG Tue Aug 24 01:31:14 2010 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 1BEAD1065670 for ; Tue, 24 Aug 2010 01:31:14 +0000 (UTC) (envelope-from jason@naughton.ca) Received: from trooper.jnaughton.com (naughton.ca [206.248.137.184]) by mx1.freebsd.org (Postfix) with ESMTP id AE3CB8FC0A for ; Tue, 24 Aug 2010 01:31:07 +0000 (UTC) Received: from webmail.jnaughton.com (localhost [127.0.0.1]) by trooper.jnaughton.com (8.14.4/8.14.4) with ESMTP id o7O1TqVw002240 for ; Mon, 23 Aug 2010 21:29:52 -0400 (EDT) (envelope-from jason@naughton.ca) Received: from 192.168.1.2 (SquirrelMail authenticated user jnaughto) by webmail.jnaughton.com with HTTP; Mon, 23 Aug 2010 21:29:52 -0400 Message-ID: <735a8408306c615af1083174258c04e2.squirrel@webmail.jnaughton.com> Date: Mon, 23 Aug 2010 21:29:52 -0400 From: "Jason Naughton" To: gnome@FreeBSD.org User-Agent: SquirrelMail/1.4.20-RC2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: Subject: pango compiles 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: Tue, 24 Aug 2010 01:31:14 -0000 Hi All, Please ignore my last post. It seems that gobject-introspection-0.6.7 needed updating. After updating this port to version 0.6.14 the problem went away. Cheers Jason From owner-freebsd-gnome@FreeBSD.ORG Tue Aug 24 10:26:55 2010 Return-Path: Delivered-To: gnome@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A3EE71065695; Tue, 24 Aug 2010 10:26:55 +0000 (UTC) (envelope-from kwm@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7AF6C8FC21; Tue, 24 Aug 2010 10:26:55 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o7OAQtg5001189; Tue, 24 Aug 2010 10:26:55 GMT (envelope-from kwm@freefall.freebsd.org) Received: (from kwm@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o7OAQtdU001185; Tue, 24 Aug 2010 10:26:55 GMT (envelope-from kwm) Date: Tue, 24 Aug 2010 10:26:55 GMT Message-Id: <201008241026.o7OAQtdU001185@freefall.freebsd.org> To: bf1783@gmail.com, kwm@FreeBSD.org, gnome@FreeBSD.org From: kwm@FreeBSD.org Cc: Subject: Re: ports/149710: [PATCH]devel/gobject-introspection: fix build with python 2.7 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: Tue, 24 Aug 2010 10:26:55 -0000 Synopsis: [PATCH]devel/gobject-introspection: fix build with python 2.7 State-Changed-From-To: open->closed State-Changed-By: kwm State-Changed-When: Tue Aug 24 10:26:40 UTC 2010 State-Changed-Why: Committed thanks! http://www.freebsd.org/cgi/query-pr.cgi?pr=149710 From owner-freebsd-gnome@FreeBSD.ORG Tue Aug 24 10:30:03 2010 Return-Path: Delivered-To: gnome@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E059F1065697 for ; Tue, 24 Aug 2010 10:30:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id CC3ED8FC17 for ; Tue, 24 Aug 2010 10:30:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o7OAU3vR003623 for ; Tue, 24 Aug 2010 10:30:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o7OAU3oG003616; Tue, 24 Aug 2010 10:30:03 GMT (envelope-from gnats) Date: Tue, 24 Aug 2010 10:30:03 GMT Message-Id: <201008241030.o7OAU3oG003616@freefall.freebsd.org> To: gnome@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Cc: Subject: Re: ports/149710: commit references a PR X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dfilter service List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Aug 2010 10:30:04 -0000 The following reply was made to PR ports/149710; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/149710: commit references a PR Date: Tue, 24 Aug 2010 10:26:33 +0000 (UTC) kwm 2010-08-24 10:26:25 UTC FreeBSD ports repository Added files: devel/gobject-introspection/files patch-giscanner_sourcescanner.py patch-giscanner_xmlwriter.py Log: Fix build with python 2.7. PR: ports/149710 Submitted by: bf Obtained from: Gnome Git Revision Changes Path 1.1 +11 -0 ports/devel/gobject-introspection/files/patch-giscanner_sourcescanner.py (new) 1.1 +11 -0 ports/devel/gobject-introspection/files/patch-giscanner_xmlwriter.py (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" From owner-freebsd-gnome@FreeBSD.ORG Tue Aug 24 16:09:34 2010 Return-Path: Delivered-To: gnome@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5AEC81065672; Tue, 24 Aug 2010 16:09:34 +0000 (UTC) (envelope-from makc@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 320D58FC19; Tue, 24 Aug 2010 16:09:34 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o7OG9Y8o036339; Tue, 24 Aug 2010 16:09:34 GMT (envelope-from makc@freefall.freebsd.org) Received: (from makc@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o7OG9Yfq036335; Tue, 24 Aug 2010 16:09:34 GMT (envelope-from makc) Date: Tue, 24 Aug 2010 16:09:34 GMT Message-Id: <201008241609.o7OG9Yfq036335@freefall.freebsd.org> To: makc@FreeBSD.org, stas@FreeBSD.org, gnome@FreeBSD.org From: makc@FreeBSD.org Cc: Subject: Re: ports/149843: graphics/imlib: Need to apply patch to make kuickshow work 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: Tue, 24 Aug 2010 16:09:34 -0000 Synopsis: graphics/imlib: Need to apply patch to make kuickshow work Responsible-Changed-From-To: stas->gnome Responsible-Changed-By: makc Responsible-Changed-When: Tue Aug 24 16:09:33 UTC 2010 Responsible-Changed-Why: The patch is for ImLib1, over to maintainer. http://www.freebsd.org/cgi/query-pr.cgi?pr=149843 From owner-freebsd-gnome@FreeBSD.ORG Tue Aug 24 17:51:13 2010 Return-Path: Delivered-To: gnome@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3794010656FD; Tue, 24 Aug 2010 17:51:13 +0000 (UTC) (envelope-from kwm@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0E6A88FC1B; Tue, 24 Aug 2010 17:51:13 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o7OHpCu1044477; Tue, 24 Aug 2010 17:51:12 GMT (envelope-from kwm@freefall.freebsd.org) Received: (from kwm@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o7OHpC9o044473; Tue, 24 Aug 2010 17:51:12 GMT (envelope-from kwm) Date: Tue, 24 Aug 2010 17:51:12 GMT Message-Id: <201008241751.o7OHpC9o044473@freefall.freebsd.org> To: yuri@tsoft.com, kwm@FreeBSD.org, gnome@FreeBSD.org From: kwm@FreeBSD.org Cc: Subject: Re: ports/149843: graphics/imlib: Need to apply patch to make kuickshow work 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: Tue, 24 Aug 2010 17:51:13 -0000 Synopsis: graphics/imlib: Need to apply patch to make kuickshow work State-Changed-From-To: open->closed State-Changed-By: kwm State-Changed-When: Tue Aug 24 17:50:58 UTC 2010 State-Changed-Why: Committed thanks. http://www.freebsd.org/cgi/query-pr.cgi?pr=149843 From owner-freebsd-gnome@FreeBSD.ORG Tue Aug 24 18:00:20 2010 Return-Path: Delivered-To: gnome@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0A8B81065679 for ; Tue, 24 Aug 2010 18:00:20 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D4C0B8FC14 for ; Tue, 24 Aug 2010 18:00:19 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o7OI0Jjm044753 for ; Tue, 24 Aug 2010 18:00:19 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o7OI0JQw044752; Tue, 24 Aug 2010 18:00:19 GMT (envelope-from gnats) Date: Tue, 24 Aug 2010 18:00:19 GMT Message-Id: <201008241800.o7OI0JQw044752@freefall.freebsd.org> To: gnome@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Cc: Subject: Re: ports/149843: commit references a PR X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dfilter service List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Aug 2010 18:00:20 -0000 The following reply was made to PR ports/149843; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/149843: commit references a PR Date: Tue, 24 Aug 2010 17:51:57 +0000 (UTC) kwm 2010-08-24 17:50:04 UTC FreeBSD ports repository Modified files: graphics/imlib Makefile Added files: graphics/imlib/files patch-max-24bpp Log: imlib can't handle 32-bit visuals, so only use 24 as maximum. PR: ports/149843 Submitted by: Yuri Obtained from: Ubuntu Revision Changes Path 1.110 +1 -1 ports/graphics/imlib/Makefile 1.1 +44 -0 ports/graphics/imlib/files/patch-max-24bpp (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" From owner-freebsd-gnome@FreeBSD.ORG Tue Aug 24 18:30:19 2010 Return-Path: Delivered-To: gnome@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7958F1065679; Tue, 24 Aug 2010 18:30:19 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 506F58FC1E; Tue, 24 Aug 2010 18:30:19 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o7OIUJm5075420; Tue, 24 Aug 2010 18:30:19 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o7OIUJew075405; Tue, 24 Aug 2010 18:30:19 GMT (envelope-from edwin) Date: Tue, 24 Aug 2010 18:30:19 GMT Message-Id: <201008241830.o7OIUJew075405@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, gnome@FreeBSD.org From: edwin@FreeBSD.org Cc: Subject: Re: ports/149945: x11-toolkits/vte: fails to build 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: Tue, 24 Aug 2010 18:30:19 -0000 Synopsis: x11-toolkits/vte: fails to build Responsible-Changed-From-To: freebsd-ports-bugs->gnome Responsible-Changed-By: edwin Responsible-Changed-When: Tue Aug 24 18:30:18 UTC 2010 Responsible-Changed-Why: Over to maintainer (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=149945 From owner-freebsd-gnome@FreeBSD.ORG Tue Aug 24 19:03:02 2010 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 C3F8C106566C for ; Tue, 24 Aug 2010 19:03:02 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell0.rawbw.com (shell0.rawbw.com [198.144.192.45]) by mx1.freebsd.org (Postfix) with ESMTP id B29FD8FC15 for ; Tue, 24 Aug 2010 19:03:02 +0000 (UTC) Received: from eagle.syrec.org (stunnel@localhost [127.0.0.1]) (authenticated bits=0) by shell0.rawbw.com (8.14.4/8.14.4) with ESMTP id o7OIHgRq020253 for ; Tue, 24 Aug 2010 11:17:43 -0700 (PDT) (envelope-from yuri@rawbw.com) Message-ID: <4C740CC6.8030806@rawbw.com> Date: Tue, 24 Aug 2010 11:17:42 -0700 From: Yuri User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.11) Gecko/20100815 Thunderbird/3.0.6 MIME-Version: 1.0 To: gnome@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: x11-toolkits/vte: fails to build 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: Tue, 24 Aug 2010 19:03:02 -0000 Here is the message I am getting: gmake[3]: Entering directory `/usr/ports/x11-toolkits/vte/work/vte-0.24.3/gnome-pty-helper' cc -DHAVE_CONFIG_H -I. -I/usr/local/include -O2 -pipe -fno-strict-aliasing -MT gnome-utmp.o -MD -MP -MF .deps/gnome-utmp.Tpo -c -o gnome-utmp.o gnome-utmp.c gnome-utmp.c: In function 'write_login_record': gnome-utmp.c:367: warning: passing argument 1 of 'login' from incompatible pointer type gnome-utmp.c:374: error: 'struct utmpx' has no member named 'ut_name' gmake[3]: *** [gnome-utmp.o] Error 1 gmake[3]: Leaving directory `/usr/ports/x11-toolkits/vte/work/vte-0.24.3/gnome-pty-helper' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/usr/ports/x11-toolkits/vte/work/vte-0.24.3/gnome-pty-helper' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/x11-toolkits/vte/work/vte-0.24.3' gmake: *** [all] Error 2 *** Error code 1 Stop in /usr/ports/x11-toolkits/vte. *** Error code 1 From owner-freebsd-gnome@FreeBSD.ORG Tue Aug 24 19:31:40 2010 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 881D910656AA; Tue, 24 Aug 2010 19:31:40 +0000 (UTC) (envelope-from oberman@es.net) Received: from mailgw.es.net (mail1.es.net [IPv6:2001:400:201:1::2]) by mx1.freebsd.org (Postfix) with ESMTP id 6D1918FC13; Tue, 24 Aug 2010 19:31:40 +0000 (UTC) Received: from ptavv.es.net (ptavv.es.net [IPv6:2001:400:910::29]) by mailgw.es.net (8.14.3/8.14.3) with ESMTP id o7OJVbKO028102 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 24 Aug 2010 12:31:38 -0700 Received: from ptavv.es.net (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 31AAE1CC3A; Tue, 24 Aug 2010 12:31:37 -0700 (PDT) To: Joe Marcus Clarke In-reply-to: Your message of "Tue, 17 Aug 2010 02:05:28 EDT." <4C6A26A8.8090604@freebsd.org> Date: Tue, 24 Aug 2010 12:31:37 -0700 From: "Kevin Oberman" Message-Id: <20100824193137.31AAE1CC3A@ptavv.es.net> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.0.10011, 1.0.148, 0.0.0000 definitions=2010-08-24_10:2010-08-24, 2010-08-24, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=5.0.0-1005130000 definitions=main-1008240132 Cc: gnome@freebsd.org Subject: Re: ports/149134: x11/gnome2 unable to unmount UFS file system 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: Tue, 24 Aug 2010 19:31:40 -0000 > Date: Tue, 17 Aug 2010 02:05:28 -0400 > From: Joe Marcus Clarke > > On 8/16/10 4:36 PM, Kevin Oberman wrote: > > Please see the following files: > > http://home.comcast.net/~k.oberman/FreeBSD/dmesg.boot > > http://home.comcast.net/~k.oberman/FreeBSD/fstab.out > > http://home.comcast.net/~k.oberman/FreeBSD/hald.debug > > http://home.comcast.net/~k.oberman/FreeBSD/kern.geom.conftxt > > http://home.comcast.net/~k.oberman/FreeBSD/lshal.out > > http://home.comcast.net/~k.oberman/FreeBSD/mount.out > > > > I think the names are self-descriptive. > > > > The volume in question is /dev/da1s2 or /dev/ufs/Scratchd mounted as > > /media/Scratch. After hald was started, I used the Nautilus pop-up menu > > 'Unmount' item to unmount it. Got a raft of "Unknown errors". If the > > volume re-mounts as "Scratch", as it did in this case, I can try again. > > It often fails to delete the /media/Scratch directory and re-mounts as > > '/media/Scratch_' and further attempt get an "Operation not permitted" > > message. > > And what does the output look like after you try to unmount the drive > (output of the sysctl and mount(8))? Sorry for the slow response. I've been pretty busy and I want to do this stuff when I can concentrate on it a bit so I don't waste your time. Try as I might, I can't get it back into the "won't unmount" condition. It now always re-mounts. I've done so at least 10 times just now. Sometimes it manages to delete a directory and sometimes it creates a new one. > ls /media MUSIC/ Scratch/ Scratch__/ Scratch____/ MUSIC2/ Scratch_/ Scratch___/ > df /media/* Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/msdosfs/MUSIC 78128640 77788544 340096 100% /media/MUSIC /dev/msdosfs/MUSIC2 134182272 77694944 56487328 58% /media/MUSIC2 /dev/ufs/Scratchd 106517700 56988252 41008032 58% /media/Scratch /dev/ad0s3a 507630 324926 142094 70% / /dev/ad0s3a 507630 324926 142094 70% / /dev/ad0s3a 507630 324926 142094 70% / /dev/ad0s3a 507630 324926 142094 70% / No, I don't understand the three listings of root. I do notices the da0s2 and da0s2d always show up, but ufs/Scratch and ufs/Scratchd come and go. They are always there after the first mount. It looks very much like what I was seeing before you tried teaching hald to ignore /dev/ufs. Looks like, for some reason, it is still seeing it. lshal shows it. udi = '/org/freedesktop/Hal/devices/volume_size_112620533760' block.device = '/dev/ufs/Scratch' (string) block.is_volume = true (bool) block.major = 0 (0x0) (int) block.minor = 139 (0x8b) (int) block.storage_device = '/org/freedesktop/Hal/devices/storage_model_00BEVS_00VAT0$ info.capabilities = {'block', 'volume'} (string list) info.category = 'volume' (string) info.parent = '/org/freedesktop/Hal/devices/volume_part3_size_112620533760' (st$ info.product = 'Volume' (string) info.subsystem = 'block' (string) info.udi = '/org/freedesktop/Hal/devices/volume_size_112620533760' (string) volume.block_size = 512 (0x200) (uint64) volume.fstype = '' (string) volume.fsusage = 'partitiontable' (string) volume.ignore = true (bool) volume.is_disc = false (bool) volume.is_mounted = false (bool) volume.is_mounted_read_only = false (bool) volume.is_partition = false (bool) volume.label = '' (string) volume.mount_point = '' (string) volume.num_blocks = 219961980 (0xd1c5a7c) (uint64) volume.size = 112620533760 (0x1a38b4f800) (uint64) volume.uuid = '' (string) udi = '/org/freedesktop/Hal/devices/volume_label_Scratch' block.device = '/dev/ufs/Scratchd' (string) block.is_volume = true (bool) block.major = 0 (0x0) (int) block.minor = 141 (0x8d) (int) block.storage_device = '/org/freedesktop/Hal/devices/storage_model_00BEVS_00VAT0$ info.capabilities = {'block', 'volume'} (string list) info.category = 'volume' (string) info.interfaces = {'org.freedesktop.Hal.Device.Volume'} (string list) info.parent = '/org/freedesktop/Hal/devices/volume_size_112620533760' (string) info.product = 'Scratch' (string) info.subsystem = 'block' (string) info.udi = '/org/freedesktop/Hal/devices/volume_label_Scratch' (string) org.freedesktop.Hal.Device.Volume.method_argnames = {'mount_point fstype extra_o$ org.freedesktop.Hal.Device.Volume.method_execpaths = {'hal-storage-mount', 'hal-$ org.freedesktop.Hal.Device.Volume.method_names = {'Mount', 'Unmount', 'Eject'} ($ org.freedesktop.Hal.Device.Volume.method_signatures = {'ssas', 'as', 'as'} (stri$ volume.block_size = 512 (0x200) (uint64) volume.freebsd.ufsid = '4c43cc21c711100c' (string) volume.fstype = 'ufs' (string) volume.fsusage = 'filesystem' (string) volume.fsversion = '2' (string) volume.ignore = false (bool) volume.is_disc = false (bool) volume.is_mounted = true (bool) volume.is_mounted_read_only = false (bool) volume.is_partition = false (bool) volume.label = 'Scratch' (string) volume.mount.valid_options = {'ro', 'noexec', 'noatime'} (string list) volume.mount_point = '/media/Scratch' (string) volume.num_blocks = 219961980 (0xd1c5a7c) (uint64) volume.size = 112620533760 (0x1a38b4f800) (uint64) volume.uuid = '' (string) Here are a series of the sysctl and mount. This one is before the first attempt to unmount the filesystem: 0 DISK da0 250059350016 512 hd 255 sc 63 1 PART da0s2 112620533760 512 i 2 o 137436203520 ty freebsd xs MBR xt 165 2 LABEL ufs/Scratch 112620533760 512 i 0 o 0 3 PART ufs/Scratchd 112620533760 512 i 4 o 0 ty freebsd-ufs xs BSD xt 7 1 PART da0s1 137436171264 512 i 1 o 32256 ty !12 xs MBR xt 12 2 LABEL msdosfs/MUSIC2 137436171264 512 i 0 o 0 0 DISK ad2 80026361856 512 hd 16 sc 63 1 PART ad2s1 80023233024 512 i 1 o 32256 ty !12 xs MBR xt 12 2 LABEL msdosfs/MUSIC 80023233024 512 i 0 o 0 0 DISK ad0 80026361856 512 hd 16 sc 63 1 PART ad0s4 8027873280 512 i 4 o 71995875840 ty !12 xs MBR xt 12 1 PART ad0s3 41974571520 512 i 3 o 30021304320 ty freebsd xs MBR xt 165 2 PART ad0s3f 38259786240 512 i 6 o 3714785280 ty freebsd-ufs xs BSD xt 7 2 PART ad0s3e 536870912 512 i 5 o 3177914368 ty freebsd-ufs xs BSD xt 7 2 PART ad0s3d 1595932672 512 i 4 o 1581981696 ty freebsd-ufs xs BSD xt 7 2 PART ad0s3b 1045110784 512 i 2 o 536870912 ty freebsd-swap xs BSD xt 1 2 PART ad0s3a 536870912 512 i 1 o 0 ty freebsd-ufs xs BSD xt 7 1 PART ad0s2 4250050560 512 i 2 o 25771253760 ty !18 xs MBR xt 18 2 LABEL msdosfs/SERVICEV001 4250050560 512 i 0 o 0 1 PART ad0s1 25771221504 512 i 1 o 32256 ty !7 xs MBR xt 7 0 MD md0 184320 512 u 0 s 512 f 0 fs 0 l 184320 t vnode file /boot/profile/esnet 1 LABEL ufsid/40a3fabe35c1dddc 184320 512 i 0 o 0 > mount /dev/ad0s3a on / (ufs, local, noatime) devfs on /dev (devfs, local, multilabel) /dev/ad0s3e on /tmp (ufs, local, noatime, soft-updates) /dev/ad0s3f on /usr (ufs, local, noatime, soft-updates) /dev/ad0s3d on /var (ufs, local, noatime, soft-updates) /dev/ad0s4 on /D (msdosfs, local) procfs on /proc (procfs, local) linprocfs on /usr/compat/linux/proc (linprocfs, local) /dev/md0 on /etc (ufs, local, read-only, union) /dev/fuse0 on /C (fusefs, local, noatime, synchronous) /dev/fuse1 on /usr/home/oberman/.gvfs (fusefs, local, nosuid, synchronous, mounted by oberman) /dev/msdosfs/MUSIC on /media/MUSIC (msdosfs, local, nosuid) /dev/ufs/Scratchd on /media/Scratch (ufs, local, nosuid, soft-updates) /dev/msdosfs/MUSIC2 on /media/MUSIC2 (msdosfs, local, nosuid) The remainder are after a series of attempt to unmount: > sysctl -b kern.geom.conftxt 0 DISK da0 250059350016 512 hd 255 sc 63 1 PART da0s2 112620533760 512 i 2 o 137436203520 ty freebsd xs MBR xt 165 2 PART da0s2d 112620533760 512 i 4 o 0 ty freebsd-ufs xs BSD xt 7 1 PART da0s1 137436171264 512 i 1 o 32256 ty !12 xs MBR xt 12 2 LABEL msdosfs/MUSIC2 137436171264 512 i 0 o 0 0 DISK ad2 80026361856 512 hd 16 sc 63 1 PART ad2s1 80023233024 512 i 1 o 32256 ty !12 xs MBR xt 12 2 LABEL msdosfs/MUSIC 80023233024 512 i 0 o 0 0 DISK ad0 80026361856 512 hd 16 sc 63 1 PART ad0s4 8027873280 512 i 4 o 71995875840 ty !12 xs MBR xt 12 1 PART ad0s3 41974571520 512 i 3 o 30021304320 ty freebsd xs MBR xt 165 2 PART ad0s3f 38259786240 512 i 6 o 3714785280 ty freebsd-ufs xs BSD xt 7 2 PART ad0s3e 536870912 512 i 5 o 3177914368 ty freebsd-ufs xs BSD xt 7 2 PART ad0s3d 1595932672 512 i 4 o 1581981696 ty freebsd-ufs xs BSD xt 7 2 PART ad0s3b 1045110784 512 i 2 o 536870912 ty freebsd-swap xs BSD xt 1 2 PART ad0s3a 536870912 512 i 1 o 0 ty freebsd-ufs xs BSD xt 7 1 PART ad0s2 4250050560 512 i 2 o 25771253760 ty !18 xs MBR xt 18 2 LABEL msdosfs/SERVICEV001 4250050560 512 i 0 o 0 1 PART ad0s1 25771221504 512 i 1 o 32256 ty !7 xs MBR xt 7 0 MD md0 184320 512 u 0 s 512 f 0 fs 0 l 184320 t vnode file /boot/profile/esnet 1 LABEL ufsid/40a3fabe35c1dddc 184320 512 i 0 o 0 > mount /dev/ad0s3a on / (ufs, local, noatime) devfs on /dev (devfs, local, multilabel) /dev/ad0s3e on /tmp (ufs, local, noatime, soft-updates) /dev/ad0s3f on /usr (ufs, local, noatime, soft-updates) /dev/ad0s3d on /var (ufs, local, noatime, soft-updates) /dev/ad0s4 on /D (msdosfs, local) procfs on /proc (procfs, local) linprocfs on /usr/compat/linux/proc (linprocfs, local) /dev/md0 on /etc (ufs, local, read-only, union) /dev/fuse0 on /C (fusefs, local, noatime, synchronous) /dev/fuse1 on /usr/home/oberman/.gvfs (fusefs, local, nosuid, synchronous, mounted by oberman) /dev/msdosfs/MUSIC on /media/MUSIC (msdosfs, local, nosuid) /dev/msdosfs/MUSIC2 on /media/MUSIC2 (msdosfs, local, nosuid) /dev/da0s2d on /media/Scratch (ufs, local, nosuid, soft-updates) > sysctl -b kern.geom.conftxt 0 DISK da0 250059350016 512 hd 255 sc 63 1 PART da0s2 112620533760 512 i 2 o 137436203520 ty freebsd xs MBR xt 165 2 LABEL ufs/Scratch 112620533760 512 i 0 o 0 3 PART ufs/Scratchd 112620533760 512 i 4 o 0 ty freebsd-ufs xs BSD xt 7 1 PART da0s1 137436171264 512 i 1 o 32256 ty !12 xs MBR xt 12 2 LABEL msdosfs/MUSIC2 137436171264 512 i 0 o 0 0 DISK ad2 80026361856 512 hd 16 sc 63 1 PART ad2s1 80023233024 512 i 1 o 32256 ty !12 xs MBR xt 12 2 LABEL msdosfs/MUSIC 80023233024 512 i 0 o 0 0 DISK ad0 80026361856 512 hd 16 sc 63 1 PART ad0s4 8027873280 512 i 4 o 71995875840 ty !12 xs MBR xt 12 1 PART ad0s3 41974571520 512 i 3 o 30021304320 ty freebsd xs MBR xt 165 2 PART ad0s3f 38259786240 512 i 6 o 3714785280 ty freebsd-ufs xs BSD xt 7 2 PART ad0s3e 536870912 512 i 5 o 3177914368 ty freebsd-ufs xs BSD xt 7 2 PART ad0s3d 1595932672 512 i 4 o 1581981696 ty freebsd-ufs xs BSD xt 7 2 PART ad0s3b 1045110784 512 i 2 o 536870912 ty freebsd-swap xs BSD xt 1 2 PART ad0s3a 536870912 512 i 1 o 0 ty freebsd-ufs xs BSD xt 7 1 PART ad0s2 4250050560 512 i 2 o 25771253760 ty !18 xs MBR xt 18 2 LABEL msdosfs/SERVICEV001 4250050560 512 i 0 o 0 1 PART ad0s1 25771221504 512 i 1 o 32256 ty !7 xs MBR xt 7 0 MD md0 184320 512 u 0 s 512 f 0 fs 0 l 184320 t vnode file /boot/profile/esnet 1 LABEL ufsid/40a3fabe35c1dddc 184320 512 i 0 o 0 > mount /dev/ad0s3a on / (ufs, local, noatime) devfs on /dev (devfs, local, multilabel) /dev/ad0s3e on /tmp (ufs, local, noatime, soft-updates) /dev/ad0s3f on /usr (ufs, local, noatime, soft-updates) /dev/ad0s3d on /var (ufs, local, noatime, soft-updates) /dev/ad0s4 on /D (msdosfs, local) procfs on /proc (procfs, local) linprocfs on /usr/compat/linux/proc (linprocfs, local) /dev/md0 on /etc (ufs, local, read-only, union) /dev/fuse0 on /C (fusefs, local, noatime, synchronous) /dev/fuse1 on /usr/home/oberman/.gvfs (fusefs, local, nosuid, synchronous, mounted by oberman) /dev/msdosfs/MUSIC on /media/MUSIC (msdosfs, local, nosuid) /dev/msdosfs/MUSIC2 on /media/MUSIC2 (msdosfs, local, nosuid) /dev/ufs/Scratchd on /media/Scratch__ (ufs, local, nosuid, soft-updates) > mount /dev/ad0s3a on / (ufs, local, noatime) devfs on /dev (devfs, local, multilabel) /dev/ad0s3e on /tmp (ufs, local, noatime, soft-updates) /dev/ad0s3f on /usr (ufs, local, noatime, soft-updates) /dev/ad0s3d on /var (ufs, local, noatime, soft-updates) /dev/ad0s4 on /D (msdosfs, local) procfs on /proc (procfs, local) linprocfs on /usr/compat/linux/proc (linprocfs, local) /dev/md0 on /etc (ufs, local, read-only, union) /dev/fuse0 on /C (fusefs, local, noatime, synchronous) /dev/fuse1 on /usr/home/oberman/.gvfs (fusefs, local, nosuid, synchronous, mounted by oberman) /dev/msdosfs/MUSIC on /media/MUSIC (msdosfs, local, nosuid) /dev/msdosfs/MUSIC2 on /media/MUSIC2 (msdosfs, local, nosuid) /dev/ufs/Scratchd on /media/Scratch (ufs, local, nosuid, soft-updates) > sysctl -b kern.geom.conftxt 0 DISK da0 250059350016 512 hd 255 sc 63 1 PART da0s2 112620533760 512 i 2 o 137436203520 ty freebsd xs MBR xt 165 2 LABEL ufs/Scratch 112620533760 512 i 0 o 0 3 PART ufs/Scratchd 112620533760 512 i 4 o 0 ty freebsd-ufs xs BSD xt 7 1 PART da0s1 137436171264 512 i 1 o 32256 ty !12 xs MBR xt 12 2 LABEL msdosfs/MUSIC2 137436171264 512 i 0 o 0 0 DISK ad2 80026361856 512 hd 16 sc 63 1 PART ad2s1 80023233024 512 i 1 o 32256 ty !12 xs MBR xt 12 2 LABEL msdosfs/MUSIC 80023233024 512 i 0 o 0 0 DISK ad0 80026361856 512 hd 16 sc 63 1 PART ad0s4 8027873280 512 i 4 o 71995875840 ty !12 xs MBR xt 12 1 PART ad0s3 41974571520 512 i 3 o 30021304320 ty freebsd xs MBR xt 165 2 PART ad0s3f 38259786240 512 i 6 o 3714785280 ty freebsd-ufs xs BSD xt 7 2 PART ad0s3e 536870912 512 i 5 o 3177914368 ty freebsd-ufs xs BSD xt 7 2 PART ad0s3d 1595932672 512 i 4 o 1581981696 ty freebsd-ufs xs BSD xt 7 2 PART ad0s3b 1045110784 512 i 2 o 536870912 ty freebsd-swap xs BSD xt 1 2 PART ad0s3a 536870912 512 i 1 o 0 ty freebsd-ufs xs BSD xt 7 1 PART ad0s2 4250050560 512 i 2 o 25771253760 ty !18 xs MBR xt 18 2 LABEL msdosfs/SERVICEV001 4250050560 512 i 0 o 0 1 PART ad0s1 25771221504 512 i 1 o 32256 ty !7 xs MBR xt 7 0 MD md0 184320 512 u 0 s 512 f 0 fs 0 l 184320 t vnode file /boot/profile/esnet 1 LABEL ufsid/40a3fabe35c1dddc 184320 512 i 0 o 0 > mount /dev/ad0s3a on / (ufs, local, noatime) devfs on /dev (devfs, local, multilabel) /dev/ad0s3e on /tmp (ufs, local, noatime, soft-updates) /dev/ad0s3f on /usr (ufs, local, noatime, soft-updates) /dev/ad0s3d on /var (ufs, local, noatime, soft-updates) /dev/ad0s4 on /D (msdosfs, local) procfs on /proc (procfs, local) linprocfs on /usr/compat/linux/proc (linprocfs, local) /dev/md0 on /etc (ufs, local, read-only, union) /dev/fuse0 on /C (fusefs, local, noatime, synchronous) /dev/fuse1 on /usr/home/oberman/.gvfs (fusefs, local, nosuid, synchronous, mounted by oberman) /dev/msdosfs/MUSIC on /media/MUSIC (msdosfs, local, nosuid) /dev/msdosfs/MUSIC2 on /media/MUSIC2 (msdosfs, local, nosuid) /dev/da0s2d on /media/Scratch___ (ufs, local, nosuid, soft-updates) > sysctl -b kern.geom.conftxt 0 DISK da0 250059350016 512 hd 255 sc 63 1 PART da0s2 112620533760 512 i 2 o 137436203520 ty freebsd xs MBR xt 165 2 PART da0s2d 112620533760 512 i 4 o 0 ty freebsd-ufs xs BSD xt 7 1 PART da0s1 137436171264 512 i 1 o 32256 ty !12 xs MBR xt 12 2 LABEL msdosfs/MUSIC2 137436171264 512 i 0 o 0 0 DISK ad2 80026361856 512 hd 16 sc 63 1 PART ad2s1 80023233024 512 i 1 o 32256 ty !12 xs MBR xt 12 2 LABEL msdosfs/MUSIC 80023233024 512 i 0 o 0 0 DISK ad0 80026361856 512 hd 16 sc 63 1 PART ad0s4 8027873280 512 i 4 o 71995875840 ty !12 xs MBR xt 12 1 PART ad0s3 41974571520 512 i 3 o 30021304320 ty freebsd xs MBR xt 165 2 PART ad0s3f 38259786240 512 i 6 o 3714785280 ty freebsd-ufs xs BSD xt 7 2 PART ad0s3e 536870912 512 i 5 o 3177914368 ty freebsd-ufs xs BSD xt 7 2 PART ad0s3d 1595932672 512 i 4 o 1581981696 ty freebsd-ufs xs BSD xt 7 2 PART ad0s3b 1045110784 512 i 2 o 536870912 ty freebsd-swap xs BSD xt 1 2 PART ad0s3a 536870912 512 i 1 o 0 ty freebsd-ufs xs BSD xt 7 1 PART ad0s2 4250050560 512 i 2 o 25771253760 ty !18 xs MBR xt 18 2 LABEL msdosfs/SERVICEV001 4250050560 512 i 0 o 0 1 PART ad0s1 25771221504 512 i 1 o 32256 ty !7 xs MBR xt 7 0 MD md0 184320 512 u 0 s 512 f 0 fs 0 l 184320 t vnode file /boot/profile/esnet 1 LABEL ufsid/40a3fabe35c1dddc 184320 512 i 0 o 0 > mount /dev/ad0s3a on / (ufs, local, noatime) devfs on /dev (devfs, local, multilabel) /dev/ad0s3e on /tmp (ufs, local, noatime, soft-updates) /dev/ad0s3f on /usr (ufs, local, noatime, soft-updates) /dev/ad0s3d on /var (ufs, local, noatime, soft-updates) /dev/ad0s4 on /D (msdosfs, local) procfs on /proc (procfs, local) linprocfs on /usr/compat/linux/proc (linprocfs, local) /dev/md0 on /etc (ufs, local, read-only, union) /dev/fuse0 on /C (fusefs, local, noatime, synchronous) /dev/fuse1 on /usr/home/oberman/.gvfs (fusefs, local, nosuid, synchronous, mounted by oberman) /dev/msdosfs/MUSIC on /media/MUSIC (msdosfs, local, nosuid) /dev/msdosfs/MUSIC2 on /media/MUSIC2 (msdosfs, local, nosuid) /dev/da0s2d on /media/Scratch____ (ufs, local, nosuid, soft-updates) > sysctl -b kern.geom.conftxt 0 DISK da0 250059350016 512 hd 255 sc 63 1 PART da0s2 112620533760 512 i 2 o 137436203520 ty freebsd xs MBR xt 165 2 PART da0s2d 112620533760 512 i 4 o 0 ty freebsd-ufs xs BSD xt 7 1 PART da0s1 137436171264 512 i 1 o 32256 ty !12 xs MBR xt 12 2 LABEL msdosfs/MUSIC2 137436171264 512 i 0 o 0 0 DISK ad2 80026361856 512 hd 16 sc 63 1 PART ad2s1 80023233024 512 i 1 o 32256 ty !12 xs MBR xt 12 2 LABEL msdosfs/MUSIC 80023233024 512 i 0 o 0 0 DISK ad0 80026361856 512 hd 16 sc 63 1 PART ad0s4 8027873280 512 i 4 o 71995875840 ty !12 xs MBR xt 12 1 PART ad0s3 41974571520 512 i 3 o 30021304320 ty freebsd xs MBR xt 165 2 PART ad0s3f 38259786240 512 i 6 o 3714785280 ty freebsd-ufs xs BSD xt 7 2 PART ad0s3e 536870912 512 i 5 o 3177914368 ty freebsd-ufs xs BSD xt 7 2 PART ad0s3d 1595932672 512 i 4 o 1581981696 ty freebsd-ufs xs BSD xt 7 2 PART ad0s3b 1045110784 512 i 2 o 536870912 ty freebsd-swap xs BSD xt 1 2 PART ad0s3a 536870912 512 i 1 o 0 ty freebsd-ufs xs BSD xt 7 1 PART ad0s2 4250050560 512 i 2 o 25771253760 ty !18 xs MBR xt 18 2 LABEL msdosfs/SERVICEV001 4250050560 512 i 0 o 0 1 PART ad0s1 25771221504 512 i 1 o 32256 ty !7 xs MBR xt 7 0 MD md0 184320 512 u 0 s 512 f 0 fs 0 l 184320 t vnode file /boot/profile/esnet 1 LABEL ufsid/40a3fabe35c1dddc 184320 512 i 0 o 0 > sysctl -b kern.geom.conftxt 0 DISK da0 250059350016 512 hd 255 sc 63 1 PART da0s2 112620533760 512 i 2 o 137436203520 ty freebsd xs MBR xt 165 2 LABEL ufs/Scratch 112620533760 512 i 0 o 0 3 PART ufs/Scratchd 112620533760 512 i 4 o 0 ty freebsd-ufs xs BSD xt 7 1 PART da0s1 137436171264 512 i 1 o 32256 ty !12 xs MBR xt 12 2 LABEL msdosfs/MUSIC2 137436171264 512 i 0 o 0 0 DISK ad2 80026361856 512 hd 16 sc 63 1 PART ad2s1 80023233024 512 i 1 o 32256 ty !12 xs MBR xt 12 2 LABEL msdosfs/MUSIC 80023233024 512 i 0 o 0 0 DISK ad0 80026361856 512 hd 16 sc 63 1 PART ad0s4 8027873280 512 i 4 o 71995875840 ty !12 xs MBR xt 12 1 PART ad0s3 41974571520 512 i 3 o 30021304320 ty freebsd xs MBR xt 165 2 PART ad0s3f 38259786240 512 i 6 o 3714785280 ty freebsd-ufs xs BSD xt 7 2 PART ad0s3e 536870912 512 i 5 o 3177914368 ty freebsd-ufs xs BSD xt 7 2 PART ad0s3d 1595932672 512 i 4 o 1581981696 ty freebsd-ufs xs BSD xt 7 2 PART ad0s3b 1045110784 512 i 2 o 536870912 ty freebsd-swap xs BSD xt 1 2 PART ad0s3a 536870912 512 i 1 o 0 ty freebsd-ufs xs BSD xt 7 1 PART ad0s2 4250050560 512 i 2 o 25771253760 ty !18 xs MBR xt 18 2 LABEL msdosfs/SERVICEV001 4250050560 512 i 0 o 0 1 PART ad0s1 25771221504 512 i 1 o 32256 ty !7 xs MBR xt 7 0 MD md0 184320 512 u 0 s 512 f 0 fs 0 l 184320 t vnode file /boot/profile/esnet 1 LABEL ufsid/40a3fabe35c1dddc 184320 512 i 0 o 0 > sysctl -b kern.geom.conftxt 0 DISK da0 250059350016 512 hd 255 sc 63 1 PART da0s2 112620533760 512 i 2 o 137436203520 ty freebsd xs MBR xt 165 2 LABEL ufs/Scratch 112620533760 512 i 0 o 0 3 PART ufs/Scratchd 112620533760 512 i 4 o 0 ty freebsd-ufs xs BSD xt 7 1 PART da0s1 137436171264 512 i 1 o 32256 ty !12 xs MBR xt 12 2 LABEL msdosfs/MUSIC2 137436171264 512 i 0 o 0 0 DISK ad2 80026361856 512 hd 16 sc 63 1 PART ad2s1 80023233024 512 i 1 o 32256 ty !12 xs MBR xt 12 2 LABEL msdosfs/MUSIC 80023233024 512 i 0 o 0 0 DISK ad0 80026361856 512 hd 16 sc 63 1 PART ad0s4 8027873280 512 i 4 o 71995875840 ty !12 xs MBR xt 12 1 PART ad0s3 41974571520 512 i 3 o 30021304320 ty freebsd xs MBR xt 165 2 PART ad0s3f 38259786240 512 i 6 o 3714785280 ty freebsd-ufs xs BSD xt 7 2 PART ad0s3e 536870912 512 i 5 o 3177914368 ty freebsd-ufs xs BSD xt 7 2 PART ad0s3d 1595932672 512 i 4 o 1581981696 ty freebsd-ufs xs BSD xt 7 2 PART ad0s3b 1045110784 512 i 2 o 536870912 ty freebsd-swap xs BSD xt 1 2 PART ad0s3a 536870912 512 i 1 o 0 ty freebsd-ufs xs BSD xt 7 1 PART ad0s2 4250050560 512 i 2 o 25771253760 ty !18 xs MBR xt 18 2 LABEL msdosfs/SERVICEV001 4250050560 512 i 0 o 0 1 PART ad0s1 25771221504 512 i 1 o 32256 ty !7 xs MBR xt 7 0 MD md0 184320 512 u 0 s 512 f 0 fs 0 l 184320 t vnode file /boot/profile/esnet 1 LABEL ufsid/40a3fabe35c1dddc 184320 512 i 0 o 0 -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751 From owner-freebsd-gnome@FreeBSD.ORG Tue Aug 24 19:50:06 2010 Return-Path: Delivered-To: gnome@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F055B1065679 for ; Tue, 24 Aug 2010 19:50:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C66AB8FC08 for ; Tue, 24 Aug 2010 19:50:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o7OJo6ch052462 for ; Tue, 24 Aug 2010 19:50:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o7OJo6Xm052457; Tue, 24 Aug 2010 19:50:06 GMT (envelope-from gnats) Date: Tue, 24 Aug 2010 19:50:06 GMT Message-Id: <201008241950.o7OJo6Xm052457@freefall.freebsd.org> To: gnome@FreeBSD.org From: Yuri Cc: Subject: RE: ports/149945: x11-toolkits/vte: fails to build X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Yuri List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Aug 2010 19:50:07 -0000 The following reply was made to PR ports/149945; it has been noted by GNATS. From: Yuri To: bug-followup@FreeBSD.org Cc: Subject: RE: ports/149945: x11-toolkits/vte: fails to build Date: Tue, 24 Aug 2010 12:47:53 -0700 Sorry, forgot to mention: got this problem on amd64. Yuri From owner-freebsd-gnome@FreeBSD.ORG Tue Aug 24 20:24:12 2010 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 BFEF81065673; Tue, 24 Aug 2010 20:24:12 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id 167E38FC0A; Tue, 24 Aug 2010 20:24:11 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 4EA8A1E0021A; Tue, 24 Aug 2010 22:24:10 +0200 (CEST) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.4/8.14.3) with ESMTP id o7OKLJWA039943; Tue, 24 Aug 2010 22:21:19 +0200 (CEST) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.4/8.14.3/Submit) id o7OKLIZG039942; Tue, 24 Aug 2010 22:21:18 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Tue, 24 Aug 2010 22:21:18 +0200 To: Hans Petter Selasky Message-ID: <20100824202118.GA38687@triton8.kn-bremen.de> References: <4C66C4BC.4040504@janh.de> <20100820180648.GA90683@triton8.kn-bremen.de> <4C71A635.6070205@freebsd.org> <201008230914.30762.hselasky@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201008230914.30762.hselasky@freebsd.org> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: me@janh.de, kde@freebsd.org, Juergen Lock , freebsd-multimedia@freebsd.org, Joe Marcus Clarke , gnome@freebsd.org Subject: Re: kaffeine-1.0 and webcamd based DVB-T? 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: Tue, 24 Aug 2010 20:24:12 -0000 On Mon, Aug 23, 2010 at 09:14:30AM +0200, Hans Petter Selasky wrote: > > > > > > I have Cc'd hps, maybe he has an idea how to get the device index > > > > > > out of a running webcamd for hal to use... (maybe webcamd should > > > also do a setproctitle()?) > > > > Actually, I'd prefer if there was a file or socket from which I could > > read to get this data. hps, is this doable? That is, could I have a > > file or socket that would allow me to map a USB bus/addr to a video (or > > dvb) device ID? > > I think something like this has been discussed before, that perhaps webcamd, > when it is ready updates hald, if present in the system. > > Could you provide me the snprintf() I need and where to send it? Ok I just got the new kaffeine working for direct dvb (i.e. without xvdr://) with both the dvb-s2 and dvb-t tuners by invoking hal-device --add for each dvb device node like below. (well, ignoring audio issues on dvb-s2 h264 channels but those can't have anything to do with hal...) So it seems you can take the udi name that hal uses for the device (or is that always 'usb_device___noserial'?), add a string to it like '_dvb_', use that as arg to 'hal-device --add', and then give that process mostly static info like mine on stdin where only dvb.device (the device node) and info.parent (the original udi name) vary: (Linux also adds linux.device_file, linux.hotplug_type, linux.subsystem, and linux.sysfs_path as you can see in my Linux lshal output earlier in this thread, http://lists.freebsd.org/pipermail/freebsd-multimedia/2010-August/011203.html but it seems at least kaffeine doesn't need those.) #! /bin/sh # add PCTV 452e Sat HDTV Pro USB to hal as /dev/dvb/adapter0 hal-device --add usb_device_2304_21f_noserial_dvb_0 < 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 9610B1065672; Tue, 24 Aug 2010 21:08:51 +0000 (UTC) (envelope-from hselasky@freebsd.org) Received: from swip.net (mailfe07.swip.net [212.247.154.193]) by mx1.freebsd.org (Postfix) with ESMTP id 5F8BA8FC20; Tue, 24 Aug 2010 21:08:49 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=8nVFKzxAJNCZJh2yHDOpnep+nZeeqVU+af0AVP5CZ7Y= c=1 sm=1 a=ivRC_LpHlL4A:10 a=8nJEP1OIZ-IA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=ArtyDNf3ZL9q3spDVYUA:9 a=l0eE-pk80KWydiZhspEA:7 a=pQMMQ5VQxpOOOM1I-GlvW5g6ibAA:4 a=wPNLvfGTeEIA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:117 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe07.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 10207168; Tue, 24 Aug 2010 23:08:46 +0200 Received-SPF: softfail receiver=mailfe07.swip.net; client-ip=188.126.201.140; envelope-from=hselasky@freebsd.org From: Hans Petter Selasky To: Juergen Lock Date: Tue, 24 Aug 2010 23:04:54 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) References: <4C66C4BC.4040504@janh.de> <201008230914.30762.hselasky@freebsd.org> <20100824202118.GA38687@triton8.kn-bremen.de> In-Reply-To: <20100824202118.GA38687@triton8.kn-bremen.de> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'( =?iso-8859-1?q?=3B=5FIjlA=3A=0A=09hGE=2E=2EEw?=, =?iso-8859-1?q?XAQ*o=23=5C/M=7ESC=3DS1-f9=7BEzRfT=27=7CHhll5Q=5Dha5Bt-s=7Co?= =?iso-8859-1?q?TlKMusi=3A1e=5BwJl=7Dkd=7DGR=0A=09Z0adGx-x=5F0zGbZj=27e?=(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201008242304.54247.hselasky@freebsd.org> Cc: me@janh.de, kde@freebsd.org, freebsd-multimedia@freebsd.org, Joe Marcus Clarke , gnome@freebsd.org Subject: Re: kaffeine-1.0 and webcamd based DVB-T? 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: Tue, 24 Aug 2010 21:08:51 -0000 On Tuesday 24 August 2010 22:21:18 Juergen Lock wrote: > #! /bin/sh > # add PCTV 452e Sat HDTV Pro USB to hal as /dev/dvb/adapter0 > hal-device --add usb_device_2304_21f_noserial_dvb_0 < dvb.device = '/dev/dvb/adapter0/demux0' (string) > info.capabilities = {'dvb'} (string list) > info.category = 'dvb' (string) > info.parent = > '/org/freedesktop/Hal/devices/usb_device_2304_21f_noserial' (string) > info.product = 'DVB Device' (string) > info.subsystem = 'dvb' (string) > EOF > hal-device --add usb_device_2304_21f_noserial_dvb_1 < dvb.device = '/dev/dvb/adapter0/dvr0' (string) > info.capabilities = {'dvb'} (string list) > info.category = 'dvb' (string) > info.parent = > '/org/freedesktop/Hal/devices/usb_device_2304_21f_noserial' (string) > info.product = 'DVB Device' (string) > info.subsystem = 'dvb' (string) > EOF > hal-device --add usb_device_2304_21f_noserial_dvb_2 < 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 C85E3106564A; Tue, 24 Aug 2010 21:11:32 +0000 (UTC) (envelope-from marcus@freebsd.org) Received: from av-tac-rtp.cisco.com (hen.cisco.com [64.102.19.198]) by mx1.freebsd.org (Postfix) with ESMTP id 7DEC48FC1B; Tue, 24 Aug 2010 21:11:32 +0000 (UTC) X-TACSUNS: Virus Scanned Received: from rooster.cisco.com (localhost.cisco.com [127.0.0.1]) by av-tac-rtp.cisco.com (8.13.8+Sun/8.13.8) with ESMTP id o7OLBUVa018535; Tue, 24 Aug 2010 17:11:30 -0400 (EDT) Received: from fruit-rollup.marcuscom.com (jclarke-pc.cisco.com [172.18.254.236]) by rooster.cisco.com (8.13.8+Sun/8.13.8) with ESMTP id o7OLBTqP016249; Tue, 24 Aug 2010 17:11:30 -0400 (EDT) Message-ID: <4C743581.2070100@freebsd.org> Date: Tue, 24 Aug 2010 17:11:29 -0400 From: Joe Marcus Clarke Organization: FreeBSD, Inc. User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: Juergen Lock References: <4C66C4BC.4040504@janh.de> <20100820180648.GA90683@triton8.kn-bremen.de> <4C71A635.6070205@freebsd.org> <201008230914.30762.hselasky@freebsd.org> <20100824202118.GA38687@triton8.kn-bremen.de> In-Reply-To: <20100824202118.GA38687@triton8.kn-bremen.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: me@janh.de, kde@freebsd.org, Hans Petter Selasky , freebsd-multimedia@freebsd.org, gnome@freebsd.org Subject: Re: kaffeine-1.0 and webcamd based DVB-T? 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: Tue, 24 Aug 2010 21:11:32 -0000 On 8/24/10 4:21 PM, Juergen Lock wrote: > On Mon, Aug 23, 2010 at 09:14:30AM +0200, Hans Petter Selasky wrote: >>>> >>>> I have Cc'd hps, maybe he has an idea how to get the device index >>>> >>>> out of a running webcamd for hal to use... (maybe webcamd should >>>> also do a setproctitle()?) >>> >>> Actually, I'd prefer if there was a file or socket from which I could >>> read to get this data. hps, is this doable? That is, could I have a >>> file or socket that would allow me to map a USB bus/addr to a video (or >>> dvb) device ID? >> >> I think something like this has been discussed before, that perhaps webcamd, >> when it is ready updates hald, if present in the system. >> >> Could you provide me the snprintf() I need and where to send it? > > Ok I just got the new kaffeine working for direct dvb (i.e. without > xvdr://) with both the dvb-s2 and dvb-t tuners by invoking > hal-device --add for each dvb device node like below. (well, > ignoring audio issues on dvb-s2 h264 channels but those can't have > anything to do with hal...) > > So it seems you can take the udi name that hal uses for the device > (or is that always 'usb_device___noserial'?), add a string > to it like '_dvb_', use that as arg to 'hal-device --add', > and then give that process mostly static info like mine on stdin > where only dvb.device (the device node) and info.parent (the original > udi name) vary: (Linux also adds linux.device_file, linux.hotplug_type, > linux.subsystem, and linux.sysfs_path as you can see in my Linux > lshal output earlier in this thread, The USB Devices are named as usb_device_vendorID_product_ID_serialNo (noserial if there is no ASCII serial number). The parent may be important, so the output of lshal may need to be properly known, but you could also just set it to the dummy /org/freedesktop/Hal/devices/computer value (i.e. its parent is the root of the tree). If this works for both dvb and v4l, we could remove the patches in hal, and just have webcamd do our dirty work. Joe -- Joe Marcus Clarke FreeBSD GNOME Team :: gnome@FreeBSD.org FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome From owner-freebsd-gnome@FreeBSD.ORG Tue Aug 24 21:12:12 2010 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 C47D1106570A; Tue, 24 Aug 2010 21:12:12 +0000 (UTC) (envelope-from marcus@freebsd.org) Received: from av-tac-rtp.cisco.com (hen.cisco.com [64.102.19.198]) by mx1.freebsd.org (Postfix) with ESMTP id 764008FC14; Tue, 24 Aug 2010 21:12:12 +0000 (UTC) X-TACSUNS: Virus Scanned Received: from rooster.cisco.com (localhost.cisco.com [127.0.0.1]) by av-tac-rtp.cisco.com (8.13.8+Sun/8.13.8) with ESMTP id o7OLCBRI018541; Tue, 24 Aug 2010 17:12:11 -0400 (EDT) Received: from fruit-rollup.marcuscom.com (jclarke-pc.cisco.com [172.18.254.236]) by rooster.cisco.com (8.13.8+Sun/8.13.8) with ESMTP id o7OLCAHT016994; Tue, 24 Aug 2010 17:12:11 -0400 (EDT) Message-ID: <4C7435AA.50805@freebsd.org> Date: Tue, 24 Aug 2010 17:12:10 -0400 From: Joe Marcus Clarke Organization: FreeBSD, Inc. User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: Hans Petter Selasky References: <4C66C4BC.4040504@janh.de> <201008230914.30762.hselasky@freebsd.org> <20100824202118.GA38687@triton8.kn-bremen.de> <201008242304.54247.hselasky@freebsd.org> In-Reply-To: <201008242304.54247.hselasky@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: me@janh.de, kde@freebsd.org, Juergen Lock , freebsd-multimedia@freebsd.org, gnome@freebsd.org Subject: Re: kaffeine-1.0 and webcamd based DVB-T? 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: Tue, 24 Aug 2010 21:12:12 -0000 On 8/24/10 5:04 PM, Hans Petter Selasky wrote: > On Tuesday 24 August 2010 22:21:18 Juergen Lock wrote: >> #! /bin/sh >> # add PCTV 452e Sat HDTV Pro USB to hal as /dev/dvb/adapter0 >> hal-device --add usb_device_2304_21f_noserial_dvb_0 <> dvb.device = '/dev/dvb/adapter0/demux0' (string) >> info.capabilities = {'dvb'} (string list) >> info.category = 'dvb' (string) >> info.parent = >> '/org/freedesktop/Hal/devices/usb_device_2304_21f_noserial' (string) >> info.product = 'DVB Device' (string) >> info.subsystem = 'dvb' (string) >> EOF >> hal-device --add usb_device_2304_21f_noserial_dvb_1 <> dvb.device = '/dev/dvb/adapter0/dvr0' (string) >> info.capabilities = {'dvb'} (string list) >> info.category = 'dvb' (string) >> info.parent = >> '/org/freedesktop/Hal/devices/usb_device_2304_21f_noserial' (string) >> info.product = 'DVB Device' (string) >> info.subsystem = 'dvb' (string) >> EOF >> hal-device --add usb_device_2304_21f_noserial_dvb_2 < > Hi, > > Could you have changed this into "execve()" calls (man execve) and add these > to webcamd.c whenever cuse_dev_create() is called? Also for /dev/videoX > entries. Then we don't need to patch HAL? Yeah, if webcamd can notify hal that new dvb and v4l devices are available (and what those devices' capabilities are) then we can remove the patches from hal. Joe -- Joe Marcus Clarke FreeBSD GNOME Team :: gnome@FreeBSD.org FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome From owner-freebsd-gnome@FreeBSD.ORG Tue Aug 24 21:13:03 2010 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 ED7C81065695; Tue, 24 Aug 2010 21:13:03 +0000 (UTC) (envelope-from marcus@freebsd.org) Received: from av-tac-rtp.cisco.com (hen.cisco.com [64.102.19.198]) by mx1.freebsd.org (Postfix) with ESMTP id 8B7B38FC17; Tue, 24 Aug 2010 21:13:03 +0000 (UTC) X-TACSUNS: Virus Scanned Received: from rooster.cisco.com (localhost.cisco.com [127.0.0.1]) by av-tac-rtp.cisco.com (8.13.8+Sun/8.13.8) with ESMTP id o7OLD2ue018661; Tue, 24 Aug 2010 17:13:02 -0400 (EDT) Received: from fruit-rollup.marcuscom.com (jclarke-pc.cisco.com [172.18.254.236]) by rooster.cisco.com (8.13.8+Sun/8.13.8) with ESMTP id o7OLD28s017857; Tue, 24 Aug 2010 17:13:02 -0400 (EDT) Message-ID: <4C7435DE.7060106@freebsd.org> Date: Tue, 24 Aug 2010 17:13:02 -0400 From: Joe Marcus Clarke Organization: FreeBSD, Inc. User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: Hans Petter Selasky References: <4C66C4BC.4040504@janh.de> <201008230914.30762.hselasky@freebsd.org> <20100824202118.GA38687@triton8.kn-bremen.de> <201008242304.54247.hselasky@freebsd.org> <4C7435AA.50805@freebsd.org> In-Reply-To: <4C7435AA.50805@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: me@janh.de, kde@freebsd.org, Juergen Lock , freebsd-multimedia@freebsd.org, gnome@freebsd.org Subject: Re: kaffeine-1.0 and webcamd based DVB-T? 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: Tue, 24 Aug 2010 21:13:04 -0000 On 8/24/10 5:12 PM, Joe Marcus Clarke wrote: > On 8/24/10 5:04 PM, Hans Petter Selasky wrote: >> On Tuesday 24 August 2010 22:21:18 Juergen Lock wrote: >>> #! /bin/sh >>> # add PCTV 452e Sat HDTV Pro USB to hal as /dev/dvb/adapter0 >>> hal-device --add usb_device_2304_21f_noserial_dvb_0 <>> dvb.device = '/dev/dvb/adapter0/demux0' (string) >>> info.capabilities = {'dvb'} (string list) >>> info.category = 'dvb' (string) >>> info.parent = >>> '/org/freedesktop/Hal/devices/usb_device_2304_21f_noserial' (string) >>> info.product = 'DVB Device' (string) >>> info.subsystem = 'dvb' (string) >>> EOF >>> hal-device --add usb_device_2304_21f_noserial_dvb_1 <>> dvb.device = '/dev/dvb/adapter0/dvr0' (string) >>> info.capabilities = {'dvb'} (string list) >>> info.category = 'dvb' (string) >>> info.parent = >>> '/org/freedesktop/Hal/devices/usb_device_2304_21f_noserial' (string) >>> info.product = 'DVB Device' (string) >>> info.subsystem = 'dvb' (string) >>> EOF >>> hal-device --add usb_device_2304_21f_noserial_dvb_2 <> >> Hi, >> >> Could you have changed this into "execve()" calls (man execve) and add these >> to webcamd.c whenever cuse_dev_create() is called? Also for /dev/videoX >> entries. Then we don't need to patch HAL? > > Yeah, if webcamd can notify hal that new dvb and v4l devices are > available (and what those devices' capabilities are) then we can remove > the patches from hal. Oh, and webcamd's rc.d script will need to be updated to depend on hald. Joe -- Joe Marcus Clarke FreeBSD GNOME Team :: gnome@FreeBSD.org FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome From owner-freebsd-gnome@FreeBSD.ORG Tue Aug 24 21:21:34 2010 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 D0D8010656C4; Tue, 24 Aug 2010 21:21:34 +0000 (UTC) (envelope-from hselasky@freebsd.org) Received: from swip.net (mailfe04.swip.net [212.247.154.97]) by mx1.freebsd.org (Postfix) with ESMTP id CD9A48FC1E; Tue, 24 Aug 2010 21:21:33 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=bqAX4Es/FymT96iuQFWdNJXS7SazJpmZM5WIJFHIREc= c=1 sm=1 a=ivRC_LpHlL4A:10 a=8nJEP1OIZ-IA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=Q2iUx90YNlKbYAF472QA:9 a=qzJECee2gBapu4z5K86xVuHt070A:4 a=wPNLvfGTeEIA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:117 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe04.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 11228050; Tue, 24 Aug 2010 23:21:30 +0200 Received-SPF: softfail receiver=mailfe04.swip.net; client-ip=188.126.201.140; envelope-from=hselasky@freebsd.org From: Hans Petter Selasky To: freebsd-multimedia@freebsd.org Date: Tue, 24 Aug 2010 23:17:37 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) References: <4C66C4BC.4040504@janh.de> <4C7435AA.50805@freebsd.org> <4C7435DE.7060106@freebsd.org> In-Reply-To: <4C7435DE.7060106@freebsd.org> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201008242317.37648.hselasky@freebsd.org> Cc: me@janh.de, kde@freebsd.org, Joe Marcus Clarke , Juergen Lock , gnome@freebsd.org Subject: Re: kaffeine-1.0 and webcamd based DVB-T? 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: Tue, 24 Aug 2010 21:21:34 -0000 On Tuesday 24 August 2010 23:13:02 Joe Marcus Clarke wrote: > Oh, and webcamd's rc.d script will need to be updated to depend on hald. That's a problem, because then we need to make devd rc-script depend on hald too. --HPS From owner-freebsd-gnome@FreeBSD.ORG Tue Aug 24 21:50:43 2010 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 81CC610656AB; Tue, 24 Aug 2010 21:50:43 +0000 (UTC) (envelope-from marcus@freebsd.org) Received: from av-tac-rtp.cisco.com (hen.cisco.com [64.102.19.198]) by mx1.freebsd.org (Postfix) with ESMTP id 35FE28FC17; Tue, 24 Aug 2010 21:50:42 +0000 (UTC) X-TACSUNS: Virus Scanned Received: from rooster.cisco.com (localhost.cisco.com [127.0.0.1]) by av-tac-rtp.cisco.com (8.13.8+Sun/8.13.8) with ESMTP id o7OLogoJ021345; Tue, 24 Aug 2010 17:50:42 -0400 (EDT) Received: from fruit-rollup.marcuscom.com (jclarke-pc.cisco.com [172.18.254.236]) by rooster.cisco.com (8.13.8+Sun/8.13.8) with ESMTP id o7OLofE1023268; Tue, 24 Aug 2010 17:50:41 -0400 (EDT) Message-ID: <4C743EB1.60608@freebsd.org> Date: Tue, 24 Aug 2010 17:50:41 -0400 From: Joe Marcus Clarke Organization: FreeBSD, Inc. User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: Hans Petter Selasky References: <4C66C4BC.4040504@janh.de> <4C7435AA.50805@freebsd.org> <4C7435DE.7060106@freebsd.org> <201008242317.37648.hselasky@freebsd.org> In-Reply-To: <201008242317.37648.hselasky@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org, me@janh.de, kde@freebsd.org, Juergen Lock , gnome@freebsd.org Subject: Re: kaffeine-1.0 and webcamd based DVB-T? 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: Tue, 24 Aug 2010 21:50:43 -0000 On 8/24/10 5:17 PM, Hans Petter Selasky wrote: > On Tuesday 24 August 2010 23:13:02 Joe Marcus Clarke wrote: >> Oh, and webcamd's rc.d script will need to be updated to depend on hald. > > That's a problem, because then we need to make devd rc-script depend on hald > too. That can't happen as hald requires devd for device hotplug updates. If webcamd is calling hal-device, why does devd need to depend on hald? Joe -- Joe Marcus Clarke FreeBSD GNOME Team :: gnome@FreeBSD.org FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome From owner-freebsd-gnome@FreeBSD.ORG Wed Aug 25 07:28:25 2010 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 61C3B106566B; Wed, 25 Aug 2010 07:28:25 +0000 (UTC) (envelope-from hselasky@freebsd.org) Received: from swip.net (mailfe03.swip.net [212.247.154.65]) by mx1.freebsd.org (Postfix) with ESMTP id 5C5E68FC15; Wed, 25 Aug 2010 07:28:23 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=tumaaA6jyRO6uOJXwJ9zBqfKx0+WtA7m4Qh1fZXYtZM= c=1 sm=1 a=ivRC_LpHlL4A:10 a=8nJEP1OIZ-IA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=EePm1JbKptIs49ezEdcA:9 a=M5zq-a1HLVbINvOLIwNwCZ-KIWIA:4 a=wPNLvfGTeEIA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:117 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe03.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 11332822; Wed, 25 Aug 2010 09:28:20 +0200 Received-SPF: softfail receiver=mailfe03.swip.net; client-ip=188.126.201.140; envelope-from=hselasky@freebsd.org From: Hans Petter Selasky To: Joe Marcus Clarke Date: Wed, 25 Aug 2010 09:24:27 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) References: <4C66C4BC.4040504@janh.de> <201008242317.37648.hselasky@freebsd.org> <4C743EB1.60608@freebsd.org> In-Reply-To: <4C743EB1.60608@freebsd.org> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201008250924.27854.hselasky@freebsd.org> Cc: freebsd-multimedia@freebsd.org, me@janh.de, kde@freebsd.org, Juergen Lock , gnome@freebsd.org Subject: Re: kaffeine-1.0 and webcamd based DVB-T? 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: Wed, 25 Aug 2010 07:28:25 -0000 On Tuesday 24 August 2010 23:50:41 Joe Marcus Clarke wrote: > On 8/24/10 5:17 PM, Hans Petter Selasky wrote: > > On Tuesday 24 August 2010 23:13:02 Joe Marcus Clarke wrote: > >> Oh, and webcamd's rc.d script will need to be updated to depend on hald. > > > > That's a problem, because then we need to make devd rc-script depend on > > hald too. > > That can't happen as hald requires devd for device hotplug updates. If > webcamd is calling hal-device, why does devd need to depend on hald? > I didn't know that. Then it should be Ok. --HPS From owner-freebsd-gnome@FreeBSD.ORG Wed Aug 25 21:46:45 2010 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 251091065695; Wed, 25 Aug 2010 21:46:45 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id 95B3C8FC13; Wed, 25 Aug 2010 21:46:44 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 27E971E00076; Wed, 25 Aug 2010 23:46:43 +0200 (CEST) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.4/8.14.3) with ESMTP id o7PLffaU009221; Wed, 25 Aug 2010 23:41:41 +0200 (CEST) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.4/8.14.3/Submit) id o7PLffTi009220; Wed, 25 Aug 2010 23:41:41 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Wed, 25 Aug 2010 23:41:41 +0200 To: Joe Marcus Clarke Message-ID: <20100825214141.GA8685@triton8.kn-bremen.de> References: <4C66C4BC.4040504@janh.de> <201008230914.30762.hselasky@freebsd.org> <20100824202118.GA38687@triton8.kn-bremen.de> <201008242304.54247.hselasky@freebsd.org> <4C7435AA.50805@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C7435AA.50805@freebsd.org> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: me@janh.de, kde@freebsd.org, Hans Petter Selasky , Juergen Lock , freebsd-multimedia@freebsd.org, gnome@freebsd.org Subject: Re: kaffeine-1.0 and webcamd based DVB-T? 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: Wed, 25 Aug 2010 21:46:45 -0000 On Tue, Aug 24, 2010 at 05:12:10PM -0400, Joe Marcus Clarke wrote: > On 8/24/10 5:04 PM, Hans Petter Selasky wrote: > > On Tuesday 24 August 2010 22:21:18 Juergen Lock wrote: > >> #! /bin/sh > >> # add PCTV 452e Sat HDTV Pro USB to hal as /dev/dvb/adapter0 > >> hal-device --add usb_device_2304_21f_noserial_dvb_0 < >> dvb.device = '/dev/dvb/adapter0/demux0' (string) > >> info.capabilities = {'dvb'} (string list) > >> info.category = 'dvb' (string) > >> info.parent = > >> '/org/freedesktop/Hal/devices/usb_device_2304_21f_noserial' (string) > >> info.product = 'DVB Device' (string) > >> info.subsystem = 'dvb' (string) > >> EOF > >> hal-device --add usb_device_2304_21f_noserial_dvb_1 < >> dvb.device = '/dev/dvb/adapter0/dvr0' (string) > >> info.capabilities = {'dvb'} (string list) > >> info.category = 'dvb' (string) > >> info.parent = > >> '/org/freedesktop/Hal/devices/usb_device_2304_21f_noserial' (string) > >> info.product = 'DVB Device' (string) > >> info.subsystem = 'dvb' (string) > >> EOF > >> hal-device --add usb_device_2304_21f_noserial_dvb_2 < > > > Hi, > > > > Could you have changed this into "execve()" calls (man execve) and add these > > to webcamd.c whenever cuse_dev_create() is called? Also for /dev/videoX > > entries. Then we don't need to patch HAL? > > Yeah, if webcamd can notify hal that new dvb and v4l devices are > available (and what those devices' capabilities are) then we can remove > the patches from hal. Ok I now made that an extra process (so it can open() /dev/videoX normally and also that way webcamd itself doesn't have to link libhal and possible problems with fork() and threads are avoided), webcamd then just feeds it the device nodes on stdin. Untested with v4l devices since I don't have one here, and I also built the helper manually for now and put it into PATH. And the code can still be cleaned up... helper built as: cc -o webcamd-hal-helper -Wall webcamd-hal-helper.c $(pkg-config --cflags hal) $(pkg-config --libs hal) -I/usr/local/include Patch also at: http://people.freebsd.org/~nox/tmp/webcamd-hal.patch HTH, :) Juergen Index: webcamd.c =================================================================== --- webcamd.c (revision 1621) +++ webcamd.c (working copy) @@ -37,6 +37,11 @@ #include +#ifndef HALHELPER +/* Helper process that feeds webcamd cuse4bsd device nodes into hal */ +#define HALHELPER "webcamd-hal-helper" +#endif + static cuse_open_t v4b_open; static cuse_close_t v4b_close; static cuse_read_t v4b_read; @@ -76,6 +81,9 @@ static int do_fork = 0; static int do_realtime = 1; static struct pidfh *local_pid = NULL; +#ifdef HALHELPER +static FILE *fp_halhelper = NULL; +#endif char global_fw_prefix[128] = {"/boot/modules"}; @@ -309,6 +317,13 @@ printf("Creating /dev/"); printf(devnames[n / F_V4B_SUBDEV_MAX], temp); printf("\n"); +#ifdef HALHELPER + if (fp_halhelper) { + fprintf(fp_halhelper, "/dev/"); + fprintf(fp_halhelper, devnames[n / F_V4B_SUBDEV_MAX], temp); + fprintf(fp_halhelper, "\n"); + } +#endif ndev++; } @@ -354,6 +369,10 @@ pidfile_remove(local_pid); local_pid = NULL; } +#ifdef HALHELPER + if (fp_halhelper) + pclose(fp_halhelper); +#endif } int @@ -375,6 +394,24 @@ pidfile_write(local_pid); } +#ifdef HALHELPER + snprintf(buf, sizeof(buf), "%d", bus); + setenv("HAL_PROP_USB_BUS_NUMBER", buf, 1); + snprintf(buf, sizeof(buf), "%d", addr); + setenv("HAL_PROP_USB_PORT_NUMBER", buf, 1); + snprintf(buf, sizeof(buf), "%d", 0); + setenv("HAL_PROP_USB_INTERFACE_NUMBER", buf, 1); + + if ((fp_halhelper = popen(HALHELPER, "w")) == NULL) { + /* XXX */ + return (EEXIST); + } + /* Use line buffering */ + setvbuf(fp_halhelper, (char *)NULL, _IOLBF, 0); + /* Keep going if helper exits (e.g. because hal is not running...) */ + signal(SIGPIPE, SIG_IGN); +#endif + printf("Attached ugen%d.%d[%d] to cuse unit %d\n", bus, addr, index, u_videodev); --- /dev/null 2010-08-25 23:11:00.000000000 +0200 +++ webcamd-hal-helper.c 2010-08-25 22:32:04.000000000 +0200 @@ -0,0 +1,303 @@ +/*************************************************************************** + * CVSID: $Id$ + * + * webcamd-hal-helper.c : Notify hal of webcamd cuse4bsd device nodes + * + * build as: + * cc -o webcamd-hal-helper -Wall webcamd-hal-helper.c $(pkg-config --cflags hal) $(pkg-config --libs hal) -I/usr/local/include + * + * Uses code from... + * + * probe-video4linux.c : Probe video4linux devices + * Adapted for FreeBSD by : Joe Marcus Clarke + * + * Copyright (C) 2007 Nokia Corporation + * + * Licensed under the Academic Free License version 2.1 + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + **************************************************************************/ + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "hal/libhal.h" + +#define DEBUG + +#ifdef DEBUG +#define h_info printf +#else +#define h_info(...) /* */ +#endif + +typedef struct { + char *udi; + char *real_udi; +} new_dev_t; + +static char * +find_usb_udi (LibHalContext *ctx, int bus, int addr) +{ + int i, num_devices; + + char **u_devs = libhal_manager_find_device_string_match + (ctx, "info.bus", "usb_device", &num_devices, NULL); + + if (!u_devs || !num_devices) + return NULL; + + for (i = 0; i < num_devices; ++i) { + if (libhal_device_get_property_int(ctx, u_devs[i], + "usb_device.bus_number", NULL) == bus && + libhal_device_get_property_int(ctx, u_devs[i], + "usb_device.port_number", NULL) == addr) + return u_devs[i]; + } + return NULL; +} + +int +main (int argc, char **argv) +{ + int ret = 1; + int fd = -1; + int bus = -1; + int addr = -1; + int intf = -1; + int dvbindex = 0; + char *device_file = NULL; + char *busstr; + char *addrstr; + char *intfstr; + struct video_capability v1cap; + struct v4l2_capability v2cap; + + DBusError error; + DBusConnection *conn; + LibHalContext *hal_ctx; + LibHalChangeSet *cset; + + busstr = getenv ("HAL_PROP_USB_BUS_NUMBER"); + if (! busstr) + goto out; + addrstr = getenv ("HAL_PROP_USB_PORT_NUMBER"); + if (! addrstr) + goto out; + intfstr = getenv ("HAL_PROP_USB_INTERFACE_NUMBER"); + if (! intfstr) + goto out; + + bus = atoi (busstr); + addr = atoi (addrstr); + intf = atoi (intfstr); + + if (intf != 0) + goto out; + + dbus_error_init(&error); + if (!(conn = dbus_bus_get(DBUS_BUS_SYSTEM, &error))) { + fprintf(stderr, "error: dbus_bus_get: %s: %s\n", error.name, error.message); + LIBHAL_FREE_DBUS_ERROR (&error); + return 2; + } + + if (!(hal_ctx = libhal_ctx_new())) return 3; + if (!libhal_ctx_set_dbus_connection(hal_ctx, conn)) return 4; + if (!libhal_ctx_init(hal_ctx, &error)) { + if (dbus_error_is_set(&error)) { + fprintf (stderr, "error: libhal_ctx_init: %s: %s\n", error.name, error.message); + dbus_error_free (&error); + } + fprintf (stderr, "Could not initialise connection to hald.\n" + "Normally this means the HAL daemon (hald) is not running or not ready.\n"); + return 5; + } + + char *hal_udi = find_usb_udi (hal_ctx, bus, addr); + if (hal_udi == NULL) { + fprintf(stderr, "Device not found in hal: usb bus %d, address %d\n", + bus, addr); + goto out; + } + + char line[0x1000]; + + /* give a meaningful process title for ps(1) */ + setproctitle("%s (bus: %i, addr: %i)", hal_udi, bus, addr); + + while (42) { + size_t len; + + device_file = fgets(line, sizeof line, stdin); + if (device_file == NULL || !(len = strlen(device_file)) || + device_file[len - 1] != '\n') + break; + device_file[len - 1] = '\0'; + + if (!strncmp(device_file, "/dev/video", sizeof "/dev/video" - 1)) { + cset = libhal_device_new_changeset (hal_udi); + + h_info ("Doing probe-video4linux-hal for %s (udi=%s)\n", device_file, hal_udi); + + fd = open (device_file, O_RDONLY); + if (fd < 0) { + fprintf(stderr, "Cannot open %s: %s\n", device_file, strerror (errno)); + goto out; + } + + if (ioctl (fd, VIDIOC_QUERYCAP, &v2cap) == 0) { + libhal_changeset_set_property_string (cset, + "video4linux.device", device_file); + libhal_changeset_set_property_string (cset, + "info.category", "video4linux"); + libhal_changeset_set_property_string (cset, + "video4linux.version", "2"); + + libhal_changeset_set_property_string (cset, + "info.product", (const char *)v2cap.card); + + libhal_device_add_capability (hal_ctx, hal_udi, "video4linux", NULL); + if ((v2cap.capabilities & V4L2_CAP_VIDEO_CAPTURE) > 0) { + libhal_device_add_capability (hal_ctx, hal_udi, "video4linux.video_capture", NULL); + } if ((v2cap.capabilities & V4L2_CAP_VIDEO_OUTPUT) > 0) { + libhal_device_add_capability (hal_ctx, hal_udi, "video4linux.video_output", NULL); + } if ((v2cap.capabilities & V4L2_CAP_VIDEO_OVERLAY) > 0) { + libhal_device_add_capability (hal_ctx, hal_udi, "video4linux.video_overlay", NULL); + } if ((v2cap.capabilities & V4L2_CAP_AUDIO) > 0) { + libhal_device_add_capability (hal_ctx, hal_udi, "video4linux.audio", NULL); + } if ((v2cap.capabilities & V4L2_CAP_TUNER) > 0) { + libhal_device_add_capability (hal_ctx, hal_udi, "video4linux.tuner", NULL); + } if ((v2cap.capabilities & V4L2_CAP_RADIO) > 0) { + libhal_device_add_capability (hal_ctx, hal_udi, "video4linux.radio", NULL); + } + } else { + h_info (("ioctl VIDIOC_QUERYCAP failed\n")); + + if (ioctl (fd, VIDIOCGCAP, &v1cap) == 0) { + libhal_changeset_set_property_string (cset, + "video4linux.device", device_file); + libhal_changeset_set_property_string (cset, + "info.category", "video4linux"); + libhal_changeset_set_property_string (cset, + "video4linux.version", "1"); + + libhal_changeset_set_property_string (cset, + "info.product", v1cap.name); + + libhal_device_add_capability (hal_ctx, hal_udi, "video4linux", NULL); + if ((v1cap.type & VID_TYPE_CAPTURE) > 0) { + libhal_device_add_capability (hal_ctx, hal_udi, "video4linux.video_capture", NULL); + } if ((v1cap.type & VID_TYPE_OVERLAY) > 0) { + libhal_device_add_capability (hal_ctx, hal_udi, "video4linux.video_overlay", NULL); + } if (v1cap.audios > 0) { + libhal_device_add_capability (hal_ctx, hal_udi, "video4linux.audio", NULL); + } if ((v1cap.type & VID_TYPE_TUNER) > 0) { + libhal_device_add_capability (hal_ctx, hal_udi, "video4linux.tuner", NULL); + } + } else { + h_info (("ioctl VIDIOCGCAP failed; not a v4l device\n")); + } + } + + libhal_device_commit_changeset (hal_ctx, cset, NULL); + libhal_device_free_changeset (cset); + + close (fd); + } else if (!strncmp(device_file, "/dev/dvb/adapter", sizeof "/dev/dvb/adapter" - 1)) { + char *dvbudi; + new_dev_t new_dev; + + if (asprintf(&dvbudi, "%s_dvb_%d", hal_udi, dvbindex++) == -1) { + perror("asprintf"); + goto out; + } + new_dev.udi = strdup(dvbudi); + int dev_exists = libhal_device_exists(hal_ctx, dvbudi, NULL); + + if (dev_exists) { + new_dev.real_udi = strdup(new_dev.udi); + } else { + new_dev.real_udi = libhal_new_device(hal_ctx, &error); + + if (!new_dev.real_udi) { + fprintf(stderr, "%s: %s\n", error.name, error.message); + LIBHAL_FREE_DBUS_ERROR (&error); + free(new_dev.real_udi); + + ret = 22; + goto out; + } + + //printf("tmp udi: %s\n", new_dev.real_udi); + } + + cset = libhal_device_new_changeset (new_dev.real_udi); + + h_info ("Doing add-dvb-hal for %s (udi=%s)\n", device_file, new_dev.udi); + libhal_changeset_set_property_string (cset, + "dvb.device", device_file); + libhal_changeset_set_property_string (cset, + "info.category", "dvb"); + libhal_changeset_set_property_string (cset, + "info.parent", hal_udi); + libhal_changeset_set_property_string (cset, + "info.product", "DVB Device"); + libhal_changeset_set_property_string (cset, + "info.subsystem", "dvb"); + libhal_device_add_capability (hal_ctx, new_dev.real_udi, "dvb", NULL); + + libhal_device_commit_changeset (hal_ctx, cset, NULL); + libhal_device_free_changeset (cset); + + if (!dev_exists && + !libhal_device_commit_to_gdl(hal_ctx, new_dev.real_udi, new_dev.udi, &error)) { + fprintf(stderr, "%s: %s\n", error.name, error.message); + LIBHAL_FREE_DBUS_ERROR (&error); + free(new_dev.real_udi); + + ret = 23; + goto out; + } + } else { + printf("Unhandled device %s\n", device_file); + } + } + + ret = 0; + +out: + if (fd >= 0) + close (fd); + + return ret; +} From owner-freebsd-gnome@FreeBSD.ORG Wed Aug 25 21:54:03 2010 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 954C61065698; Wed, 25 Aug 2010 21:54:03 +0000 (UTC) (envelope-from hselasky@freebsd.org) Received: from swip.net (mailfe08.swip.net [212.247.154.225]) by mx1.freebsd.org (Postfix) with ESMTP id 8AD438FC17; Wed, 25 Aug 2010 21:54:02 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=A9i2abt5RTkKnggEwMfGtMsecE7KHeOxIgKEeBb2Lvo= c=1 sm=1 a=ivRC_LpHlL4A:10 a=8nJEP1OIZ-IA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=6I5d2MoRAAAA:8 a=8Op3mD2uhU6W424Vr4cA:9 a=zU0t65C9BywTRlbtPIIA:7 a=HC-w9wRa-t_72QU5SBF_ozPX-bwA:4 a=wPNLvfGTeEIA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:117 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe08.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 11128868; Wed, 25 Aug 2010 23:53:57 +0200 Received-SPF: softfail receiver=mailfe08.swip.net; client-ip=188.126.201.140; envelope-from=hselasky@freebsd.org From: Hans Petter Selasky To: freebsd-multimedia@freebsd.org Date: Wed, 25 Aug 2010 23:50:05 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) References: <4C66C4BC.4040504@janh.de> <4C7435AA.50805@freebsd.org> <20100825214141.GA8685@triton8.kn-bremen.de> In-Reply-To: <20100825214141.GA8685@triton8.kn-bremen.de> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201008252350.05592.hselasky@freebsd.org> Cc: me@janh.de, kde@freebsd.org, Joe Marcus Clarke , Juergen Lock , gnome@freebsd.org Subject: Re: kaffeine-1.0 and webcamd based DVB-T? 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: Wed, 25 Aug 2010 21:54:03 -0000 On Wednesday 25 August 2010 23:41:41 Juergen Lock wrote: > On Tue, Aug 24, 2010 at 05:12:10PM -0400, Joe Marcus Clarke wrote: > > On 8/24/10 5:04 PM, Hans Petter Selasky wrote: > > > On Tuesday 24 August 2010 22:21:18 Juergen Lock wrote: > > >> #! /bin/sh > > >> # add PCTV 452e Sat HDTV Pro USB to hal as /dev/dvb/adapter0 > > >> hal-device --add usb_device_2304_21f_noserial_dvb_0 < > >> dvb.device = '/dev/dvb/adapter0/demux0' (string) > > >> info.capabilities = {'dvb'} (string list) > > >> info.category = 'dvb' (string) > > >> info.parent = > > >> '/org/freedesktop/Hal/devices/usb_device_2304_21f_noserial' (string) > > >> info.product = 'DVB Device' (string) > > >> info.subsystem = 'dvb' (string) > > >> EOF > > >> hal-device --add usb_device_2304_21f_noserial_dvb_1 < > >> dvb.device = '/dev/dvb/adapter0/dvr0' (string) > > >> info.capabilities = {'dvb'} (string list) > > >> info.category = 'dvb' (string) > > >> info.parent = > > >> '/org/freedesktop/Hal/devices/usb_device_2304_21f_noserial' (string) > > >> info.product = 'DVB Device' (string) > > >> info.subsystem = 'dvb' (string) > > >> EOF > > >> hal-device --add usb_device_2304_21f_noserial_dvb_2 < > > > > > Hi, > > > > > > Could you have changed this into "execve()" calls (man execve) and add > > > these to webcamd.c whenever cuse_dev_create() is called? Also for > > > /dev/videoX entries. Then we don't need to patch HAL? > > > > Yeah, if webcamd can notify hal that new dvb and v4l devices are > > available (and what those devices' capabilities are) then we can remove > > the patches from hal. > > Ok I now made that an extra process (so it can open() /dev/videoX > normally and also that way webcamd itself doesn't have to link > libhal and possible problems with fork() and threads are avoided), > webcamd then just feeds it the device nodes on stdin. > > Untested with v4l devices since I don't have one here, and > I also built the helper manually for now and put it into PATH. > And the code can still be cleaned up... > > helper built as: > > cc -o webcamd-hal-helper -Wall webcamd-hal-helper.c $(pkg-config --cflags > hal) $(pkg-config --libs hal) -I/usr/local/include > > Patch also at: > > http://people.freebsd.org/~nox/tmp/webcamd-hal.patch > > HTH, :) > Juergen Looks good. Could you also register an atexit() function, that cleans up the HAL registry when webcamd exits? --HPS From owner-freebsd-gnome@FreeBSD.ORG Thu Aug 26 07:00:24 2010 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 914651065694 for ; Thu, 26 Aug 2010 07:00:24 +0000 (UTC) (envelope-from marcus@freebsd.org) Received: from av-tac-rtp.cisco.com (hen.cisco.com [64.102.19.198]) by mx1.freebsd.org (Postfix) with ESMTP id 4A91A8FC0A for ; Thu, 26 Aug 2010 07:00:23 +0000 (UTC) X-TACSUNS: Virus Scanned Received: from rooster.cisco.com (localhost.cisco.com [127.0.0.1]) by av-tac-rtp.cisco.com (8.13.8+Sun/8.13.8) with ESMTP id o7Q70HKq016274; Thu, 26 Aug 2010 03:00:17 -0400 (EDT) Received: from fruit-rollup.marcuscom.com (jclarke-pc.cisco.com [172.18.254.236]) by rooster.cisco.com (8.13.8+Sun/8.13.8) with ESMTP id o7Q70FQX001135; Thu, 26 Aug 2010 03:00:15 -0400 (EDT) Message-ID: <4C7610FE.6010605@freebsd.org> Date: Thu, 26 Aug 2010 03:00:14 -0400 From: Joe Marcus Clarke Organization: FreeBSD, Inc. User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: Kevin Oberman References: <20100824193137.31AAE1CC3A@ptavv.es.net> In-Reply-To: <20100824193137.31AAE1CC3A@ptavv.es.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: gnome@freebsd.org Subject: Re: ports/149134: x11/gnome2 unable to unmount UFS file system 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: Thu, 26 Aug 2010 07:00:24 -0000 On 8/24/10 3:31 PM, Kevin Oberman wrote: >> Date: Tue, 17 Aug 2010 02:05:28 -0400 >> From: Joe Marcus Clarke >> >> On 8/16/10 4:36 PM, Kevin Oberman wrote: >>> Please see the following files: >>> http://home.comcast.net/~k.oberman/FreeBSD/dmesg.boot >>> http://home.comcast.net/~k.oberman/FreeBSD/fstab.out >>> http://home.comcast.net/~k.oberman/FreeBSD/hald.debug >>> http://home.comcast.net/~k.oberman/FreeBSD/kern.geom.conftxt >>> http://home.comcast.net/~k.oberman/FreeBSD/lshal.out >>> http://home.comcast.net/~k.oberman/FreeBSD/mount.out >>> >>> I think the names are self-descriptive. >>> >>> The volume in question is /dev/da1s2 or /dev/ufs/Scratchd mounted as >>> /media/Scratch. After hald was started, I used the Nautilus pop-up menu >>> 'Unmount' item to unmount it. Got a raft of "Unknown errors". If the >>> volume re-mounts as "Scratch", as it did in this case, I can try again. >>> It often fails to delete the /media/Scratch directory and re-mounts as >>> '/media/Scratch_' and further attempt get an "Operation not permitted" >>> message. >> >> And what does the output look like after you try to unmount the drive >> (output of the sysctl and mount(8))? > > Sorry for the slow response. I've been pretty busy and I want to do > this stuff when I can concentrate on it a bit so I don't waste your time. > > Try as I might, I can't get it back into the "won't unmount" > condition. It now always re-mounts. I've done so at least 10 times just > now. Sometimes it manages to delete a directory and sometimes it creates > a new one. I don't see how this could be happening since hal ignores ufs and ufsid partitions. Are you sure you don't have any local hal patches which are overriding the CVS versions? In particular, patch-hald_hf-storage.c has code to check for and ignore any partition that starts with ufs/. Since this used to work, and now doesn't, I suspect a local problem with your hal installation. Joe > >> ls /media > MUSIC/ Scratch/ Scratch__/ Scratch____/ > MUSIC2/ Scratch_/ Scratch___/ >> df /media/* > Filesystem 1K-blocks Used Avail Capacity Mounted on > /dev/msdosfs/MUSIC 78128640 77788544 340096 100% /media/MUSIC > /dev/msdosfs/MUSIC2 134182272 77694944 56487328 58% /media/MUSIC2 > /dev/ufs/Scratchd 106517700 56988252 41008032 58% /media/Scratch > /dev/ad0s3a 507630 324926 142094 70% / > /dev/ad0s3a 507630 324926 142094 70% / > /dev/ad0s3a 507630 324926 142094 70% / > /dev/ad0s3a 507630 324926 142094 70% / > > No, I don't understand the three listings of root. > > I do notices the da0s2 and da0s2d always show up, but ufs/Scratch and > ufs/Scratchd come and go. They are always there after the first mount. > > It looks very much like what I was seeing before you tried teaching hald > to ignore /dev/ufs. Looks like, for some reason, it is still seeing > it. lshal shows it. > > udi = '/org/freedesktop/Hal/devices/volume_size_112620533760' > block.device = '/dev/ufs/Scratch' (string) > block.is_volume = true (bool) > block.major = 0 (0x0) (int) > block.minor = 139 (0x8b) (int) > block.storage_device = '/org/freedesktop/Hal/devices/storage_model_00BEVS_00VAT0$ > info.capabilities = {'block', 'volume'} (string list) > info.category = 'volume' (string) > info.parent = '/org/freedesktop/Hal/devices/volume_part3_size_112620533760' (st$ > info.product = 'Volume' (string) > info.subsystem = 'block' (string) > info.udi = '/org/freedesktop/Hal/devices/volume_size_112620533760' (string) > volume.block_size = 512 (0x200) (uint64) > volume.fstype = '' (string) > volume.fsusage = 'partitiontable' (string) > volume.ignore = true (bool) > volume.is_disc = false (bool) > volume.is_mounted = false (bool) > volume.is_mounted_read_only = false (bool) > volume.is_partition = false (bool) > volume.label = '' (string) > volume.mount_point = '' (string) > volume.num_blocks = 219961980 (0xd1c5a7c) (uint64) > volume.size = 112620533760 (0x1a38b4f800) (uint64) > volume.uuid = '' (string) > > udi = '/org/freedesktop/Hal/devices/volume_label_Scratch' > block.device = '/dev/ufs/Scratchd' (string) > block.is_volume = true (bool) > block.major = 0 (0x0) (int) > block.minor = 141 (0x8d) (int) > block.storage_device = '/org/freedesktop/Hal/devices/storage_model_00BEVS_00VAT0$ > info.capabilities = {'block', 'volume'} (string list) > info.category = 'volume' (string) > info.interfaces = {'org.freedesktop.Hal.Device.Volume'} (string list) > info.parent = '/org/freedesktop/Hal/devices/volume_size_112620533760' (string) > info.product = 'Scratch' (string) > info.subsystem = 'block' (string) > info.udi = '/org/freedesktop/Hal/devices/volume_label_Scratch' (string) > org.freedesktop.Hal.Device.Volume.method_argnames = {'mount_point fstype extra_o$ > org.freedesktop.Hal.Device.Volume.method_execpaths = {'hal-storage-mount', 'hal-$ > org.freedesktop.Hal.Device.Volume.method_names = {'Mount', 'Unmount', 'Eject'} ($ > org.freedesktop.Hal.Device.Volume.method_signatures = {'ssas', 'as', 'as'} (stri$ > volume.block_size = 512 (0x200) (uint64) > volume.freebsd.ufsid = '4c43cc21c711100c' (string) > volume.fstype = 'ufs' (string) > volume.fsusage = 'filesystem' (string) > volume.fsversion = '2' (string) > volume.ignore = false (bool) > volume.is_disc = false (bool) > volume.is_mounted = true (bool) > volume.is_mounted_read_only = false (bool) > volume.is_partition = false (bool) > volume.label = 'Scratch' (string) > volume.mount.valid_options = {'ro', 'noexec', 'noatime'} (string list) > volume.mount_point = '/media/Scratch' (string) > volume.num_blocks = 219961980 (0xd1c5a7c) (uint64) > volume.size = 112620533760 (0x1a38b4f800) (uint64) > volume.uuid = '' (string) > > Here are a series of the sysctl and mount. > This one is before the first attempt to unmount the filesystem: > 0 DISK da0 250059350016 512 hd 255 sc 63 > 1 PART da0s2 112620533760 512 i 2 o 137436203520 ty freebsd xs MBR xt 165 > 2 LABEL ufs/Scratch 112620533760 512 i 0 o 0 > 3 PART ufs/Scratchd 112620533760 512 i 4 o 0 ty freebsd-ufs xs BSD xt 7 > 1 PART da0s1 137436171264 512 i 1 o 32256 ty !12 xs MBR xt 12 > 2 LABEL msdosfs/MUSIC2 137436171264 512 i 0 o 0 > 0 DISK ad2 80026361856 512 hd 16 sc 63 > 1 PART ad2s1 80023233024 512 i 1 o 32256 ty !12 xs MBR xt 12 > 2 LABEL msdosfs/MUSIC 80023233024 512 i 0 o 0 > 0 DISK ad0 80026361856 512 hd 16 sc 63 > 1 PART ad0s4 8027873280 512 i 4 o 71995875840 ty !12 xs MBR xt 12 > 1 PART ad0s3 41974571520 512 i 3 o 30021304320 ty freebsd xs MBR xt 165 > 2 PART ad0s3f 38259786240 512 i 6 o 3714785280 ty freebsd-ufs xs BSD xt 7 > 2 PART ad0s3e 536870912 512 i 5 o 3177914368 ty freebsd-ufs xs BSD xt 7 > 2 PART ad0s3d 1595932672 512 i 4 o 1581981696 ty freebsd-ufs xs BSD xt 7 > 2 PART ad0s3b 1045110784 512 i 2 o 536870912 ty freebsd-swap xs BSD xt 1 > 2 PART ad0s3a 536870912 512 i 1 o 0 ty freebsd-ufs xs BSD xt 7 > 1 PART ad0s2 4250050560 512 i 2 o 25771253760 ty !18 xs MBR xt 18 > 2 LABEL msdosfs/SERVICEV001 4250050560 512 i 0 o 0 > 1 PART ad0s1 25771221504 512 i 1 o 32256 ty !7 xs MBR xt 7 > 0 MD md0 184320 512 u 0 s 512 f 0 fs 0 l 184320 t vnode file /boot/profile/esnet > 1 LABEL ufsid/40a3fabe35c1dddc 184320 512 i 0 o 0 >> mount > /dev/ad0s3a on / (ufs, local, noatime) > devfs on /dev (devfs, local, multilabel) > /dev/ad0s3e on /tmp (ufs, local, noatime, soft-updates) > /dev/ad0s3f on /usr (ufs, local, noatime, soft-updates) > /dev/ad0s3d on /var (ufs, local, noatime, soft-updates) > /dev/ad0s4 on /D (msdosfs, local) > procfs on /proc (procfs, local) > linprocfs on /usr/compat/linux/proc (linprocfs, local) > /dev/md0 on /etc (ufs, local, read-only, union) > /dev/fuse0 on /C (fusefs, local, noatime, synchronous) > /dev/fuse1 on /usr/home/oberman/.gvfs (fusefs, local, nosuid, synchronous, mounted by oberman) > /dev/msdosfs/MUSIC on /media/MUSIC (msdosfs, local, nosuid) > /dev/ufs/Scratchd on /media/Scratch (ufs, local, nosuid, soft-updates) > /dev/msdosfs/MUSIC2 on /media/MUSIC2 (msdosfs, local, nosuid) > > The remainder are after a series of attempt to unmount: >> sysctl -b kern.geom.conftxt > 0 DISK da0 250059350016 512 hd 255 sc 63 > 1 PART da0s2 112620533760 512 i 2 o 137436203520 ty freebsd xs MBR xt 165 > 2 PART da0s2d 112620533760 512 i 4 o 0 ty freebsd-ufs xs BSD xt 7 > 1 PART da0s1 137436171264 512 i 1 o 32256 ty !12 xs MBR xt 12 > 2 LABEL msdosfs/MUSIC2 137436171264 512 i 0 o 0 > 0 DISK ad2 80026361856 512 hd 16 sc 63 > 1 PART ad2s1 80023233024 512 i 1 o 32256 ty !12 xs MBR xt 12 > 2 LABEL msdosfs/MUSIC 80023233024 512 i 0 o 0 > 0 DISK ad0 80026361856 512 hd 16 sc 63 > 1 PART ad0s4 8027873280 512 i 4 o 71995875840 ty !12 xs MBR xt 12 > 1 PART ad0s3 41974571520 512 i 3 o 30021304320 ty freebsd xs MBR xt 165 > 2 PART ad0s3f 38259786240 512 i 6 o 3714785280 ty freebsd-ufs xs BSD xt 7 > 2 PART ad0s3e 536870912 512 i 5 o 3177914368 ty freebsd-ufs xs BSD xt 7 > 2 PART ad0s3d 1595932672 512 i 4 o 1581981696 ty freebsd-ufs xs BSD xt 7 > 2 PART ad0s3b 1045110784 512 i 2 o 536870912 ty freebsd-swap xs BSD xt 1 > 2 PART ad0s3a 536870912 512 i 1 o 0 ty freebsd-ufs xs BSD xt 7 > 1 PART ad0s2 4250050560 512 i 2 o 25771253760 ty !18 xs MBR xt 18 > 2 LABEL msdosfs/SERVICEV001 4250050560 512 i 0 o 0 > 1 PART ad0s1 25771221504 512 i 1 o 32256 ty !7 xs MBR xt 7 > 0 MD md0 184320 512 u 0 s 512 f 0 fs 0 l 184320 t vnode file /boot/profile/esnet > 1 LABEL ufsid/40a3fabe35c1dddc 184320 512 i 0 o 0 >> mount > /dev/ad0s3a on / (ufs, local, noatime) > devfs on /dev (devfs, local, multilabel) > /dev/ad0s3e on /tmp (ufs, local, noatime, soft-updates) > /dev/ad0s3f on /usr (ufs, local, noatime, soft-updates) > /dev/ad0s3d on /var (ufs, local, noatime, soft-updates) > /dev/ad0s4 on /D (msdosfs, local) > procfs on /proc (procfs, local) > linprocfs on /usr/compat/linux/proc (linprocfs, local) > /dev/md0 on /etc (ufs, local, read-only, union) > /dev/fuse0 on /C (fusefs, local, noatime, synchronous) > /dev/fuse1 on /usr/home/oberman/.gvfs (fusefs, local, nosuid, synchronous, mounted by oberman) > /dev/msdosfs/MUSIC on /media/MUSIC (msdosfs, local, nosuid) > /dev/msdosfs/MUSIC2 on /media/MUSIC2 (msdosfs, local, nosuid) > /dev/da0s2d on /media/Scratch (ufs, local, nosuid, soft-updates) >> sysctl -b kern.geom.conftxt > 0 DISK da0 250059350016 512 hd 255 sc 63 > 1 PART da0s2 112620533760 512 i 2 o 137436203520 ty freebsd xs MBR xt 165 > 2 LABEL ufs/Scratch 112620533760 512 i 0 o 0 > 3 PART ufs/Scratchd 112620533760 512 i 4 o 0 ty freebsd-ufs xs BSD xt 7 > 1 PART da0s1 137436171264 512 i 1 o 32256 ty !12 xs MBR xt 12 > 2 LABEL msdosfs/MUSIC2 137436171264 512 i 0 o 0 > 0 DISK ad2 80026361856 512 hd 16 sc 63 > 1 PART ad2s1 80023233024 512 i 1 o 32256 ty !12 xs MBR xt 12 > 2 LABEL msdosfs/MUSIC 80023233024 512 i 0 o 0 > 0 DISK ad0 80026361856 512 hd 16 sc 63 > 1 PART ad0s4 8027873280 512 i 4 o 71995875840 ty !12 xs MBR xt 12 > 1 PART ad0s3 41974571520 512 i 3 o 30021304320 ty freebsd xs MBR xt 165 > 2 PART ad0s3f 38259786240 512 i 6 o 3714785280 ty freebsd-ufs xs BSD xt 7 > 2 PART ad0s3e 536870912 512 i 5 o 3177914368 ty freebsd-ufs xs BSD xt 7 > 2 PART ad0s3d 1595932672 512 i 4 o 1581981696 ty freebsd-ufs xs BSD xt 7 > 2 PART ad0s3b 1045110784 512 i 2 o 536870912 ty freebsd-swap xs BSD xt 1 > 2 PART ad0s3a 536870912 512 i 1 o 0 ty freebsd-ufs xs BSD xt 7 > 1 PART ad0s2 4250050560 512 i 2 o 25771253760 ty !18 xs MBR xt 18 > 2 LABEL msdosfs/SERVICEV001 4250050560 512 i 0 o 0 > 1 PART ad0s1 25771221504 512 i 1 o 32256 ty !7 xs MBR xt 7 > 0 MD md0 184320 512 u 0 s 512 f 0 fs 0 l 184320 t vnode file /boot/profile/esnet > 1 LABEL ufsid/40a3fabe35c1dddc 184320 512 i 0 o 0 >> mount > /dev/ad0s3a on / (ufs, local, noatime) > devfs on /dev (devfs, local, multilabel) > /dev/ad0s3e on /tmp (ufs, local, noatime, soft-updates) > /dev/ad0s3f on /usr (ufs, local, noatime, soft-updates) > /dev/ad0s3d on /var (ufs, local, noatime, soft-updates) > /dev/ad0s4 on /D (msdosfs, local) > procfs on /proc (procfs, local) > linprocfs on /usr/compat/linux/proc (linprocfs, local) > /dev/md0 on /etc (ufs, local, read-only, union) > /dev/fuse0 on /C (fusefs, local, noatime, synchronous) > /dev/fuse1 on /usr/home/oberman/.gvfs (fusefs, local, nosuid, synchronous, mounted by oberman) > /dev/msdosfs/MUSIC on /media/MUSIC (msdosfs, local, nosuid) > /dev/msdosfs/MUSIC2 on /media/MUSIC2 (msdosfs, local, nosuid) > /dev/ufs/Scratchd on /media/Scratch__ (ufs, local, nosuid, soft-updates) >> mount > /dev/ad0s3a on / (ufs, local, noatime) > devfs on /dev (devfs, local, multilabel) > /dev/ad0s3e on /tmp (ufs, local, noatime, soft-updates) > /dev/ad0s3f on /usr (ufs, local, noatime, soft-updates) > /dev/ad0s3d on /var (ufs, local, noatime, soft-updates) > /dev/ad0s4 on /D (msdosfs, local) > procfs on /proc (procfs, local) > linprocfs on /usr/compat/linux/proc (linprocfs, local) > /dev/md0 on /etc (ufs, local, read-only, union) > /dev/fuse0 on /C (fusefs, local, noatime, synchronous) > /dev/fuse1 on /usr/home/oberman/.gvfs (fusefs, local, nosuid, synchronous, mounted by oberman) > /dev/msdosfs/MUSIC on /media/MUSIC (msdosfs, local, nosuid) > /dev/msdosfs/MUSIC2 on /media/MUSIC2 (msdosfs, local, nosuid) > /dev/ufs/Scratchd on /media/Scratch (ufs, local, nosuid, soft-updates) >> sysctl -b kern.geom.conftxt > 0 DISK da0 250059350016 512 hd 255 sc 63 > 1 PART da0s2 112620533760 512 i 2 o 137436203520 ty freebsd xs MBR xt 165 > 2 LABEL ufs/Scratch 112620533760 512 i 0 o 0 > 3 PART ufs/Scratchd 112620533760 512 i 4 o 0 ty freebsd-ufs xs BSD xt 7 > 1 PART da0s1 137436171264 512 i 1 o 32256 ty !12 xs MBR xt 12 > 2 LABEL msdosfs/MUSIC2 137436171264 512 i 0 o 0 > 0 DISK ad2 80026361856 512 hd 16 sc 63 > 1 PART ad2s1 80023233024 512 i 1 o 32256 ty !12 xs MBR xt 12 > 2 LABEL msdosfs/MUSIC 80023233024 512 i 0 o 0 > 0 DISK ad0 80026361856 512 hd 16 sc 63 > 1 PART ad0s4 8027873280 512 i 4 o 71995875840 ty !12 xs MBR xt 12 > 1 PART ad0s3 41974571520 512 i 3 o 30021304320 ty freebsd xs MBR xt 165 > 2 PART ad0s3f 38259786240 512 i 6 o 3714785280 ty freebsd-ufs xs BSD xt 7 > 2 PART ad0s3e 536870912 512 i 5 o 3177914368 ty freebsd-ufs xs BSD xt 7 > 2 PART ad0s3d 1595932672 512 i 4 o 1581981696 ty freebsd-ufs xs BSD xt 7 > 2 PART ad0s3b 1045110784 512 i 2 o 536870912 ty freebsd-swap xs BSD xt 1 > 2 PART ad0s3a 536870912 512 i 1 o 0 ty freebsd-ufs xs BSD xt 7 > 1 PART ad0s2 4250050560 512 i 2 o 25771253760 ty !18 xs MBR xt 18 > 2 LABEL msdosfs/SERVICEV001 4250050560 512 i 0 o 0 > 1 PART ad0s1 25771221504 512 i 1 o 32256 ty !7 xs MBR xt 7 > 0 MD md0 184320 512 u 0 s 512 f 0 fs 0 l 184320 t vnode file /boot/profile/esnet > 1 LABEL ufsid/40a3fabe35c1dddc 184320 512 i 0 o 0 >> mount > /dev/ad0s3a on / (ufs, local, noatime) > devfs on /dev (devfs, local, multilabel) > /dev/ad0s3e on /tmp (ufs, local, noatime, soft-updates) > /dev/ad0s3f on /usr (ufs, local, noatime, soft-updates) > /dev/ad0s3d on /var (ufs, local, noatime, soft-updates) > /dev/ad0s4 on /D (msdosfs, local) > procfs on /proc (procfs, local) > linprocfs on /usr/compat/linux/proc (linprocfs, local) > /dev/md0 on /etc (ufs, local, read-only, union) > /dev/fuse0 on /C (fusefs, local, noatime, synchronous) > /dev/fuse1 on /usr/home/oberman/.gvfs (fusefs, local, nosuid, synchronous, mounted by oberman) > /dev/msdosfs/MUSIC on /media/MUSIC (msdosfs, local, nosuid) > /dev/msdosfs/MUSIC2 on /media/MUSIC2 (msdosfs, local, nosuid) > /dev/da0s2d on /media/Scratch___ (ufs, local, nosuid, soft-updates) >> sysctl -b kern.geom.conftxt > 0 DISK da0 250059350016 512 hd 255 sc 63 > 1 PART da0s2 112620533760 512 i 2 o 137436203520 ty freebsd xs MBR xt 165 > 2 PART da0s2d 112620533760 512 i 4 o 0 ty freebsd-ufs xs BSD xt 7 > 1 PART da0s1 137436171264 512 i 1 o 32256 ty !12 xs MBR xt 12 > 2 LABEL msdosfs/MUSIC2 137436171264 512 i 0 o 0 > 0 DISK ad2 80026361856 512 hd 16 sc 63 > 1 PART ad2s1 80023233024 512 i 1 o 32256 ty !12 xs MBR xt 12 > 2 LABEL msdosfs/MUSIC 80023233024 512 i 0 o 0 > 0 DISK ad0 80026361856 512 hd 16 sc 63 > 1 PART ad0s4 8027873280 512 i 4 o 71995875840 ty !12 xs MBR xt 12 > 1 PART ad0s3 41974571520 512 i 3 o 30021304320 ty freebsd xs MBR xt 165 > 2 PART ad0s3f 38259786240 512 i 6 o 3714785280 ty freebsd-ufs xs BSD xt 7 > 2 PART ad0s3e 536870912 512 i 5 o 3177914368 ty freebsd-ufs xs BSD xt 7 > 2 PART ad0s3d 1595932672 512 i 4 o 1581981696 ty freebsd-ufs xs BSD xt 7 > 2 PART ad0s3b 1045110784 512 i 2 o 536870912 ty freebsd-swap xs BSD xt 1 > 2 PART ad0s3a 536870912 512 i 1 o 0 ty freebsd-ufs xs BSD xt 7 > 1 PART ad0s2 4250050560 512 i 2 o 25771253760 ty !18 xs MBR xt 18 > 2 LABEL msdosfs/SERVICEV001 4250050560 512 i 0 o 0 > 1 PART ad0s1 25771221504 512 i 1 o 32256 ty !7 xs MBR xt 7 > 0 MD md0 184320 512 u 0 s 512 f 0 fs 0 l 184320 t vnode file /boot/profile/esnet > 1 LABEL ufsid/40a3fabe35c1dddc 184320 512 i 0 o 0 >> mount > /dev/ad0s3a on / (ufs, local, noatime) > devfs on /dev (devfs, local, multilabel) > /dev/ad0s3e on /tmp (ufs, local, noatime, soft-updates) > /dev/ad0s3f on /usr (ufs, local, noatime, soft-updates) > /dev/ad0s3d on /var (ufs, local, noatime, soft-updates) > /dev/ad0s4 on /D (msdosfs, local) > procfs on /proc (procfs, local) > linprocfs on /usr/compat/linux/proc (linprocfs, local) > /dev/md0 on /etc (ufs, local, read-only, union) > /dev/fuse0 on /C (fusefs, local, noatime, synchronous) > /dev/fuse1 on /usr/home/oberman/.gvfs (fusefs, local, nosuid, synchronous, mounted by oberman) > /dev/msdosfs/MUSIC on /media/MUSIC (msdosfs, local, nosuid) > /dev/msdosfs/MUSIC2 on /media/MUSIC2 (msdosfs, local, nosuid) > /dev/da0s2d on /media/Scratch____ (ufs, local, nosuid, soft-updates) >> sysctl -b kern.geom.conftxt > 0 DISK da0 250059350016 512 hd 255 sc 63 > 1 PART da0s2 112620533760 512 i 2 o 137436203520 ty freebsd xs MBR xt 165 > 2 PART da0s2d 112620533760 512 i 4 o 0 ty freebsd-ufs xs BSD xt 7 > 1 PART da0s1 137436171264 512 i 1 o 32256 ty !12 xs MBR xt 12 > 2 LABEL msdosfs/MUSIC2 137436171264 512 i 0 o 0 > 0 DISK ad2 80026361856 512 hd 16 sc 63 > 1 PART ad2s1 80023233024 512 i 1 o 32256 ty !12 xs MBR xt 12 > 2 LABEL msdosfs/MUSIC 80023233024 512 i 0 o 0 > 0 DISK ad0 80026361856 512 hd 16 sc 63 > 1 PART ad0s4 8027873280 512 i 4 o 71995875840 ty !12 xs MBR xt 12 > 1 PART ad0s3 41974571520 512 i 3 o 30021304320 ty freebsd xs MBR xt 165 > 2 PART ad0s3f 38259786240 512 i 6 o 3714785280 ty freebsd-ufs xs BSD xt 7 > 2 PART ad0s3e 536870912 512 i 5 o 3177914368 ty freebsd-ufs xs BSD xt 7 > 2 PART ad0s3d 1595932672 512 i 4 o 1581981696 ty freebsd-ufs xs BSD xt 7 > 2 PART ad0s3b 1045110784 512 i 2 o 536870912 ty freebsd-swap xs BSD xt 1 > 2 PART ad0s3a 536870912 512 i 1 o 0 ty freebsd-ufs xs BSD xt 7 > 1 PART ad0s2 4250050560 512 i 2 o 25771253760 ty !18 xs MBR xt 18 > 2 LABEL msdosfs/SERVICEV001 4250050560 512 i 0 o 0 > 1 PART ad0s1 25771221504 512 i 1 o 32256 ty !7 xs MBR xt 7 > 0 MD md0 184320 512 u 0 s 512 f 0 fs 0 l 184320 t vnode file /boot/profile/esnet > 1 LABEL ufsid/40a3fabe35c1dddc 184320 512 i 0 o 0 >> sysctl -b kern.geom.conftxt > 0 DISK da0 250059350016 512 hd 255 sc 63 > 1 PART da0s2 112620533760 512 i 2 o 137436203520 ty freebsd xs MBR xt 165 > 2 LABEL ufs/Scratch 112620533760 512 i 0 o 0 > 3 PART ufs/Scratchd 112620533760 512 i 4 o 0 ty freebsd-ufs xs BSD xt 7 > 1 PART da0s1 137436171264 512 i 1 o 32256 ty !12 xs MBR xt 12 > 2 LABEL msdosfs/MUSIC2 137436171264 512 i 0 o 0 > 0 DISK ad2 80026361856 512 hd 16 sc 63 > 1 PART ad2s1 80023233024 512 i 1 o 32256 ty !12 xs MBR xt 12 > 2 LABEL msdosfs/MUSIC 80023233024 512 i 0 o 0 > 0 DISK ad0 80026361856 512 hd 16 sc 63 > 1 PART ad0s4 8027873280 512 i 4 o 71995875840 ty !12 xs MBR xt 12 > 1 PART ad0s3 41974571520 512 i 3 o 30021304320 ty freebsd xs MBR xt 165 > 2 PART ad0s3f 38259786240 512 i 6 o 3714785280 ty freebsd-ufs xs BSD xt 7 > 2 PART ad0s3e 536870912 512 i 5 o 3177914368 ty freebsd-ufs xs BSD xt 7 > 2 PART ad0s3d 1595932672 512 i 4 o 1581981696 ty freebsd-ufs xs BSD xt 7 > 2 PART ad0s3b 1045110784 512 i 2 o 536870912 ty freebsd-swap xs BSD xt 1 > 2 PART ad0s3a 536870912 512 i 1 o 0 ty freebsd-ufs xs BSD xt 7 > 1 PART ad0s2 4250050560 512 i 2 o 25771253760 ty !18 xs MBR xt 18 > 2 LABEL msdosfs/SERVICEV001 4250050560 512 i 0 o 0 > 1 PART ad0s1 25771221504 512 i 1 o 32256 ty !7 xs MBR xt 7 > 0 MD md0 184320 512 u 0 s 512 f 0 fs 0 l 184320 t vnode file /boot/profile/esnet > 1 LABEL ufsid/40a3fabe35c1dddc 184320 512 i 0 o 0 >> sysctl -b kern.geom.conftxt > 0 DISK da0 250059350016 512 hd 255 sc 63 > 1 PART da0s2 112620533760 512 i 2 o 137436203520 ty freebsd xs MBR xt 165 > 2 LABEL ufs/Scratch 112620533760 512 i 0 o 0 > 3 PART ufs/Scratchd 112620533760 512 i 4 o 0 ty freebsd-ufs xs BSD xt 7 > 1 PART da0s1 137436171264 512 i 1 o 32256 ty !12 xs MBR xt 12 > 2 LABEL msdosfs/MUSIC2 137436171264 512 i 0 o 0 > 0 DISK ad2 80026361856 512 hd 16 sc 63 > 1 PART ad2s1 80023233024 512 i 1 o 32256 ty !12 xs MBR xt 12 > 2 LABEL msdosfs/MUSIC 80023233024 512 i 0 o 0 > 0 DISK ad0 80026361856 512 hd 16 sc 63 > 1 PART ad0s4 8027873280 512 i 4 o 71995875840 ty !12 xs MBR xt 12 > 1 PART ad0s3 41974571520 512 i 3 o 30021304320 ty freebsd xs MBR xt 165 > 2 PART ad0s3f 38259786240 512 i 6 o 3714785280 ty freebsd-ufs xs BSD xt 7 > 2 PART ad0s3e 536870912 512 i 5 o 3177914368 ty freebsd-ufs xs BSD xt 7 > 2 PART ad0s3d 1595932672 512 i 4 o 1581981696 ty freebsd-ufs xs BSD xt 7 > 2 PART ad0s3b 1045110784 512 i 2 o 536870912 ty freebsd-swap xs BSD xt 1 > 2 PART ad0s3a 536870912 512 i 1 o 0 ty freebsd-ufs xs BSD xt 7 > 1 PART ad0s2 4250050560 512 i 2 o 25771253760 ty !18 xs MBR xt 18 > 2 LABEL msdosfs/SERVICEV001 4250050560 512 i 0 o 0 > 1 PART ad0s1 25771221504 512 i 1 o 32256 ty !7 xs MBR xt 7 > 0 MD md0 184320 512 u 0 s 512 f 0 fs 0 l 184320 t vnode file /boot/profile/esnet > 1 LABEL ufsid/40a3fabe35c1dddc 184320 512 i 0 o 0 -- Joe Marcus Clarke FreeBSD GNOME Team :: gnome@FreeBSD.org FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome From owner-freebsd-gnome@FreeBSD.ORG Thu Aug 26 18:38:03 2010 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 5475F10656A6; Thu, 26 Aug 2010 18:38:03 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id 78F6A8FC17; Thu, 26 Aug 2010 18:38:02 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 754531E0017B; Thu, 26 Aug 2010 20:38:01 +0200 (CEST) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.4/8.14.3) with ESMTP id o7QIZhfN039371; Thu, 26 Aug 2010 20:35:43 +0200 (CEST) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.4/8.14.3/Submit) id o7QIZhxG039370; Thu, 26 Aug 2010 20:35:43 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Thu, 26 Aug 2010 20:35:43 +0200 To: Hans Petter Selasky Message-ID: <20100826183543.GA39319@triton8.kn-bremen.de> References: <4C66C4BC.4040504@janh.de> <4C7435AA.50805@freebsd.org> <20100825214141.GA8685@triton8.kn-bremen.de> <201008252350.05592.hselasky@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201008252350.05592.hselasky@freebsd.org> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: me@janh.de, kde@freebsd.org, Juergen Lock , freebsd-multimedia@freebsd.org, Joe Marcus Clarke , gnome@freebsd.org Subject: Re: kaffeine-1.0 and webcamd based DVB-T? 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: Thu, 26 Aug 2010 18:38:03 -0000 On Wed, Aug 25, 2010 at 11:50:05PM +0200, Hans Petter Selasky wrote: > On Wednesday 25 August 2010 23:41:41 Juergen Lock wrote: > > On Tue, Aug 24, 2010 at 05:12:10PM -0400, Joe Marcus Clarke wrote: > > > On 8/24/10 5:04 PM, Hans Petter Selasky wrote: > > > > On Tuesday 24 August 2010 22:21:18 Juergen Lock wrote: > > > >> #! /bin/sh > > > >> # add PCTV 452e Sat HDTV Pro USB to hal as /dev/dvb/adapter0 > > > >> hal-device --add usb_device_2304_21f_noserial_dvb_0 < > > >> dvb.device = '/dev/dvb/adapter0/demux0' (string) > > > >> info.capabilities = {'dvb'} (string list) > > > >> info.category = 'dvb' (string) > > > >> info.parent = > > > >> '/org/freedesktop/Hal/devices/usb_device_2304_21f_noserial' (string) > > > >> info.product = 'DVB Device' (string) > > > >> info.subsystem = 'dvb' (string) > > > >> EOF > > > >> hal-device --add usb_device_2304_21f_noserial_dvb_1 < > > >> dvb.device = '/dev/dvb/adapter0/dvr0' (string) > > > >> info.capabilities = {'dvb'} (string list) > > > >> info.category = 'dvb' (string) > > > >> info.parent = > > > >> '/org/freedesktop/Hal/devices/usb_device_2304_21f_noserial' (string) > > > >> info.product = 'DVB Device' (string) > > > >> info.subsystem = 'dvb' (string) > > > >> EOF > > > >> hal-device --add usb_device_2304_21f_noserial_dvb_2 < > > > > > > > Hi, > > > > > > > > Could you have changed this into "execve()" calls (man execve) and add > > > > these to webcamd.c whenever cuse_dev_create() is called? Also for > > > > /dev/videoX entries. Then we don't need to patch HAL? > > > > > > Yeah, if webcamd can notify hal that new dvb and v4l devices are > > > available (and what those devices' capabilities are) then we can remove > > > the patches from hal. > > > > Ok I now made that an extra process (so it can open() /dev/videoX > > normally and also that way webcamd itself doesn't have to link > > libhal and possible problems with fork() and threads are avoided), > > webcamd then just feeds it the device nodes on stdin. > > > > Untested with v4l devices since I don't have one here, and > > I also built the helper manually for now and put it into PATH. > > And the code can still be cleaned up... > > > > helper built as: > > > > cc -o webcamd-hal-helper -Wall webcamd-hal-helper.c $(pkg-config --cflags > > hal) $(pkg-config --libs hal) -I/usr/local/include > > > > Patch also at: > > > > http://people.freebsd.org/~nox/tmp/webcamd-hal.patch > > > > HTH, :) > > Juergen > > Looks good. > > Could you also register an atexit() function, that cleans up the HAL registry > when webcamd exits? Ok, done. (Tho that already happened automagically when unplugging the device because the /dev/dvb/adapterX/* are registered as childs of the usb device's hal entry...) Patch also at: http://people.freebsd.org/~nox/tmp/webcamd-hal.patch Index: webcamd.c =================================================================== --- webcamd.c (revision 1621) +++ webcamd.c (working copy) @@ -37,6 +37,11 @@ #include +#ifndef HALHELPER +/* Helper process that feeds webcamd cuse4bsd device nodes into hal */ +#define HALHELPER "webcamd-hal-helper" +#endif + static cuse_open_t v4b_open; static cuse_close_t v4b_close; static cuse_read_t v4b_read; @@ -76,6 +81,9 @@ static int do_fork = 0; static int do_realtime = 1; static struct pidfh *local_pid = NULL; +#ifdef HALHELPER +static FILE *fp_halhelper = NULL; +#endif char global_fw_prefix[128] = {"/boot/modules"}; @@ -309,6 +317,13 @@ printf("Creating /dev/"); printf(devnames[n / F_V4B_SUBDEV_MAX], temp); printf("\n"); +#ifdef HALHELPER + if (fp_halhelper) { + fprintf(fp_halhelper, "/dev/"); + fprintf(fp_halhelper, devnames[n / F_V4B_SUBDEV_MAX], temp); + fprintf(fp_halhelper, "\n"); + } +#endif ndev++; } @@ -354,6 +369,10 @@ pidfile_remove(local_pid); local_pid = NULL; } +#ifdef HALHELPER + if (fp_halhelper) + pclose(fp_halhelper); +#endif } int @@ -375,6 +394,24 @@ pidfile_write(local_pid); } +#ifdef HALHELPER + snprintf(buf, sizeof(buf), "%d", bus); + setenv("HAL_PROP_USB_BUS_NUMBER", buf, 1); + snprintf(buf, sizeof(buf), "%d", addr); + setenv("HAL_PROP_USB_PORT_NUMBER", buf, 1); + snprintf(buf, sizeof(buf), "%d", 0); + setenv("HAL_PROP_USB_INTERFACE_NUMBER", buf, 1); + + if ((fp_halhelper = popen(HALHELPER, "w")) == NULL) { + /* XXX */ + return (EEXIST); + } + /* Use line buffering */ + setvbuf(fp_halhelper, (char *)NULL, _IOLBF, 0); + /* Keep going if helper exits (e.g. because hal is not running...) */ + signal(SIGPIPE, SIG_IGN); +#endif + printf("Attached ugen%d.%d[%d] to cuse unit %d\n", bus, addr, index, u_videodev); --- /dev/null 2010-08-26 20:22:01.000000000 +0200 +++ webcamd-hal-helper.c 2010-08-26 20:00:07.000000000 +0200 @@ -0,0 +1,348 @@ +/*************************************************************************** + * CVSID: $Id$ + * + * webcamd-hal-helper.c : Notify hal of webcamd cuse4bsd device nodes + * (yes this is a little ugly and could use some cleanup but it works + * and I'm lazy :) + * Hacked together by : Juergen Lock + * + * Takes env vars HAL_PROP_USB_BUS_NUMBER, HAL_PROP_USB_PORT_NUMBER, + * and HAL_PROP_USB_INTERFACE_NUMBER to identify the usb device in + * question, reads names of v4l/dvb device nodes to add to hal on + * stdin, and accepts -n as arg in which case it doesn't clean up + * (remove new device nodes from hal) on eof/exit/signal. + * + * Build as: + * cc -o webcamd-hal-helper -Wall webcamd-hal-helper.c $(pkg-config --cflags hal) $(pkg-config --libs hal) -I/usr/local/include + * + * Uses code from... + * + * probe-video4linux.c : Probe video4linux devices + * Adapted for FreeBSD by : Joe Marcus Clarke + * + * Copyright (C) 2007 Nokia Corporation + * + * Licensed under the Academic Free License version 2.1 + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + **************************************************************************/ + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "hal/libhal.h" + +#define DEBUG + +#ifdef DEBUG +#define h_info printf +#else +#define h_info(...) /* */ +#endif + +typedef struct { + char *udi; + char *real_udi; +} new_dev_t; + +static char *hal_udi = NULL; +static int dvbindex = 0; +static LibHalContext *hal_ctx = NULL; + +static char * +find_usb_udi (LibHalContext *ctx, int bus, int addr) +{ + int i, num_devices; + + char **u_devs = libhal_manager_find_device_string_match + (ctx, "info.bus", "usb_device", &num_devices, NULL); + + if (!u_devs || !num_devices) + return NULL; + + for (i = 0; i < num_devices; ++i) { + if (libhal_device_get_property_int(ctx, u_devs[i], + "usb_device.bus_number", NULL) == bus && + libhal_device_get_property_int(ctx, u_devs[i], + "usb_device.port_number", NULL) == addr) + return u_devs[i]; + } + return NULL; +} + +static void +cleanup () +{ + int i; + + if (!hal_udi || !dvbindex) + return; + for (i = 0; i < dvbindex; ++i) { + char *dvbudi; + + if (asprintf(&dvbudi, "%s_dvb_%d", hal_udi, i) == -1) { + perror("asprintf"); + break; + } + h_info ("Removing %s\n", dvbudi); + libhal_remove_device(hal_ctx, dvbudi, NULL); + free(dvbudi); + } + dvbindex = 0; +} + +static void +termsig (int unused) +{ + cleanup(); + exit(0); +} + +int +main (int argc, char **argv) +{ + int ret = 1; + int fd = -1; + int bus = -1; + int addr = -1; + int intf = -1; + char *device_file = NULL; + char *busstr; + char *addrstr; + char *intfstr; + struct video_capability v1cap; + struct v4l2_capability v2cap; + + DBusError error; + DBusConnection *conn; + LibHalChangeSet *cset; + + busstr = getenv ("HAL_PROP_USB_BUS_NUMBER"); + if (! busstr) + goto out; + addrstr = getenv ("HAL_PROP_USB_PORT_NUMBER"); + if (! addrstr) + goto out; + intfstr = getenv ("HAL_PROP_USB_INTERFACE_NUMBER"); + if (! intfstr) + goto out; + + bus = atoi (busstr); + addr = atoi (addrstr); + intf = atoi (intfstr); + + if (intf != 0) + goto out; + + dbus_error_init(&error); + if (!(conn = dbus_bus_get(DBUS_BUS_SYSTEM, &error))) { + fprintf(stderr, "error: dbus_bus_get: %s: %s\n", error.name, error.message); + LIBHAL_FREE_DBUS_ERROR (&error); + return 2; + } + + if (!(hal_ctx = libhal_ctx_new())) return 3; + if (!libhal_ctx_set_dbus_connection(hal_ctx, conn)) return 4; + if (!libhal_ctx_init(hal_ctx, &error)) { + if (dbus_error_is_set(&error)) { + fprintf (stderr, "error: libhal_ctx_init: %s: %s\n", error.name, error.message); + dbus_error_free (&error); + } + fprintf (stderr, "Could not initialise connection to hald.\n" + "Normally this means the HAL daemon (hald) is not running or not ready.\n"); + return 5; + } + + hal_udi = find_usb_udi (hal_ctx, bus, addr); + if (hal_udi == NULL) { + fprintf(stderr, "Device not found in hal: usb bus %d, address %d\n", + bus, addr); + goto out; + } + + char line[0x1000]; + + /* give a meaningful process title for ps(1) */ + setproctitle("%s (bus: %i, addr: %i)", hal_udi, bus, addr); + + if (argc < 2 || strcmp(argv[1], "-n")) { + atexit(&cleanup); + signal(SIGTERM, &termsig); + signal(SIGINT, &termsig); + } + + while (42) { + size_t len; + + device_file = fgets(line, sizeof line, stdin); + if (device_file == NULL || !(len = strlen(device_file)) || + device_file[len - 1] != '\n') + break; + device_file[len - 1] = '\0'; + + if (!strncmp(device_file, "/dev/video", sizeof "/dev/video" - 1)) { + cset = libhal_device_new_changeset (hal_udi); + + h_info ("Doing probe-video4linux-hal for %s (udi=%s)\n", device_file, hal_udi); + + fd = open (device_file, O_RDONLY); + if (fd < 0) { + fprintf(stderr, "Cannot open %s: %s\n", device_file, strerror (errno)); + goto out; + } + + if (ioctl (fd, VIDIOC_QUERYCAP, &v2cap) == 0) { + libhal_changeset_set_property_string (cset, + "video4linux.device", device_file); + libhal_changeset_set_property_string (cset, + "info.category", "video4linux"); + libhal_changeset_set_property_string (cset, + "video4linux.version", "2"); + + libhal_changeset_set_property_string (cset, + "info.product", (const char *)v2cap.card); + + libhal_device_add_capability (hal_ctx, hal_udi, "video4linux", NULL); + if ((v2cap.capabilities & V4L2_CAP_VIDEO_CAPTURE) > 0) { + libhal_device_add_capability (hal_ctx, hal_udi, "video4linux.video_capture", NULL); + } if ((v2cap.capabilities & V4L2_CAP_VIDEO_OUTPUT) > 0) { + libhal_device_add_capability (hal_ctx, hal_udi, "video4linux.video_output", NULL); + } if ((v2cap.capabilities & V4L2_CAP_VIDEO_OVERLAY) > 0) { + libhal_device_add_capability (hal_ctx, hal_udi, "video4linux.video_overlay", NULL); + } if ((v2cap.capabilities & V4L2_CAP_AUDIO) > 0) { + libhal_device_add_capability (hal_ctx, hal_udi, "video4linux.audio", NULL); + } if ((v2cap.capabilities & V4L2_CAP_TUNER) > 0) { + libhal_device_add_capability (hal_ctx, hal_udi, "video4linux.tuner", NULL); + } if ((v2cap.capabilities & V4L2_CAP_RADIO) > 0) { + libhal_device_add_capability (hal_ctx, hal_udi, "video4linux.radio", NULL); + } + } else { + h_info (("ioctl VIDIOC_QUERYCAP failed\n")); + + if (ioctl (fd, VIDIOCGCAP, &v1cap) == 0) { + libhal_changeset_set_property_string (cset, + "video4linux.device", device_file); + libhal_changeset_set_property_string (cset, + "info.category", "video4linux"); + libhal_changeset_set_property_string (cset, + "video4linux.version", "1"); + + libhal_changeset_set_property_string (cset, + "info.product", v1cap.name); + + libhal_device_add_capability (hal_ctx, hal_udi, "video4linux", NULL); + if ((v1cap.type & VID_TYPE_CAPTURE) > 0) { + libhal_device_add_capability (hal_ctx, hal_udi, "video4linux.video_capture", NULL); + } if ((v1cap.type & VID_TYPE_OVERLAY) > 0) { + libhal_device_add_capability (hal_ctx, hal_udi, "video4linux.video_overlay", NULL); + } if (v1cap.audios > 0) { + libhal_device_add_capability (hal_ctx, hal_udi, "video4linux.audio", NULL); + } if ((v1cap.type & VID_TYPE_TUNER) > 0) { + libhal_device_add_capability (hal_ctx, hal_udi, "video4linux.tuner", NULL); + } + } else { + h_info (("ioctl VIDIOCGCAP failed; not a v4l device\n")); + } + } + + libhal_device_commit_changeset (hal_ctx, cset, NULL); + libhal_device_free_changeset (cset); + + close (fd); + } else if (!strncmp(device_file, "/dev/dvb/adapter", sizeof "/dev/dvb/adapter" - 1)) { + char *dvbudi; + new_dev_t new_dev; + + if (asprintf(&dvbudi, "%s_dvb_%d", hal_udi, dvbindex++) == -1) { + perror("asprintf"); + goto out; + } + new_dev.udi = strdup(dvbudi); + int dev_exists = libhal_device_exists(hal_ctx, dvbudi, NULL); + + if (dev_exists) { + new_dev.real_udi = strdup(new_dev.udi); + } else { + new_dev.real_udi = libhal_new_device(hal_ctx, &error); + + if (!new_dev.real_udi) { + fprintf(stderr, "%s: %s\n", error.name, error.message); + LIBHAL_FREE_DBUS_ERROR (&error); + free(new_dev.real_udi); + + ret = 22; + goto out; + } + + //printf("tmp udi: %s\n", new_dev.real_udi); + } + + cset = libhal_device_new_changeset (new_dev.real_udi); + + h_info ("Doing add-dvb-hal for %s (udi=%s)\n", device_file, new_dev.udi); + libhal_changeset_set_property_string (cset, + "dvb.device", device_file); + libhal_changeset_set_property_string (cset, + "info.category", "dvb"); + libhal_changeset_set_property_string (cset, + "info.parent", hal_udi); + libhal_changeset_set_property_string (cset, + "info.product", "DVB Device"); + libhal_changeset_set_property_string (cset, + "info.subsystem", "dvb"); + libhal_device_add_capability (hal_ctx, new_dev.real_udi, "dvb", NULL); + + libhal_device_commit_changeset (hal_ctx, cset, NULL); + libhal_device_free_changeset (cset); + + if (!dev_exists && + !libhal_device_commit_to_gdl(hal_ctx, new_dev.real_udi, new_dev.udi, &error)) { + fprintf(stderr, "%s: %s\n", error.name, error.message); + LIBHAL_FREE_DBUS_ERROR (&error); + free(new_dev.real_udi); + + ret = 23; + goto out; + } + } else { + printf("Unhandled device %s\n", device_file); + } + } + + ret = 0; + +out: + if (fd >= 0) + close (fd); + + return ret; +} From owner-freebsd-gnome@FreeBSD.ORG Thu Aug 26 21:59:23 2010 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 10681106564A; Thu, 26 Aug 2010 21:59:23 +0000 (UTC) (envelope-from oberman@es.net) Received: from mailgw.es.net (mail1.es.net [IPv6:2001:400:201:1::2]) by mx1.freebsd.org (Postfix) with ESMTP id E9C798FC1D; Thu, 26 Aug 2010 21:59:22 +0000 (UTC) Received: from ptavv.es.net (ptavv.es.net [IPv6:2001:400:910::29]) by mailgw.es.net (8.14.3/8.14.3) with ESMTP id o7QLxJCC015840 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 26 Aug 2010 14:59:20 -0700 Received: from ptavv.es.net (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id B8C601CC3A; Thu, 26 Aug 2010 14:59:19 -0700 (PDT) To: Joe Marcus Clarke In-reply-to: Your message of "Thu, 26 Aug 2010 03:00:14 EDT." <4C7610FE.6010605@freebsd.org> Date: Thu, 26 Aug 2010 14:59:19 -0700 From: "Kevin Oberman" Message-Id: <20100826215919.B8C601CC3A@ptavv.es.net> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.0.10011, 1.0.148, 0.0.0000 definitions=2010-08-26_14:2010-08-26, 2010-08-26, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=5.0.0-1005130000 definitions=main-1008260177 Cc: gnome@freebsd.org Subject: Re: ports/149134: x11/gnome2 unable to unmount UFS file system 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: Thu, 26 Aug 2010 21:59:23 -0000 > Date: Thu, 26 Aug 2010 03:00:14 -0400 > From: Joe Marcus Clarke > > On 8/24/10 3:31 PM, Kevin Oberman wrote: > >> Date: Tue, 17 Aug 2010 02:05:28 -0400 > >> From: Joe Marcus Clarke > >> > >> On 8/16/10 4:36 PM, Kevin Oberman wrote: > >>> Please see the following files: > >>> http://home.comcast.net/~k.oberman/FreeBSD/dmesg.boot > >>> http://home.comcast.net/~k.oberman/FreeBSD/fstab.out > >>> http://home.comcast.net/~k.oberman/FreeBSD/hald.debug > >>> http://home.comcast.net/~k.oberman/FreeBSD/kern.geom.conftxt > >>> http://home.comcast.net/~k.oberman/FreeBSD/lshal.out > >>> http://home.comcast.net/~k.oberman/FreeBSD/mount.out > >>> > >>> I think the names are self-descriptive. > >>> > >>> The volume in question is /dev/da1s2 or /dev/ufs/Scratchd mounted as > >>> /media/Scratch. After hald was started, I used the Nautilus pop-up menu > >>> 'Unmount' item to unmount it. Got a raft of "Unknown errors". If the > >>> volume re-mounts as "Scratch", as it did in this case, I can try again. > >>> It often fails to delete the /media/Scratch directory and re-mounts as > >>> '/media/Scratch_' and further attempt get an "Operation not permitted" > >>> message. > >> > >> And what does the output look like after you try to unmount the drive > >> (output of the sysctl and mount(8))? > > > > Sorry for the slow response. I've been pretty busy and I want to do > > this stuff when I can concentrate on it a bit so I don't waste your time. > > > > Try as I might, I can't get it back into the "won't unmount" > > condition. It now always re-mounts. I've done so at least 10 times just > > now. Sometimes it manages to delete a directory and sometimes it creates > > a new one. > > I don't see how this could be happening since hal ignores ufs and ufsid > partitions. Are you sure you don't have any local hal patches which are > overriding the CVS versions? In particular, patch-hald_hf-storage.c has > code to check for and ignore any partition that starts with ufs/. Since > this used to work, and now doesn't, I suspect a local problem with your > hal installation. > > Joe > > > > >> ls /media > > MUSIC/ Scratch/ Scratch__/ Scratch____/ > > MUSIC2/ Scratch_/ Scratch___/ > >> df /media/* > > Filesystem 1K-blocks Used Avail Capacity Mounted on > > /dev/msdosfs/MUSIC 78128640 77788544 340096 100% /media/MUSIC > > /dev/msdosfs/MUSIC2 134182272 77694944 56487328 58% /media/MUSIC2 > > /dev/ufs/Scratchd 106517700 56988252 41008032 58% /media/Scratch > > /dev/ad0s3a 507630 324926 142094 70% / > > /dev/ad0s3a 507630 324926 142094 70% / > > /dev/ad0s3a 507630 324926 142094 70% / > > /dev/ad0s3a 507630 324926 142094 70% / > > > > No, I don't understand the three listings of root. > > > > I do notices the da0s2 and da0s2d always show up, but ufs/Scratch and > > ufs/Scratchd come and go. They are always there after the first mount. > > > > It looks very much like what I was seeing before you tried teaching hald > > to ignore /dev/ufs. Looks like, for some reason, it is still seeing > > it. lshal shows it. > > > > udi = '/org/freedesktop/Hal/devices/volume_size_112620533760' > > block.device = '/dev/ufs/Scratch' (string) > > block.is_volume = true (bool) > > block.major = 0 (0x0) (int) > > block.minor = 139 (0x8b) (int) > > block.storage_device = '/org/freedesktop/Hal/devices/storage_model_00BEVS_00VAT0$ > > info.capabilities = {'block', 'volume'} (string list) > > info.category = 'volume' (string) > > info.parent = '/org/freedesktop/Hal/devices/volume_part3_size_112620533760' (st$ > > info.product = 'Volume' (string) > > info.subsystem = 'block' (string) > > info.udi = '/org/freedesktop/Hal/devices/volume_size_112620533760' (string) > > volume.block_size = 512 (0x200) (uint64) > > volume.fstype = '' (string) > > volume.fsusage = 'partitiontable' (string) > > volume.ignore = true (bool) > > volume.is_disc = false (bool) > > volume.is_mounted = false (bool) > > volume.is_mounted_read_only = false (bool) > > volume.is_partition = false (bool) > > volume.label = '' (string) > > volume.mount_point = '' (string) > > volume.num_blocks = 219961980 (0xd1c5a7c) (uint64) > > volume.size = 112620533760 (0x1a38b4f800) (uint64) > > volume.uuid = '' (string) > > > > udi = '/org/freedesktop/Hal/devices/volume_label_Scratch' > > block.device = '/dev/ufs/Scratchd' (string) > > block.is_volume = true (bool) > > block.major = 0 (0x0) (int) > > block.minor = 141 (0x8d) (int) > > block.storage_device = '/org/freedesktop/Hal/devices/storage_model_00BEVS_00VAT0$ > > info.capabilities = {'block', 'volume'} (string list) > > info.category = 'volume' (string) > > info.interfaces = {'org.freedesktop.Hal.Device.Volume'} (string list) > > info.parent = '/org/freedesktop/Hal/devices/volume_size_112620533760' (string) > > info.product = 'Scratch' (string) > > info.subsystem = 'block' (string) > > info.udi = '/org/freedesktop/Hal/devices/volume_label_Scratch' (string) > > org.freedesktop.Hal.Device.Volume.method_argnames = {'mount_point fstype extra_o$ > > org.freedesktop.Hal.Device.Volume.method_execpaths = {'hal-storage-mount', 'hal-$ > > org.freedesktop.Hal.Device.Volume.method_names = {'Mount', 'Unmount', 'Eject'} ($ > > org.freedesktop.Hal.Device.Volume.method_signatures = {'ssas', 'as', 'as'} (stri$ > > volume.block_size = 512 (0x200) (uint64) > > volume.freebsd.ufsid = '4c43cc21c711100c' (string) > > volume.fstype = 'ufs' (string) > > volume.fsusage = 'filesystem' (string) > > volume.fsversion = '2' (string) > > volume.ignore = false (bool) > > volume.is_disc = false (bool) > > volume.is_mounted = true (bool) > > volume.is_mounted_read_only = false (bool) > > volume.is_partition = false (bool) > > volume.label = 'Scratch' (string) > > volume.mount.valid_options = {'ro', 'noexec', 'noatime'} (string list) > > volume.mount_point = '/media/Scratch' (string) > > volume.num_blocks = 219961980 (0xd1c5a7c) (uint64) > > volume.size = 112620533760 (0x1a38b4f800) (uint64) > > volume.uuid = '' (string) > > > > Here are a series of the sysctl and mount. > > This one is before the first attempt to unmount the filesystem: > > 0 DISK da0 250059350016 512 hd 255 sc 63 > > 1 PART da0s2 112620533760 512 i 2 o 137436203520 ty freebsd xs MBR xt 165 > > 2 LABEL ufs/Scratch 112620533760 512 i 0 o 0 > > 3 PART ufs/Scratchd 112620533760 512 i 4 o 0 ty freebsd-ufs xs BSD xt 7 > > 1 PART da0s1 137436171264 512 i 1 o 32256 ty !12 xs MBR xt 12 > > 2 LABEL msdosfs/MUSIC2 137436171264 512 i 0 o 0 > > 0 DISK ad2 80026361856 512 hd 16 sc 63 > > 1 PART ad2s1 80023233024 512 i 1 o 32256 ty !12 xs MBR xt 12 > > 2 LABEL msdosfs/MUSIC 80023233024 512 i 0 o 0 > > 0 DISK ad0 80026361856 512 hd 16 sc 63 > > 1 PART ad0s4 8027873280 512 i 4 o 71995875840 ty !12 xs MBR xt 12 > > 1 PART ad0s3 41974571520 512 i 3 o 30021304320 ty freebsd xs MBR xt 165 > > 2 PART ad0s3f 38259786240 512 i 6 o 3714785280 ty freebsd-ufs xs BSD xt 7 > > 2 PART ad0s3e 536870912 512 i 5 o 3177914368 ty freebsd-ufs xs BSD xt 7 > > 2 PART ad0s3d 1595932672 512 i 4 o 1581981696 ty freebsd-ufs xs BSD xt 7 > > 2 PART ad0s3b 1045110784 512 i 2 o 536870912 ty freebsd-swap xs BSD xt 1 > > 2 PART ad0s3a 536870912 512 i 1 o 0 ty freebsd-ufs xs BSD xt 7 > > 1 PART ad0s2 4250050560 512 i 2 o 25771253760 ty !18 xs MBR xt 18 > > 2 LABEL msdosfs/SERVICEV001 4250050560 512 i 0 o 0 > > 1 PART ad0s1 25771221504 512 i 1 o 32256 ty !7 xs MBR xt 7 > > 0 MD md0 184320 512 u 0 s 512 f 0 fs 0 l 184320 t vnode file /boot/profile/esnet > > 1 LABEL ufsid/40a3fabe35c1dddc 184320 512 i 0 o 0 > >> mount > > /dev/ad0s3a on / (ufs, local, noatime) > > devfs on /dev (devfs, local, multilabel) > > /dev/ad0s3e on /tmp (ufs, local, noatime, soft-updates) > > /dev/ad0s3f on /usr (ufs, local, noatime, soft-updates) > > /dev/ad0s3d on /var (ufs, local, noatime, soft-updates) > > /dev/ad0s4 on /D (msdosfs, local) > > procfs on /proc (procfs, local) > > linprocfs on /usr/compat/linux/proc (linprocfs, local) > > /dev/md0 on /etc (ufs, local, read-only, union) > > /dev/fuse0 on /C (fusefs, local, noatime, synchronous) > > /dev/fuse1 on /usr/home/oberman/.gvfs (fusefs, local, nosuid, synchronous, mounted by oberman) > > /dev/msdosfs/MUSIC on /media/MUSIC (msdosfs, local, nosuid) > > /dev/ufs/Scratchd on /media/Scratch (ufs, local, nosuid, soft-updates) > > /dev/msdosfs/MUSIC2 on /media/MUSIC2 (msdosfs, local, nosuid) > > > > The remainder are after a series of attempt to unmount: > >> sysctl -b kern.geom.conftxt > > 0 DISK da0 250059350016 512 hd 255 sc 63 > > 1 PART da0s2 112620533760 512 i 2 o 137436203520 ty freebsd xs MBR xt 165 > > 2 PART da0s2d 112620533760 512 i 4 o 0 ty freebsd-ufs xs BSD xt 7 > > 1 PART da0s1 137436171264 512 i 1 o 32256 ty !12 xs MBR xt 12 > > 2 LABEL msdosfs/MUSIC2 137436171264 512 i 0 o 0 > > 0 DISK ad2 80026361856 512 hd 16 sc 63 > > 1 PART ad2s1 80023233024 512 i 1 o 32256 ty !12 xs MBR xt 12 > > 2 LABEL msdosfs/MUSIC 80023233024 512 i 0 o 0 > > 0 DISK ad0 80026361856 512 hd 16 sc 63 > > 1 PART ad0s4 8027873280 512 i 4 o 71995875840 ty !12 xs MBR xt 12 > > 1 PART ad0s3 41974571520 512 i 3 o 30021304320 ty freebsd xs MBR xt 165 > > 2 PART ad0s3f 38259786240 512 i 6 o 3714785280 ty freebsd-ufs xs BSD xt 7 > > 2 PART ad0s3e 536870912 512 i 5 o 3177914368 ty freebsd-ufs xs BSD xt 7 > > 2 PART ad0s3d 1595932672 512 i 4 o 1581981696 ty freebsd-ufs xs BSD xt 7 > > 2 PART ad0s3b 1045110784 512 i 2 o 536870912 ty freebsd-swap xs BSD xt 1 > > 2 PART ad0s3a 536870912 512 i 1 o 0 ty freebsd-ufs xs BSD xt 7 > > 1 PART ad0s2 4250050560 512 i 2 o 25771253760 ty !18 xs MBR xt 18 > > 2 LABEL msdosfs/SERVICEV001 4250050560 512 i 0 o 0 > > 1 PART ad0s1 25771221504 512 i 1 o 32256 ty !7 xs MBR xt 7 > > 0 MD md0 184320 512 u 0 s 512 f 0 fs 0 l 184320 t vnode file /boot/profile/esnet > > 1 LABEL ufsid/40a3fabe35c1dddc 184320 512 i 0 o 0 > >> mount > > /dev/ad0s3a on / (ufs, local, noatime) > > devfs on /dev (devfs, local, multilabel) > > /dev/ad0s3e on /tmp (ufs, local, noatime, soft-updates) > > /dev/ad0s3f on /usr (ufs, local, noatime, soft-updates) > > /dev/ad0s3d on /var (ufs, local, noatime, soft-updates) > > /dev/ad0s4 on /D (msdosfs, local) > > procfs on /proc (procfs, local) > > linprocfs on /usr/compat/linux/proc (linprocfs, local) > > /dev/md0 on /etc (ufs, local, read-only, union) > > /dev/fuse0 on /C (fusefs, local, noatime, synchronous) > > /dev/fuse1 on /usr/home/oberman/.gvfs (fusefs, local, nosuid, synchronous, mounted by oberman) > > /dev/msdosfs/MUSIC on /media/MUSIC (msdosfs, local, nosuid) > > /dev/msdosfs/MUSIC2 on /media/MUSIC2 (msdosfs, local, nosuid) > > /dev/da0s2d on /media/Scratch (ufs, local, nosuid, soft-updates) > >> sysctl -b kern.geom.conftxt > > 0 DISK da0 250059350016 512 hd 255 sc 63 > > 1 PART da0s2 112620533760 512 i 2 o 137436203520 ty freebsd xs MBR xt 165 > > 2 LABEL ufs/Scratch 112620533760 512 i 0 o 0 > > 3 PART ufs/Scratchd 112620533760 512 i 4 o 0 ty freebsd-ufs xs BSD xt 7 > > 1 PART da0s1 137436171264 512 i 1 o 32256 ty !12 xs MBR xt 12 > > 2 LABEL msdosfs/MUSIC2 137436171264 512 i 0 o 0 > > 0 DISK ad2 80026361856 512 hd 16 sc 63 > > 1 PART ad2s1 80023233024 512 i 1 o 32256 ty !12 xs MBR xt 12 > > 2 LABEL msdosfs/MUSIC 80023233024 512 i 0 o 0 > > 0 DISK ad0 80026361856 512 hd 16 sc 63 > > 1 PART ad0s4 8027873280 512 i 4 o 71995875840 ty !12 xs MBR xt 12 > > 1 PART ad0s3 41974571520 512 i 3 o 30021304320 ty freebsd xs MBR xt 165 > > 2 PART ad0s3f 38259786240 512 i 6 o 3714785280 ty freebsd-ufs xs BSD xt 7 > > 2 PART ad0s3e 536870912 512 i 5 o 3177914368 ty freebsd-ufs xs BSD xt 7 > > 2 PART ad0s3d 1595932672 512 i 4 o 1581981696 ty freebsd-ufs xs BSD xt 7 > > 2 PART ad0s3b 1045110784 512 i 2 o 536870912 ty freebsd-swap xs BSD xt 1 > > 2 PART ad0s3a 536870912 512 i 1 o 0 ty freebsd-ufs xs BSD xt 7 > > 1 PART ad0s2 4250050560 512 i 2 o 25771253760 ty !18 xs MBR xt 18 > > 2 LABEL msdosfs/SERVICEV001 4250050560 512 i 0 o 0 > > 1 PART ad0s1 25771221504 512 i 1 o 32256 ty !7 xs MBR xt 7 > > 0 MD md0 184320 512 u 0 s 512 f 0 fs 0 l 184320 t vnode file /boot/profile/esnet > > 1 LABEL ufsid/40a3fabe35c1dddc 184320 512 i 0 o 0 > >> mount > > /dev/ad0s3a on / (ufs, local, noatime) > > devfs on /dev (devfs, local, multilabel) > > /dev/ad0s3e on /tmp (ufs, local, noatime, soft-updates) > > /dev/ad0s3f on /usr (ufs, local, noatime, soft-updates) > > /dev/ad0s3d on /var (ufs, local, noatime, soft-updates) > > /dev/ad0s4 on /D (msdosfs, local) > > procfs on /proc (procfs, local) > > linprocfs on /usr/compat/linux/proc (linprocfs, local) > > /dev/md0 on /etc (ufs, local, read-only, union) > > /dev/fuse0 on /C (fusefs, local, noatime, synchronous) > > /dev/fuse1 on /usr/home/oberman/.gvfs (fusefs, local, nosuid, synchronous, mounted by oberman) > > /dev/msdosfs/MUSIC on /media/MUSIC (msdosfs, local, nosuid) > > /dev/msdosfs/MUSIC2 on /media/MUSIC2 (msdosfs, local, nosuid) > > /dev/ufs/Scratchd on /media/Scratch__ (ufs, local, nosuid, soft-updates) > >> mount > > /dev/ad0s3a on / (ufs, local, noatime) > > devfs on /dev (devfs, local, multilabel) > > /dev/ad0s3e on /tmp (ufs, local, noatime, soft-updates) > > /dev/ad0s3f on /usr (ufs, local, noatime, soft-updates) > > /dev/ad0s3d on /var (ufs, local, noatime, soft-updates) > > /dev/ad0s4 on /D (msdosfs, local) > > procfs on /proc (procfs, local) > > linprocfs on /usr/compat/linux/proc (linprocfs, local) > > /dev/md0 on /etc (ufs, local, read-only, union) > > /dev/fuse0 on /C (fusefs, local, noatime, synchronous) > > /dev/fuse1 on /usr/home/oberman/.gvfs (fusefs, local, nosuid, synchronous, mounted by oberman) > > /dev/msdosfs/MUSIC on /media/MUSIC (msdosfs, local, nosuid) > > /dev/msdosfs/MUSIC2 on /media/MUSIC2 (msdosfs, local, nosuid) > > /dev/ufs/Scratchd on /media/Scratch (ufs, local, nosuid, soft-updates) > >> sysctl -b kern.geom.conftxt > > 0 DISK da0 250059350016 512 hd 255 sc 63 > > 1 PART da0s2 112620533760 512 i 2 o 137436203520 ty freebsd xs MBR xt 165 > > 2 LABEL ufs/Scratch 112620533760 512 i 0 o 0 > > 3 PART ufs/Scratchd 112620533760 512 i 4 o 0 ty freebsd-ufs xs BSD xt 7 > > 1 PART da0s1 137436171264 512 i 1 o 32256 ty !12 xs MBR xt 12 > > 2 LABEL msdosfs/MUSIC2 137436171264 512 i 0 o 0 > > 0 DISK ad2 80026361856 512 hd 16 sc 63 > > 1 PART ad2s1 80023233024 512 i 1 o 32256 ty !12 xs MBR xt 12 > > 2 LABEL msdosfs/MUSIC 80023233024 512 i 0 o 0 > > 0 DISK ad0 80026361856 512 hd 16 sc 63 > > 1 PART ad0s4 8027873280 512 i 4 o 71995875840 ty !12 xs MBR xt 12 > > 1 PART ad0s3 41974571520 512 i 3 o 30021304320 ty freebsd xs MBR xt 165 > > 2 PART ad0s3f 38259786240 512 i 6 o 3714785280 ty freebsd-ufs xs BSD xt 7 > > 2 PART ad0s3e 536870912 512 i 5 o 3177914368 ty freebsd-ufs xs BSD xt 7 > > 2 PART ad0s3d 1595932672 512 i 4 o 1581981696 ty freebsd-ufs xs BSD xt 7 > > 2 PART ad0s3b 1045110784 512 i 2 o 536870912 ty freebsd-swap xs BSD xt 1 > > 2 PART ad0s3a 536870912 512 i 1 o 0 ty freebsd-ufs xs BSD xt 7 > > 1 PART ad0s2 4250050560 512 i 2 o 25771253760 ty !18 xs MBR xt 18 > > 2 LABEL msdosfs/SERVICEV001 4250050560 512 i 0 o 0 > > 1 PART ad0s1 25771221504 512 i 1 o 32256 ty !7 xs MBR xt 7 > > 0 MD md0 184320 512 u 0 s 512 f 0 fs 0 l 184320 t vnode file /boot/profile/esnet > > 1 LABEL ufsid/40a3fabe35c1dddc 184320 512 i 0 o 0 > >> mount > > /dev/ad0s3a on / (ufs, local, noatime) > > devfs on /dev (devfs, local, multilabel) > > /dev/ad0s3e on /tmp (ufs, local, noatime, soft-updates) > > /dev/ad0s3f on /usr (ufs, local, noatime, soft-updates) > > /dev/ad0s3d on /var (ufs, local, noatime, soft-updates) > > /dev/ad0s4 on /D (msdosfs, local) > > procfs on /proc (procfs, local) > > linprocfs on /usr/compat/linux/proc (linprocfs, local) > > /dev/md0 on /etc (ufs, local, read-only, union) > > /dev/fuse0 on /C (fusefs, local, noatime, synchronous) > > /dev/fuse1 on /usr/home/oberman/.gvfs (fusefs, local, nosuid, synchronous, mounted by oberman) > > /dev/msdosfs/MUSIC on /media/MUSIC (msdosfs, local, nosuid) > > /dev/msdosfs/MUSIC2 on /media/MUSIC2 (msdosfs, local, nosuid) > > /dev/da0s2d on /media/Scratch___ (ufs, local, nosuid, soft-updates) > >> sysctl -b kern.geom.conftxt > > 0 DISK da0 250059350016 512 hd 255 sc 63 > > 1 PART da0s2 112620533760 512 i 2 o 137436203520 ty freebsd xs MBR xt 165 > > 2 PART da0s2d 112620533760 512 i 4 o 0 ty freebsd-ufs xs BSD xt 7 > > 1 PART da0s1 137436171264 512 i 1 o 32256 ty !12 xs MBR xt 12 > > 2 LABEL msdosfs/MUSIC2 137436171264 512 i 0 o 0 > > 0 DISK ad2 80026361856 512 hd 16 sc 63 > > 1 PART ad2s1 80023233024 512 i 1 o 32256 ty !12 xs MBR xt 12 > > 2 LABEL msdosfs/MUSIC 80023233024 512 i 0 o 0 > > 0 DISK ad0 80026361856 512 hd 16 sc 63 > > 1 PART ad0s4 8027873280 512 i 4 o 71995875840 ty !12 xs MBR xt 12 > > 1 PART ad0s3 41974571520 512 i 3 o 30021304320 ty freebsd xs MBR xt 165 > > 2 PART ad0s3f 38259786240 512 i 6 o 3714785280 ty freebsd-ufs xs BSD xt 7 > > 2 PART ad0s3e 536870912 512 i 5 o 3177914368 ty freebsd-ufs xs BSD xt 7 > > 2 PART ad0s3d 1595932672 512 i 4 o 1581981696 ty freebsd-ufs xs BSD xt 7 > > 2 PART ad0s3b 1045110784 512 i 2 o 536870912 ty freebsd-swap xs BSD xt 1 > > 2 PART ad0s3a 536870912 512 i 1 o 0 ty freebsd-ufs xs BSD xt 7 > > 1 PART ad0s2 4250050560 512 i 2 o 25771253760 ty !18 xs MBR xt 18 > > 2 LABEL msdosfs/SERVICEV001 4250050560 512 i 0 o 0 > > 1 PART ad0s1 25771221504 512 i 1 o 32256 ty !7 xs MBR xt 7 > > 0 MD md0 184320 512 u 0 s 512 f 0 fs 0 l 184320 t vnode file /boot/profile/esnet > > 1 LABEL ufsid/40a3fabe35c1dddc 184320 512 i 0 o 0 > >> mount > > /dev/ad0s3a on / (ufs, local, noatime) > > devfs on /dev (devfs, local, multilabel) > > /dev/ad0s3e on /tmp (ufs, local, noatime, soft-updates) > > /dev/ad0s3f on /usr (ufs, local, noatime, soft-updates) > > /dev/ad0s3d on /var (ufs, local, noatime, soft-updates) > > /dev/ad0s4 on /D (msdosfs, local) > > procfs on /proc (procfs, local) > > linprocfs on /usr/compat/linux/proc (linprocfs, local) > > /dev/md0 on /etc (ufs, local, read-only, union) > > /dev/fuse0 on /C (fusefs, local, noatime, synchronous) > > /dev/fuse1 on /usr/home/oberman/.gvfs (fusefs, local, nosuid, synchronous, mounted by oberman) > > /dev/msdosfs/MUSIC on /media/MUSIC (msdosfs, local, nosuid) > > /dev/msdosfs/MUSIC2 on /media/MUSIC2 (msdosfs, local, nosuid) > > /dev/da0s2d on /media/Scratch____ (ufs, local, nosuid, soft-updates) > >> sysctl -b kern.geom.conftxt > > 0 DISK da0 250059350016 512 hd 255 sc 63 > > 1 PART da0s2 112620533760 512 i 2 o 137436203520 ty freebsd xs MBR xt 165 > > 2 PART da0s2d 112620533760 512 i 4 o 0 ty freebsd-ufs xs BSD xt 7 > > 1 PART da0s1 137436171264 512 i 1 o 32256 ty !12 xs MBR xt 12 > > 2 LABEL msdosfs/MUSIC2 137436171264 512 i 0 o 0 > > 0 DISK ad2 80026361856 512 hd 16 sc 63 > > 1 PART ad2s1 80023233024 512 i 1 o 32256 ty !12 xs MBR xt 12 > > 2 LABEL msdosfs/MUSIC 80023233024 512 i 0 o 0 > > 0 DISK ad0 80026361856 512 hd 16 sc 63 > > 1 PART ad0s4 8027873280 512 i 4 o 71995875840 ty !12 xs MBR xt 12 > > 1 PART ad0s3 41974571520 512 i 3 o 30021304320 ty freebsd xs MBR xt 165 > > 2 PART ad0s3f 38259786240 512 i 6 o 3714785280 ty freebsd-ufs xs BSD xt 7 > > 2 PART ad0s3e 536870912 512 i 5 o 3177914368 ty freebsd-ufs xs BSD xt 7 > > 2 PART ad0s3d 1595932672 512 i 4 o 1581981696 ty freebsd-ufs xs BSD xt 7 > > 2 PART ad0s3b 1045110784 512 i 2 o 536870912 ty freebsd-swap xs BSD xt 1 > > 2 PART ad0s3a 536870912 512 i 1 o 0 ty freebsd-ufs xs BSD xt 7 > > 1 PART ad0s2 4250050560 512 i 2 o 25771253760 ty !18 xs MBR xt 18 > > 2 LABEL msdosfs/SERVICEV001 4250050560 512 i 0 o 0 > > 1 PART ad0s1 25771221504 512 i 1 o 32256 ty !7 xs MBR xt 7 > > 0 MD md0 184320 512 u 0 s 512 f 0 fs 0 l 184320 t vnode file /boot/profile/esnet > > 1 LABEL ufsid/40a3fabe35c1dddc 184320 512 i 0 o 0 > >> sysctl -b kern.geom.conftxt > > 0 DISK da0 250059350016 512 hd 255 sc 63 > > 1 PART da0s2 112620533760 512 i 2 o 137436203520 ty freebsd xs MBR xt 165 > > 2 LABEL ufs/Scratch 112620533760 512 i 0 o 0 > > 3 PART ufs/Scratchd 112620533760 512 i 4 o 0 ty freebsd-ufs xs BSD xt 7 > > 1 PART da0s1 137436171264 512 i 1 o 32256 ty !12 xs MBR xt 12 > > 2 LABEL msdosfs/MUSIC2 137436171264 512 i 0 o 0 > > 0 DISK ad2 80026361856 512 hd 16 sc 63 > > 1 PART ad2s1 80023233024 512 i 1 o 32256 ty !12 xs MBR xt 12 > > 2 LABEL msdosfs/MUSIC 80023233024 512 i 0 o 0 > > 0 DISK ad0 80026361856 512 hd 16 sc 63 > > 1 PART ad0s4 8027873280 512 i 4 o 71995875840 ty !12 xs MBR xt 12 > > 1 PART ad0s3 41974571520 512 i 3 o 30021304320 ty freebsd xs MBR xt 165 > > 2 PART ad0s3f 38259786240 512 i 6 o 3714785280 ty freebsd-ufs xs BSD xt 7 > > 2 PART ad0s3e 536870912 512 i 5 o 3177914368 ty freebsd-ufs xs BSD xt 7 > > 2 PART ad0s3d 1595932672 512 i 4 o 1581981696 ty freebsd-ufs xs BSD xt 7 > > 2 PART ad0s3b 1045110784 512 i 2 o 536870912 ty freebsd-swap xs BSD xt 1 > > 2 PART ad0s3a 536870912 512 i 1 o 0 ty freebsd-ufs xs BSD xt 7 > > 1 PART ad0s2 4250050560 512 i 2 o 25771253760 ty !18 xs MBR xt 18 > > 2 LABEL msdosfs/SERVICEV001 4250050560 512 i 0 o 0 > > 1 PART ad0s1 25771221504 512 i 1 o 32256 ty !7 xs MBR xt 7 > > 0 MD md0 184320 512 u 0 s 512 f 0 fs 0 l 184320 t vnode file /boot/profile/esnet > > 1 LABEL ufsid/40a3fabe35c1dddc 184320 512 i 0 o 0 > >> sysctl -b kern.geom.conftxt > > 0 DISK da0 250059350016 512 hd 255 sc 63 > > 1 PART da0s2 112620533760 512 i 2 o 137436203520 ty freebsd xs MBR xt 165 > > 2 LABEL ufs/Scratch 112620533760 512 i 0 o 0 > > 3 PART ufs/Scratchd 112620533760 512 i 4 o 0 ty freebsd-ufs xs BSD xt 7 > > 1 PART da0s1 137436171264 512 i 1 o 32256 ty !12 xs MBR xt 12 > > 2 LABEL msdosfs/MUSIC2 137436171264 512 i 0 o 0 > > 0 DISK ad2 80026361856 512 hd 16 sc 63 > > 1 PART ad2s1 80023233024 512 i 1 o 32256 ty !12 xs MBR xt 12 > > 2 LABEL msdosfs/MUSIC 80023233024 512 i 0 o 0 > > 0 DISK ad0 80026361856 512 hd 16 sc 63 > > 1 PART ad0s4 8027873280 512 i 4 o 71995875840 ty !12 xs MBR xt 12 > > 1 PART ad0s3 41974571520 512 i 3 o 30021304320 ty freebsd xs MBR xt 165 > > 2 PART ad0s3f 38259786240 512 i 6 o 3714785280 ty freebsd-ufs xs BSD xt 7 > > 2 PART ad0s3e 536870912 512 i 5 o 3177914368 ty freebsd-ufs xs BSD xt 7 > > 2 PART ad0s3d 1595932672 512 i 4 o 1581981696 ty freebsd-ufs xs BSD xt 7 > > 2 PART ad0s3b 1045110784 512 i 2 o 536870912 ty freebsd-swap xs BSD xt 1 > > 2 PART ad0s3a 536870912 512 i 1 o 0 ty freebsd-ufs xs BSD xt 7 > > 1 PART ad0s2 4250050560 512 i 2 o 25771253760 ty !18 xs MBR xt 18 > > 2 LABEL msdosfs/SERVICEV001 4250050560 512 i 0 o 0 > > 1 PART ad0s1 25771221504 512 i 1 o 32256 ty !7 xs MBR xt 7 > > 0 MD md0 184320 512 u 0 s 512 f 0 fs 0 l 184320 t vnode file /boot/profile/esnet > > 1 LABEL ufsid/40a3fabe35c1dddc 184320 512 i 0 o 0 /me slaps head and screams in frustration at obvious senility I still had a patch from prior debug efforts on this problem in ports/sysutils/hal/files. I cleaned those out and re-installed hald. It now only mounts /dev/da0s2 and ignores /dev/ufs, , but it still keeps re-mounting when I unmount it. Fixing this bug in hald simply removed a red herring, but did not fix the real problem. Sorry for the bad info. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751 From owner-freebsd-gnome@FreeBSD.ORG Thu Aug 26 22:19:58 2010 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 76F3C10656A7 for ; Thu, 26 Aug 2010 22:19:58 +0000 (UTC) (envelope-from marcus@freebsd.org) Received: from av-tac-rtp.cisco.com (hen.cisco.com [64.102.19.198]) by mx1.freebsd.org (Postfix) with ESMTP id 336B38FC08 for ; Thu, 26 Aug 2010 22:19:57 +0000 (UTC) X-TACSUNS: Virus Scanned Received: from rooster.cisco.com (localhost.cisco.com [127.0.0.1]) by av-tac-rtp.cisco.com (8.13.8+Sun/8.13.8) with ESMTP id o7QMJuQj024817; Thu, 26 Aug 2010 18:19:56 -0400 (EDT) Received: from dhcp-64-102-220-224.cisco.com (dhcp-64-102-220-224.cisco.com [64.102.220.224]) by rooster.cisco.com (8.13.8+Sun/8.13.8) with ESMTP id o7QMJtA9029330; Thu, 26 Aug 2010 18:19:56 -0400 (EDT) Message-ID: <4C76E88B.4030607@freebsd.org> Date: Thu, 26 Aug 2010 18:19:55 -0400 From: Joe Marcus Clarke Organization: FreeBSD, Inc. User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: Kevin Oberman References: <20100826215919.B8C601CC3A@ptavv.es.net> In-Reply-To: <20100826215919.B8C601CC3A@ptavv.es.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: gnome@freebsd.org Subject: Re: ports/149134: x11/gnome2 unable to unmount UFS file system 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: Thu, 26 Aug 2010 22:19:58 -0000 On 8/26/10 5:59 PM, Kevin Oberman wrote: > /me slaps head and screams in frustration at obvious senility > > I still had a patch from prior debug efforts on this problem in > ports/sysutils/hal/files. I cleaned those out and re-installed hald. It > now only mounts /dev/da0s2 and ignores /dev/ufs, , but it still keeps > re-mounting when I unmount it. > > Fixing this bug in hald simply removed a red herring, but did not fix > the real problem. > > Sorry for the bad info. Run http://www.marcuscom.com/downloads/devd.pl, then unmount the scratch FS. Post the output from the devd monitor. Joe -- Joe Marcus Clarke FreeBSD GNOME Team :: gnome@FreeBSD.org FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome From owner-freebsd-gnome@FreeBSD.ORG Fri Aug 27 00:14:15 2010 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 1D10C1065697; Fri, 27 Aug 2010 00:14:15 +0000 (UTC) (envelope-from oberman@es.net) Received: from mailgw.es.net (mail1.es.net [IPv6:2001:400:201:1::2]) by mx1.freebsd.org (Postfix) with ESMTP id 03D748FC16; Fri, 27 Aug 2010 00:14:15 +0000 (UTC) Received: from ptavv.es.net (ptavv.es.net [IPv6:2001:400:910::29]) by mailgw.es.net (8.14.3/8.14.3) with ESMTP id o7R0EC07009077 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 26 Aug 2010 17:14:13 -0700 Received: from ptavv.es.net (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id C8B381CC3A; Thu, 26 Aug 2010 17:14:12 -0700 (PDT) To: Joe Marcus Clarke In-reply-to: Your message of "Thu, 26 Aug 2010 18:19:55 EDT." <4C76E88B.4030607@freebsd.org> Date: Thu, 26 Aug 2010 17:14:12 -0700 From: "Kevin Oberman" Message-Id: <20100827001412.C8B381CC3A@ptavv.es.net> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.0.10011, 1.0.148, 0.0.0000 definitions=2010-08-26_14:2010-08-26, 2010-08-26, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=5.0.0-1005130000 definitions=main-1008260197 Cc: gnome@freebsd.org Subject: Re: ports/149134: x11/gnome2 unable to unmount UFS file system 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: Fri, 27 Aug 2010 00:14:15 -0000 > Date: Thu, 26 Aug 2010 18:19:55 -0400 > From: Joe Marcus Clarke > > On 8/26/10 5:59 PM, Kevin Oberman wrote: > > > /me slaps head and screams in frustration at obvious senility > > > > I still had a patch from prior debug efforts on this problem in > > ports/sysutils/hal/files. I cleaned those out and re-installed hald. It > > now only mounts /dev/da0s2 and ignores /dev/ufs, , but it still keeps > > re-mounting when I unmount it. > > > > Fixing this bug in hald simply removed a red herring, but did not fix > > the real problem. > > > > Sorry for the bad info. > > Run http://www.marcuscom.com/downloads/devd.pl, then unmount the scratch > FS. Post the output from the devd monitor. I have an almost identical perl script that I have used for devd debug in the past. I had completely forgotten about it. !system=DEVFS subsystem=CDEV type=CREATE cdev=ufsid/4c43cc21c711100c !system=DEVFS subsystem=CDEV type=CREATE cdev=ufs/Scratch !system=DEVFS subsystem=CDEV type=CREATE cdev=ufsid/4c43cc21c711100cd !system=DEVFS subsystem=CDEV type=CREATE cdev=ufs/Scratchd !system=DEVFS subsystem=CDEV type=DESTROY cdev=ufs/Scratch !system=DEVFS subsystem=CDEV type=DESTROY cdev=ufsid/4c43cc21c711100c !system=DEVFS subsystem=CDEV type=DESTROY cdev=ufs/Scratchd !system=DEVFS subsystem=CDEV type=DESTROY cdev=ufsid/4c43cc21c711100cd While all of these activities are related to ufs and ufsid, the device is re-mounting the /dev/da0s2d partition. Is the 'd' partition possibly triggering this? -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751 From owner-freebsd-gnome@FreeBSD.ORG Sat Aug 28 19:28:33 2010 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 551D210656AA for ; Sat, 28 Aug 2010 19:28:33 +0000 (UTC) (envelope-from marcus@freebsd.org) Received: from av-tac-rtp.cisco.com (hen.cisco.com [64.102.19.198]) by mx1.freebsd.org (Postfix) with ESMTP id 11AD78FC23 for ; Sat, 28 Aug 2010 19:28:32 +0000 (UTC) X-TACSUNS: Virus Scanned Received: from rooster.cisco.com (localhost.cisco.com [127.0.0.1]) by av-tac-rtp.cisco.com (8.13.8+Sun/8.13.8) with ESMTP id o7SJSUhJ006387; Sat, 28 Aug 2010 15:28:30 -0400 (EDT) Received: from fruit-rollup.marcuscom.com (jclarke-pc.cisco.com [172.18.254.236]) by rooster.cisco.com (8.13.8+Sun/8.13.8) with ESMTP id o7SJSRHb024359; Sat, 28 Aug 2010 15:28:27 -0400 (EDT) Message-ID: <4C79635A.7030101@freebsd.org> Date: Sat, 28 Aug 2010 15:28:26 -0400 From: Joe Marcus Clarke Organization: FreeBSD, Inc. User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: Kevin Oberman References: <20100827001412.C8B381CC3A@ptavv.es.net> In-Reply-To: <20100827001412.C8B381CC3A@ptavv.es.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: gnome@freebsd.org Subject: Re: ports/149134: x11/gnome2 unable to unmount UFS file system 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, 28 Aug 2010 19:28:33 -0000 On 8/26/10 8:14 PM, Kevin Oberman wrote: >> Date: Thu, 26 Aug 2010 18:19:55 -0400 >> From: Joe Marcus Clarke >> >> On 8/26/10 5:59 PM, Kevin Oberman wrote: >> >>> /me slaps head and screams in frustration at obvious senility >>> >>> I still had a patch from prior debug efforts on this problem in >>> ports/sysutils/hal/files. I cleaned those out and re-installed hald. It >>> now only mounts /dev/da0s2 and ignores /dev/ufs, , but it still keeps >>> re-mounting when I unmount it. >>> >>> Fixing this bug in hald simply removed a red herring, but did not fix >>> the real problem. >>> >>> Sorry for the bad info. >> >> Run http://www.marcuscom.com/downloads/devd.pl, then unmount the scratch >> FS. Post the output from the devd monitor. > > I have an almost identical perl script that I have used for devd > debug in the past. I had completely forgotten about it. > > !system=DEVFS subsystem=CDEV type=CREATE cdev=ufsid/4c43cc21c711100c > !system=DEVFS subsystem=CDEV type=CREATE cdev=ufs/Scratch > !system=DEVFS subsystem=CDEV type=CREATE cdev=ufsid/4c43cc21c711100cd > !system=DEVFS subsystem=CDEV type=CREATE cdev=ufs/Scratchd > !system=DEVFS subsystem=CDEV type=DESTROY cdev=ufs/Scratch > !system=DEVFS subsystem=CDEV type=DESTROY cdev=ufsid/4c43cc21c711100c > !system=DEVFS subsystem=CDEV type=DESTROY cdev=ufs/Scratchd > !system=DEVFS subsystem=CDEV type=DESTROY cdev=ufsid/4c43cc21c711100cd > > While all of these activities are related to ufs and ufsid, the device > is re-mounting the /dev/da0s2d partition. Is the 'd' partition possibly > triggering this? Try http://www.marcuscom.com/downloads/patch-hald_hf-storage.c Joe -- Joe Marcus Clarke FreeBSD GNOME Team :: gnome@FreeBSD.org FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome From owner-freebsd-gnome@FreeBSD.ORG Sat Aug 28 20:15:59 2010 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 0ED7210656A5; Sat, 28 Aug 2010 20:15:59 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 103CB8FC17; Sat, 28 Aug 2010 20:15:57 +0000 (UTC) Received: from porto.topspin.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id XAA09619; Sat, 28 Aug 2010 23:02:23 +0300 (EEST) (envelope-from avg@icyb.net.ua) Received: from localhost.topspin.kiev.ua ([127.0.0.1]) by porto.topspin.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1OpRbb-0007xM-7z; Sat, 28 Aug 2010 23:02:23 +0300 Message-ID: <4C796B4E.8020704@icyb.net.ua> Date: Sat, 28 Aug 2010 23:02:22 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.8) Gecko/20100822 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: Joe Marcus Clarke References: <20100827001412.C8B381CC3A@ptavv.es.net> <4C79635A.7030101@freebsd.org> In-Reply-To: <4C79635A.7030101@freebsd.org> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: gnome@freebsd.org Subject: Re: ports/149134: x11/gnome2 unable to unmount UFS file system 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, 28 Aug 2010 20:15:59 -0000 on 28/08/2010 22:28 Joe Marcus Clarke said the following: > > Try http://www.marcuscom.com/downloads/patch-hald_hf-storage.c Just wondering aloud... Would the same strange things (mentioned in the comment in the patch) happen with labels for other filesystems like msdos/ cd9660/ ? Or it's something specific to UFS? -- Andriy Gapon From owner-freebsd-gnome@FreeBSD.ORG Sat Aug 28 22:18:42 2010 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 14C2C10656B0 for ; Sat, 28 Aug 2010 22:18:42 +0000 (UTC) (envelope-from marcus@freebsd.org) Received: from av-tac-sj.cisco.com (firebird.cisco.com [171.68.227.73]) by mx1.freebsd.org (Postfix) with ESMTP id F3DA18FC13 for ; Sat, 28 Aug 2010 22:18:41 +0000 (UTC) X-TACSUNS: Virus Scanned Received: from rooster.cisco.com (localhost.cisco.com [127.0.0.1]) by av-tac-sj.cisco.com (8.13.8+Sun/8.13.8) with ESMTP id o7SMIeml011575; Sat, 28 Aug 2010 15:18:40 -0700 (PDT) Received: from fruit-rollup.marcuscom.com (jclarke-pc.cisco.com [172.18.254.236]) by rooster.cisco.com (8.13.8+Sun/8.13.8) with ESMTP id o7SMIUIP026965; Sat, 28 Aug 2010 18:18:31 -0400 (EDT) Message-ID: <4C798B36.3040300@freebsd.org> Date: Sat, 28 Aug 2010 18:18:30 -0400 From: Joe Marcus Clarke Organization: FreeBSD, Inc. User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: Andriy Gapon References: <20100827001412.C8B381CC3A@ptavv.es.net> <4C79635A.7030101@freebsd.org> <4C796B4E.8020704@icyb.net.ua> In-Reply-To: <4C796B4E.8020704@icyb.net.ua> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: gnome@freebsd.org Subject: Re: ports/149134: x11/gnome2 unable to unmount UFS file system 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, 28 Aug 2010 22:18:42 -0000 On 8/28/10 4:02 PM, Andriy Gapon wrote: > on 28/08/2010 22:28 Joe Marcus Clarke said the following: >> >> Try http://www.marcuscom.com/downloads/patch-hald_hf-storage.c > > Just wondering aloud... Would the same strange things (mentioned in the comment > in the patch) happen with labels for other filesystems like msdos/ cd9660/ ? > Or it's something specific to UFS? > Yeah, it could happen for other labels, I suppose. The problem is that the labels that appear dynamically depending oh whether or not a device is mounted confuses hal. If someone mounts /dev/cd0, unmounts it, then sees /dev/cd9660/FREEBSD appear, that will cause hal to think a new device was inserted. That said, I've only seen this happen with UFS. Joe -- Joe Marcus Clarke FreeBSD GNOME Team :: gnome@FreeBSD.org FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome