From owner-freebsd-multimedia@FreeBSD.ORG Sat Mar 31 03:25:08 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 2BD7D16A402 for ; Sat, 31 Mar 2007 03:25:08 +0000 (UTC) (envelope-from sean.west@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.226]) by mx1.freebsd.org (Postfix) with ESMTP id C7F1813C45A for ; Sat, 31 Mar 2007 03:25:07 +0000 (UTC) (envelope-from sean.west@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so642646wxc for ; Fri, 30 Mar 2007 20:24:56 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=JNaTqYfXhuU2YA0Bhob0kQ0S/OY/tbUXxjDTFDoVHFDh4rBqk9GQuSABJ2ukKQUNnUGvKIqEKBgSZ5LVswJhIco1iMf+l/jEmP2fe1aX0SjCqqJUPnf/yUBGQ4b4ShcS1urW72NygRf4kwRpug1BBPjfpoJiIG+XEwuH+s0MLO0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Yyax7AzEPGxsj7E279LuSqd2py+xpkHzl+rUOLCNS5//921n2y3bW/eJIiY6lQ7kAV/EqV4sNA79zar3b2td+DcELa3i+KjvcNWFYo0GvOeEtC2esEJYc3kxbZsMUXHv+LLjIjEZ+2R2oM6MclqnqFXrUXVzYIuSAN6fch+d9zI= Received: by 10.115.18.1 with SMTP id v1mr1005053wai.1175311057301; Fri, 30 Mar 2007 20:17:37 -0700 (PDT) Received: by 10.114.121.4 with HTTP; Fri, 30 Mar 2007 20:17:37 -0700 (PDT) Message-ID: <50feecaf0703302017r7e3ae52dg12539d78d8b2bdf2@mail.gmail.com> Date: Fri, 30 Mar 2007 20:17:37 -0700 From: "Sean West" To: "usleepless@gmail.com" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <50feecaf0703250944r2a373b13waad923d872701b93@mail.gmail.com> <957626.19205.qm@web30312.mail.mud.yahoo.com> <50feecaf0703251312m52c7cd79p9392db778ed33b4@mail.gmail.com> <50feecaf0703281744o6598298ck52e8199ac7bcb7e9@mail.gmail.com> <20070329013122.GD79742@wantadilla.lemis.com> <50feecaf0703290559w15757d0dh2a5b5babbd2c86ef@mail.gmail.com> <50feecaf0703291556t4043b38an2be257b1cbd6b4e1@mail.gmail.com> Cc: freebsd-multimedia@freebsd.org Subject: Re: FreeBSD 5.5, PVR500, MythTV svn 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: Sat, 31 Mar 2007 03:25:08 -0000 On 3/30/07, usleepless@gmail.com wrote: > Sean, > > On 3/30/07, usleepless@gmail.com wrote: > > Sean, > > > > On 3/30/07, Sean West wrote: > > > On 3/29/07, usleepless@gmail.com wrote: > > > > Sean, List, > > > > > > > > On 3/29/07, Sean West wrote: > > > > > On 3/28/07, Greg 'groggy' Lehey wrote: > > > > > > On Wednesday, 28 March 2007 at 17:44:47 -0700, Sean West wrote: > > > > > > > I'm stumped. Does anyone else have any suggestions? > > > > > > > > > > > > No. How can I? > > > > > > > > > > Sorry. See my first post here: > > > > > > > > > > > > > > > http://lists.freebsd.org/pipermail/freebsd-multimedia/2007-March/006262.html > > > > > > > > sorry i have been away for so long. > > > > > > > > i would like to try to fix this with you. my first question is: why > > > > are you still on 5.5? > > > > > > Hahaha... I was actually asking myself the same question as I was > > > writing the subject for the first post. I just cvsup'd 6.2-release > > > lastnight and I was going to upgrade today. If you would like my to do > > > some testing on 5.5, I'm all for it. > > > > go ahead and upgrade: i have no wish for the driver to be backwards > > compatible: it uses fast interrupts and firmware(9) now, which is only > > available in >6.1. > > > > if upgrading solves your problem, then the problem is solved. right? > > > > let me know, > > don't forget to repatch the kernel. and there is another problem: the > patches from the current port don't apply cleanly to the latest > source. your kernel build will fail. > > use the attached patch instead. > > regards, > > usleep > > I got FreeBSD 6.2-STABLE installed and running. I applied your patch and rebuilt/installed the kernel. I went to the pvrxxx port and cleaned it out, and made it again (with the addition of the case 0x5c: in cxm_eeprom.c). I then went to kldload cxm. Output was like this: --- second(radio) tuner 101 tuner code 92 tuner_type = 20 cxm0: TCL 2002N-6A tuner cxm0: Eeprom NTSC cxm0: [GIANT-LOCKED] WARNING: Device driver " Fatal trap 12: page fault while in kernel mode fault virtual address = 0x400000 fault code = supervisor read, page not present instruction pointer = 0x20:0xc070dda4 stack pointer = 0x28:e7f659f0 frame pointer = 0x28:e7f659f0 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL=0 current process = 948 (kldload) trap number = 12 panic: page fault --- The WARNING line just stopped at the quote. I've rebuild the kernel and the port a couple times, but no luck. Did I miss something when updating to 6.2? or is this something to do with the driver? Thanks! Sean