From owner-freebsd-multimedia@FreeBSD.ORG Tue Jan 2 23:59:37 2007 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C8B2A16A403 for ; Tue, 2 Jan 2007 23:59:37 +0000 (UTC) (envelope-from usleepless@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.170]) by mx1.freebsd.org (Postfix) with ESMTP id 656F013C442 for ; Tue, 2 Jan 2007 23:59:37 +0000 (UTC) (envelope-from usleepless@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so4466992uge for ; Tue, 02 Jan 2007 15:59:36 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=uMfG14J/uj3+oUz2t7UgfmP+9V26g6e+wyVrAV2pih6UeEPQUFQunenOAqZUmzUZzUzZ3lPM9pmNJydCq9sbn6iJr3VcfD4kHLddJCv2oLtOL0gZGD/JErBwSbBywN5IpIhlH1lqXh0rXlJYJFz7oHSOAuL6cRIQPGsTzzyBejA= Received: by 10.78.131.8 with SMTP id e8mr2079938hud.1167782376137; Tue, 02 Jan 2007 15:59:36 -0800 (PST) Received: by 10.78.123.18 with HTTP; Tue, 2 Jan 2007 15:59:36 -0800 (PST) Message-ID: Date: Wed, 3 Jan 2007 00:59:36 +0100 From: usleepless@gmail.com To: "Hans Nieser" In-Reply-To: <459A4E82.6090201@xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <459A4E82.6090201@xs4all.nl> Cc: freebsd-multimedia@freebsd.org Subject: Re: MythTV testing results X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Jan 2007 23:59:38 -0000 Hans, Torfinn, List, On 1/2/07, Hans Nieser wrote: << snip >> > 2007-01-02 12:44:41.012 Connection to backend server lost > 2007-01-02 12:44:41.012 Connecting to backend server: 127.0.0.1:6543 (try > 1 of 5) > 2007-01-02 12:44:41.014 Using protocol version 30 > 2007-01-02 12:44:48.017 MythSocket(8726500:12): readStringList: Error, > timeout (quick). > 2007-01-02 12:44:48.018 MythSocket(8726500:-1): writeStringList: Error, > invalid string list. > 2007-01-02 12:44:48.018 MythSocket(8726500:-1): readStringList: Error, > called with unconnected socket. > 2007-01-02 12:44:48.018 Reconnection to backend server failed > Mutex unlock failure: Operation not permitted this is the same problem as Torfinn reported. i think it has to do with the way ipc is done in mythtv ( ie: the problem is usleep() is not guaranteed to do a context-switch ). > I'm running both as root at the moment just to rule out any permission > issues. Another thing that I noticed is that mythbackend reports "ERROR: > no valid capture cards are defined in the database." even though I believe > I have succesfully set one up using mythtv-setup, and I can see it defined > in the mythconverg MySQL database in the capturecard table. It does seem > to succesfully connect to the MySQL database though. Also note that I'm > running everything (MySQL, mythbackend, mythtv) on the same machine. i don't think you guys are doing anything wrong. i think the problem is with the way mythtv is programmed ( poor ipc ). i can understand why someone ( in this case Greg ) wants to start out with the latest version. i was ( and still am ) curious if you guys would have a much easier ride than i had because you based it of mythtv-0.20, don't hate mysql as much as i do and are running it on >6.0 only. while i seem to be the only one running a mythbackend+mythfrontend on freebsd, i would rather just install a port ( as long as it runs, and doesn't rely on mysql ). the reason i didn't commit my personal branch are: 1. lagging behind in version 2. don't want to maintain a branch. inevatably, people will come with patches and requests, and knowing myself i can not commit to such a task. depending on other success/failure reports, i can imagine a couple of scenarios: - this port ( mythtv-0.20 ) is patched quick 'n' dirty by redefining usleep() and a handfull(maybe more) of other patches ( i can be of help, and would love to do so ) - i create diffs for my personal branch against 0.18-fixes and we! try to apply them to 0.20 ( either the ipc-patches only, or the ipc-patches and the pgsql patches ). this would be ideal. - my personal mythtv-0.18-fixes-pgsql-mythtv-ipc-done-right is commited to the ports tree. it works for people with multimedia/pvrxxx and should work for people with pvr250/350s soon as well. it will need "port-polishing" since my installation evoluted(?). it must be said that while we ( me and my gf ) are very happy with the mythtv-system, it occasianally crashes. but now i think of it: it never crashes on my freebsd6-desktop-system. it crashes on my xbox, which is running on xebian. but the mythtv-installation on my xbox is running of the the same personal branch of mythtv as my 4.11-server and my 6.1-release-p10-desktop are running ( this also means that my patches are freebsd/linux compatible ). we hardly watch live-tv anymore. it is a blessing. regards, usleep