PDA

View Full Version : Help with 4.X on RID tivo(Samsung 4040R).


udhorky
01-10-2005, 10:53 PM
I performed the following Steps on a virgin Tivo Drive but I am having problems. See Serial output below!!!!

I am installing a 160GB drive in a Samsung 4040R.

Here are the steps I have taken during my install:
1) I use a LBA48 CD to boot.
2) Use a InstaCake CD to load a 4.X image on my disk (TCD240080).
3) I have expanded the image to fit the disk and I have tried it without expaning it.. No luck with either.
4) I follwed the following steps pulled from another guide.....
5)mkdir /tivo
6) mount /dev/hda7 /tivo --> Mounted just fine.
7) cp /cdrom/s2_kernels/3.1.1c/vmlinux.px.gz /tivo/var/vmlinux.px.gz
8) gunzip /tivo/var/vmlinux.px.gz
9) dd if=vmlinux.px of=/dev/hda3
10) dd if=vmlinux.px of=/dev/hda6
11) Copied BusyBox over to /tivo/busybox and untarred.
12)Copied init_framework.tar.gz to /tivo
13)tar -zxvf /tivo/cdrom/init_framework.tgz
14) mv /tivo/tvbin/dssapp /tivo/tvbin/dssapp.orig
15)Copied new dssapp to /tivo/tvbin/dssapp
16)chmod +x /tivo/tvbin/dssapp
17)copied ba48_2.4.18.px to /tivo/init/vmlinux.px
18) ./bootpage –p /dev/hda
19) ./bootpage –P “root=/dev/hda7 dsscon=true console=2,115200 upgradesoftware=false” –C /dev/hda
20)cd /tivo/etc/rc.d
21)vi rc.sysinit.author


#!/bin/bash

export TIVO_ROOT=
export MFS_DEVICE=/dev/hda10

# start telnet
tnlited 23 /bin/bash -login &

# start ftp
tivoftpd

22)chmod 755 rc.sysinit.author
23) mv /tivo/etc/netfilter-enable /tivo/etc/netfilter-orig
24)Shutdown and placed drive into Tivo.....

After I placed the tivo in my drive the "Powering Up" Screen appears then it goes to a black screen and then nothing... Here is the output from the serial cable.... Does anyone have any ideas on what is going on here????

