The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024

Latest message you have seen: RE: C-Bus Datasheets / Catalogue


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: TiVo



Doogie,

I did the following, without the *
*mount -o remount,rw / [Enter]*
Seemed to go okay,

Did the next 2,
echo /var/hack/tivoweb-tcl/tivoweb >> /etc/rc.d/rc.sysinit.author [Enter]
chmod +x /etc/rc.d/rc.sysinit.author [Enter]

And these 2,
*mount -o remount,ro / [Enter]
sync [Enter]

I tried this next line again and still nothing. (see below)
cat /etc/rc.d/rc.sysinit

so I tried this,
/etc/rc.d/rc.sysinit.author
Still nothing displayed, but I can now go straight into the web interface.

I can access ftp ftp.microsoft.com

I will have a look at this...
Tony has instructions for changing from network updates back to modem
updates at www.freeranger.co.uk . You'll need to install Joe, Tony's
site has the details for that too.


This is what I get from cat /etc/rc.d/rc.sysinit

if [ "$runsyslog" = false ]; then
  echo "No logging daemons started..."
else
  echo "Starting logging daemons..."
  rm -f /var/run/syslogd.pid /var/run/klogd.pid
  syslogd -p /var/dev/log -m 10000
  klogd
fi

echo "Check for PROM update ..."
if [ "$updateprom" = true ]; then
  if [ -e /prom/TiVoProm.bin ]; then
    osdwriter /tvbin/InstallingSoftware.$TV_STD.cs22
    getprom -Update /prom/TiVoProm.bin
    echo "Sleep...waiting for reboot"
    osdwriter /tvbin/PromScreen2Version7.$TV_STD.cs22
    sleep 1000000
    restart
  fi
  echo "Can't find PROM image"
fi


echo "Loading mixaud ..."
insmod /lib/modules/mixaud.o

echo "Updating system clock UID=$UID"
settime -rtc

# If the clock is set to before 1970, ntpdate won't work. So we will
# bump it up closer. The factory default seems to be 1910.
year=`date +%Y`

if [ $year -lt 1998 ] ; then
  settime 199811241010
  settime -rtc
fi

#
# Log into the moderated log any emergency cleanup deletions we
# did. We need the TCD_ID, TIME and CALL_ID for this
#
if [ -e /var/persist/lastCallId ] ; then
    lastCallId=`cat /var/persist/lastCallId`
else
    lastCallId="UNKNOWN"
fi
now=`date '+%s'`

if [ $old_log_cleanup -ne 0 ]; then
    echo "emergency_cleanup TCD_ID=$SerialNumber TIME=$now CALL_ID=$lastCallId F
ILE=/var/log/O" >> /var/log/svclog
fi

for logf in $too_big_logs ; do
    echo "emergency_cleanup TCD_ID=$SerialNumber TIME=$now CALL_ID=$lastCallId F
ILE=$logf" >> /var/log/svclog
done

# Add second disk if there and uninitialized.  No, we didn't take this out...
echo "Checking for additional disk..."
mfsadd

if [ $do_mfs_cleanup -eq 1 ] ; then
  echo "Initiating MFS cleanup"
  /tvbin/fsfix -nokill -splash -uncollide -rehash -salvage -reboot
fi

# Start the EventSwitcher and MfsDaemon
echo "Starting EventSwitcher..."
switcherstart -m

if [ $do_mfs_assert -eq 1 ] ; then
  echo "Rebooting to perform MFS and database check"
  /tvbin/mfsassert -please
  /tvbin/reboot
fi

# Start the fan control process.
echo "Start fan control..."
fancontrol &

# Let him get started ??
sleep 1

# Run the Phase 2 (MFS is up) scripts
runme phase2

# Check whether we should enter diagnostics
# The authserial program detects the presence of a diagnostics test fixture.

if [ ! -x /tvbin/authserial -o \
     ! -x /tvbin/genkey -o \
     ! -r /tvlib/misc/diagkey.pub ] ; then
     echo "Essential diagnostic file missing"
     reboot
fi

/tvbin/genkey 128 1 > /var/tmp/challenge.dat

dodiag=false

if [ "$runfactorydiag" = true ] ; then
    dodiag=true
    if [ $asicversion -gt 1 ] ; then
        # this is combo:
        # the "runfactorydiag" bootparam indicates that we are in the factory
        # with a brand new disk.  Don't quit until we've established link
        # with diag station
        while ! /tvbin/authserial -authslave /tvlib/misc/diagkey.pub /var/tmp/ch
allenge.dat ; do
          echo Diagnostics station not found, trying again
          sleep 1
        done
    else
        # this is standalone, so we will just enter diagnostics
        echo "Standalone diagnostics"
    fi
else
    if /tvbin/authserial -authslave /tvlib/misc/diagkey.pub /var/tmp/challenge.d
at ; then
      echo Diagnostics station present and authenticated
      dodiag=true
    fi
fi

rm -f /var/tmp/challenge.dat

# Run factory diagnostics?
if [ "$dodiag" = true ] ; then
  if [ ! -x /tvbin/factorydiag ] ; then
    echo "No factorydiag TCL script!"
  else
    echo Entering diagnostics...
    if /tvbin/factorydiag ; then
      echo "Diagnostics passed"
    else
      echo "Error running factory diagnostics"
      reboot
    fi
  fi
fi

# Run the final test?
if [ "$runfinaltest" = true ] ; then
  if [ -x /var/diag/finaltest ] ; then
    if /tvbin/crypto -vfs /var/diag/finaltest.sig /var/diag/finaltest /tvlib/mis
