PDA

View Full Version : slow/unresponsive after upgrade


varelse
02-05-2006, 07:56 PM
I just upgraded this weekend from single 127GB to dual 300GBs and now the tivo is very slow/unresponsive to remote commands.

I used the PTV ISO to boot using bswap as arguments for the drives to mount properly.

Used mfsbackup -Tao - /dev/hda | mfsrestore -s 280 -r 4 -zxpi - /dev/hdc /dev/hdd to run the backup/restore which took about 15 hours. (-s 280 since the 300GB drive is actually 280 after format)

Next I gunziped the LBA48 3.0 kernel from the PTV cd to /tmp then used tpip -s -k /tmp/vmlinuz-3.0.px (and again using -a to write it to the alt kernel space incase the tivo reboots to the other kernel). It said it wrote the kernel and then initialized the swap partition.

Now I'm trying to watch TV but the tivo takes up to 20-30 seconds to respond to any remote command. I hear a tivo sound (sometimes) but the system takes a while to activate.

Often the screen pixelates and it skips a quite a few seconds ahead. Seems like something is corrupting the stream.

Telnet first connected but I never got a prompt. Now it doesn't respond at all so I can't get any logs. Web interface doesn't respond either.

Rebooting doesn't help. Same thing every time.

Phillips HDR112 Series 1 system with 3.0-01-1-000 software
2x300 Seagate Barracuda 7200.8 ST3300831A 7200 RPM 8MB Cache (http://www.newegg.com/product/product.asp?item=N82E16822148061) drives (jumpers specific to master and slave, not cable select)
CacheCard

EDIT: I rebooted again and was able to FTP in and grab these log files before it stopped responding again. (attached below)

EDIT again: I just viewed the log files and found the following in the messages log.
Feb 5 23:09:16 (none) Stats: ++ Memory usage ++
Feb 5 23:09:16 (none) Stats: total: used: free: shared: buffers: cached:
Feb 5 23:09:16 (none) Stats: Mem: 14274560 6828032 7446528 3829760 241664 4333568
Feb 5 23:09:16 (none) Stats: Swap: 0 0 0
Feb 5 23:09:16 (none) Stats: MemTotal: 13940 kB
Feb 5 23:09:16 (none) Stats: MemFree: 7272 kB
Feb 5 23:09:16 (none) Stats: MemShared: 3740 kB
Feb 5 23:09:16 (none) Stats: Buffers: 236 kB
Feb 5 23:09:16 (none) Stats: Cached: 4232 kB
Feb 5 23:09:16 (none) Stats: SwapTotal: 0 kB
Feb 5 23:09:16 (none) Stats: SwapFree: 0 kB


Does this mean there is no swap space or just that the TiVo isn't using it yet?

funtoupgrade
02-05-2006, 09:12 PM
Not sure but I think you needed to run copykern command for the series one unit.

funtoupgrade

varelse
02-05-2006, 09:31 PM
I used the tpip command directly instead of the copykern interface. It didn't work the first time because the cdrom wasn't /dev/hda so it didn't mount properly.

funtoupgrade
02-05-2006, 11:09 PM
Again, as far as I understand it, tpip is only for increasing swap size and copykern must be used for series ones to allow the tivo to see the larger drives.

varelse
02-05-2006, 11:25 PM
copykern is just an question/answer interface to the tpip program. After asking all the questions, it runs tpip with the necessary arguments that you answered in copykern.


I'm pretty sure it is a problem with the swap. I telnetted in checked /proc/meminfo and it shows no swap. I have to figure out why it didn't work and how to reinitialize, hopefully without having to do the entire backup procedure again.

JamieP
02-05-2006, 11:30 PM
I'm pretty sure it is a problem with the swap. I telnetted in checked /proc/meminfo and it shows no swap. I have to figure out why it didn't work and how to reinitialize, hopefully without having to do the entire backup procedure again.Yep, it certainly looks like no swap. Are you certain you have an S1 kernel that supports v1 swap? IIRC, stock tivo S1 kernels did not. I know you can find some here (http://www.courtesan.com/tivo/bigdisk.html).

varelse
02-06-2006, 01:36 AM
The copykern utility that is included on the PTVUpgrade CD installs the kernel from the CD so I assumed that they are LBA48 capable since their site states...These units [referencing Series 1 TiVos] do not contain an LBA48-supported kernel, however, the included CopyKern utility and modified TiVo kernels may be transplanted so that your TiVo can access the full capacity of your drive.

I will instead install the kernel from courtesan.com and reinitialize the swap space. Hopefully it will work.

varelse
02-06-2006, 03:19 AM
I pulled the drives, booted up the PTV CD and ran the tpip command again this time using the LBA48 kernel from courtesan.com.

Put the drives back in the TiVo and booted but no luck.

Though there is a swap partition on the drive, the TiVo isn't using it.

I then installed and ran the modified mkswap from courtesan.com from within the TiVo shell and now it is working. I just hope it stays happy.

Thanks for everyone's help.