From owner-freebsd-multimedia@FreeBSD.ORG Wed Feb 28 07:00:33 2007 Return-Path: X-Original-To: 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 A15A016A404 for ; Wed, 28 Feb 2007 07:00:33 +0000 (UTC) (envelope-from grog@lemis.com) Received: from ext-gw.lemis.com (ext-gw.lemis.com [150.101.14.10]) by mx1.freebsd.org (Postfix) with ESMTP id 3912C13C49D for ; Wed, 28 Feb 2007 07:00:33 +0000 (UTC) (envelope-from grog@lemis.com) Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.135]) by ext-gw.lemis.com (Postfix) with ESMTP id 0DC25133CBB for ; Wed, 28 Feb 2007 17:30:32 +1030 (CST) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id F0FC11AA1F3; Wed, 28 Feb 2007 17:30:31 +1030 (CST) Date: Wed, 28 Feb 2007 17:30:31 +1030 From: Greg 'groggy' Lehey To: multimedia@FreeBSD.org Message-ID: <20070228070031.GJ8399@wantadilla.lemis.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DesjdUuHQDwS2t4N" Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 VoIP: sip:0871270137@sip.internode.on.net WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 Cc: Subject: PVR drivers: more information 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: Wed, 28 Feb 2007 07:00:33 -0000 --DesjdUuHQDwS2t4N Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I've done some more testing today and have come up with a situation where usleep's driver can't get a signal lock. Here are a couple of examples, neither of them involving MythTV: Feb 28 14:41:48 tv2 kernel: cxm0: mem 0xdc000000-0xdfffffff irq 12 at device 3.0 on pci2 Feb 28 14:41:48 tv2 kernel: cxm_iic0: on cxm0 Feb 28 14:41:48 tv2 kernel: iicbb0: on cxm_iic0 Feb 28 14:41:48 tv2 kernel: iicbus0: on iicbb0 master-only Feb 28 14:41:48 tv2 kernel: cxm0: Philips FM1216ME MK3 tuner Feb 28 14:41:48 tv2 kernel: cxm0: SAA7115 rev 1 video decoder Feb 28 14:41:48 tv2 kernel: cxm0: MSP4418G-B3 audio decoder Feb 28 14:41:48 tv2 kernel: cxm0: IR Remote Feb 28 14:41:48 tv2 kernel: cxm0: [FAST] Feb 28 14:41:51 tv2 kernel: cxm0: could not allocate encoder buffer Feb 28 14:41:51 tv2 kernel: iicbus0: detached Feb 28 14:41:51 tv2 kernel: iicbb0: detached Feb 28 14:41:51 tv2 kernel: cxm_iic0: detached Feb 28 14:41:51 tv2 kernel: device_attach: cxm0 attach returned 12 After a reboot, I got: Feb 28 14:49:24 tv2 kernel: cxm0: mem 0xdc000000-0xdfffffff irq 12 at device 3.0 on pci2 Feb 28 14:49:24 tv2 kernel: cxm_iic0: on cxm0 Feb 28 14:49:24 tv2 kernel: iicbb0: on cxm_iic0 Feb 28 14:49:24 tv2 kernel: iicbus0: on iicbb0 master-only Feb 28 14:49:24 tv2 kernel: cxm0: Philips FM1216ME MK3 tuner Feb 28 14:49:24 tv2 kernel: cxm0: SAA7115 rev 1 video decoder Feb 28 14:49:24 tv2 kernel: cxm0: MSP4418G-B3 audio decoder Feb 28 14:49:24 tv2 kernel: cxm0: IR Remote Feb 28 14:49:24 tv2 kernel: cxm0: [FAST] Feb 28 14:49:26 tv2 kernel: cxm0: encoder firmware version 0x2060039 Feb 28 14:49:26 tv2 kernel: cxm0: decoder firmware version 0x2020023 Feb 28 15:53:28 tv2 kernel: cxm0: video decoder isn't locked Feb 28 15:53:28 tv2 kernel: Could not detect FPS Feb 28 15:53:28 tv2 kernel: could not config dec Feb 28 15:53:28 tv2 kernel: could not start encoder Feb 28 15:53:28 tv2 kernel: cxm0: video decoder isn't locked It's not easily repeatable, but so far it has only happened with the version of pvrXXX that usleep sent. I've also discovered that you should not load the module at boot time: for me at any rate it caused a panic before you could enter single-user mode, which makes it difficult to fix. I'm looking at both these problems; if anybody else has any input, I'd be interested in hearing from you. Greg -- See complete headers for address and phone numbers. --DesjdUuHQDwS2t4N Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFF5SiPIubykFB6QiMRAtlpAKCW8PLr1sRGKtUO3REuDfLmqQPw4gCfYZlN TCVPiyyyMC+Nu+/+cbEV6+o= =Gif7 -----END PGP SIGNATURE----- --DesjdUuHQDwS2t4N--