PDA

View Full Version : tivo keeps rebooting after creating "rc.sysinit.author"


Sierra99
06-07-2006, 11:34 PM
I have been reading post upon posts before asking any questions. But after recopying my tivo 40 gig hd to the new 120 gig hd 5 times and the same thing happens (keeps rebootong after the "almost ther screen"), I had to ask "what am I doing wrong"
I have astand alone series 2 and my root partition 7 I have my hd set up as hdc and it comes up as root hdc7

I have add the killinihdtrd to the partition of hdc6 and then rutrned the hd back into the tivo and it boots up. no problems....I then move tivtools into the "hdc7/tivo/tivo-bin"..I pulled out the hd and returned it to the tivo and it still boots up properly. here is where I have problems...when creating the rc.sysinit.author file.

I opened the hdc7/tivo drive and mounted it thec did a cd to /tivo/etc/rc.d

I did a pico rc.sysinit.author and added
#!/bin/bash
echo "loading hacks"
export PATH=$PATH:/tivo-bin
export TIVO_ROOT=
export MFS_DEVICE=/dev/hda10
export IGNOREEOF=1000
export TERM=xterm
tivoftpd
fakecall.tcl
tnlited 23 /bin/bash -login &
/bin/bash /dev/ttyS2&
route add -host 204.176.49.2 gw 127.0.0.1
route add -net 204.176.49.0 gw 127.0.0.1 netmask 255.255.255.0

I next did a control -X to save and then added "chmod 755 rc.sysinit.author"

I finally added "mv /tivo/etc/netfilter-enable /tivo/etc/netfilter-notenabled"

unmount -f -a -r and then put back into the tivo......now alll it does is reboots after almost there.....What amI doing wrong???,,,,I do and can hook up a bash serial if that can help me....thanks for looking at my post.....

Sierra99
06-07-2006, 11:37 PM
Oh yeah I do have a lifetime membership but I was reading that I needed the fake call .....if I omit that will it help???.....thanks for taking the time to help a noooooobie......and i also have 7.2.2 as a software version on the original tivo........it is "sw-7.2.2-oth-01-2-140"

