PDA

View Full Version : Reboot loop after power failure


fantmn
01-03-2008, 05:36 PM
Well, It has been a while since I have posted. The Tivos have been running very well. I got home from a trip the other week and my wife told me one of the Tivos was in a reboot loop. This Tivo is a directTV S2 RCA. I hacked it over a year ago and it has been fine. So here is what I have done so far.

I first plugged in the serial console cable and rebooted. I got no output at all.
Next I rebuilt my PC I use for hacking (another long story there).
I found the backups of my kernel, and root partitions. I used dd to copy them into the correct partitions on the tivo drive.
I rebooted with the new drive and now get a console log.
I captured the console log. It looks to me like I am getting a disk error when it goes to get the phone configuration information.

Is this info stored in MFS somewhere? Could this really be a symptom of a busted MFS. I am assuming the disk controller etc. is OK since it can read and run up to the failure point. Using pdisk I see MFS Second application region with a base of 84356161 for a length of 1048576. (LBAsect=84470370 is shown as the error)

I am looking for ideas before I scratch install the drive and the Tivo.

The tail end of the console output is below.

Thanks for any input.

Fant

Console Log.......................
Loading TvBus router
Updating system clock
Time set to: Thu Jan 3 19:08:21 2008
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
PokeFirewallPort: Poking hole through firewall at port 2191, protocol tcp
iptables: No chain/target/match by that name
Waiting for launcher to start.
Launcher is running.
Scanning for phase2 repair scripts
Running boot Stage E_PreApplication scripts
Checking for database conversions
No upgrade to load
Not upgrading software
Scanning for phase3 repair scripts
Running boot Stage F_ApplicationLaunch scripts
Starting Services.
Microcode version is TiVo!
Found hpk front panel model 1
PCI: 00:0d.2 PCI cache line size set incorrectly (0 bytes) by BIOS/FW, correctin
g to 32
PokeFirewallPort: Poking hole through firewall at port 2190, protocol udp
iptables: No chain/target/match by that name
PokeFirewallPort: Poking hole through firewall at port 2190, protocol tcp
iptables: No chain/target/match by that name
hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hda: dma_intr: error=0x40 { UncorrectableError }, LBAsect=84470370, high=5, low=
584290, sector=114209
end_request: I/O error, dev 03:0c (hda), sector 114209
Tmk Assertion Failure:
GetPhoneConfig, line 4305 ()
Tmk Fatal Error: Thread tcphonehome <146> strayed!
Paste the following into a shell to get a backtrace...

bt -t /tvbin/tivoapp <<END_OF_BT
read 0x2aaa8000 /lib/ld.so.1
read 0x2ab04000 /lib/libutil.so.1
read 0x2ab48000 /lib/libdl.so.2
read 0x2ab8c000 /lib/libpthread.so.0
read 0x2abe8000 /lib/libm.so.6
read 0x2acb0000 /lib/libc.so.6
0x00f141a0 0x00f17554 0x00720728 0x007210e4 0x0066c1e8 0x0066c768 0x00612dd8
0x00403090 0x2acc13fc
END_OF_BT

Tmk Fatal Error: Thread tcphonehome <146>: assertion failure
flushing ide devices: hda
Restarting system.

fantmn
01-04-2008, 04:32 AM
I ran hardware diag. on the disk. It found 3 bad sectors one at the number listed in the error message. I let it "correct" the bad sectors. I guess I will see what happens when put the drive back into the Tivo.

I guess if it does not work I will rebuild the drive from scratch and restore the kernel and root partitions from a backup of the old failed drive.

Now I am getting a file system inconsistent message and then restart. Off to build a new drive.