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! > General TiVo Development

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 01-10-2004, 02:46 PM
tivomaster's Avatar
tivomaster tivomaster is offline
Diamond Member
 
Join Date: Jul 2003
Posts: 669
SMART drive monitoring Tool/s

I was looking thought sourceforge for tools that would benifit the TiVo and came upon a tool that monitors/reports on the SMART status of hard drives. Here is the link: http://smartmontools.sourceforge.net.

The question I have for the experts is given thier knowledge of the series 1/2 hardware do you think this would work if re-compiled? From the looks of the tool it is even capable of pulling drive temperature off the drive.

What say ye?

(I know David your going to say try it and let you know.....)
I intend to but I wanted one of the experts to tell me if they think it would be a waste of time....
__________________
Four Hacked HDVR2's,
One Still slightly confused Hacker,
4 dogs, 8 cats, and 1 wife that is happy as long as I don't screw up her TiVo ...... Oh yeah two grandchildren that are the light of my life!
Reply With Quote
  #2  
Old 01-10-2004, 04:59 PM
David Bought's Avatar
David Bought David Bought is offline
Banned
 
Join Date: Jul 2003
Location: USA
Posts: 973
It is not a waste of time.
Reply With Quote
  #3  
Old 01-10-2004, 06:53 PM
tivomaster's Avatar
tivomaster tivomaster is offline
Diamond Member
 
Join Date: Jul 2003
Posts: 669
Quote:
Originally Posted by David Bought
It is not a waste of time.
Thanks, I will try in the next couple of days to get a compile of it....
__________________
Four Hacked HDVR2's,
One Still slightly confused Hacker,
4 dogs, 8 cats, and 1 wife that is happy as long as I don't screw up her TiVo ...... Oh yeah two grandchildren that are the light of my life!
Reply With Quote
  #4  
Old 01-11-2004, 08:55 AM
JJBliss's Avatar
JJBliss JJBliss is offline
Diamond Member
 
Join Date: Jan 2002
Location: New York
Posts: 2,407
Already been done over at Tivocommunity.

http://www.tivocommunity.com/tivo-vb...hreadid=153428

I've attached the Series 1 version
Attached Files
File Type: zip smartctl.zip (43.0 KB, 181 views)
Reply With Quote
  #5  
Old 01-11-2004, 09:13 AM
tivomaster's Avatar
tivomaster tivomaster is offline
Diamond Member
 
Join Date: Jul 2003
Posts: 669
Quote:
Originally Posted by JJBliss
Already been done over at Tivocommunity.

http://www.tivocommunity.com/tivo-vb...hreadid=153428

I've attached the Series 1 version
Thanks JJ..
I think we saw it at the same time.

I also saw where it is native on TiVo..
I typed smartctl from bash and lo and behold it is there. Although, it appears to be an ancient version 1.2...

The release that is up on the web is 5.26... gonna try and get a compile of this version for the series 2.
__________________
Four Hacked HDVR2's,
One Still slightly confused Hacker,
4 dogs, 8 cats, and 1 wife that is happy as long as I don't screw up her TiVo ...... Oh yeah two grandchildren that are the light of my life!
Reply With Quote
  #6  
Old 01-17-2004, 08:24 PM
tivomaster's Avatar
tivomaster tivomaster is offline
Diamond Member
 
Join Date: Jul 2003
Posts: 669
Here is a the latest version for Mips S2

I have compiled both smartctl and smartd. See below post for attachment.
__________________
Four Hacked HDVR2's,
One Still slightly confused Hacker,
4 dogs, 8 cats, and 1 wife that is happy as long as I don't screw up her TiVo ...... Oh yeah two grandchildren that are the light of my life!

Last edited by tivomaster; 01-18-2004 at 03:40 PM.
Reply With Quote
  #7  
Old 01-17-2004, 09:38 PM
jonbig jonbig is offline
Senior Member
 
Join Date: Dec 2003
Posts: 206
Quote:
Originally Posted by tivomaster
Note: If this looks good I will give it a whirl to compile the smartd (daemon) tool that periodically polls and monitors the smart status of the drive/s.
Wouldn't it be sweet if it posted a mail and/or OSD message if it finds anything wrong?
Reply With Quote
  #8  
Old 01-17-2004, 09:54 PM
tivomaster's Avatar
tivomaster tivomaster is offline
Diamond Member
 
Join Date: Jul 2003
Posts: 669
Quote:
Originally Posted by jonbig
Wouldn't it be sweet if it posted a mail and/or OSD message if it finds anything wrong?
That should be doable...
__________________
Four Hacked HDVR2's,
One Still slightly confused Hacker,
4 dogs, 8 cats, and 1 wife that is happy as long as I don't screw up her TiVo ...... Oh yeah two grandchildren that are the light of my life!
Reply With Quote
  #9  
Old 01-17-2004, 10:24 PM
ronnythunder ronnythunder is offline
Super Moderator
 
Join Date: Sep 2001
Location: West of Bermuda
Posts: 1,019
Quote:
Originally Posted by tivomaster
Here is a compile of the latest version (5.26) of smartctl for the Mips (Series 2)
looks good! now if we could only do acoustic management native on the tivo; alas, from what i've read, it requires kernel mods which makes it less of a drop-in.

ronny
Reply With Quote
  #10  
