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! > Series 1 Support

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 11-24-2003, 12:12 AM
trainboy's Avatar
trainboy trainboy is offline
Junior Member
 
Join Date: Jul 2001
Posts: 14
RedHat 9 TiVo Blaster Kernel

I got really tired of swapping boot disks around while blasting the TiVo.
Every guy and his dog has one.

So, after a day of kernel hacking, I now have a RedHat 9 kernel that will
recognize TiVo partition tables. Used in conjunction with bswap, one can
mount the Ext2 partitions of TiVo hard drives for blasting with utility
programs, hackz, etc. One can also run MFS tools against the drive,
thereby creating a single boot machine for TiVo blasting.

The source goes in ../fs/partitions. One
word of caution, when compiling. Get rid of the "custom" suffix of the
kernel (change "2.4.20-8custom" to just "2.4.20-8" in the top level
Makefile of your linux kernel source tree). This will allow the
replacement kernel to be run with the existing modules directory and
speed up your compile process (all you need is "make bzImage").

The enclosed lilo.conf is a sample for configuring lilo to add an extra
kernel called "tivohack". Booting into "tivohack" will byte swap
/dev/hdb and /dev/hdc plus boot the hacked kernel. If you boot the
kernel without byte swapping (don't forget "ide=nodma"), it will dump
the TiVo partition information but issue a message reminding you to
use byte swapping (you won't get far without it). It will also skip
registering the partition table of the non-swapped drive so that you
can't do any damage to it.

Also, if anybody wants to give me the address of an FTP site or two, I can upload a pre-built kernel for RedHat 9.
Attached Files
File Type: zip tivokernel.zip (2.4 KB, 97 views)
__________________
What's that light I see at the end of the tunnel?
Reply With Quote
  #2  
Old 11-25-2003, 03:04 AM
trainboy's Avatar
trainboy trainboy is offline
Junior Member
 
Join Date: Jul 2001
Posts: 14
While we're at it, I ported and updated the hacks to ide-probe to
unlock Quantum drives. This code tries to determine, from drive
geometry, whether a Quantum drive is locked by the TiVo. If so,
the magic challenge/response sequence to unlock the drive is sent.

The header file goes in include/linux and the C file goes in
drivers/ide.

I think that's pretty much it for the one OS does it all. Happy
blasting.
Attached Files
File Type: zip tivounlock.zip (20.4 KB, 44 views)
__________________
What's that light I see at the end of the tunnel?
Reply With Quote
  #3  
Old 12-03-2003, 02:31 PM
Kleptonooch Kleptonooch is offline
Member in Training.
 
Join Date: Sep 2003
Posts: 1
I'm game for the RedHat 9 pre-built kernel. Let me know how you want to do it / upload it.

Any chance of you emailing it to me or something now so I can use it? My unit is pretty screwed right now.
Reply With Quote
  #4  
Old 12-11-2003, 01:28 AM
BTUx9 BTUx9 is offline
Banned
 
Join Date: Nov 2003
Posts: 291
Send a message via ICQ to BTUx9 Send a message via AIM to BTUx9 Send a message via Yahoo to BTUx9
Thanx a bunch for the files, trainboy. Patched RH9 (after some troubles - all self-inflicted). Seems to work great. These should be put up on tivostuff. Wonder if they'd work on other 2.4 kernels.
Reply With Quote
  #5  
Old 12-13-2003, 06:54 AM
compwiz312's Avatar
compwiz312 compwiz312 is offline
Senior Member
 
Join Date: Nov 2002
Location: New York City, NY, USA
Posts: 296
Send a message via ICQ to compwiz312 Send a message via AIM to compwiz312
Problems compiling kernel

I feel like such a n00b for having to ask this, but my experience with Linux is rather limited.

Anyway, I installed Redhat 9 with kernel source 2.4.20-8 and after loading the default configuration file (from /boot) and updating it with mac partition support among other things, I went ahead and ran "make dep" and once that finished, I ran "make bzImage".

After that, I took the vmlinux file that was made and moved it to by boot partition, renamed it to vmlinux-tivo and setup Grub to boot to it (both with and without byte swapping). However, when I try and boot it, I can an error along the lines of "Error 13: Invalid or unsupported executible format"

Anyone have any suggestions on how what would have caused this error and how I can fix it or failing that, could someone post their precomiled kernel for us to all use.

Thanks in advance
Reply With Quote
  #6  
Old 12-13-2003, 11:38 AM
erhan erhan is offline
Senior Member
 
Join Date: Oct 2003
Posts: 139
another option

For those who are having difficulty compiling the kernel, you can simply use the tivopart from alldeadhomiez and revalidate the partition table.

This updates the in-memory structures and makes your kernel recognize the disk (until the next reboot, of course).
Reply With Quote
  #7  
Old 12-14-2003, 02:49 AM
compwiz312's Avatar
compwiz312 compwiz312 is offline
Senior Member
 
Join Date: Nov 2002
Location: New York City, NY, USA
Posts: 296
Send a message via ICQ to compwiz312 Send a message via AIM to compwiz312
That tivopart utility is definetly the best, I never even knew it existed. It seems to have solved all of my Tivo problems. Thanks.

On another note, is there any way to change the byteswap properties of a drive without having to reboot using a custom grub or lilo setup?
Reply With Quote
  #8  
Old 02-07-2004, 01:06 AM
cspolk cspolk is offline
Member in Training.
 
Join Date: Feb 2004
Posts: 1
Question

can anyone tell me whare I can get tivopart?? thanks!
Reply With Quote
  #9  
Old 02-07-2004, 01:20 AM
fixn278's Avatar
fixn278 fixn278 is offline
Diamond Member
 
Join Date: Oct 2002
Posts: 1,496
Quote:
Originally Posted by trainboy

Also, if anybody wants to give me the address of an FTP site or two, I can upload a pre-built kernel for RedHat 9.
If you use the upload page on Tivostuff and zip it with a readme, I will make sure it gets to the downloads page.
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.
You Rated this Thread: