FreeBSD 5.5, PVR500, MythTV svn

Sean West sean.west at gmail.com
Sat Mar 31 03:25:08 UTC 2007


On 3/30/07, usleepless at gmail.com <usleepless at gmail.com> wrote:
> Sean,
>
> On 3/30/07, usleepless at gmail.com <usleepless at gmail.com> wrote:
> > Sean,
> >
> > On 3/30/07, Sean West <sean.west at gmail.com> wrote:
> > > On 3/29/07, usleepless at gmail.com <usleepless at gmail.com> wrote:
> > > > Sean, List,
> > > >
> > > > On 3/29/07, Sean West <sean.west at gmail.com> wrote:
> > > > > On 3/28/07, Greg 'groggy' Lehey <grog at 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


More information about the freebsd-multimedia mailing list