View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 11 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Mon Mar 07, 2005 1:05 pm 
Offline
Joined: Mon Feb 28, 2005 6:26 am
Posts: 20
R5A12 Installation (Still has a few things to work out)

Asus A7V-133-c BIOS rev 1007
AMD T-Bird 1Ghz
1 gig RAM
1 Maxtor 40gig
1 Maxtor 200gig
Hauppage WinTV-PVR 250 model 980(Silver remote)
NVidia based video card with TV out
Linksys 10/100 ethernet card
SoundBlaster Live 5.1 soundcard
Samsung DVD/CDRW combo drive
Antec Overture case w/Firewire and USB

a. Boot CD and Run Install

Reboot

enter root password

change time zone to EST

install i686 modules

install lirc
skip XvMC

setup Capture card. PVRx50
setup Channels
setup Inputs

installation proceeds to populate database

MySQL error with syntax ????

continues to install and loads mythTV frontend
LiveTV we have snow
mythWeather functional
mythNews set-up has no RSS feeds to select from

b. Install nano graphical editor

ctr-alt-F1
login: root
apt-get update
apt-get install nano

c. Edit lilo.conf and install nVidia drivers

nano /etc/lilo.conf
change vga=xxx to vga=normal
ctl+x
Y
<enter>
lilo -v
cd /usr/src
tar xjvf kernel<TAB>
install-nv<TAB>
gdm will be restarted and you will wind up there
ctrl-alt-f1
reboot

Fixes your console so you can see it, unpacks kernels source, compiles nvidia driver and installs

d. Tuner displaying snow. Change tuner to fix

ssh in as root or however you like to do a shell
nano /etc/mythtv/modules/ivtv
change tuner type=2 to tuner type =39
ctrl-x
y
<enter>

Hopefully fixes the snow on liveTV

e. DVD playback

Works for non encrypted DvD’s


reboot

Not seeing any major errors on reboot
enter root password to complete configuration script
entering Yes and No as requested
Running through Settings 1-4
( Can I re-run myth-setup at a later date to edit out channels I do not want without screwing anything up?)

liveTV=Functional
PG=functional
(note system time is correct. R5A10 kept resetting the clock)

Setup/Utils
Run through all the set-ups and check settings
(TV files are stored in /var/lib/mythtv/ need to have this explained to me. symlink maybe?)


f. Adding icons to your Channel Line-up

login: root
wget http://cvs.mythtv.org/cgi-bin/viewcvs.c ... iconmap.pl
apt-get install libwww-perl
perl mkiconmap.pl

Respond to the prompts accordingly.

mythfilldatabase --import-icon-map iconmap.xml --update-icon-map

Icons for channel listings d/led, imported, and functional

g. Setting up Samba for a read/write share available to Windows2k/XP

/etc/init.d/samba start
update-rc.d samba defaults

Samba started and set to restart at boot. /myth now available as a read/write share

go to your XP box and open Explorer
Tools/Map Network Drive
enter \\mythboxname\myth
login mythtv
pswd mythtv


h. mythNews has a bad .xml file in version .17. Here is the fix

mythNews has no RSS feeds
Apparently .17 has a bad file /usr/share/mythtv/mythnews/news-sites.xml
delete it and reload a new one from here.
http://cvs.mythtv.org/cgi-bin/viewcvs.c ... iew=markup
mythNews now has RSS feeds to choose from

i. Synchronizing your KnoppMyth V5A10 system clock with an NTP time server and enabling it to work on boot

apt-get update
apt-get install ntp-server
nano /etc/ntp.conf

server pool.ntp.org ( I added 4 of these to my config)

* To start NTPD immediately

/etc/init.d/ntp-server start

* To start NTPD on boot

update-rc.d ntp-server defaults


mythWeb is functional



j. setup LVM and move /myth over, then extend new partition to use the original hda4

1. Partition the drive. The following assumes your new drive currently has no partitions set up. Also, when creating the partition, we need to make sure to change the type of the partion we create to 8e (Linux LVM).

• fdisk /dev/hdb
• Command (m for help): n
• Command action
• e extended
• p primary partition (1-4)
• p
• Partition number (1-4): 1
• First cylinder (1-19457, default 1): (press Enter for default)
• Last cylinder or +size or +sizeM or +sizeK (1-19457, default 19457):
• (Press Enter for default)
• Command (m for help): t
• Hex code (type L to list codes): 8e
• Command (m for help): w

2. Initialize Disk (Creating the Physical Volume). The following command creates a volume group descriptor at the start of the partition /dev/hdb1.

• pvcreate /dev/hdb1

3. Create a volume group vg (/dev/vg)

• vgcreate vg /dev/hdb1

NOTES: when I did this step, I got an error... (No error for me)

vgcreate -- ERROR "lvm_tab_read(): size" inserting volume group "vg" into "/etc/lvmtab"

Solved by deleting /etc/lvmtab, then using vgscan and continuing with Step 4.

4. Use vgdisplay to find the "Total PE" size to create a logical volume that uses the entire volume group. Then use the size displayed to create the logical volume named myth.

• vgdisplay vg | grep "Total PE"
• Total PE 4768
• lvcreate -l 4768 vg -n myth

