PDA

View Full Version : THR22-100 Partition Table



JackBlack
03-04-2012, 07:14 PM
Not sure where to post this but want to see what's on the new THR22 DirecTV with TiVo DVR's and need some help as things have change so much from my DTiVo days. So far I have been able to dump the partition table.

sudo ./pdisk.x86 /dev/sdb
Edit /dev/sdb -
Command (? for help): p

Partition map (with 512 byte blocks) on '/dev/sdb'
#: type name length base ( size )
1: Apple_partition_map Apple 63 @ 1
2: Version 1 1 @ 2148865904
3: Rsvd 1 @ 2148865905
4: Rsvd 1 @ 2148865906
5: Rsvd 1 @ 2148865907
6: Ext3 mdi 15626240 @ 2148865908 ( 7.5G)
7: Ext2 Devl 524288 @ 2164492148 (256.0M)
8: Swap Linux swap 262144 @ 2165016436 (128.0M)
9: Ext2 /var 524288 @ 2165278580 (256.0M)
10: MFS MFS application region 589824 @ 2172094324 (288.0M)
11: MFS MFS media region 1733755196 @ 2173273972 (826.7G)
12: MFS MFS application region 2 589824 @ 2172684148 (288.0M)
13: MFS MFS media region 2 2148865840 @ 64 ( 1.0T)
14: Ext3 SQLite 6291456 @ 2165802868 ( 3.0G)

Device block size=512, Number of Blocks=3907029168 (1.8T)
DeviceType=0x0, DeviceId=0x0

Command (? for help):

PlainBill
03-05-2012, 10:09 AM
That would confirm that the OS is not on the hard drive. The MFS partitions are obvious, as are the swap and VAR partitions. The interesting partitions are 6 and 14.

PlainBill

JackBlack
03-05-2012, 05:27 PM
From what I've been reading, partition 14 was new in the tivo premiere. I'm trying to come up to speed on the current partition table of the Premiere to compare with the THR22 as there seems to be some common changes here.

I also don't recognize the "10: MFS MFS application region" but my memory fails me. So the RSRVD areas are probably place holders for the non-directv Tivo's 2 kernels and 2 other partitions?

So far all I've found of much interest is the log files. I'm probably wasting my time but what the heck, lol.

PlainBill
03-05-2012, 07:35 PM
It's been a while since I ran pdisk, but it seems to me partitions 10 - 13 are the same as those found in the Series II DirecTiVos. That's where the recordings and other information are saved. Certainly they are the largest partitions.

PlainBill

Jamie
03-05-2012, 07:47 PM
Partition 14 looks the same as the Premiere. It appears to be a SQLLite DB now used for guide data. Not sure what partitions 6 and 7 are used for. Would be interesting to mount them up and see what is inside.

JackBlack
03-05-2012, 08:20 PM
Here is what I can find in 6: Ext3 mdi 15626240 @ 2148865908 ( 7.5G)

6 directories, 0 files
sudo tree
.
10
11
20
21
8806
** meta_man.xma
** meta_man.xmd
** meta_man.xmi
** meta_man.xmv
lost+found

6 directories, 4 files
df /dev/sdb6
Filesystem 1K-blocks Used Available Use% Mounted on
udev 990944 4 990940 1% /dev


sudo ls -l 8806/
total 20
-rwxrwxrwx 1 root root 468 2012-02-26 13:47 meta_man.xma
-rwxrwxrwx 1 root root 685 2012-02-26 13:47 meta_man.xmd
-rwxrwxrwx 1 root root 4708 2012-02-26 13:47 meta_man.xmi
-rwxrwxrwx 1 root root 1081 2012-02-26 13:47 meta_man.xmv

JackBlack
03-05-2012, 08:26 PM
Nothing in 7 but lost+found

/mnt/tivo$ df /dev/sdb7
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sdb7 253871 2062 238702 1% /mnt/tivo

JackBlack
03-05-2012, 08:32 PM
I just let the dvr run long enough to initialize the esata drive and I pulled it pretty soon after it acquired and started downloading. tried this many times until tivopart found the above. May have been operator error not running sudo before tivopart. Was also trying to do a 'graceful shutdown' since I wasn't sure if I was going to see a XFS or Tivo partition table.

JackBlack
03-05-2012, 08:57 PM
message log reference to MRV

Dec 1 20:55:09 (none) os_restart: Unknown:b-11-2-3-mr @525910 2011.11.18-1629 release-mips_k26 [] ARM_IDL_FREEZE CDDB_QUERY DCT_SERIAL DSS_SERIAL HPK IDL_FREEZE IRBLAST LOCAL_CALYPSO_SERVER LOCAL_MP3_PLAYER LOCAL_MUSIC_PLAYER LOCAL_PHOTO_VIEWER LOCAL_WMA_PLAYER MACROVISION MULTI_ROOM_VIEWING PERF_LOGGER PERF_LOGGER_USER_STATS PTHREADS_TMK REQUIRE_PRODUCTION_SPIGOT_LINEAGE SANITIZE_LOGS STRONG_CRYPTO T2KSOURCE US_CABLE_AUTO_DETECT 2011.11.18-1629 11.2.3-01-3



sudo more * | grep MRV
Dec 1 20:57:13 (none) VideoGuts[707]: Adding Network Recording MRV Proxy - Input Section
Feb 25 23:56:48 (none) VideoGuts[690]: Adding Network Recording MRV Proxy - Input Section
Feb 26 00:04:40 (none) VideoGuts[740]: Adding Network Recording MRV Proxy - Input Section
Feb 26 19:53:16 (none) VideoGuts[739]: Adding Network Recording MRV Proxy - Input Section
Feb 26 19:59:23 (none) VideoGuts[740]: Adding Network Recording MRV Proxy - Input Section

JackBlack
03-05-2012, 09:06 PM
Any idea where the serial port is on the (T)HR22? probably on the motherboard?

Feb 25 23:52:00 (none) kernel: Kernel command line: PROM_TYPE=BSL root=/dev/mtdblock6 console=ttyS0 HpkImpl=Gen06D dsscon=true sdsscon=true
Feb 25 23:52:00 (none) kernel: serial8250: ttyS0 at MMIO 0x0 (irq = 66) is a 16550A
Feb 25 23:59:49 (none) kernel: Kernel command line: PROM_TYPE=BSL root=/dev/mtdblock6 console=ttyS0 HpkImpl=Gen06D dsscon=true sdsscon=true
Feb 25 23:59:49 (none) kernel: serial8250: ttyS0 at MMIO 0x0 (irq = 66) is a 16550A
Feb 26 19:48:24 (none) kernel: Kernel command line: PROM_TYPE=BSL root=/dev/mtdblock6 console=ttyS0 HpkImpl=Gen06D dsscon=true sdsscon=true
Feb 26 19:48:24 (none) kernel: serial8250: ttyS0 at MMIO 0x0 (irq = 66) is a 16550A
Feb 26 19:54:35 (none) kernel: Kernel command line: PROM_TYPE=BSL root=/dev/mtdblock6 console=ttyS0 HpkImpl=Gen06D dsscon=true sdsscon=true
Feb 26 19:54:35 (none) kernel: serial8250: ttyS0 at MMIO 0x0 (irq = 66) is a 16550A