View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 7 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Fri Dec 29, 2006 9:53 pm 
Offline
Joined: Mon Mar 21, 2005 1:43 pm
Posts: 388
Location: Nanaimo BC
Okay this will be a long post with all the details. I must be missing something hopefully someone else can see it cause I can't.

MBE all is good.
2 x PVR250 (one tuner input one svideo)

2nd MBE all is good
1 x SAA7134 card (composite input)

Decided to make 2nd MBE a SBE so I would have access to everything everywhere. I followed the linhes directions with the only real change being that my MBE will house video's and music as well as the tv recordings.

The challenge I now have is that the tuner on the SBE is not seen by either machine. I deleted and re added tuners on both machines but no luck. Tuner worked when it was configures as a stand alone it continues to work with tvtime. If I delete the tuner from the setup then I can access the tuners on the MBE from the SBE with the tuner in I get a black screen until it times out to the menu.
On the MBE if I press y to go through the tuners when I get to the 3rd tuner I get a black screen until it times out to the menu.

All ip's appear correct in setup and the SBE has all front end functions so I am at a loss and would love it if someone could point out a typo or mistake I have made. Below are all the files referenced in the linhes setup guide.


etc/hosts on MBE

Code:

127.0.0.1   localhost
192.168.0.6     sbe
 The following lines are desirable for IPv6 capable hosts
# (added automatically by netbase upgrade)

::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts


etc/fstab on MBE

Code:
# /etc/fstab: filesystem table.
#
# filesystem  mountpoint  type  options  dump  pass
/dev/hda1  /  ext3  defaults,errors=remount-ro  0  1
/dev/hda3 /myth ext3 defaults,errors=remount-ro 0  1
proc  /proc  proc  defaults  0  0
/dev/fd0  /floppy  vfat  defaults,user,noauto,showexec,umask=022  0  0
usbfs  /proc/bus/usb  usbfs  devmode=0666  0  0
sysfs  /sys  sysfs  defaults  0  0
tmpfs  /dev/shm  tmpfs defaults  0  0
sbe:/myth /mnt/sbe nfs rsize=8192,wsize=8192,soft,nfsvers=3
/dev/cdrom /cdrom  iso9660  defaults,ro,user,noexec,noauto  0  0
# Added by KNOPPIX
/dev/hda2 none swap defaults 0 0
# Added by KNOPPIX
#/dev/hda3 /media/hda3 ext3 noauto,users,exec 0 0
# Added by KNOPPIX
/dev/sda1 /media/sda1 ext3 noauto,users,exec 0 0
# Added by KNOPPIX
/dev/sda2 /media/sda2 ext3 noauto,users,exec 0 0


etc/exports on MBE

Code:

# /etc/exports: the access control list for filesystems which may be exported
#      to NFS clients.  See exports(5).
#
# Example for NFSv2 and NFSv3:
# /srv/homes       hostname1(rw,sync) hostname2(ro,sync)
#
# Example for NFSv4:
# /srv/nfs4        gss/krb5i(rw,sync,fsid=0,crossmnt)
# /srv/nfs4/homes  gss/krb5i(rw,sync)
#
/myth   *(rw)
/media/sda *(rw)


Contents of /mnt on MBE
Code:

root@mbe:/mnt# ls
hda3  music  sbe  sda1  sda2  video
root@mbe:/mnt#


etc/hosts on SBE

Code:
127.0.0.1   localhost
192.168.0.6     sbe
192.168.0.2     mbe
 The following lines are desirable for IPv6 capable hosts
# (added automatically by netbase upgrade)

::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts


Code:
# /etc/fstab: filesystem table.
#
# filesystem  mountpoint  type  options  dump  pass
/dev/hda1  /  ext3 defaults,errors=remount-ro  0  1
/dev/hda3  /myth  ext3  defaults,auto  0  2

