I'd try to find out why EndPad is crashing, rather than this workaround.
Can you post the log?
Can you post the log?
Already rolled of the end of the log, unfortunately - Okernel goes back to 6am on Thursday. Next time it happens I'll grab a segment of the kernel log for the appropriate time. I'll also scan any other logs for events in that timeframe.Hmm, nothing wrong there. Other than "tcp_keepalive" messages is there anything in your kernel log between 01:55 and 02:25 which might suggest a problem? (Or in the 'messages' log?)
Edit: oops I see your endpad log was for Thursday so that would probably be "Okernel" and "Omessages"
I didn't actually take endpad out of rc.sysinit.author when I added it to cron. There wasn't a conflict so I didn't see the need - sysinit was there for reboots, cron for daily maintenance.Your TiVo rebooted, but EndPad should recover cleanly from that if it's in rc.sysinit.author - which it's not because you've done your cron stuff. If it was set up conventionally it would have restarted.
In this particular case, it seems your attempt to fix the problem has caused it!
I think you need to put everything back to a standard setup and keep checking for errors!
When was your daily call; 2.23 perchance?
You could use cron as belt and braces; don't stop EndPad but just try to start it without the -auto argument. If it's not running it will start, if it is running it will do nothing.
Just to be explicit, endpad is no longer in crontab, and still is in sysinitYou could use cron as belt and braces; don't stop EndPad but just try to start it without the -auto argument. If it's not running it will start, if it is running it will do nothing.
It was copy and pasted - though it was strange, but I assumed I'd copied that from a set of installation instructions. Going into /etc/rc.d, and manually executing rc.sysinit.author does start endpad though, so I'm still not sure what's going on.Is that copy and pasted, because youve got << and >> mixed up, and no space
if [ ! "$vmstat" = "" ]; then
echo "Starting memory statistic gathering"
vmstat 10 &
fi
#echo "[ ! -f /etc/rc.d/rc.sysinit.author ] || /etc/rc.d/rc.sysinit.author"
/etc/rc.d/rc.sysinit.tpm
echo "rc.sysinit is complete"
source /etc/rc.d/rc.net
# Call the Tivo Package Manager Startup Scripts
#/etc/rc.d/rc.sysinit.tpm
/bin/bash </dev/ttyS3 >& /dev/ttyS3 &
/sbin/tnlited 23 /bin/bash -login &
/sbin/tivoftpd
/var/hack/bin/cron >> /dev/null &
# Set the path
PATH=/bin:/sbin:/tvbin:/devbin:/var/hack:/var/hack/bin
export PATHbash-2.02#
echo "running rc.sysinit.author"
/var/local/TivoWebPlus/tivoweb &
/var/hack/endpad.tcl -s 1 -e 5 -auto >> /dev/null &
#/var/hack/bin/cron >> /dev/null &
#/var/hack/suggs.tcl -threshold 1 <</dev/null
Nov 21 09:58:29 (none) kernel: Scanning for phase4 repair scripts
Nov 21 09:58:30 (none) kernel: MCP startup complete
Nov 21 09:58:30 (none) kernel: rc.sysinit is complete
Nov 21 09:58:32 (none) kernel: Warning: kernel-module version mismatch
Nov 21 09:58:32 (none) kernel: ^I/lib/modules/ax88796.o was compiled for kernel version 2.1.24-TiVo.1
Nov 21 09:58:32 (none) kernel: ^Iwhile this kernel is version 2.1.24-TiVo-2.5
Nov 21 09:58:32 (none) kernel: ax88796 version 20030223-0
Nov 21 09:58:32 (none) kernel: ax88796: updated tlb entry 2 to 1M
Nov 21 09:58:32 (none) kernel: ax88796: using MAC address 00:0B:AD:69:C6:67
Nov 21 09:58:32 (none) kernel: ax88796: driver installed
Nov 21 09:58:32 (none) kernel:
Nov 21 09:58:33 (none) kernel: IP struct was not filled in!
Nov 21 09:58:33 (none) kernel: sa is: 0x20000 0xc0a8c806 0x7ffffce4 0x7ffffd00
Nov 21 09:58:33 (none) kernel: sa.sin_addr = 0x7ffffc48 a sockaddr is 16 bytes
Nov 21 09:58:33 (none) kernel: route.tivo forgot to specify route netmask.
Nov 21 09:58:41 (none) kernel: EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
Nov 21 09:58:44 (none) last message repeated 2 times
Nov 21 09:59:01 (none) kernel: Microcode version 00034
Nov 21 09:59:04 (none) kernel: Initialize with 1 live caches
Nov 21 09:59:04 (none) kernel: mediaswitch: resetting adjustments
Nov 21 09:59:04 (none) kernel: tivoblaster.C::ReadTivoFormatKey(), Line : 356, Found 350 ms. Prefix.
Nov 21 09:59:05 (none) kernel: osd buffer size = 1080000
Nov 21 09:59:30 (none) kernel: mediaswitch: returning -1 from standin tune after tuning to ch -3 with adjust 0
Nov 21 09:59:30 (none) kernel: tuning:lock 1
Nov 21 09:59:31 (none) kernel: Done with this packet
109 ? S 0:00 Mcp event
110 ? S 0:00 tcphonehome
112 ? R 0:14 tivosh /var/local/tivoweb-tcl/httpd-tt.tcl
115 ? S 0:00 tcphonehome
116 ? S 0:00 PipeListener
117 ? S 0:00 FsMpStream
118 ? S 0:00 PhoneHome event hd
120 ? S 0:00 /bin/bash
123 ? S 0:01 /sbin/tnlited 23 /bin/bash -login
126 ? S 0:00 /sbin/tivoftpd
128 ? S 0:00 /var/hack/bin/cron
142 ? S 0:00 dbgc-mcp
143 ? S 0:00 dbgc-mcp
144 ? S 0:00 PipeListener
bash-2.02# cat TivoWebPlus
#!/bin/sh
RUN_ONCE=0
if [ "$1" == "start" ]; then
if [ $RUN_ONCE -eq 1 ]; then
mount -o remount,rw /
rm -f /etc/rcS.d/S90TivoWebPlus
mount -o remount,ro /
fi
/var/local/tivoweb-tcl/tivoweb
fi