Compare Products, Prices & Stores For:

COMPUTERS, COMPONENTS COMPUTER ACCESSORIES, COMPUTER MEMORY, HARDWARE, INPUT DEVICES, NETWORKING, PDAs & MOBILE ELECTRONICS, SOFTWARE, STORAGE & MEDIA, DIGITAL CAMERAS, HOME AUDIO, TV& VIDEO

Google
 
Web DealDatabase.com
What are you shopping for?


Go Back   DealDatabase Forum - Deals, Freebies, and TiVo & DirecTivo Hacking > Category: NEW TiVo, DTiVo, Extraction FORUMS! > Newbie Tivo

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 01-06-2005, 09:34 PM
maxwells_daemon's Avatar
maxwells_daemon maxwells_daemon is offline
Experienced Member.
 
Join Date: Nov 2004
Location: Oxford, UK
Posts: 22
Question Adding TiVo partition support to my kernel

Hi,

I have found Tiger's MFS Tools 2.0 CD and Sleeper's Knoppix-Lite CD very useful for upgrading my TiVo disk (UK S1 TiVo). Thank you both!

Since I have a couple more TiVos to upgrade (my mum and brother both want me to do theirs!), I thought it would be nice to add this functionality to my Debian installation, so it was available in my normal setup.

I copied the mfstools over to my Linux HDD and they work fine from there, but I don't know what changes are required to mount the MFS partitions (not needed to run mfstools, but required to access the filesystems with other commands). I guess this will require a kernel rebuild, but couldn't find the required patches. I believe there are three parts

1) automatically unlock the TiVo drives. I know there are standalone DOS utilities to do this (qunlock or diskutil), but it would be nice to borrow this functionality from the boot CDs.

2) enable byte-swapping on the TiVo drives. Is it sufficient to use the hdb=bswap kernel option?

3) mount the MFS partition. I did find this patch. Is that sufficient?

Thanks,
Tim.

Last edited by maxwells_daemon; 03-27-2005 at 12:40 PM. Reason: corrected thread title which was misleading
Reply With Quote
  #2  
Old 01-06-2005, 10:07 PM
ronnythunder ronnythunder is online now
Super Moderator
 
Join Date: Sep 2001
Location: West of Bermuda
Posts: 1,021
there's a better patch for the partition support (that's your number three item, though you call it "mfs partition support"); search on google for it.

there's no way to "mount" the mfs partitions outside of a tivo. we have some tools to look at them and extract various stuff, and as of late, make some *very* limited modifications (and i mean extremely limited), but nothing significant.

bswap is ok, but the other key is that you have to disable dma for this to work. most kernels support "ide=nodma" in the parms for this purpose. do understand that disk i/o will be very slow in this config; only use it when you're wanting to mount the root partitions of the tivo disk (partitions 4 or 7).

i'm pretty sure the unlock code used on the various boot disks is out there somewhere as well; again, i'd give google a search or maybe even search here.

ronny
Reply With Quote
  #3  
Old 01-07-2005, 12:16 AM
AlphaWolf's Avatar
AlphaWolf AlphaWolf is offline
Diamond Member
 
Join Date: Jan 2002
Location: Sonoran Desert
Posts: 2,785
MFS works more like an index and isn't really something that you can do file management in with something like bash, thus there'd be no point in mounting it in a linux PC.

There are no directories or filenames. All files have an FSID and the database tree has definitions for different things which will have reference to these FSIDs.

Besides that theres no way in hell you'd ever get write support.
__________________
Before PMing me: I’m not your personal tech support. If you have a question, ask in public so I don't have to repeat if somebody else asks. If you want images or slices, use emule. I will ignore all support PMs.

Sponsor a vegetarian! I have taken the pledge, how about you?
Reply With Quote
  #4  
Old 01-07-2005, 10:20 AM
maxwells_daemon's Avatar
maxwells_daemon maxwells_daemon is offline
Experienced Member.
 
Join Date: Nov 2004
Location: Oxford, UK
Posts: 22
Hi Ronny and AlphaWolf,

Yes, you are quite right. I meant the root and var filesystems - and the like that contain normal files, not the recorded programs. Sorry for the confusion - I thought MFS referred to all the TiVo partition types (you can see that I'm new to TiVo hacking, if not to Linux hacking).

Thanks for the advice on bswap and disabling dma. That sounds like I have all I need for my point (2).

For the others (drive unlocking, and mounting the files' partitions), I already spent a couple of hours hunting round on Google and the DealDatabase/AVS fora for this information. Apart from what I mentioned, what I found was either very old (eg. tivohack sourceforce area) or referred just to the CDs, not the source code patches.

mfstools has all its source code available in CVS. Unfortunately that just seems to be for the tools, not the CD kernel.

If you or anyone could point me to the source code patches for either the MFS tools CD, or the Knoppix CD, or standalone patches for these features, I'd be very grateful.

Thanks,
Tim.
Reply With Quote
  #5  
Old 02-12-2005, 01:57 AM
rc3105's Avatar
rc3105 rc3105 is offline
Riley
 
Join Date: Mar 2002
Posts: 1,339
Quote:
Originally Posted by ronnythunder
there's no way to "mount" the mfs partitions outside of a tivo.
actually, I think there was a kernel module waaaaaaaaaaaaaaaaaaay back when (even before tivonet) that mapped mfs into the root filesystem (readonly). handy for browse or extract, tivoweb sorta eclipsed it's usefullness
Reply With Quote
  #6  
Old 03-27-2005, 12:49 PM
maxwells_daemon's Avatar
maxwells_daemon maxwells_daemon is offline
Experienced Member.
 
Join Date: Nov 2004
Location: Oxford, UK
Posts: 22
Smile

Well, I finally got TiVo partition support working in my kernel. Since it took me some time to find the relevant patch and it did not work until a friend told me that I needed to compile the IDE support directly into the kernel (it didn't see the kernel arguments when it was a loadable module), I thought it would be worth documenting what I did and the patch that I used.

I can now mount my TiVo's root and var partitions from my Linux box without needing to boot from a CD. Details are here: http://homepage.ntlworld.com/maxwell...partition.html
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:29 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright 2000-2008 © dealdatabase.com.
TiVo® is a registered trademark of TiVo Inc. This site is not affiliated with TiVo Inc.