TiVo Community Forum Archive 1
READ ONLY ARCHIVES

Welcome to the TiVo Community Forum Archive
This archive covers threads on TiVo Community Forum that have not been posted to from the start until June 30, 2004.  Any thread that has a post made to it between 7/1/04 and 12/31/05, that had not been posted to, will be found in Archive 2.
This is a READ ONLY site.

  Search | ARCHIVE 2 | MAIN SITE

TiVo Community Forum Archive 1 : Powered by vBulletin version 2.2.8 TiVo Community Forum Archive 1 > Underground Playground > TiVo Underground
>>> using mac os x <<<

Pages (2): « Prev 1 [2]  
Forum Jump:
Search this Thread:
Last Thread   Next Thread
Author
Thread ---> Show Printable Version | Email this Page | Subscribe to this thread Post New Thread    Post A Reply
v8q is offline Old Post 05-26-2004 04:54 AM
Click Here to See the Profile for v8q Find more posts by v8q Add v8q to your buddy list Show Printable Version Edit/Delete Message Reply w/Quote
v8q
Member

Registered: Jan 2002
Location:
Posts: 20

OK - I am trying mfstools, but it crashes I am pretty sure because my disk is locked.
I tried installing the ext2 kext but it also does not seem to unlock the disk.
It got late so I gave up but is there a OS X way to unlock a disk?
And what about the byte swapping thing?

I am considering first booting a linux kernal that does the unlocking and then booting OS X again as a work around but that seems a little kludgy.

POST #21 | Report this post to a moderator | IP: Logged

Loki is offline Old Post 05-26-2004 08:46 AM
Click Here to See the Profile for Loki Find more posts by Loki Add Loki to your buddy list Show Printable Version Edit/Delete Message Reply w/Quote
Loki
Member

Registered: Jul 2000
Location: NV, USA
Posts: 23

A few questions:
1) Exactly how does it crash, what is the command you typed in and the output
2) What is the output when you run the debug version
3) With the drive of interest installed what do you get with the df command and the devmapper command
4) Is this a new disk, Series I Tivo disk, or Series 2 Tivo disk

Assuming its a locked disk I know of two ways, one is intall the disk on one of the ide busses on your computer and run the old OS9 Blesser program and just run the unlock disk routine. Two is use a KEXT that could read Series I drives and unlock them. I don't know where to get a copy though.

POST #22 | Report this post to a moderator | IP: Logged

v8q is offline Old Post 05-26-2004 11:29 AM
Click Here to See the Profile for v8q Find more posts by v8q Add v8q to your buddy list Show Printable Version Edit/Delete Message Reply w/Quote
v8q
Member

Registered: Jan 2002
Location:
Posts: 20

quote:
Originally posted by Loki
A few questions:
1) Exactly how does it crash, what is the command you typed in and the output
2) What is the output when you run the debug version
3) With the drive of interest installed what do you get with the df command and the devmapper command
4) Is this a new disk, Series I Tivo disk, or Series 2 Tivo disk

Assuming its a locked disk I know of two ways, one is intall the disk on one of the ide busses on your computer and run the old OS9 Blesser program and just run the unlock disk routine. Two is use a KEXT that could read Series I drives and unlock them. I don't know where to get a copy though.



I ran my linux 2.4.4 kernel to unlock the disk - and it reported success.
WIthout powering down, I rebooted into OS X (10.2.8) and tried this:

*******************************************************
*
dave% devmapper1.1

Version 1.1
Device Endian Type Size (GiB) Size (GB)
------ ------ ---- ---------- ---------
/dev/disk0 Little Unknown 0.01 0.01
/dev/disk1 Big Mac 9.51 10.21
/dev/disk2 Big Mac 114.50 122.94
/dev/disk3 Big Mac 20.98 22.53
/dev/disk4 Big Mac 8.54 9.17

dave% dd if=/dev/disk0 count=64 bs=512 conv=swab | strings
64+0 records in
64+0 records out
32768 bytes transferred in 0.044712 secs (732867 bytes/sec)
root=/dev/hda4 shondss=true
g=true
unnamed

f@e?
linux.px
?Apple
Apple_partition_map
Bootstrap 1
Image
Kernel 1
Image
Root 1
Ext2
Bootstrap 2
Image
Kernel 2
Image
Root 2
Ext2
Linux swap
Swap
/var
Ext2
MFS application region
MFS media region

root# ./mfstool
MFSTools 2.0.DARWIN
Usage: ./mfstool <function> <args> or <function> <args>
Available functions:
backup Backup TiVo drive fast and small.
restore Restore mfstool backups to TiVo drive.
add Add partitions to your TiVo MFS volume.
mls List files in the MFS volume.
d Dump raw data from MFS volume.
info Display information about MFS volume.
For help on a particular function: ./mfstool <function> -h

root# ./mfstool backup -h
Usage: backup [options] Adrive [Bdrive]
Options:
-h Display this help message
-o file Output to file, - for stdout
-1 .. -9 Compress backup, quick (-1) through best (-9)
-v Do not include /var in backup
-s Shrink MFS in backup
-q Do not display progress
-qq Do not display anything but error messages
-f max Backup only fsids below max
-l max Backup only streams less than max megabytes
-t Use total length of stream instead of used length
-T Backup total length of stream instead of used length
-a Backup all streams

root# ./mfstool mls -h
-h: No such file or directory
mfs_load_volume_header: mfsvol_read_data: Input/output error
*** malloc[580]: Deallocation of a pointer not malloced: 0x5e4b0; This could be a double free(), or free() called with the middle of an allocated block; Try setting environment variable MallocHelp to see tools to help debug
mfs_init: Failed. Bailing.

*******************************************************
***

You can see by the dd command that disk0 is the tivo disk.
How do you tell mfstool which disk to look at?

POST #23 | Report this post to a moderator | IP: Logged

Loki is offline Old Post 05-26-2004 07:50 PM
Click Here to See the Profile for Loki Find more posts by Loki Add Loki to your buddy list Show Printable Version Edit/Delete Message Reply w/Quote
Loki
Member

Registered: Jul 2000
Location: NV, USA
Posts: 23

./mfstool mls /dev/disk0
Using -h its assuming h the name of the file.
The mls portion did have some problems earlier where I had to actually specifiy the partition of the MFS volume so I used ./mfstool mls /dev/disk0s4 where 4 was the partition number.

POST #24 | Report this post to a moderator | IP: Logged

v8q is offline Old Post 05-26-2004 08:41 PM
Click Here to See the Profile for v8q Find more posts by v8q Add v8q to your buddy list Show Printable Version Edit/Delete Message Reply w/Quote
v8q
Member

Registered: Jan 2002
Location:
Posts: 20

quote:
Originally posted by Loki
./mfstool mls /dev/disk0
Using -h its assuming h the name of the file.
The mls portion did have some problems earlier where I had to actually specifiy the partition of the MFS volume so I used ./mfstool mls /dev/disk0s4 where 4 was the partition number.



root# ./mfstool mls /dev/disk0
mfs_load_volume_header: mfsvol_read_data: No such file or directory
*** malloc[674]: Deallocation of a pointer not malloced: 0x5e4c0; This could be a double free(), or free() called with the middle of an allocated block; Try setting environment variable MallocHelp to see tools to help debug
mfs_init: Failed. Bailing.


I dont get any disk slice numbers to try either - here is /dev/disk*

root# ls /dev/disk*
/dev/disk0 /dev/disk1s8 /dev/disk2s8 /dev/disk3s4 /dev/disk4s2
/dev/disk1 /dev/disk2 /dev/disk2s9 /dev/disk3s5 /dev/disk4s3
/dev/disk1s1 /dev/disk2s1 /dev/disk3 /dev/disk3s6 /dev/disk4s4
/dev/disk1s2 /dev/disk2s2 /dev/disk3s1 /dev/disk3s7 /dev/disk4s5
/dev/disk1s3 /dev/disk2s3 /dev/disk3s10 /dev/disk3s8 /dev/disk4s6
/dev/disk1s4 /dev/disk2s4 /dev/disk3s11 /dev/disk3s9 /dev/disk4s7
/dev/disk1s5 /dev/disk2s5 /dev/disk3s12 /dev/disk4 /dev/disk4s8
/dev/disk1s6 /dev/disk2s6 /dev/disk3s2 /dev/disk4s1 /dev/disk4s9
/dev/disk1s7 /dev/disk2s7 /dev/disk3s3 /dev/disk4s10

POST #25 | Report this post to a moderator | IP: Logged

Loki is offline Old Post 05-27-2004 08:54 AM
Click Here to See the Profile for Loki Find more posts by Loki Add Loki to your buddy list Show Printable Version Edit/Delete Message Reply w/Quote
Loki
Member

Registered: Jul 2000
Location: NV, USA
Posts: 23

Looking at the output of devmapper it appears the disk has locked itself again as its reporting the size as 10 MB. Looks like the restart is enough to reset the disk. You might want to follow up http://archive.tivocommunity.com/ti...light=KEXT+OS+X

I'm a little concerned that Devmapper didn't identify it as a Tivo.

POST #26 | Report this post to a moderator | IP: Logged

v8q is offline Old Post 05-27-2004 10:03 PM
Click Here to See the Profile for v8q Find more posts by v8q Add v8q to your buddy list Show Printable Version Edit/Delete Message Reply w/Quote
v8q
Member

Registered: Jan 2002
Location:
Posts: 20

quote:
Originally posted by Loki
Looking at the output of devmapper it appears the disk has locked itself again as its reporting the size as 10 MB. Looks like the restart is enough to reset the disk. You might want to follow up http://archive.tivocommunity.com/ti...light=KEXT+OS+X

I'm a little concerned that Devmapper didn't identify it as a Tivo.



First off, I have an antique PPC8500 with a G4/400 processor and Acard IDE card. I think this card makes the IDE drives look like SCSI drives to the OS. Maybe this hoses it up? Does DevMapper look for swapped or unswapped drive magic?

I noticed that size thing too. I guess the thing to do is fix the ext2 kext to unlock the drive when it sees tivo magic and a Quantum drive - swapped or unswapped byte order.
I was able to do that for linux but have no idea where to start for Darwin.

I noticed your OS9 blesser has unlock code too. What did you use to compile this? I have an old version of CodeWarrior (4.04 I think) that does not like some of the GUI code so it would not compile.

POST #27 | Report this post to a moderator | IP: Logged

Loki is offline Old Post 05-28-2004 10:27 AM
Click Here to See the Profile for Loki Find more posts by Loki Add Loki to your buddy list Show Printable Version Edit/Delete Message Reply w/Quote
Loki
Member

Registered: Jul 2000
Location: NV, USA
Posts: 23

I'm not sure the OS9 code will work since you'd need to reboot and that appears to relock the drive. As a matter of fact I know it won't work because the OS 9 version doesn't work with IDE cards that act like SCSI. I'm not even sure the KEXT would work, I thought the challenge response code was an IDE protocol.

Unfortunately I'm out of town for the weekend so I won't be able to add any input to this until Tuesday night.

POST #28 | Report this post to a moderator | IP: Logged

mattack is offline Old Post 06-28-2004 06:59 AM
Click Here to See the Profile for mattack Find more posts by mattack Add mattack to your buddy list Show Printable Version Edit/Delete Message Reply w/Quote
mattack
Advanced Member

Registered: Apr 2001
Location: sunnyvale
Posts: 526

I haven't read all of this yet, but here's a link to the ext2 filesystem project. I haven't used it yet, but others have gotten their Tivo drives mounted with it.
https://sourceforge.net/project/sho...lease_id=238624

POST #29 | Report this post to a moderator | IP: Logged

All times are GMT. The time now is 08:58 AM. Post New Thread    Post A Reply
Pages (2): « Prev 1 [2]   Last Thread   Next Thread
>>> using mac os x <<<

TiVo Community Forum Archive 1 : Powered by vBulletin version 2.2.8 TiVo Community Forum Archive 1 > Underground Playground > TiVo Underground
Search The Internet
 
Show Printable Version | Email this Page | Subscribe to this thread

Forum Jump:
 
Search this Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 

< Contact Us - TiVo Community Forum Archive 1 >

Powered by: vBulletin Version 2.2.8
Copyright ©2000, 2001, Jelsoft Enterprises Limited.
(C)opyright - All Rights Reserved. No information may be posted elsewhere without written permission.
TiVoŽ is a registered trademark of TiVo Inc. This site is not affiliated with TiVo Inc.
Page generated in 0.05644608 seconds (86.66% PHP - 13.34% MySQL) with 22 queries.


Spider History Index