Note: In R5A12, the device-mapper is not loaded by default and so lvcreate will error. Load the device mapper (and set it to load automatically in the future) before running lvcreate. --Abelard Snazz

• modprobe dm-mod
• echo dm-mod >> /etc/modules

5. Create the ext3 filesystem for the logical volume (/dev/vg/myth) you created. I used the recommendation from the manual install section of the Knoppmyth installation instructions page.

• mke2fs -j -O sparse_super -m0 -i8000000 -L myth /dev/vg/myth

6. Mount your logical volume. I chose to mount it to /mnt/hdb1 since it was already created for me. If /mnt/hdb1 does not exist, just do mkdir /mnt/hdb1 to create it.

• mount /dev/vg/myth /mnt/hdb1

7. Copy over the files from /myth to /mnt/hdb1.

• cp -p -r /myth/* /mnt/hdb1

8. Edit /etc/fstab. Comment out or change /dev/hda to /dev/vg/myth.

#/dev/hda4 /myth auto defaults,auto 0 2
/dev/vg/myth /myth auto defaults,auto 0 2

9. Set LVM to start up at boot. An lvm script is allready installed in /etc/init.d/lvm.
• update-rc.d lvm start 26 S . stop 82 1 .

10. Reboot After rebooting your box should now be using the second drive as the /myth mount.

Adding your original partition's disk space to the volume group

If you stop at Step 10 above, your original /dev/hda4 partition is now unused space. If you'd like to add it to the volume group for additional recording space, you can take the following additional steps (all done as root):

11. Reformat /dev/hda4 as Linux LVM. Basically, you redo Step 1 above but this time on /dev/hda. You first run fdisk /dev/hda, delete partition 4 (I believe the fdisk command is 'd,' it then prompts you for which partition to delete, and you enter 4), then create a new LVM partition out of the old partition 4 space by following the steps listed in Steps 1 and 2 above.

12. Add the newly formatted /dev/hda4 to your volume group

• vgextend vg /dev/hda4

13. Expand the filesystem to take up all the new available space. This will require that you first unmount the volume group. I did it this way which is hopefully correct--I first changed runlevel to single user, which allowed me to unmount the volume group:

• telinit 1
• umount /dev/vg/myth

You then use the lvextend command to extend the logical volume by the amount of space available in /dev/hda4. Type

• vgdisplay

and look for the "Free PE" number before the slash. Then use that number in place of the xxxx in this command:

• lvextend -l+xxxx /dev/vg/myth

Once extended you then have to increase the file system to match. If you followed the steps above, the file system is using ext3. To resize this, you would use resize2fs after running a required fsck.

• e2fsck -f /dev/vg/myth
• resize2fs /dev/vg/myth

Also, you can supposedly combine the above lvextend, resize2fs, and fsck steps above with a single command:

• e2fsadm -l+xxxx /dev/vg/myth

(where xxxx is the size of the partition you're adding). Anyone confirming this can edit this section appropriately. (Yes, this does work. In fact this command is required to reduce a logical volume safely which I have written in BreakingUpLvmHowTo -- Maaltan)

14. I think you should be able to remount /dev/vg/myth at the /myth mount point, and telinit 5 to change runlevel back to where it was. But I was chicken so I just rebooted. :)

Originally by frustrated http://mysettopbox.tv/phpBB2/viewtopic. ... hlight=lvm

See also http://tldp.org/HOWTO/LVM-HOWTO/recipem ... ewsys.html and http://tldp.org/HOWTO/LVM-HOWTO/extendlv.html

(After doing all this I get a looong list of /dev/cdrom and /dev/sdxx that cannot be opened. I assume this is LVM scanning for devices to add to group. I would like to limit it to scan for only those that are there. Anyone know?)

k. Lirc setup and configuration for Hauppage silver remote
This is still being a pain. Anyone with good info on installing it under the R5A12 would appreciate a link.
l. nuv2disk

(need to find those instructions that flash by during set-up. how to make the button and need to run a file somewhere)
based on the name I assume this is an applications to transcode the .nuv files created by the liveTV recorder and create iso’s to burn to disk


/video dir is set to /var/lib/myttv.. is that an error or a linux thing I need to learn?

j. mythGame set-up

Unable to find catver.ini error when clicked. I have a fix for that somewhere.

In R4V5 I could continue on and run tux racer. Now I get a black screen with a mouse cursor and nothing else happening. Also apparently no way to get out of it, so I reboot. Bah


k. Final assessment at this point


mythTV=Plays, Records, Guide, Schedules
mythBrowser=Browses
mythDVD=Plays, Rips (does not rip audio tracks as specified in the rip menu, needs work)
mythGallery=Slideshows and Displays (Thumbnails are not properly scaled versions of images)
mythGame=Broken. More research needed. May have to install from scratch and edit all paths in myth setup.
mythMusic=Plays, (Importing CD crashes myth at the end of the first track, Write error maybe) it worked fine in R4A10
mythNews=RSS feeds work and opens Browser and requested
mythWeather=functional
mythVideo=functional
mythWeb=functional (with exception of streaming although I am not sure that is what it is trying to do, errors when selecting recorded programs and tries to u/l music files)


Top
 Profile  
 
PostPosted: Thu Mar 17, 2005 11:28 am 
Offline
Joined: Thu Mar 17, 2005 11:18 am
Posts: 11
OuttaTouch wrote:
R5A12 Installation (Still has a few things to work out)

d. Tuner displaying snow. Change tuner to fix

ssh in as root or however you like to do a shell
nano /etc/mythtv/modules/ivtv
change tuner type=2 to tuner type =39
ctrl-x
y
<enter>

Hopefully fixes the snow on liveTV


I have dual PVR-250's, both with different tuner types. I used this line:

options ivtv tuner=-1,-1

As options tuner type=-1,-1 did not work for me. It also did not work if I specified the actual tuner types (8 and 50).

I got Lirc working with the Hauppage grey remote by following the link in the install docs.

I too had to fix my TZ, it took awhile to figure out why everything was off by 5 hours...

Other than that I found it to be much easier to install than the FC3 install I did previously. (1 hour versus about 3 weeks... :) )

Tom


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 20, 2005 6:58 am 
Offline
Joined: Fri Jul 16, 2004 11:00 am
Posts: 8
German language support for the system is lost at boot time ( for upgrade and installation )

After boot I have to promt an install-keymap de for weorking german Keyboard Layout.

One suggestion :

perhaps it would be great to choose charsets during installation, because no german xmltv graber works I set up a nxtvepg deamon which fills the database an its output is iso8859-1 and the systems one seems to be utf8 ? right ? same for mysql.


Greets from germany blendo.

if someone is interested howto setup a nxtvepg deamon with merged database write in this thread or contact me via pm


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 20, 2005 7:36 am 
Offline
Joined: Tue Feb 03, 2004 3:23 am
Posts: 159
Location: Friesland, The Netherlands
Blendo: could you tell me how to switch to iso8859-1? I have problems displaying some characters in Myth. They are stored in the database just fine but are displayed as little squares in Myth.

Never really looked into localisation so if you could give me some pointers, that would be appreciated.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 20, 2005 12:41 pm 
Offline
Joined: Fri Jul 16, 2004 11:00 am
Posts: 8
is it in mythweb or in real mythtv ?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 21, 2005 1:38 am 
Offline
Joined: Tue Feb 03, 2004 3:23 am
Posts: 159
Location: Friesland, The Netherlands
This was never a big issue for me. When I saw your post I looked into it again and noticed the behaviour seems to be somewhat inconsistent.
E.g. EPG data displays fine in MythWeb (have to check if it displays fine in the frontend as well). MythVideo titles are not displayed properly in MythWeb (special characters replaced by '?') and frontend (special characters replaced by two squares). However using the edit feature in MythWeb the title is displayed properly. I'll check tonight whether the special characters in the EPG are displayed properly on the frontend as well.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 21, 2005 1:03 pm 
Offline
Joined: Fri Jul 16, 2004 11:00 am
Posts: 8
check your XFree config File

Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "de"
EndSection

X - Keyboard layout should be "de" ! by default it was us


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 21, 2005 1:56 pm 
Offline
Joined: Fri Jul 16, 2004 11:00 am
Posts: 8
run as root

dpkg-reconfigure locales

and select your locale

in gdm.conf /etc/gdm

you could specify

DefaultLocale=de_DE


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 22, 2005 3:35 am 
Offline
Joined: Tue Feb 03, 2004 3:23 am
Posts: 159
Location: Friesland, The Netherlands
Thanks for your reply. I didn't find the time yesterday to do a check. Perhaps I need to look into the environment variables and set something there. The dpkg-reconfigure locales is something I'll try anyway. Seems like a good place to start. From there I can compare which environment variables are changed (if any). The XF86Config change is not needed in my case since in The Netherlands the default keyboard lay-out is US. I run a diskless client without a window manager so the gdm.conf change won't do much either too in my case.

Thanks again and I'll let you know if I have progress. (oh and sorry OuttaTouch for hi-jacking your topic :wink: )


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 19, 2005 12:28 pm 
Offline
Joined: Fri Jul 16, 2004 11:00 am
Posts: 8
last fix about your problem ->

Situation to me (now)

greb data via XML TV's tv_grab_de (ISO-8859-1 Coded)


mythweb -> Display DE_de (utf-8 coded)


so i changed following line in /usr/share/mythtv/mythweb/includes/translate.php

$Languages['German'] = array('Deutsch', 'de_DE');
$Languages['German'] = array('Deutsch', 'de_DE.ISO-8859-1');

Perhaps something for develop group of knopmyth


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 20, 2005 1:07 am 
Offline
Joined: Tue Feb 03, 2004 3:23 am
Posts: 159
Location: Friesland, The Netherlands
Thank you Blendo for adding this tip. The behaviour seemed inconsistent in my case. I looked into it now and the reason is that some items are stored as ISO-8899 and others as UTF8. The ISO stuff was displayed properly in MythWeb. If I find time, I'll see whether Mythfrontend prefers ISO-8859 or UTF8 or accepts both.


Top
 Profile  
 

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


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 12 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