proc  /proc  proc  defaults  0  0
/dev/fd0  /floppy  vfat  defaults,user,noauto,showexec,umask=022  0  0
usbfs  /proc/bus/usb  usbfs  devmode=0666  0  0
sysfs  /sys  sysfs  defaults  0  0
tmpfs  /dev/shm  tmpfs defaults  0  0
/dev/cdrom /cdrom  iso9660  defaults,ro,user,noexec,noauto  0  0
# Added by KNOPPIX
/dev/hda2 none swap defaults 0 0
mbe:/myth /mnt/mbe nfs rsize=8192,wsize=8192,soft,nfsvers=3


etc/exports on SBE

Code:

# /etc/exports: the access control list for filesystems which may be exported
#      to NFS clients.  See exports(5).
#
# Example for NFSv2 and NFSv3:
# /srv/homes       hostname1(rw,sync) hostname2(ro,sync)
#
# Example for NFSv4:
# /srv/nfs4        gss/krb5i(rw,sync,fsid=0,crossmnt)
# /srv/nfs4/homes  gss/krb5i(rw,sync)
#
/myth  *(rw)



~/.mythtv/mysql.txt on SBE

Code:
DBHostName=mbe
DBUserName=mythtv
DBPassword=mythtv
DBName=mythconverg
DBType=QMYSQL3

# Set the following if you want to use something other than the
# machine's real hostname for identifying settings in the database.
# This is useful if your hostname changes often, as otherwise
# you'll need to reconfigure mythtv (or futz with the DB) every time.
# TWO HOSTS MUST NOT USE THE SAME VALUE
#
LocalHostName=SBE

# If you want your frontend to be able to wake your MySQL server
# using WakeOnLan, have a look at the following settings:
#
# Set the time the frontend waits (in seconds) between reconnect tries.
# This should be the rough time your MySQL server needs for startup
#WOLsqlReconnectWaitTime=0
#
#
# This is the amount of retries to wake the MySQL server until the frontend
# gives up
#WOLsqlConnectRetry=5
#
#
# This is the command executed to wake your MySQL server.
#WOLsqlCommand=echo 'WOLsqlServerCommand not set'



etc/mythtv/mysql.txt on SBE

Code:

DBHostName=mbe
DBUserName=mythtv
DBName=mythconverg
DBPassword=mythtv



Thanks for having a look.

Craig


Last edited by iscraigh on Mon Jan 01, 2007 12:18 pm, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 29, 2006 11:16 pm 
Offline
Joined: Mon Nov 28, 2005 9:05 pm
Posts: 200
First of all, I want to say THANK YOU for actually posting with some detail. That's freaking awesome. I also want to thank you for actually trying to do this yourself.

Take my suggestions below one step at a time lest your eyes start to cross. ;-)


NFS

You said you want everything to be on your MBE. To do that, you don't need to cross map your NFS.

on your MBE your /etc/exports should be:

/myth sbe(rw,no_root_squash,async,no_subtree_check)

on your SBE you dont even need to export a NFS filesystem but you need to mount your local /myth on your SBE to the exported /myth on your MBE. your fstab entry on your SBE should be:

mbe:/myth /myth nfs rsize=8192,wsize=8192,hard,intr,nfsvers=3

When you configure your sbe, make sure that the TV recordings go to /myth/tv instead of the default /mnt/store. That way the TV recordings will be written to /myth/tv on your mbe in real time over nfs while your sbe tuner is recording. Make sure you comment out the default /dev/hda3 /myth mount point in /etc/fstab on your sbe while you're in there when you put in the nfs mount line above.


- Comment out the sbe line in your /etc/fstab on your MBE

/etc/hosts changes

your /etc/hosts on you mbe should have the external IP of your mbe so you should add the line:

192.168.0.2 mbe

go into mythtv-setup on your mbe and make sure it is set to talk to itself on its LAN (192.168.0.2) connection and not 127.0.0.1. Infact you should not have localhost or 127.0.0.1 ANYWHERE on your sbe or mbe. Use ther LAN IP's or hostnames only.


/etc/mysql/my.cnf


If you're using Knoppmyth R5E50 read below, otherwise skip this the next two lines.

1. On your MBE make sure your /etc/mysql/my.cnf is set to talk to itself on the LAP ip not 127.0.0.1

2. On your SBE make sure your /etc/mysql/my.cnf points to your MBE.


If you're using R5D1 or older, make sure that the skip-networking option is set correctly on your mbe.

/etc/mythtv/mysql.txt

These both look fine..

WHEN YOU GET DONE, REBOOT BOTH BOXES (mbe first)


Let me know how you fare..

The Ether..

_________________
Knoppmyth 7.02 Kernel 2.6.39-LINHES
[MBE] SilverStone LC-10 HTPC Case, Asus M2NPV-VM, AMD X2 4200+, 1G RAM, Nvidia 9500 PCIe, PVR500 and a HD-PVR - Rockin VDPAU


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 30, 2006 1:01 pm 
Offline
Joined: Mon Mar 21, 2005 1:43 pm
Posts: 388
Location: Nanaimo BC
Ether

Okay I made the changes but the result is the same.
When I exit the setup on the sbe it gives me a error message

card0 (type video0) is set to start on channel three which doesn't exist
card10 (type composite1) is set ........etc
card10 (type composite2) is set ........etc

I have set up comp1 and comp2 as inputs (bound a channel plan to them) just in case I had the wrong input (tvtime sees it as composite2)

I also noticed that on reboot the (SBE) frontend does not autorun and on esc out of it, it no longer has the option to exit and shutdown.

Here is the output when i run KnoppMyth-run on the SBE. Just the one error I can see. about /dev/js0
Code:
root@sbe:~# KnoppMyth-run
2006-12-30 10:50:41.841 Using runtime prefix = /usr
2006-12-30 10:50:41.848 DPMS is disabled.
2006-12-30 10:50:41.883 New DB connection, total: 1
2006-12-30 10:50:41.924 Connected to database 'mythconverg' at host: 192.168.0.2
2006-12-30 10:50:41.928 Total desktop dim: 1024x768, with 1 screen[s].
2006-12-30 10:50:41.939 Using screen 0, 1024x768 at 0,0
2006-12-30 10:50:41.969 Current Schema Version: 1160
2006-12-30 10:50:41.969 mythfrontend version: 0.20.20060828-3 www.mythtv.org
2006-12-30 10:50:41.970 Enabled verbose msgs:  important general
2006-12-30 10:50:42.460 Total desktop dim: 1024x768, with 1 screen[s].
2006-12-30 10:50:42.461 Using screen 0, 1024x768 at 0,0
2006-12-30 10:50:42.462 Switching to wide mode (blootube-wide)
2006-12-30 10:50:42.526 Using the Qt painter
2006-12-30 10:50:43.079 New DB connection, total: 2
Could not initialize /dev/input/js0
open: No such file or directory
ioctl JSIOCGAXES: Bad file descriptor
2006-12-30 10:50:43.119 Connected to database 'mythconverg' at host: 192.168.0.2
2006-12-30 10:50:43.784 Loading from: /usr/share/mythtv/themes/blootube-wide/bas                         e.xml
2006-12-30 10:50:43.826 Loading from: /usr/share/mythtv/themes/default/base.xml
2006-12-30 10:50:44.061 Registering Internal as a media playback plugin.
2006-12-30 10:50:44.136 Registering MythDVD DVD Media Handler as a media handler                          ext()
2006-12-30 10:50:44.138 Registering MythDVD VCD Media Handler as a media handler                          ext()
2006-12-30 10:50:44.182 Registering MythGallery Media Handler 1/2 as a media han                         dler ext()
2006-12-30 10:50:44.183 Registering MythGallery Media Handler 2/2 as a media han                         dler ext(gif,jpg,png)
Failed to run 'cdrecord --scanbus'
2006-12-30 10:50:45.884 Registering MythMusic Media Handler 1/2 as a media handl                         er ext()
2006-12-30 10:50:45.885 Registering MythMusic Media Handler 2/2 as a media handl                         er ext(ogg,mp3,aac,flac)
SIP listening on IP Address 192.168.0.6:5060 NAT address 192.168.0.6
SIP: Cannot register; proxy, username or password not set
2006-12-30 10:50:46.551 NetworkControl: Listening for remote connections on port                          6546