c/service-v3-s.pub ; then
      /var/diag/finaltest
    else
      echo "/var/diag/finaltest failed signature check."
      reboot
    fi
  elif [ -x /diag/finaltest ] ; then
    /diag/finaltest
  else
    echo "Final test not found!"
  fi
fi

# see if we need to check the battery
if [ -f /var/log/battery-check-needed ] ; then
  if [ -x /var/diag/batterycheck ] ; then
    if /tvbin/crypto -vfs /var/diag/batterycheck.sig /var/diag/batterycheck /tvl
ib/misc/service-v3-s.pub ; then
      /var/diag/batterycheck
    else
      echo "/var/diag/batterycheck failed signature check."
      reboot
    fi
  elif [ -x /diag/batterycheck ] ; then
    /diag/batterycheck
  else
    echo "Battery check not found!"
  fi
fi

# combo diagnostics testmaster starts here
if [ "$testmaster" = true ]; then
  if [ -f /etc/rc.d/rc.sysinit.diag ]; then
    echo "Starting Diagnostic Test Master"
    source /etc/rc.d/rc.sysinit.diag
  else
    echo "rc.sysinit.diag not found"
  fi
fi

if [ "$runwriteback" = true ]; then
  /diag/writeback /dev/hda11 256 -a2 &
  /diag/writeback /dev/hdb3 256 -a2 &
  while true; do sleep 1000; done
fi

if [ "$rundriverstress" = true ]; then
  if [ -x /diag/SimpleStress ]; then
    echo "Running SimpleStress"
    /diag/SimpleStress
    echo "SimpleStress exited"
    reboot
  fi
fi

# System Statistics to "messages" log file.
syslog -t Stats "== System startup resource statistics =="
syslog -t Stats "++ System build version numbers ++"
syslog -t Stats -f /etc/build-version
getprom -version syslog -t Stats
IRvers=`irtest -t /dev/ttyS0 -V`
syslog -t Stats "IR version $IRvers"
syslog -t Stats "System Serial Number: $SysSerial"
syslog -t Stats -f /proc/version
syslog -t Stats "++ Memory usage ++"
syslog -t Stats -f /proc/meminfo
syslog -t Stats "++ CPU info ++"
syslog -t Stats -f /proc/cpuinfo
syslog -t Stats "++ Module info ++"
syslog -t Stats -f /proc/modules
syslog -t Stats "++ Device info ++"
syslog -t Stats -f /proc/devices
syslog -t Stats "++ Network device info ++"
syslog -t Stats -f /proc/net/dev

# Database conversions must happen before myworld, mcp, etc. are started.
if [ "$handcraft" != true ]; then
  echo "Checking for database conversions..."
  convert-db
fi

if [ "$upgradesoftware" = false ]; then
  echo "Not upgrading software"
else
# TODO... Find another way to do this...
tivosh /etc/rc.d/finishInstall.tcl
export -n EMERGENCY_REINSTALL
fi

# Run the Phase 3 (MyWorld is starting) scripts
runme phase3

cd /var/tmp

# Launch MyWorld and other services (apg, mcp, tcphonehome, dbgc) by telling
# the eventswitcher to launch it (via "switcherstart -l").

if [ "$handcraft" = true ]; then
    echo "Running without services."
else
    echo "Starting Services."
    switcherstart -l
fi

if [ "$audiostress" = true ]; then
  echo "Starting audio stress"
  if [ -x /devbin/audiostress ]; then
    audiostress &
  else
    echo "Could not find audio stress prog"
  fi
fi

if [ "$maintuner" = "1" ]; then
  echo "Starting camtest for dual verifier mode"
  camtest &
else
  maintuner=0
fi

# Run the Phase 4 (background tasks have been started) scripts
runme phase4

if [ ! "$NDS" = "" ]; then
  echo "Sleeping before enabling NDS sniffer output"
  sleep 120
  echo "Enabling NDS sniffer output"
  /tvbin/send5505 "sniff 1"
fi

if [ ! "$BERR" = "" ]; then
  echo "Sleeping before enabling Tuner BERR Test"
  sleep 60
  echo "Enabling Tuner BERR Test"
  /tvbin/send5505 "wr299 28 40"
  /tvbin/send5505 -i1 "wr299 28 40"
fi

if [ ! "$vmstat" = "" ]; then
  echo "Starting memory statistic gathering"
  vmstat 10 &
fi

[ ! -f /etc/rc.d/rc.sysinit.author ] /etc/rc.d/rc.sysinit.author

echo "rc.sysinit is complete"
source /etc/rc.d/rc.net
/bin/bash </dev/ttyS3 >& /dev/ttyS3 &
/sbin/tnlited 23 /bin/bash -login &
/sbin/tivoftpd
bash-2.02#
bash-2.02#

Yahoo! Groups Sponsor
ADVERTISEMENT

http://www.automatedhome.co.uk
Post message: ukha_d@xxxxxxx
Subscribe:  ukha_d-subscribe@xxxxxxx
Unsubscribe:  ukha_d-unsubscribe@xxxxxxx
List owner:  ukha_d-owner@xxxxxxx
List of UKHA Groups here - http://groups.yahoo.com/group/UKHA_Grouplists/


Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

  • Follow-Ups:
    • Re: TiVo
      • From: Doogie Brodie <ukhad@xxxxxxx>
Home | Main Index | Thread Index

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.