LinHES Forums
http://forum.linhes.org/

R5A16->R5A22 upgrade?
http://forum.linhes.org/viewtopic.php?f=6&t=6541
Page 1 of 1

Author:  declanh [ Sat Oct 22, 2005 4:39 am ]
Post subject:  R5A16->R5A22 upgrade?

I've spent alot of tweak time getting r5a16 working with my hardware...

The question is - over and above the easier install process - what 'must have' features will i miss by not upgrading ?

I have rebuilt the kernel, tweaked lirc, and tinkered with quite a few confgurations to get a16 running - if i do an auto upgrade will it screw things up terribly ?

Author:  Girkers [ Sat Oct 22, 2005 4:42 am ]
Post subject: 

From the reports that I have read doing an upgrade on a modded system works ok. Best bet is if possible take an image of your HDD before you do anything, that way if you find you don't like it, you can just go back to the image.

Author:  cesman [ Sat Oct 22, 2005 3:14 pm ]
Post subject: 

You aren't really stating exactly what changes you made, so it is hard to say exactly what you'll miss out on. Read the changelog and make the determination yourself.

Author:  declanh [ Sat Oct 22, 2005 5:13 pm ]
Post subject: 

Ok,
I could have been clearer...

* Rebuilt kernel to support wintv nova t pci
* upgraded lirc to get it working with the novat remote
* fixed but in the 'pretty' script
* updated to newest version of nuv2disc
* changed device for dvd to get nuv2disc working
* installed replex
* reconfigured apache for authentication
* manually build xmltv channel file
* wrote sql script to add icons for channels
* reconfigured mysql for remote access
* added decss libs for dvd

Thats most of what I can think off offhand... but there is probably one or two other things i have forgotten

is upgrading to a22 likely to regress any of this ?

Looking at the change log mythburn mythstreamtv and vlc all look tempting.

Author:  cesman [ Sat Oct 22, 2005 5:21 pm ]
Post subject: 

Yes, pretty is broken. KnoppMyth doesn't support the playing encrypted DVDs. I know I always upgrade. Like I stated, it is up to you to decide.

Author:  declanh [ Sun Oct 23, 2005 2:10 am ]
Post subject: 

cesman wrote:
Yes, pretty is broken. KnoppMyth doesn't support the playing encrypted DVDs. I know I always upgrade. Like I stated, it is up to you to decide.

cecil

Not clear what you mean when you said 'i always upgrade'
do this mean you use the upgrade process in the new version - or you upgrade to the new version via a reinstall

I you use the automated upgrade process do you have to reapply all the tweaks manually?

Author:  wififun [ Sun Oct 23, 2005 10:24 am ]
Post subject: 

declanh, the auto upgrade process will require you to make some of those tweaks. The nova t stuff I have know idea about, but many of your other items may be quick fixes. What I do before every upgrade is to image hda1 like Girkers sugested. Do this to a fille either on your myth partition or a second hard drive.
Code:
dd if=/dev/hda1 of=/mnt/hdb1/backups/r5a16.img bs=1024k


Then you can upgrade and mount that image to access any custom scripts, or check your old system to reference config files.

Code:
mount -o loop /mnt/hdb1/backups/r5a16.img /mnt/backup


If your upgrade gets hosed, and you decide you just don't want to do the work right now, boot off the CD, drop to a console and restore your old hda1 and reboot. Nothing gained nothing lost.

Code:
dd if=/mnt/hdb1/backups/r5a16.img of=/dev/hda1 bs=1024k


Hope this help you upgrade a little more securely.

Author:  mad_paddler [ Sun Oct 23, 2005 2:20 pm ]
Post subject: 

Having just updated mine (i have the same tv card):

* Rebuilt kernel to support wintv nova t pci
The Nova-T works "out of the box" now

* upgraded lirc to get it working with the novat remote
Much easier to get working now: http://mysettopbox.tv/phpBB2/viewtopic. ... 5119#35119

Some of the others are 1 line fixes :)

I dunno If I did the upgrade wrong, but permissions were also wrong on /myth & /cache after.

Author:  cesman [ Sun Oct 23, 2005 2:51 pm ]
Post subject: 

It means I upgrade (auto), I don't tweak anything. For me KnoppMyth pretty much works just like an appliance! I run the same version of KnoppMyth that is released.

Author:  wififun [ Sun Oct 23, 2005 6:26 pm ]
Post subject: 

mythlink.sh is not working here either.
Code:
/usr/local/bin/mythlink.sh: line 9: -uroot: command not found
Scalar found where operator expected at -e line 60, near "unlink "$altpath"
  (Might be a runaway multi-line "" string starting on line 55)
        (Do you need to predeclare unlink?)
String found where operator expected at -e line 61, near "#print ""
  (Might be a runaway multi-line "" string starting on line 60)
        (Missing semicolon on previous line?)
Bareword found where operator expected at -e line 61, near "#print "I"
        (Missing operator before I?)