Old 01-17-2004, 10:45 PM
tivomaster's Avatar
tivomaster tivomaster is offline
Diamond Member
 
Join Date: Jul 2003
Posts: 669
Quote:
Originally Posted by ronnythunder
looks good! now if we could only do acoustic management native on the tivo; alas, from what i've read, it requires kernel mods which makes it less of a drop-in.

ronny
thanks ronny, I just got my cross-compiler up and this was my first project.
smartctly compile was pretty easy. I think I will try and tackle smartd...
__________________
Four Hacked HDVR2's,
One Still slightly confused Hacker,
4 dogs, 8 cats, and 1 wife that is happy as long as I don't screw up her TiVo ...... Oh yeah two grandchildren that are the light of my life!
Reply With Quote
  #11  
Old 01-18-2004, 03:37 PM
tivomaster's Avatar
tivomaster tivomaster is offline
Diamond Member
 
Join Date: Jul 2003
Posts: 669
Quote:
Originally Posted by tivomaster
thanks ronny, I just got my cross-compiler up and this was my first project.
smartctl compile was pretty easy. I think I will try and tackle smartd...
I have compiled smartd and included it in the attachement.....
This one has all of the smartmontools for the MIPS platform.

With smartd it will run in the background and you should be able to have it fire off a tcl script when it sees an error. From this you could easily have it email you or put up a TiVo mail message... Take a look at the sourceforge site http://smartmontools.sourceforge.net.

Note there is a readme.txt in the zip file for more information.
Attached Files
File Type: zip MIPS_smartmontools526.zip (124.8 KB, 168 views)
__________________
Four Hacked HDVR2's,
One Still slightly confused Hacker,
4 dogs, 8 cats, and 1 wife that is happy as long as I don't screw up her TiVo ...... Oh yeah two grandchildren that are the light of my life!

Last edited by tivomaster; 01-18-2004 at 03:43 PM.
Reply With Quote
  #12  
Old 01-22-2004, 11:42 AM
tivomaster's Avatar
tivomaster tivomaster is offline
Diamond Member
 
Join Date: Jul 2003
Posts: 669
smartd is working

Just a note to let you guys know that smartd appears to work without issues. I have had it running on my hdvr2 for a couple of days with no problems.

My next project is to write a tcl script that will post any errors/messages in the TiVo mail that way I don't have to keep looking at the messages log....
__________________
Four Hacked HDVR2's,
One Still slightly confused Hacker,
4 dogs, 8 cats, and 1 wife that is happy as long as I don't screw up her TiVo ...... Oh yeah two grandchildren that are the light of my life!
Reply With Quote
  #13  
Old 01-22-2004, 07:15 PM
Milhouse.vH Milhouse.vH is offline
Member in Training.
 
Join Date: Dec 2003
Posts: 2
Hi tivomaster - have you seen that a call to smartctl has been added to Sandertons "Daily Mail" tcl script which, when run under cron, can send you a daily email of information about your TiVo including any failing disc drives.

Granted the Daily Mail is more of a once-a-day thing and therefore won't spot a dying drive for up to 24 hours, but using the TiVo messaging system is a great idea also!
Reply With Quote
  #14  
Old 01-25-2004, 01:25 PM
tivomaster's Avatar
tivomaster tivomaster is offline
Diamond Member
 
Join Date: Jul 2003
Posts: 669
Quote:
Originally Posted by tivomaster
That should be doable...
I have attached an script that will post smartd errors in a log...

To use this
1. put smartd.conf in /var/hack/etc
2. put smartdalert in /var/hack/bin
NOTE: you can put smartdalert anywhere but you will have to modify smartd.conf to point to it's path
3. chmod 777 smartdalert so it can be executable
4. if smartd is already running stop it
5. run smartd

This will cause smartd daemon to fire off the smartdalert script when it sees an error.
It will also fire off a when smartd starts up so you can tell it works.

Right now what the script does is post the result of the error along with some debug info into a log file /var/log/smartd (see samplelog)...

I plan in the future to have it post a TiVo message to TiVo Central....

Have fun...
TM

[Edit] removed attachment see below post for update...
__________________
Four Hacked HDVR2's,
One Still slightly confused Hacker,
4 dogs, 8 cats, and 1 wife that is happy as long as I don't screw up her TiVo ...... Oh yeah two grandchildren that are the light of my life!

Last edited by tivomaster; 01-26-2004 at 07:40 PM.
Reply With Quote
  #15  
Old 01-26-2004, 07:39 PM
tivomaster's Avatar
tivomaster tivomaster is offline
Diamond Member
 
Join Date: Jul 2003
Posts: 669
SMARTD Now posts messages to the TiVo....

Quote:
Originally Posted by tivomaster
I plan in the future to have it post a TiVo message to TiVo Central....
It now posts messages in the Pre-Tivo Central message que. That way you don't have to keep checking the logs...

Just found this post http://www.dealdatabase.com/forum/sh...ad.php?t=31741 with this you can even get it to send you an email when it see's problems...

TM
Attached Files
File Type: zip smartdalert.zip (3.8 KB, 123 views)
__________________
Four Hacked HDVR2's,
One Still slightly confused Hacker,
4 dogs, 8 cats, and 1 wife that is happy as long as I don't screw up her TiVo ...... Oh yeah two grandchildren that are the light of my life!
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 10:57 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.