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
>>> Dealing with Locked Drives on the Mac <<<

 
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
Old Post 01-27-2001 10:26 PM
Show Printable Version Edit/Delete Message Reply w/Quote
jcoltrane
Guest

Registered: Not Yet
Location:
Posts: N/A

Post Dealing with Locked Drives on the Mac

Has anyone made any progress on dealing with locked original drives on the Macintosh?

I was hoping to join the happy group of Mac users who have sucessfully used their Mac to backup and bless drives for their TiVo.

Unfortunately, I ran into the big stumbling block: my Sony SA's original drive was locked. I was forced to do my backup on a PC (damned humiliating, if you ask me). It's backing up using Dylan's boot disk as I write this.

This prompts me to ask:

Anyone come up with a locked disk workaround for the Mac?

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

Old Post 01-27-2001 10:30 PM
Show Printable Version Edit/Delete Message Reply w/Quote
RickAlm
Guest

Registered: Not Yet
Location:
Posts: N/A

Talking

Did you try powering the drive up with the tivo so it unlocks, then while powered up disconnecting the ide cable and connecting it to the mac.. I did this with my PC as I was too lazy to find the right program to unlock the drive and had no problems


Rick

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

Old Post 01-27-2001 10:39 PM
Show Printable Version Edit/Delete Message Reply w/Quote
jcoltrane
Guest

Registered: Not Yet
Location:
Posts: N/A

Talking

Hmmm.... An Interesting solution.

A few questions:

Did you keep it powered up by the TiVo? (ie. Power connector from the TiVo, ide connector from the PC) Or could you just disconnect and remove the drive from the TiVo, having it remain unlocked?

It doesn't do anything bad to either drive or the TiVo to have it disconnected so abruptly, does it?

Didn't electrocute yourself, did ya'?

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

Peter Creath is offline Old Post 01-27-2001 10:48 PM
Click Here to See the Profile for Peter Creath Find more posts by Peter Creath Add Peter Creath to your buddy list Show Printable Version Edit/Delete Message Reply w/Quote
Peter Creath
Senior Member

Registered: Feb 2000
Location:
Posts: 2

Talking

quote:
Originally posted by jcoltrane:
Did you keep it powered up by the TiVo?


The drive re-locks itself as soon as it powers down, so obviously you need to keep it powered up somehow. I don't know whether it matters if its power comes from the TiVo or your PC.

quote:
It doesn't do anything bad to either drive or the TiVo to have it disconnected so abruptly, does it?


Well, it's certainly not recommended by any manufacturer, but it seems to work for the most part. Your big risk is probably pulling the IDE connector during a write, which would cause problems.

If you can get into the ROM monitor, you get a menu prompt after the drive has been unlocked but before the TiVo really starts booting (hence no disk activity).

Rubber gloves are always a good idea when playing near uncovered power supplies and other high voltages.

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

Old Post 01-27-2001 11:03 PM
Show Printable Version Edit/Delete Message Reply w/Quote
jcoltrane
Guest

Registered: Not Yet
Location:
Posts: N/A

Post

Thanks for the info.

Probably not a method to recommend to beginners, but an option nonetheless

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

Old Post 02-28-2001 03:38 AM
Show Printable Version Edit/Delete Message Reply w/Quote
jcoltrane
Guest

Registered: Not Yet
Location:
Posts: N/A

Talking

Just thought I'd bump this up. Don't know if anyone here has come up with any ideas, but this is still the main stumbling block in Mac backups.

Thanks in advance for any ideas.

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

HTH is offline Old Post 02-28-2001 01:47 PM
Click Here to See the Profile for HTH Visit HTH's homepage! Find more posts by HTH Add HTH to your buddy list Show Printable Version Edit/Delete Message Reply w/Quote
HTH
No Avatar Selected

Registered: Aug 2000
Location: Lincoln, NE
Posts: 3582

Talking

The easiest method when you only have a Mac without Linux and a TiVo is to perform the backup on the TiVo hardware. Let the TiVo unlock the drive, kill MyWorld, and do a dd backup from /dev/hda to /dev/hdb. Then you'll have the unlocked data on an unlocked drive and do what you want with it on the Mac.

shondss and tclondss no longer work under 2.0.1 though.

I've done similar things booting off one TiVo bride and have another bride as slave so I could copy files from one to the other (/devbin).

------------------

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

Old Post 03-02-2001 09:36 AM
Show Printable Version Edit/Delete Message Reply w/Quote
demitri
Guest

Registered: Not Yet
Location:
Posts: N/A

Talking

I sucessfully backed up my locked A drive with only my Mac (G4). I pulled out my DVD and Zip drives and placed the A drive in that bay. With everything turned off, I connected my drive to the TiVo using an extra long IDE cable (from 9th Tee) and connected the power from the Mac. I turned on the Mac first (to supply power to the drive), and then turned on the TiVo. After about 30 seconds, I disconnected the IDE cable from the drive and connected the one that was internal to my Mac, rebooted the Mac (to see the drive), and viola!

As for the backup software, I used the same procedure (roughly) that the Linux people do but through Mac OS X Public Beta. I believe one could also do it with FWB Tooklit 4.0 on OS 8/9.x, but I didn't try that (I had some bad sectors at the very end of the drive). Either way, this will allow you to save the backup to CD or edit the boot parameters.

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

Old Post 05-28-2001 11:41 PM
Show Printable Version Edit/Delete Message Reply w/Quote
snopes
Guest

Registered: Not Yet
Location:
Posts: N/A

Angry

Well, I hoped my first post would be a success story, but as it is my backup-via-Mac is temporarily on hold due to a locked drive. My Tivo is a 2-week-old Ubid refurb HDR112, now upgraded to v2.0.1. I've got a Quantum drive ready serve as backup.

I'm not planning on doing the cable swap, so I'm interested in the procedure for backing up using the TIVO hardware (which HTH refers to above).

Questions:

1. To backup using the Tivo, do I need to access the Tivo diagnostic mode (FAQ section 4.3)?

2. Can I access the diagnostic mode from a Mac? (I do not have access to any other computer.)

3. Then there's the password question--what to do if the password isn't "factory" and you're already at 2.0.1. At the rate I'm going, I'm expecting the worst here.

Ugh. Stop me before I move ahead without making a backup!

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

Loki is offline Old Post 05-29-2001 12:41 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

Question

Has anybody figured out what the unlocking key is? Its a sequence of 512 bytes that the Tivo must have stored somewhere in its prom. Or if anybody knows what the master password westerndigital is using to unlock the drives that would work.


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

kazymyr is offline Old Post 05-29-2001 03:19 AM
Click Here to See the Profile for kazymyr Visit kazymyr's homepage! Find more posts by kazymyr Add kazymyr to your buddy list Show Printable Version Edit/Delete Message Reply w/Quote
kazymyr
TiVo Forum Special Member

Registered: Dec 2000
Location: The twinless city.
Posts: 49

Talking

You'll need to run some kind of ATA commands sniffer/logger under DOS to see what it is that dlgchk.exe does that unlocks the drive. Unfortunately I don't know of one, but someone with some experience in DOS programming may throw one together, I guess.

PS: I heard of some utility called softice, but I have no idea if it's suitable.

------------------
Confucius say: He who play in root, eventually kill tree (as seen on usenet).

[This message has been edited by kazymyr (edited 05-28-2001).]

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

Loki is offline Old Post 05-29-2001 04:24 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

Talking

It looks exactly like what is needed. Now we just need someone skilled in using it who has access to a locked drive and a PC. I have none of those, any volunteers?

If we do get the key does anybody know how to send ATA commands to a drive under linux/unix? I got a feeling it would require a kernel modification.


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

Gene Plantz is offline Old Post 05-29-2001 04:38 AM
Click Here to See the Profile for Gene Plantz Visit Gene Plantz's homepage! Find more posts by Gene Plantz Add Gene Plantz to your buddy list Show Printable Version Edit/Delete Message Reply w/Quote
Gene Plantz
Four Tivos

Registered: Dec 1999
Location: Hoffman Estates, IL USA
Posts: 14

Talking

quote:
Originally posted by Loki:
Has anybody figured out what the unlocking key is? Its a sequence of 512 bytes that the Tivo must have stored somewhere in its prom. Or if anybody knows what the master password westerndigital is using to unlock the drives that would work.




I was playing with a 30 gig locked drive today.

It does not appear the drive is really "locked" at all. It seems they modified the onboard prom to report an erroneous size so when used in a PC that has it's BIOS set to AUTO detect of ATA devices, it reports 9 Meg.

All DLGCHK does is detect the actual drive geometry and in some cases, change the PC BIOS settings.

I ran DLKCHK, got the actual geometry settings and changed my PC's BIOS to USER and manually entered these values.

When set up like that, I can use this drive normally under Windows (98 and 2000 tested) for the full capacity. I formatted it and used it from Windows.

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

Worf is offline Old Post 05-29-2001 08:23 AM
Click Here to See the Profile for Worf Visit Worf's homepage! Find more posts by Worf Add Worf to your buddy list Show Printable Version Edit/Delete Message Reply w/Quote
Worf
Senior Member

Registered: Sep 2000
Location:
Posts: 422

Talking

Perhaps that's all DLGCHK does, is to probe geometry (bug in the firmware? possibly).

But there does seem to be an actual key sequence utilized, if you take a look at the 1.3.0 kernel source code (in the directory /test in the source file, there's a bunch of source code made to work the the kernel that does the locking/unlocking thing).

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

kazymyr is offline Old Post 05-29-2001 01:39 PM
Click Here to See the Profile for kazymyr Visit kazymyr's homepage! Find more posts by kazymyr Add kazymyr to your buddy list Show Printable Version Edit/Delete Message Reply w/Quote
kazymyr
TiVo Forum Special Member

Registered: Dec 2000
Location: The twinless city.
Posts: 49

Talking

I don't have a locked drive, in fact, I've never seen one (only read about them on the board). Otherwise, I might have given it a try. Of course, this would have required installing some sort of DOS, but hey, I've done worse before.

Or maybe not - I bet one could use dosemu as a sandbox.

------------------
Confucius say: He who play in root, eventually kill tree (as seen on usenet).

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

lgerbarg is offline Old Post 06-04-2001 09:23 PM
Click Here to See the Profile for lgerbarg Find more posts by lgerbarg Add lgerbarg to your buddy list Show Printable Version Edit/Delete Message Reply w/Quote
lgerbarg
Member

Registered: Jun 2000
Location: Troy, NY, USA
Posts: 0

quote:
Originally posted by jcoltrane:
Has anyone made any progress on dealing with locked original drives on the Macintosh?

I was hoping to join the happy group of Mac users who have sucessfully used their Mac to backup and bless drives for their TiVo.

Unfortunately, I ran into the big stumbling block: my Sony SA's original drive was locked. I was forced to do my backup on a PC (damned humiliating, if you ask me). It's backing up using Dylan's boot disk as I write this.

This prompts me to ask:

Anyone come up with a locked disk workaround for the Mac?



I wrote a patch to the OS X IOATABlockDStarage that I think should unlock the drive, but I am not sure it works (I do not have a locked drive to test). If someone wants to test it out the tgz'ed kext is at http://www.rpi.edu/~gerbal2/IOATABlockStorage.kext.tgz .
Back up your original copy of IOATABlockStoarge.kext first.

My system boots with this installed. If it does not work there are two obvious possibilities: I am issuing two of the commands out of order (I know which two, I just unsure of the naming conventions, and I had to trace through three drivers to write this, at some point I got lazy ;-). The other is that I am not sending properly formed register commands through my IOATACommand, but I think I am, and debugging that should be easy 8-)

Props to the guys at penguinppc for the unlock sequence, it almost makes me forget the totally inaccurate darwin article they have up.

Why do I always write fixes for things I don't own ;-)

Louis

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

Old Post 06-09-2001 03:12 PM
Show Printable Version Edit/Delete Message Reply w/Quote
snopes
Guest

Registered: Not Yet
Location:
Posts: N/A

Post

Anyone new to this issue might also want to check out this thread:

http://www.avsforum.com/ubbtivo/Forum6/HTML/005297.html

...and, who knows, maybe even develop a GUI for Mac users with this issue. I know at least one person who would be ecstatic! (But I'm sure I'm not the only one.)

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

All times are GMT. The time now is 09:58 AM. Post New Thread    Post A Reply
  Last Thread   Next Thread
>>> Dealing with Locked Drives on the Mac <<<

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.06700706 seconds (76.31% PHP - 23.69% MySQL) with 22 queries.


Spider History Index