PlainBill
06-08-2006, 12:27 AM
You cannot simply rename netfilter-enable with 7.x. That is the cause of your problems. See this thread (http://www.dealdatabase.com/forum/showthread.php?t=40715) for more information (or hope Jamie stops by and gives you more exact information).

Fakecall will do absolutely nothing for you.

PlainBill

cheer
06-08-2006, 12:28 AM
finally added "mv /tivo/etc/netfilter-enable /tivo/etc/netfilter-notenabled"
This may be your problem. I'm pretty sure that Jamie has said you can't just do this on 7.x. I think you have to modify iptables instead. Do a search on "7.2 iptables" and you should find it.

EDIT: PB is faster than I am.

Narf54321
06-08-2006, 03:07 AM
Oh yeah I do have a lifetime membership but I was reading that I needed the fake call .....if I omit that will it help???.....thanks for taking the time to help a noooooobie......and i also have 7.2.2 as a software version on the original tivo........it is "sw-7.2.2-oth-01-2-140"

As PB and Cheer said, you need to replace the iptables binary with, essentially, a do-nothing script as alldeadhomiez points out in this post (http://www.dealdatabase.com/forum/showpost.php?p=204669&postcount=6).

Also, since you have a standalone you should most definitely remove the fakecall stuff. Standalone Tivo units need to keep calling-in for guide data.

Sierra99
06-08-2006, 08:56 AM
ok..I wil try the edit "iptables".....I did see that in some posts but others did not have it.....like is a learning hobby...pretty cool...huh....thanks

and I hope that this wasnt a dumb question....

Sierra99
06-09-2006, 07:38 AM
ok....I first reversed the net filter enabled by using "mv /tivo/etc/netfilter-notenabled /tivo/etc/netfilter-enable" to reverse the netfilter not enabled issue the I added
type "cd /sbin"
"mv iptables iptables.old"
"echo -e '#!/bin/bash\nexit 0' > iptables"
" chmod 755 iptables"
the only placeI could find this iptables is in my tivo/sbin mounted on my 7th partion which is the root partition for me....

I still get a reboot over and over......

everything booted fine until I added the rc.sysinit.author.

What should I check next before I recopy the drive and start over???

Will getting into a bash screen help me at all and what should I see?????

thanks

PlainBill
06-09-2006, 02:12 PM
Instead of reimaging the drive, start here (http://www.dealdatabase.com/forum/showthread.php?p=234467#post234467). Since you have a Series 2.5, use console=1,115200.

PlainBill

ocntscha
06-09-2006, 03:37 PM
ok....I first reversed the net filter enabled by using "mv /tivo/etc/netfilter-notenabled /tivo/etc/netfilter-enable" to reverse the netfilter not enabled issue the I added
type "cd /sbin"
"mv iptables iptables.old"
"echo -e '#!/bin/bash\nexit 0' > iptables"
" chmod 755 iptables"
the only placeI could find this iptables is in my tivo/sbin mounted on my 7th partion which is the root partition for me....

I still get a reboot over and over......
I don't know if you just made a typo above or not but seeing as how you issued the command mv /tivo/etc/netfilter-notenabled /tivo/etc/netfilter-enable I would have expected the next sequence of commands to be..

"cd /tivo/sbin"
"mv iptables iptables.old"
"echo -e '#!/bin/bash\nexit 0' > iptables"
" chmod 755 iptables"

Sierra99
06-10-2006, 01:48 PM
I did do a cd /sbin since i was already in the tivi dir......I wiil get mt bash promt up and see what is gives me...I just made a bash serial cord and will hook it up asap..will keep posted....thanks

Sierra99
06-10-2006, 02:06 PM
ok just got into the bash in tivo with the serial bash and it fives me:
Output enabled
Ram size = 32
Service number is 2400000902BXXX9.
What is password?
What is password?
What is password?

Sierra99
06-10-2006, 02:07 PM
is this right or did I do something wrong...it sounds like my killinihdtrd is wrong

ocntscha
06-10-2006, 02:51 PM
I did do a cd /sbin since i was already in the tivi dir......I wiil get mt bash promt up and see what is gives me...I just made a bash serial cord and will hook it up asap..will keep posted....thanksIf you where already in the /tivo directory then cd sbin would have worked but cd /sbin wouldn't have. Those are not identical commands and what you've told us twice now is that you used cd /sbin which is the wrong command to be using. You could either be in the /tivo directory and type cd sbin or be in any directory and type cd /tivo/sbin but in this situation where you've got your tivo root partition mounted at /tivo the command cd /sbin is always is going to be wrong.

cheer
06-10-2006, 02:57 PM
is this right or did I do something wrong...it sounds like my killinihdtrd is wrong
Sounds more like your master/slave jumper is wrong.

eastwind
06-10-2006, 03:06 PM
ok just got into the bash in tivo with the serial bash and it fives me:
Output enabled
Ram size = 32
Service number is 2400000902BXXX9.
What is password?
What is password?
What is password?
Looks like you've got the port settings right, but you can't hit any keys during the initial bootup or you'll go to the PROM menu at which you'll need the password.

ew

Sierra99
06-10-2006, 05:02 PM
Ok I have the readout...thanks for the info on not hitting any keys....I will look at where I put the iptables.....

CPU revision is: 00005430
FPU revision is: 00005410
Primary instruction cache 32kb, linesize 32 byte
Primary data cache 32kb, linesize 32 bytes.
Linux version 2.4.20 (build@buildmaster5) (gcc version 3.0) #22 Fri Feb 20 18:19
:25 PST 2004
Determined physical RAM map:
memory: 02000000 @ 00000000 (usable)
On node 0 totalpages: 8192
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 1: 1048576 bytes @ address 0x8178
Contiguous region 2: 524288 bytes @ address 0x81880000
Contiguous region 8: 7340032 bytes @ address 0x81900000
Contiguous region of 8912896 bytes total reserved at 0x81780000.
Memory: 22156k/32768k available (1222k kernel code, 10612k reserved, 81k data, 6
4k init, 0k highmem)
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 by
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 0xb4100100 (irq = 79) is a 16550A
ttyS01 at 0xbc010000 (irq = 133) is a unknown
ttyS02 at 0xb4100140 (irq = 81) is a 16550A
ttyS03 at 0xb4100120 (irq = 80) is a 16550A
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
hda: WDC WD1200JB-00DUA3, ATA DISK drive
ide0 at 0x400-0x407,0x438 on irq 87
hda: 234441648 sectors (120034 MB) w/8192KiB Cac
Partition check:
hda: [mac] hda1 hda2 hda3 hda4 hda5 hda6 hda7 hda8 hda9 hda10 hda11 hda12 hda13
hda14 hda15 hda16
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
PPP generic driver version 2.4.2
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 version 2.1 (256 buckets, 2048 max) - 152 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 64k freed
Starting rc.sysinit
Running boot Stage A_PreKickstart scripts
Scanning for configuration files
Loading tivoconfig.o
Invoking startup scripts for:
platform 'gryphon'
implementation 'Series2'
implementer 'TiVo'
Releasing /initrd and clearing ramdisk, if they exist
umount: /initrd: not mounted
Activating swap partitions
Adding Swap: 65532k swap-space (priority -1)
Loading core system drivers
Loading fpga.o
Parallel modem driver loaded, 1 ports starting at /dev/ttyS1
Loading i2c_Series2.o
Loading ircatch.o
Found rev 'F' Si2433 modem on /dev/cua1
Checking for Kickstart panic signal
Running boot Stage B_PostKickstart scripts
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.
Inode 2056, i_blocks wrong 2558 (counted=2550). Set i_blocks to counted? yes

Inode 2061, i_blocks wrong 1138 (counted=1132). Set i_blocks to counted? yes

Inode 2067, i_blocks wrong 452 (counted=442). Set i_blocks to counted? yes

Inode 2066, i_blocks wrong 3004 (counted=2996). Set i_blocks to counted? yes

Fix summary information? yes

/dev/hda9: 82/32768 files (11.0% non-contiguous), 8151/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, 82/32768 files, 8151/131072 blocks
/dev/hda9 is clean after pass 2
Mounting /var
/dev/hda9 on /var type ext2 (rw)
Cleaning up files in /var
Checking space in /var
Mounting initial environment
Starting logging daemons
Checking Panic log
Found Silicon Labs "Si2433" modem, rev F, skipping modem patch
Scanning for phase1 repair scripts
Running boot Stage C_MediaInitialization scripts
Loading input section drivers
Loading tvinput.o
Assume SAA7114 video decoder. CodeID = 4
/dev/input lo
Loading kfirR0m.o
KFir ucode version 3.18
Loading output section drivers
Loading brcmdrv-rb.o
Linux BCM7020 STB interface: version 510082104
******** versionInfo->major is 1 ********
Splash the screen
Running boot Stage D_PreMfs scripts
Remote control is TIVO
MFS partition on /dev/hda10
Not loading DSS processor for this platform
Look for debug board
Not loading ATSC processor for this platform
Loading irblast.o
Loading ideturbo.o
Loading fan.o
Loading therm.o
Loading TvBus router
Updating system clock
Time set to: Sat Jun 10 19:57:41 2006
/sbin/iptables: exit: bad non-numeric arg `o'
/sbin/iptables: exit: bad non-numeric arg `o'
/sbin/iptables: exit: bad non-numeric arg `o'
/sbin/iptables: exit: bad non-numeric arg `o'
/sbin/iptables: exit: bad non-numeric arg `o'
/sbin/iptables: exit: bad non-numeric arg `o'
/sbin/iptables: exit: bad non-numeric arg `o'
/sbin/iptables: exit: bad non-numeric arg `o'
/sbin/iptables: exit: bad non-numeric arg `o'
/sbin/iptables: exit: bad non-numeric arg `o'
/sbin/iptables: exit: bad non-numeric arg `o'
/sbin/iptables: exit: bad non-numeric arg `o'
/sbin/iptables: exit: bad non-numeric arg `o'
/sbin/iptables: exit: bad non-numeric arg `o'
/sbin/iptables: exit: bad non-numeric arg `o'
Enabling local route
Setting TCP keepalive parameters
Checking for additional disk
Start fan control
First temperature parameters set:
Terminal temp: 71
Critical temp: 62
Logging temp: 60
Target temp: 50
Lowest fan speed: 7
/tvbin/fancontrol is running in the background.
Starting TvLauncher
/sbin/iptables: exit: bad non-numeric arg `o'
assert: Tmk Assertion Failure:
assert: TmkServer, line 379 ()
Tmk Fatal Error: Activity TvBusProxy <97> strayed!
Paste the following into a shell to get a backtrace...

bt -t /tvbin/tivoapp <<END_OF_BT
tcd 1
hpk Series2
build b-7-2-2-mr @226264 2006.02.21-2147 release-mips [SET_7_2_2_OTHER]
pack 7.2.2-oth.01-2
read 0x00400000 /tvbin/tivoapp
read 0x02000000 /lib/libc.so.6
read 0x02200000 /lib/libm.so.6
read 0x02400000 /lib/libpthread.s
read 0x02600000 /lib/libutil.so.1
read 0x02800000 /lib/libtvutil.so
read 0x02a00000 /lib/libtmk.so
read 0x02c00000 /lib/libtvstructures.so
read 0x2aaa8000 /lib/ld.so.1
read 0x2ab04000 /lib/libhpkoss.so
read 0x2ab50000 /platform/lib/libhpkhl.so
read 0x2abf8000 /platform/lib/libhpkll.so
read 0x2ac3c000 /lib/libdl.so.2
read 0x2ac80000 /lib/libcdaudio.so
0x02a7e85c 0x02a82aa0 0x02a244a0 0x02a501d0 0x006abd30 0x02a28a88 0x02a286b4
0x02a60f5c 0x02a2859c 0x02a284b0 0x02a2aebc 0x02a3ca00 0x02a3c8e8 0x02a3c798
0x02a3bcf4
END_OF_BT

Tmk Fatal Error: Activity TvBusProxy <97>: assertion failure
Waiting for launcher to start.
Launcher is running.
Scanning for phase2 repair scripts
Running boot Stage E_PreApplication scripts
Checking for database conversions
flushing ide devices: hda
Restarting system.

Jamie
06-10-2006, 05:52 PM
/sbin/iptables: exit: bad non-numeric arg `o'Your iptables surrogate has "exit o" rather than "exit 0" (lower case letter "O" verses numeral zero).

Sierra99
06-10-2006, 07:22 PM
that was it...it now boots properly and I get a bash promt...now to add some hacks.......and a network usb adatper....

Sierra99
06-13-2006, 07:33 PM
I have been waitng for the bash to complete and this is what I get now:

Running boot Stage G_PostApplication scripts
loading hacks
Inside fakecall 4.x+
fakecall failed, code=(invalid attribute: Complete)
/etc/rc.d/rc.sysinit.author: tnlited: command not found
/etc/rc.d/rc.sysinit.author: route: command not found
/etc/rc.d/rc.sysinit.author: route: command not found
rc.sysinit is complete

my rc.sysinit.author is posted above.....what is wrong with tnlited, route, route, and fake call???

did I fat finger anything?

Jamie
06-13-2006, 08:12 PM
.....what is wrong with tnlited, route, route, and fake call???As was pointed out earlier, you should not be runnign fakecall on a standalone tivo.

Looks like your path must be messed up. That's why it isn't finding tnlited and route.

cheer
06-13-2006, 08:32 PM
Looking above, I only see /tivo-bin in your path (aside from whatever the Tivo's defaults are (which I think are /bin, /sbin and /tvbin). But you should explicitly code them, along with /busybox (or wherever you installed the all-in-one tools). You might also consider explicitly coding the paths:

/sbin/tnlited 23 /bin/bash -login &
/sbin/route add blah blah blah

Sierra99
06-13-2006, 08:50 PM
fakecall......I have been reading alot of post of dtivo and have been trying to adatp them to my sa2.....and they al say to need the fakecall...I thought that you didnt want to call back because it would erase all of the other hacks.I have a lifetime and didnt think it would matter because i had it unplugged or had to have it unplugged from the telco line...right??...or am i a little confused......

also the path must be right, because I unzipped the tivotools.rar into the "tivo-bin" lacated at rootpartition "hdc7/tivo/tivo-bin' and it found tivofpd ok without a "command not found"...or asm i looking or pointing in the wrong dir?...if so what part is wrong?

Sierra99
06-13-2006, 08:52 PM
all of the hacks are in the tivo-bin directory that is why I only put tivo-bin in the path....tivo-bin is where everything is located.....should I move then if so where?

eastwind
06-13-2006, 09:01 PM
SA TiVos must call in (by phone or by internet) to get their guide data. DTiVos get that information from the satellites.

ew

Jamie
06-13-2006, 09:02 PM
fakecall......I have been reading alot of post of dtivo and have been trying to adatp them to my sa2.....and they al say to need the fakecall...I thought that you didnt want to call back because it would erase all of the other hacks.I have a lifetime and didnt think it would matter because i had it unplugged or had to have it unplugged from the telco line...right??...or am i a little confused......You are confused. A DTivo gets its guide data from the SAT connection. A SA relies on the phone line or a broadband connection for guide data. A S2SA is useless if it can't contact the mothership periodically.

Software upgrades are a fact of life on a standalone tivo. You have to be prepared to rehack as upgrades come down the pike: reference. (http://www.dealdatabase.com/forum/showthread.php?t=41782) You can block upgrades for a while, but eventually you have to take them if you want to continue to connect to the tivo mothership.
also the path must be right, because I unzipped the tivotools.rar into the "tivo-bin" lacated at rootpartition "hdc7/tivo/tivo-bin' and it found tivofpd ok without a "command not found"...or asm i looking or pointing in the wrong dir?...if so what part is wrong?Neither tnlited nor route are part of tivotools.tar. These are binaries that ship with the tivo and are installed in /sbin. It still seems to me that you've munged your path somehow and /sbin is no longer on your path. Cheer's advice is reasonable.

Sierra99
06-13-2006, 09:12 PM
ok that makes sense with fakecall and dtivos....
I have other hacks that i can add to rc.sysinit.author later that are in my tivo-bin directory...but here is what i am going to do next.....edit my rc.sysinit.author from:


#!/bin/bash
echo "loading hacks"
export PATH=$PATH:/tivo-bin
export TIVO_ROOT=
export MFS_DEVICE=/dev/hda10
export IGNOREEOF=1000
export TERM=xterm
tivoftpd
fakecall.tcl
tnlited 23 /bin/bash -login &
/bin/bash /dev/ttyS2&
route add -host 204.176.49.2 gw 127.0.0.1
route add -net 204.176.49.0 gw 127.0.0.1 netmask
255.255.255.0

to

Sierra99
06-13-2006, 09:15 PM
#!/bin/bash
echo "loading hacks"
export PATH=$PATH:/tivo-bin
export TIVO_ROOT=
export MFS_DEVICE=/dev/hda10
export IGNOREEOF=1000
export TERM=xterm
tivoftpd
fakecall.tcl
/sbin/tnlited 23 /bin/bash -login &
/bin/bash /dev/ttyS2&
/sbin/route add -host 204.176.49.2 gw 127.0.0.1
/sbin/route add -net 204.176.49.0 gw 127.0.0.1 netmask

shoud I add or change anything in:

export PATH=$PATH:/tivo-bin I will use some more hacks..

and will pico help me edit rc.sysinit.author?

Sierra99
06-13-2006, 09:20 PM
shoud I add or change anything in:

export PATH=$PATH:/tivo-bin I will use some more hacks..

or should I move the hacks into the sbin
and change export PATH=$PATH:/tivo-bin to
export PATH=$PATH:/sbin

Sierra99
06-13-2006, 10:42 PM
ok....I fixed it..I first of all got rid of fakecall......then fixed
#!/bin/bash
echo "loading hacks"
export PATH=/sbin:/bin:/tivobin:/tivo-bin
export TIVO_ROOT=
export MFS_DEVICE=/dev/hda10
export IGNOREEOF=1000
export TERM=xterm
/tivo-bin/tivoftpd
/sbin/tnlited 23 /bin/bash -login &
/bin/bash /dev/ttyS2&
/sbin/route add -host 204.176.49.2 gw 127.0.0.1
/sbin/route add -net 204.176.49.0 gw 127.0.0.1 netmask
255.255.255.0
and now i get a "rc.sysinit is complete"

cheer
06-13-2006, 11:31 PM
and now i get a "rc.sysinit is complete"
That's what you're supposed to get -- is there still a problem?

eastwind
06-14-2006, 06:28 PM
Of course there's still a problem...no guide data. The route statements are designed to prevent a DTiVo from making contact with the mothership even by accident. But they'll just as easily prevent your SA TiVo from making contact to get guide data and service upgrades.

ew