Unquoted string "to" may clash with future reserved word at -e line 61.
Backslash found where operator expected at -e line 61, near "$fname\"
        (Missing operator before \?)
Unquoted string "n" may clash with future reserved word at -e line 61.
String found where operator expected at -e line 61, at end of line
        (Missing semicolon on previous line?)
syntax error at -e line 60, near "unlink "$altpath"
Can't find string terminator '"' anywhere before EOF at -e line 61.
ls: /myth/pretty/*.mpg: No such file or directory

Author:  ryanpatterson [ Sun Oct 23, 2005 8:23 pm ]
Post subject: 

wififun wrote:
mythlink.sh is not working here either.


Try substituting the following code for your mythlink.sh:

Code:
#!/bin/sh

# mythlink.sh - Symlinks mythtv files to more readable version in /var/lib/mythtv/pretty
# by Dale Gass

rm -f /tv/pretty/*
echo "Done RM"
mysql -uroot mythconverg -B --exec "select chanid,DATE_FORMAT(starttime,'%Y%m%d%H%i%s'),DATE_FORMAT(endtime,'%Y%m%d%H%i%s'),titl$
perl -w -e '
        my $mythpath= "/myth/tv";
        my $altpath= "/myth/pretty";
        if (!-d $altpath) {
                mkdir $altpath or die "Failed to make directory: $altpath\n";
        }
        <>;
        while (<>) {
                chomp;
                my ($chanid,$start,$end,$title,$subtitle) = split /\t/;
                $start =~ s/[^0-9]//g;
                $end =~ s/[^0-9]//g;
                $subtitle = "" if(!defined $subtitle);
                my $ofn = "${chanid}_${start}_${end}.nuv";
                do { print "Skipping $mythpath/$ofn\n"; next } unless -e "$mythpath/$ofn";
                $start =~ /^..(..)(..)(..)(....)/;
                my $nfn = "$1-$2-$3-$4_${title}_${subtitle}";
                $nfn =~ s/ /_/g;
                $nfn =~ s/&/+/g;
                $nfn =~ s/[^+0-9a-zA-Z_-]+/_/g;
                $nfn = $nfn.".mpg";
                print "Creating $nfn\n";
                unlink "$altpath/$nfn" if(-e "$altpath/$nfn");
                symlink "$mythpath/$ofn", "$altpath/$nfn" or die "Failed to create symlink $altpath/$nfn: $!";
        }
' /tmp/mythlink.$$
rm /tmp/mythlink.$$



I edited mythlink.sh.orig to make that it works preddy well for me.

Author:  wififun [ Sun Oct 23, 2005 10:02 pm ]
Post subject: 

yea, the .orig file is what I ended up using. I wanted the updates from the new version, if I get time, I will work through it. By the way, the one you posted returned:
Code:
/usr/local/bin/mythlink.sh.orig: line 32: unexpected EOF while looking for matching `"'
/usr/local/bin/mythlink.sh.orig: line 36: syntax error: unexpected end of file

Author:  ryanpatterson [ Mon Oct 24, 2005 7:53 am ]
Post subject: 

wififun wrote:
yea, the .orig file is what I ended up using. I wanted the updates from the new version, if I get time, I will work through it. By the way, the one you posted returned:
Code:
/usr/local/bin/mythlink.sh.orig: line 32: unexpected EOF while looking for matching `"'
/usr/local/bin/mythlink.sh.orig: line 36: syntax error: unexpected end of file


When you copy and paste be careful to not get any "fake" linefeeds. I think that error is because a line wrapped and it is missing the second `"`.

What is the new mythlink.sh suppost to do better? Sorry but whoever wrote that script did not produce very elegant code. Tons of lines are commented out with no explanation as to why. Is there more functionality that the .orig script doesn't support?

Author:  declanh [ Mon Oct 24, 2005 3:05 pm ]
Post subject: 

wififun wrote:
declanh, the auto upgrade process will require you to make some of those tweaks. The nova t stuff I have know idea about, but many of your other items may be quick fixes. What I do before every upgrade is to image hda1 like Girkers sugested. Do this to a fille either on your myth partition or a second hard drive.
Code:
dd if=/dev/hda1 of=/mnt/hdb1/backups/r5a16.img bs=1024k


Then you can upgrade and mount that image to access any custom scripts, or check your old system to reference config files.

Code:
mount -o loop /mnt/hdb1/backups/r5a16.img /mnt/backup


If your upgrade gets hosed, and you decide you just don't want to do the work right now, boot off the CD, drop to a console and restore your old hda1 and reboot. Nothing gained nothing lost.

Code:
dd if=/mnt/hdb1/backups/r5a16.img of=/dev/hda1 bs=1024k


Hope this help you upgrade a little more securely.


Many thanks for the tip Girkers,

Im not at all familar with the dd command - is this taking a disk image a la norton ghost?
Is this perferable to something like mondo

http://www.mondorescue.org/about/about.html

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/