Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Mar 2007 20:17:37 -0700
From:      "Sean West" <sean.west@gmail.com>
To:        "usleepless@gmail.com" <usleepless@gmail.com>
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: FreeBSD 5.5, PVR500, MythTV svn
Message-ID:  <50feecaf0703302017r7e3ae52dg12539d78d8b2bdf2@mail.gmail.com>
In-Reply-To: <c39ec84c0703301415g6e84c70dma77507b1919bf870@mail.gmail.com>
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> <c39ec84c0703291157o276bb2f3l99168a80e9e75bd3@mail.gmail.com> <50feecaf0703291556t4043b38an2be257b1cbd6b4e1@mail.gmail.com> <c39ec84c0703292326g1a252f2cg46db6fc915382c4f@mail.gmail.com> <c39ec84c0703301415g6e84c70dma77507b1919bf870@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 3/30/07, usleepless@gmail.com <usleepless@gmail.com> wrote:
> Sean,
>
> On 3/30/07, usleepless@gmail.com <usleepless@gmail.com> wrote:
> > Sean,
> >
> > On 3/30/07, Sean West <sean.west@gmail.com> wrote:
> > > On 3/29/07, usleepless@gmail.com <usleepless@gmail.com> wrote:
> > > > Sean, List,
> > > >
> > > > On 3/29/07, Sean West <sean.west@gmail.com> wrote:
> > > > > On 3/28/07, Greg 'groggy' Lehey <grog@freebsd.org> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50feecaf0703302017r7e3ae52dg12539d78d8b2bdf2>