FreeBSD 5.5, PVR500, MythTV svn

usleepless at gmail.com usleepless at gmail.com
Fri Apr 6 18:38:25 UTC 2007


Sean,

On 4/6/07, Sean West <sean.west at gmail.com> wrote:
> On 4/5/07, Sean West <sean.west at gmail.com> wrote:
> > On 4/5/07, usleepless at gmail.com <usleepless at gmail.com> wrote:
> > > Sean,
> > >
> > > On 4/5/07, Sean West <sean.west at gmail.com> wrote:
> > > > On 4/4/07, usleepless at gmail.com <usleepless at gmail.com> wrote:
> > > > > Sean,
> > > > >
> > > > > On 3/31/07, Sean West <sean.west at gmail.com> wrote:
> > > > > > 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
> > > > >
> > > > > i hope you are still interested in a possible solution to your
> problem.
> > > >
> > > > Yes!!
> > > >
> > > > >
> > > > > i have uploaded my latest pvrxxx-version to:
> > > > >   http://usleepless.110mb.com/pvrxxx_port-01042007.tgz
> > > > >
> > > > > untar in /usr/ports/multimedia and give it a go. let me know about
> > > > > results ( and include logs if appropiate )
> > > >
> > > > => cxm-20051030.shar doesn't seem to exist in /usr/ports/distfiles/.
> > > > => Attempting to fetch from http://usleepless.110mb.com/.
> > > > fetch: http://usleepless.110mb.com/cxm-20051030.shar: Moved
> Temporarily
> > > > => Attempting to fetch from http://dl.ivtvdriver.org/ivtv/firmware/.
> > > > fetch: http://dl.ivtvdriver.org/ivtv/firmware/cxm-20051030.shar: Not
> Found
> > > > => Attempting to fetch from
> ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
> > > > fetch:
> ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/cxm-20051030.shar:
> > > > File unavailable (e.g., file not found, no access)
> > > > => Couldn't fetch it - please try to retrieve this
> > > > => port manually into /usr/ports/distfiles/ and try again.
> > > >
> > > > Hmmm, did you forget to upload that file? =P
> > >
> > > please re-download the port-archive:
> > >   http://usleepless.110mb.com/pvrxxx_port-01042007.tgz
> >
> > Okay...
> >
> > You forgot to update the distinfo, so I updated the cxm* files to:
> >
> > MD5 (cxm-20051030.shar.gz) = 0d3a61fb42bbd0fa301542ea57662d28
> > SHA256 (cxm-20051030.shar.gz) =
> f933d72dc4d87d07afd2aa8dfb1158ca56272f0a5e9deb6$
> > SIZE (cxm-20051030.shar.gz) = 35962
> >
> > I did a make again, which successfully grabbed the file and started
> > the build, it stopped at:
> >
> > cc -O2 -fno-strict-aliasing -pipe  -I../../.. -D_KERNEL -DKLD_MODULE
> > -nostdinc -I-  -I../../.. -I. -I@ -I@/contrib/altq -I@/../include
> > -I/usr/include -finline-limit=8000 -fno-common
> > -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx
> > -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Wall -Wredundant-decls
> > -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes
> > -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -c
> > /home/sean/downloads/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c
> > In file included from ./v4l2_ioctl_hook.h:8,
> >                  from
> >
> /home/sean/downloads/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c:90:
> > ./cx25840.h:107: error: redefinition of `struct firmware'
> >
> > I would look into this further, but I should be at work already =P
> >
> > Thanks!
> > Sean
> >
>
>
> Haha.. Ignore that post. The problem was that I had the FreeBSD
> sources in an other directory than /usr/src (I have no idea why I did
> that, its fixed now though).
>
> The new port compiled, installed and loaded flawlessly. It even
> detected my tuner without any changes. All was good, until I tried
> reading from cxm0 (cat /dev/cxm0 > /home/sean/test), my computer
> rebooted after a few seconds again. Same thing that was happening on
> FreeBSD 5.4. I watched ttyv0 for any messages before the reboot, but
> there was nothing. Any ideas???
>
> Sean

i just pluggen in a pvr500 in my 6.2 machine, and can't reproduce the problem.

what command do you use to tune to a channel? do you tune by channel
or by frequency?

regards,

usleep


More information about the freebsd-multimedia mailing list