Koozali.org: home of the SME Server

HOW-TO (draft): Mythtv as a backend on sme server

guest22

Re: HOW-TO (draft): Mythtv as a backend on sme server
« Reply #30 on: February 07, 2008, 04:23:11 PM »
Transaction Check Error:   file /lib/firmware/v4l-cx2341x-init.mpg conflicts between attempted installs of ivtv-firmware-20070217-16 and ivtv-0.4.10-114.el4
  file /lib/modules/v4l-cx2341x-init.mpg conflicts between attempted installs of ivtv-firmware-20070217-16 and ivtv-0.4.10-114.el4

Looks like you need to cleanup thoroughly maybe even manually before trying to install the correct ivtv module. Leaving the bits from previous install may fool mythtv operations somewhere...

guest

Offline mmellon

  • **
  • 41
  • +0/-0
uninstall/reinstall didn't do it... Re: HOW-TO (draft): Mythtv as a backend on
« Reply #31 on: February 08, 2008, 06:28:13 PM »
Hello again,

I uninstalled all the myth* and lib* and listed packages, dropped the mythconverg db using phpmyadmin, then carefully yum localinstalled only the 0.20.2-171 packages downloaded from atrpms.  Same exact error.

If I uninstall all again, what folders/files should I check and delete to truly purge the previous installs?  Both for all mythtv related and ivtv related (as the previous post suggested I have a conflicting file installed).

To be honest, the IVTV error reads to me to say that one IVTV conflicts with the .mpg file from another IVTV package (that is, the .mpg from ivtv and from ivtv-firmware conflict with each other, so this install will just not work).

Any thoughts?  On IVTV or on purging the mythtv the right way?

Many thanks,

--Matt

guest22

Re: HOW-TO (draft): Mythtv as a backend on sme server
« Reply #32 on: February 08, 2008, 07:05:20 PM »
Here's what my system reports on ivtv files location:

/lib/modules/ivtv-fw-dec.bin
/lib/modules/ivtv-fw-enc.bin
/lib/modules/2.6.9-67.0.1.EL/updates/drivers/media/video/ivtv.ko
/lib/modules/2.6.9-67.0.1.EL/updates/drivers/media/video/ivtv-fb.ko
/usr/lib/ivtv
/usr/lib/ivtv/ivtvfwextract.pl
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/auto/Video/ivtv
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/auto/Video/ivtv/ivtv.so
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/Video/ivtv.pm
/usr/share/doc/ivtv-0.4.10
/usr/share/doc/ivtv-0.4.10/fw-dma.txt
/usr/share/doc/ivtv-0.4.10/README.xdriver
/usr/share/doc/ivtv-0.4.10/fw-encoder-api.txt
/usr/share/doc/ivtv-0.4.10/README.utils
/usr/share/doc/ivtv-0.4.10/fw-calling.txt
/usr/share/doc/ivtv-0.4.10/README.devices
/usr/share/doc/ivtv-0.4.10/README.vbi
/usr/share/doc/ivtv-0.4.10/fw-decoder-api.txt
/usr/share/doc/ivtv-0.4.10/fw-osd-api.txt
/usr/share/doc/ivtv-0.4.10/README.lirc
/usr/share/doc/ivtv-0.4.10/README.tda9887
/usr/share/doc/ivtv-0.4.10/README.ivtvfb
/usr/share/doc/ivtv-0.4.10/fw-memory.txt
/usr/share/doc/ivtv-0.4.10/README.install
/usr/share/doc/ivtv-0.4.10/modules.txt
/usr/share/doc/ivtv-0.4.10/README.radio
/usr/share/doc/ivtv-0.4.10/video-quality.txt
/usr/share/doc/ivtv-0.4.10/fw-upload.txt
/usr/share/doc/ivtv-0.4.10/README.X11
/usr/share/doc/perl-Video-ivtv-0.13
/usr/share/doc/perl-Video-ivtv-0.13/MANIFEST
/usr/share/doc/perl-Video-ivtv-0.13/Changes
/usr/share/doc/perl-Video-ivtv-0.13/README
/usr/share/man/man3/Video::ivtv.3pm.gz
/usr/bin/ivtv-mpegindex
/usr/bin/ivtv-tune
/usr/bin/radio-ivtv
/usr/bin/ivtv-encoder
/usr/bin/ivtv-radio
/usr/bin/ivtvfbctl
/usr/bin/ivtv-detect
/usr/bin/ivtvctl
/usr/bin/ivtvplay

guest


Offline mmellon

  • **
  • 41
  • +0/-0
Re: HOW-TO (draft): Mythtv as a backend on sme server
« Reply #33 on: February 09, 2008, 06:03:17 PM »
Thank you.

I have completed a fresh re-install, formatting the disks.  I am browsing atrpms el4 directories, and see that mythtv 0.21-175 and -174 are the current versions if I don't download and do a local install.

Per the howto, sme7.3 can NOT use any mythtv greater than 0.20.2, yes?  Because those newer *require* MySQL 5, yes?  So I think one must do a download (wget) and localinstall for 0.20.2.

That said, the only two versions on atrpms are presumably the latest.  Therefore, I am going to yum localinstall (and have been trying to) the 0.20.2-171.  Has anyone been successful with this?

I have so far only configured the server and network, enabled local ssh, and enable X11 forwarding over ssh.

Thanks!

--Matt

Offline mmellon

  • **
  • 41
  • +0/-0
Re: HOW-TO (draft): Mythtv as a backend on sme server
« Reply #34 on: February 09, 2008, 06:11:24 PM »
Interesting.... 0.20.2-172 it seems....
--matt

[root@XXX ~]# yum info mythtv --enablerepo=atrpms --enablerepo=dag
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "fastestmirror" plugin
Loading "smeserver" plugin
Setting up repositories
dag                       100% |=========================| 1.1 kB    00:00     
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
primary.xml.gz            100% |=========================| 1.9 MB    00:07     
dag       : ################################################## 8418/8418
Excluding Packages from atrpms - EL4
Finished
Excluding Packages from Dag - EL4
Finished
Excluding Packages from CentOS - updates
Finished
Excluding Packages from CentOS - os
Finished
Available Packages
Name   : mythtv
Arch   : i386
Version: 0.20.2
Release: 172.el4
Size   : 12 k
Repo   : atrpms
Summary: A personal video recorder (PVR) application
Description:
 MythTV implements the following PVR features, and more, with a
unified graphical interface:

 - Basic 'live-tv' functionality. Pause/Fast Forward/Rewind "live" TV.
 - Video compression using RTjpeg or MPEG-4
 - Program listing retrieval using XMLTV
 - Themable, semi-transparent on-screen display
 - Electronic program guide
 - Scheduled recording of TV programs
 - Resolution of conflicts between scheduled recordings
 - Basic video editing

================================================================
No new rpms were installed. No additional commands are required.
================================================================

Offline mmellon

  • **
  • 41
  • +0/-0
Re: HOW-TO (draft): Mythtv as a backend on sme server
« Reply #35 on: February 09, 2008, 06:31:42 PM »
When running, as per howto:
yum install mythweb mythtv-setup mythtv-frontend mythtv-backend --enablerepo=atrpms

Now stopped b/c:

--> Running transaction check
--> Processing Dependency: liblirc_client.so.0 for package: libmyth-0.20.2_0
--> Finished Dependency Resolution
Error: Missing Dependency: liblirc_client.so.0 is needed by package libmyth-0.20.2_0
================================================================
No new rpms were installed. No additional commands are required.
================================================================


... So I'll hunt for liblirc and see if I can install in advance....

--matt

Offline mmellon

  • **
  • 41
  • +0/-0
Re: HOW-TO (draft): Mythtv as a backend on sme server
« Reply #36 on: February 09, 2008, 06:38:13 PM »
..added --enablerepo=dag as found lirc in dag... now gets through:

--> Running transaction check

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
 mythtv-backend          i386       0.20.2-172.el4   atrpms            623 k
 mythtv-frontend         i386       0.20.2-172.el4   atrpms            2.1 M
 mythtv-setup            i386       0.20.2-172.el4   atrpms            110 k
 mythweb                 i386       0.20.2-172.el4   atrpms            628 k
Installing for dependencies:
 alsa-lib                i386       1.0.6-5.RHEL4    base              302 k
 arts                    i386       8:1.3.1-2        base              1.1 M
 audiofile               i386       1:0.2.6-1.el4.1  base               99 k
 esound                  i386       1:0.2.35-2       base              121 k
 jack-audio-connection-kit  i386       0.102.20-3.el4.at  atrpms            141 k
 lame                    i386       3.97-1.el4.rf    dag               588 k
 libXvMCW                i386       0.9.3-4.el4.at   atrpms             15 k
 libavc1394              i386       0.4.1-4.EL       base               31 k
 libdca                  i386       0.0.5-1.el4.rf   dag               133 k
 libfreebob              i386       1.0.0-3.el4.at   atrpms            156 k
 libiec61883_0           i386       1.1.0-0_9.el4.at  atrpms             24 k
 libmyth-0.20.2_0        i386       0.20.2-172.el4   atrpms            1.1 M
 libmythavcodec-0.20.2_0  i386       0.20.2-172.el4   atrpms            1.2 M
 libmythavformat-0.20.2_0  i386       0.20.2-172.el4   atrpms            280 k
 libmythavutil-0.20.2_0  i386       0.20.2-172.el4   atrpms             23 k
 libmythfreemheg-0.20.2_0  i386       0.20.2-172.el4   atrpms            214 k
 libmythlivemedia-0.20.2_0  i386       0.20.2-172.el4   atrpms            310 k
 libmythtv-0.20.2_0      i386       0.20.2-172.el4   atrpms            4.3 M
 libmythui-0.20.2_0      i386       0.20.2-172.el4   atrpms            225 k
 libmythupnp-0.20.2_0    i386       0.20.2-172.el4   atrpms            252 k
 libogg                  i386       2:1.1.3-7.el4.at  atrpms             18 k
 libraw1394              i386       0.10.1-3         base               35 k
 libraw1394_8            i386       1.3.0-3_11.el4   atrpms             14 k
 libvorbis               i386       1:1.1.0-2.el4.5  base              186 k
 lirc                    i386       0.6.6-4.2.el4.rf  dag               232 k
 mythtv-themes           i386       0.20.2-172.el4   atrpms            5.2 M

Transaction Summary
=============================================================================
Install     30 Package(s)         
Update       0 Package(s)         
Remove       0 Package(s)         
Total download size: 20 M
Is this ok [y/N]:


Offline mmellon

  • **
  • 41
  • +0/-0
Re: HOW-TO (draft): Mythtv as a backend on sme server
« Reply #37 on: February 09, 2008, 06:54:38 PM »
.....and in response to:
yum install ivtv ivtv-kmdl-`uname -r` --enablerepo=atrpms --enablerepo=dag

.....looking good so far with:

--> Running transaction check

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
 ivtv                    i386       1:0.4.10-114.el4  atrpms            137 k
 ivtv-kmdl-2.6.9-67.0.1.ELsmp  i686       1:0.4.10-114.el4  atrpms            170 k
Installing for dependencies:
 ivtv-firmware           noarch     2:20070217-16    atrpms            128 k
 perl-Video-Frequencies  noarch     0.03-4.el4.at    atrpms             23 k
 perl-Video-ivtv         i386       0.13-8.el4.at    atrpms             23 k

Transaction Summary
=============================================================================
Install      5 Package(s)         
Update       0 Package(s)         
Remove       0 Package(s)         
Total download size: 481 k
Is this ok [y/N]:


...and then get this:
Installed: ivtv.i386 1:0.4.10-114.el4 ivtv-kmdl-2.6.9-67.0.1.ELsmp.i686 1:0.4.10-114.el4
Dependency Installed: ivtv-firmware.noarch 2:20070217-16 perl-Video-Frequencies.noarch 0:0.03-4.el4.at perl-Video-ivtv.i386 0:0.13-8.el4.at
Complete!

... so it looks like the ivtv .mpg error was related to some junk.

...now to reboot correctly and try to run mysql steps andmythtv-setup....


Offline mmellon

  • **
  • 41
  • +0/-0
final: same segfault, full clean re-install of sme 7.3, mythtv 0.20.2-172....
« Reply #38 on: February 09, 2008, 07:02:06 PM »
Finished mysql steps, fixed "known problem" with password set to OLD style, and then:

user@desktoppc:~/Desktop$ ssh -X root@smeserver /usr/bin/mythtv-setup
root@smeserver's password:
/usr/X11R6/bin/xauth:  creating new authority file /root/.Xauthority
2008-02-09 12:53:36.294 Using runtime prefix = /usr
2008-02-09 12:53:36.300 DPMS is active.
2008-02-09 12:53:36.329 Unable to read configuration file mysql.txt
2008-02-09 12:53:36.329 Trying to create a basic mysql.txt file
2008-02-09 12:53:36.329 Writing settings file /root/.mythtv/mysql.txt
2008-02-09 12:53:36.364 New DB connection, total: 1
2008-02-09 12:53:36.365 Connected to database 'mythconverg' at host: localhost
2008-02-09 12:53:36.365 Total desktop dim: 1366x768, with 1 screen.
2008-02-09 12:53:36.405 Using screen 0, 1366x768 at 0,0
user@desktoppc:~/Desktop$

desktoppc is mythbuntu, up-to-date, with nVidia binary and xvmc.  Nothing happens, just as before.  No errors.  So now will just ssh -X root from desktoppc (ubuntu) and not specify command, then run mythtv-setup from that command line and get same old segfault:
[root@smeserver .mythtv]# /usr/bin/mythtv-setup
2008-02-09 12:58:34.480 Using runtime prefix = /usr
2008-02-09 12:58:34.485 DPMS is active.
2008-02-09 12:58:34.489 New DB connection, total: 1
2008-02-09 12:58:34.490 Connected to database 'mythconverg' at host: localhost
2008-02-09 12:58:34.491 Total desktop dim: 1366x768, with 1 screen.
2008-02-09 12:58:34.507 Using screen 0, 1366x768 at 0,0
Segmentation fault
[root@smeserver .mythtv]#


Also noticed this in ~/.mythtv/mysql.txt:
more mysql.txt

DBHostName=localhost
DBUserName=mythtv
DBPassword=mythtv
DBName=mythconverg
DBType=QMYSQL3


Offline mmellon

  • **
  • 41
  • +0/-0
Re: HOW-TO (draft): Mythtv as a backend on sme server
« Reply #39 on: February 09, 2008, 07:03:21 PM »
sorry... must've slipped re: strikethrough -- never highlighted that text, and it's not supposed to be strikethrough.

Many thanks again for any and all help offered so far, and any that may be offered.  I'm stumped.

--Matt

guest22

Re: HOW-TO (draft): Mythtv as a backend on sme server
« Reply #40 on: February 09, 2008, 08:07:56 PM »
Maybe browse the mythtv lists for I suspect it is something videodriver specific.

Offline mmellon

  • **
  • 41
  • +0/-0
Re: HOW-TO (draft): Mythtv as a backend on sme server
« Reply #41 on: February 09, 2008, 08:10:31 PM »
thank you!  just looking for centos livecd, an there isn't one.. how odd.  all centos mirrors don't have it, though all livecd links go to the mirrors.  weird!

can anyone suggest an alternate likely-to-work livecd?
--matt

guest22

Re: HOW-TO (draft): Mythtv as a backend on sme server
« Reply #42 on: February 09, 2008, 08:56:37 PM »
http://ftp.riken.jp/Linux/centos/5.0/isos/i386/CentOS-5.0-i386-LiveCD.iso

or hunt for torrent by searching on 'CentOS-5.0-i386-LiveCD.iso'

Offline mmellon

  • **
  • 41
  • +0/-0
Re: HOW-TO (draft): Mythtv as a backend on sme server
« Reply #43 on: February 09, 2008, 09:45:16 PM »
thanks.  downloading that to try.

changed the desktoppc's X driver to nv, to vesa, all to 1024x768.

no dice.  same segfault.  no idea.

just to be clear, in a shell on the desktoppc (mythbuntu frontend to what will be the sme mythbackend), i execute ssh -X root@smeserver and get a prompt as root@smeserver.  I then execute /usr/bin/mythtv-setup in that ssh shell.  I get the output I showed ealier, ending in segfault.

If I do that all in one command, ssh -X root@smeserver /usr/bin/mythtv-setup, I get the same output without the last line "segmentation fault" and am kicked back to the local prompt, user@desktoppc.

very frustrating.... looks like the only way to configure mythtv-setup will be to install X on SME server, and I just don't want to do that....

crossing my fingers that centos will work.

Thanks,

--matt

guest22

Re: HOW-TO (draft): Mythtv as a backend on sme server
« Reply #44 on: February 09, 2008, 11:43:14 PM »
Anything interesting in /var/log/messages when it segfaults?