udhorky
01-10-2005, 10:54 PM
InitTivoConfig: unrecognized board/platform id: 0xe00
Couldn't get the memory size configuration
Loading R5432 MMU routines.
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/hda7 dsscon=true console=2,115200 upgradesoftware
=false
Monotonic time calibrated: 81.00 counts per usec
Calibrating delay loop... 161.79 BogoMIPS
Contiguous region 0: 1048576 bytes
Contiguous region 1: 131072 bytes
Contiguous region of 1179648 bytes reserved at 0x81ee0000.
Memory: 29372k/31012k available (1174k kernel code, 1640k reserved, 77k data, 60
k init)
Dentry-cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode-cache hash table entries: 2048 (order: 2, 16384 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
Checking for 'wait' instruction... unavailable.
POSIX conformance testing by UNIFIX
PCI: Probing PCI hardware
ttyS00 at iomem 0xb4100100 (irq = 79) is a 16550A
ttyS00 at port 0xbc010000 (irq = 133) is a unknown
ttyS00 at iomem 0xb4100140 (irq = 81) is a 16550A
ttyS00 at iomem 0xb4100120 (irq = 80) is a 16550A
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI en
abled
ttyS00 at 0xb4100100x (irq = 79) is a 16550A
ttyS01 at 0xbc010000 (irq = 133) is a unknown
ttyS02 at 0xb4100140x (irq = 81) is a 16550A
ttyS03 at 0xb4100120x (irq = 80) is a 16550A
block: 64 slots per queue, batch=16
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO m
hda: Maxtor 6Y160P0, ATA DISK drive
ide0 at 0x400-0x407,0x438 on irq 87
hda: 268435455 sectors (137439 MB) w/7936KiB Cache, CHS=266305/16/63

udhorky
01-10-2005, 10:55 PM
Partition check:
hda: [mac] hda1 hda2 hda3 hda4 hda5 hda6 hda7 hda8 hda9 hda10 hda11 hda12 hda13
hda14
PPP generic driver version 2.4.1
PPP Deflate Compression module registered
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 4096)
ip_conntrack (256 bucket
ip_tables: (C) 2000-2002 Netfilter core team
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 281k freed
VFS: Mounted root (romfs filesystem) readonly.
Running as /linuxrc - autoscan!
Loading signatures file
2454 valid entries loaded
Scan /mnt
Scan /mnt/lost+found
Scan /mnt/var
Scan /mnt/var/utils
Scan /mnt/var/utils/messages
Scan /mnt/proc
Scan /mnt/install
Scan /mnt/dist
Scan /mnt/mnt
Scan /mnt/mnt/tmp
Scan /mnt/mnt/cdrom
Scan /mnt/mnt/card1
Scan /mnt/mnt/card2
Scan /mnt/initrd
Scan /mnt/dev
Scan /mnt/bin
Scan /mnt/etc
Scan /mnt/etc/rc.d
Scan /mnt/etc/tivoconfig
Scan /mnt/etccombo
Scan /mnt/lib
Scan /mnt/lib/modules
Scan /mnt/opt
Scan /mnt/opt/tivo
Scan /mnt/sbin
Scan /mnt/tvbin
Scan /mnt/tvlib
Scan /mnt/tvlib/data
Scan /mnt/tvlib/data/dishpointing
Scan /mnt/tvlib/data/person
Scan /mnt/tvlib/firmware
Scan /mnt/tvlib/firmware/prism2
Scan /mnt/tvlib/idl
Scan /mnt/tvlib/itcl
Scan /mnt/tvlib/misc
Scan /mnt/tvlib/modem
Scan /mnt/tvlib/modem/patches
Scan /mnt/tvlib/modem/patches/P2107-V90
Scan /mnt/tvlib/modem/patches/P2107-V90/ram
Scan /mnt/tvlib/modem/patches/P2109-V90
Scan /mnt/tvlib/modem/patches/P2109-V90/ram
Scan /mnt/tvlib/modem/patches/Si2433
Scan /mnt/tvlib/modem/patches/Si2433/C
Scan /mnt/tvlib/modem/patches/Si2433/C/AT
Scan /mnt/tvlib/modem/patches/Si2456
Scan /mnt/tvlib/modem/patches/Si2456/D
Scan /mnt/tvlib/modem/patches/Si2456/D/AT
Scan /mnt/tvlib/modem/utils
Scan /mnt/tvlib/tcl
Scan /mnt/tvlib/tcl/tv
Scan /mnt/kernel
Scan /mnt/prom
Scan /mnt/bus
Scan /mnt/init
The filesystem seems to be OK
Scanner main is done
VFS: Mounted root (ext2 filesystem) readonly.
change_root: old root has d_count=2
Freeing unused kernel memory: 60k freed

udhorky
01-10-2005, 10:56 PM
## MIPS ## arch-specific shell functions defined
Starting rc.sysinit
Releasing /initrd and clearing ramdisk, if they exist
warning: can't open /var/mtab: No such file or directory
Activating swap partitions
Adding Swap: 130044k swap-space (priority -1)
Loading i2c driver
Loading core system drivers
Parallel modem driver loaded, 1
Loading ircatch ...
IRMC registry var was previously 18444 (AVR not present)
IRMC registry var is 0 (AVR not present).
Loading irblast ...
IRMC registry var is 0 (AVR not present).
Loading irblast ...
Checking for Kickstart panic signal
exit_code = 0
Found rev 'F' Si2433 modem on /dev/cua1
Cleanup /dev/hda9 pass 1
ext2fs_check_if_mount: No such file or directory while determining whether /dev/
hda9 is mounted.
/dev/hda9 was not cleanly unmounted, check forced.
/dev/hda9: 73/32768 files (11.0% non-contiguous), 4610/131072 blocks
Cleanup /dev/hda9 pass 2
ext2fs_check_if_mount: No such file or directory while determining whether /dev/
hda9 is mounted.
/dev/hda9: clean, 73/32768 files, 4610/131072 blocks
/dev/hda9 is clean after pass 2
Mounting /var
/dev/hda9 on /var type ext2 (rw)
Cleaning up /var/mtab...
Using default TIVO_SVR_ADDR
Mounting initial environment...
Loading input section drivers
I2C transaction at address 0x42 timed out
/lib/modules/tvinput.o: init_module: Input/output error

PlainBill
01-11-2005, 04:27 AM
I'm not sure exactly what happened, but this

Loading signatures file
2454 valid entries loaded
Scan /mnt
Scan /mnt/lost+found
Scan /mnt/var
Scan /mnt/var/utils
Scan /mnt/var/utils/messages
(etc.)


indicates the kernel had an active initrd. Also, I don't see any kernel version number, which indicates serial output was lost somewhere.

I suggest reviewing the steps you took, repeating the hacks, and if the problem persists, posting the serial output as a text file.

PlainBill

udhorky
01-11-2005, 09:57 AM
I'm not sure exactly what happened, but this

Loading signatures file
2454 valid entries loaded
Scan /mnt
Scan /mnt/lost+found
Scan /mnt/var
Scan /mnt/var/utils
Scan /mnt/var/utils/messages
(etc.)


indicates the kernel had an active initrd. Also, I don't see any kernel version number, which indicates serial output was lost somewhere.

I suggest reviewing the steps you took, repeating the hacks, and if the problem persists, posting the serial output as a text file.

PlainBill

Alright I re-did the hack and I will attempt it in my tivo tonight.. I kept crazy notes this time so I am hoping that if something goes wrong we can pinpoint the problem.

Again thanks for your help and I will post my results tonight.

fixn278
01-11-2005, 10:45 AM
9) dd if=vmlinux.px of=/dev/hda3
10) dd if=vmlinux.px of=/dev/hda6

If you really typed this, then you did not get the expected output.

Can you tell why this shouldn't work?

udhorky
01-11-2005, 10:53 AM
If you really typed this, then you did not get the expected output.

Can you tell why this shouldn't work?


I wondered the same thing.. Since i have redone the drive this time I did a
dd if=/dev/zero of=/dev/hda3 and /dev/hda6

That will make sure the drives are clean before I applied the killhd image that I pulled off the PTV LBA48 CD.

fixn278
01-11-2005, 11:10 AM
I wondered the same thing.. Since i have redone the drive this time I did a
dd if=/dev/zero of=/dev/hda3 and /dev/hda6

That will make sure the drives are clean before I applied the killhd image that I pulled off the PTV LBA48 CD.Nope... won't help. I was trying to show you that the commands were incorrect.

What drive are you trying to apply the kernel image to? What position on the IDE chain is it? Now do you see where you went wrong?

newbie
01-11-2005, 12:20 PM
Nope... won't help. I was trying to show you that the commands were incorrect.

What drive are you trying to apply the kernel image to? What position on the IDE chain is it? Now do you see where you went wrong?

In a previous thread OP said his tivo drive is primary master and the CD he booted from is primary secondary.

fixn278
01-11-2005, 12:23 PM
In a previous thread OP said his tivo drive is primary master and the CD he booted from is primary secondary.

Yikes... You are correct.

udhorky - Sorry. I didn't mean to send you off in the wrong direction.

newbie
01-11-2005, 12:40 PM
Double check your steps. Make sure test.conf is in the root directory of your tivo drive. Make sure the other files are in the init directory.

Use VI or Joe to make sure you don't have CR/LF in the text files (test.conf for example).

Many of the install CD's assume your tivo is primary secondary and I wonder if some of the files are being installed in the right place.

udhorky
01-11-2005, 01:39 PM
Double check your steps. Make sure test.conf is in the root directory of your tivo drive. Make sure the other files are in the init directory.

Use VI or Joe to make sure you don't have CR/LF in the text files (test.conf for example).

Many of the install CD's assume your tivo is primary secondary and I wonder if some of the files are being installed in the right place.


Again I redid the procedure and I will attempt to use the drive tonight.. As for your script comment the only script I run is PTVbake-special which is located on the LBA48 disk.. Three is a parameter to set where the CDROM is located along with where the drives are located. Again I set the HDD to hda and the CDROM to hdc... Every other procedure I perform is a mount,cp,tar, etc etc.. So those will not make a difference since I use paths.....

PlainBill
01-11-2005, 01:51 PM
Again I redid the procedure and I will attempt to use the drive tonight.. As for your script comment the only script I run is PTVbake-special which is located on the LBA48 disk.. Three is a parameter to set where the CDROM is located along with where the drives are located. Again I set the HDD to hda and the CDROM to hdc... Every other procedure I perform is a mount,cp,tar, etc etc.. So those will not make a difference since I use paths.....

When you test the drive this evening, be sure to capture the serial output the first time you boot the system. I did not do a line by line study of the serial output, but it was obvious at some point it was running a kernel (version uncertain) with the initrd intact.

PlainBill

newbie
01-11-2005, 04:06 PM
For step 9 and 10 make sure you're in the var directory and/or include the path with the file name. I wonder if you're copying the wrong kernel?

idoco
01-11-2005, 04:49 PM
...
7) cp /cdrom/s2_kernels/3.1.1c/vmlinux.px.gz /tivo/var/vmlinux.px.gz
8) gunzip /tivo/var/vmlinux.px.gz
9) dd if=vmlinux.px of=/dev/hda3
10) dd if=vmlinux.px of=/dev/hda6
...


Has killhdintrd been applied to the kernel you are moving to the new drive?

It looks like you are copying the kernel from the InstaCake CD. Is this a virgin or hacked kernel?

Idoco

udhorky
01-11-2005, 09:04 PM
Has killhdintrd been applied to the kernel you are moving to the new drive?

It looks like you are copying the kernel from the InstaCake CD. Is this a virgin or hacked kernel?

Idoco

The instacake CDs have a hacked kernel includedon them... Like I stated earlier I redid my hack and it is now working. I must of had a typo in my 1st attempt... So I have superpatch applied as well as the Guidepatch. Everything is working well.

The only thing left on my list is to update the USB drivers.. I think I can just install the USB2 backport drivers. I should just have to over write usb.net usbcore.net and usb-ohci.net (I will backup the originals)..... Those are the only three files I needed to get my network working on Version 3.X so I am assuming those are the only ones I will need to update this time as well.... Any feedback on that?


Thanks all for the help.. 4.X is great.

customcaddy
01-16-2005, 03:30 AM
I have a Samsung 4040r and i loaded killinitrid on it via the directions. The drive works and boots fine in the 4040r and an hdvr2. But only on the 4040r it wont record programs but when installed in the hdvr2 it works fine. Any suggestions?

PlainBill
01-16-2005, 12:03 PM
I have a Samsung 4040r and i loaded killinitrid on it via the directions. The drive works and boots fine in the 4040r and an hdvr2. But only on the 4040r it wont record programs but when installed in the hdvr2 it works fine. Any suggestions?

Did you do a 'Clear and Delete Everything (or run 51killer) after moving the drive to the 4040r?

PlainBill