Any ideas, I was thinking of reinstalling the sbe it is a fresh install anyway. R50 on both machines.

*edit*
In mythweb status I get

Encoder 1 is remote on myth (currently not connected).
Encoder 2 is remote on myth (currently not connected).
Encoder 7 is local on mbe and is not recording.
Encoder 8 is local on mbe and is not recording.
Encoder 10 is remote on SBE and is not recording.

The first 2 are hanging around and shouldn't be (I changed my hostname from myth to mbe to avoid confusion) I just noticed that sbe is uppercase wonder it that could be an issue. Where is that info coming from?

Thanks

Craig


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 30, 2006 2:45 pm 
Offline
Joined: Sat Dec 24, 2005 11:33 am
Posts: 400
Location: Kitsap Peninsula, Wa., United States
iscraigh,
Current setup is R5C7 because I had most of it working and needed to get this 2nd box going for the waf.

I used the existing instructions for LinHes that are posted on your mbe web. Just set it up two days ago. Took some time, but I had already tried the instructions you referenced and failed(might have gotten confused) my bad. Instructions were clear. Anyway, LinHes worked for me.

I get exactly the same message you get regarding
Quote:
card0 (type video0) is set to start on channel three which doesn't exist

I just tell it I know what I am doing because it gives me that same message on a Clean stand alone install.

I have an MBE/FE and an SBE/FE both have PVR-150's and I use Svideo from two Satellite dish receivers. It all works and well.

I only had one issue that I had to work through, but it wasn't really related to this thread.

I did see a message similar to your mythweb status while I was working through my issues, it seemed to be related to the mythtv backend on the appropriate machine. I am thinking I cleared all of my inputs on that machine and then restarted the machine and went back in to setup the cards..

Old Windoze days hack, but sometimes things just kind of hang around.

Hope this helps.

Andy

_________________
KnoppMyth R5.5
MBE: AMD64 3400+, K8N Neo4 Plat., 1Gig, Asus Extreme N6200, 320G pata, 2x320Gsata, 750Gsata, PVR-150 Retail w/Blaster
SBE: AMD XP2000, GA 7ZMMH, 1 Gig, XFX 256M 6200, 20 Gig, PVR-150 Retail w/Blaster
SBE: AMD Dur1800, 512M, PVR500


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 31, 2006 10:06 pm 
Offline
Joined: Mon Mar 21, 2005 1:43 pm
Posts: 388
Location: Nanaimo BC
Okay I reinstalled both systems (no upgrade) followed a combination of linhes directions and the one's ethernut posted and I am now up and running.

thank you for the help.

This has brought to light another issue for me see my other thread.

thanks

Craig


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 01, 2007 10:08 am 
Offline
Joined: Mon Nov 28, 2005 9:05 pm
Posts: 200
That's great news!

Thanks for letting us know!

The Ether

_________________
Knoppmyth 7.02 Kernel 2.6.39-LINHES
[MBE] SilverStone LC-10 HTPC Case, Asus M2NPV-VM, AMD X2 4200+, 1G RAM, Nvidia 9500 PCIe, PVR500 and a HD-PVR - Rockin VDPAU


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 01, 2007 11:59 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Craig, could you tweak the subject line of your first posting to add "- solved"? Thanks.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 17 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu