A computer components & hardware forum. HardwareBanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » HardwareBanter forum » General Hardware & Peripherals » General
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Frail Scratch Disk



 
 
Thread Tools Display Modes
  #1  
Old November 20th 03, 05:24 PM
jeremy
external usenet poster
 
Posts: n/a
Default

On Fri, 21 Nov 2003 15:42:27 +0000, Ewan Sinclair wrote:

You would be trying to power up the device way after the hardware
detection phase of Windows bootup sequence and way past when any driver
for it would load and detect the device.


How easy would it be to fake the presence of the drive? How much
information does windows need?

If I can record the drive information (either by putting the requisite
signals into the IDE port on the drive and recording the results, or just
by getting the relevant infofrom the manufacturer), would it be that hard
to build a PIC based device that pretends it is the disk? From there, it's
just a matter of swapping the connectors and issuing a spinup command I
assume.

Does anyone know of a good place to read up on what goes on with detection
and control of IDE devices?

Ewan


Wow, this man is on a mission! While most people would just grab one of those
WD800JB 80GB 8MB cache drives for $49 after rebates, he
wants to design new hardware using a microcontroller.

Sorry, without googling I don't have any good detailed IDE links to give.

I do not believe the IDE controller, OS drivers, or drive itself was
designed to be hot swapped. Even with your proposed "emulator" in place
at boot, I have a feeling your physical swapping of devices later is not a
good idea.

There may not be any spinup commands on IDE drives. If you just attach the
power connector (no data conn) it will power up immediately if the power
supply is on.

I hate to shoot down your project, because it would definately be a
learning experience, but you should also face the reality that your drive
may stop functioning before you even finish building your device :/

PS: I'll pass on this thread to you, you may find it helpful when shopping for
a new hard drive:
http://forums.anandtech.com/messagev...readid=1160291

Best of luck,
~Jeremy
__________________________________________________ __________________
Please remove your windows partition when replying by email
  #2  
Old November 21st 03, 03:45 AM
Ewan Sinclair
external usenet poster
 
Posts: n/a
Default Frail Scratch Disk

I've got an old 30GB drive lying around that's on it's last legs and is
making funny noises.

The thing is, I'd rather like to make efficient use of its remaining
operating time. Is there any way to stop a disk spinning up on boot, and
activate it later if you feel like it?

I am assuming you would need some kind of hardware device that mediates
between the IDE bus and power cable, and the disk itself. Is there such a
thing?

Ewan


  #3  
Old November 21st 03, 04:45 AM
*Vanguard*
external usenet poster
 
Posts: n/a
Default

Ewan Sinclair wrote:
I've got an old 30GB drive lying around that's on it's last legs and
is making funny noises.

The thing is, I'd rather like to make efficient use of its remaining
operating time. Is there any way to stop a disk spinning up on boot,
and activate it later if you feel like it?

I am assuming you would need some kind of hardware device that
mediates between the IDE bus and power cable, and the disk itself. Is
there such a thing?

Ewan


You would be trying to power up the device way after the hardware
detection phase of Windows bootup sequence and way past when any driver
for it would load and detect the device.

If you manage to find such a device which would have to include hardware
and software (to force the device load), be sure it costs under $50
since you can get a new 40 GB for that.


--
__________________________________________________ __________
*** Post replies to newsgroup. E-mail is not accepted. ***
__________________________________________________ __________



  #4  
Old November 21st 03, 03:42 PM
Ewan Sinclair
external usenet poster
 
Posts: n/a
Default

You would be trying to power up the device way after the hardware
detection phase of Windows bootup sequence and way past when any driver
for it would load and detect the device.


How easy would it be to fake the presence of the drive? How much information
does windows need?

If I can record the drive information (either by putting the requisite
signals into the IDE port on the drive and recording the results, or just by
getting the relevant infofrom the manufacturer), would it be that hard to
build a PIC based device that pretends it is the disk? From there, it's just
a matter of swapping the connectors and issuing a spinup command I assume.

Does anyone know of a good place to read up on what goes on with detection
and control of IDE devices?

Ewan


  #5  
Old November 21st 03, 04:55 PM
philo
external usenet poster
 
Posts: n/a
Default


"Ewan Sinclair" wrote in message
...
I've got an old 30GB drive lying around that's on it's last legs and is
making funny noises.

The thing is, I'd rather like to make efficient use of its remaining
operating time. Is there any way to stop a disk spinning up on boot, and
activate it later if you feel like it?

I am assuming you would need some kind of hardware device that mediates
between the IDE bus and power cable, and the disk itself. Is there such a
thing?

Ewan



once the drive gets noisy (clunking sounds) there will be little time left
....it would really be a waste of time to attempt to use it

otoh: if it was simply a matter of a lot of bad sectors...
it could be lo level formatted and used as a *spare*


  #6  
Old November 21st 03, 08:19 PM
Ewan Sinclair
external usenet poster
 
Posts: n/a
Default

Wow, this man is on a mission! While most people would just grab one of
those
WD800JB 80GB 8MB cache drives for $49 after rebates, he
wants to design new hardware using a microcontroller.


It may be a tad OTT, but it would be rather interesting. Besides, this is a
unique opportunity to stop myself from stuffing my disk with files. If I
know it has a limited lifetime, it stays fully reserved as scratch space
only :-)

Besides which, I'm sure I could think of all sorts of fun things to do with
such a device later.

I do not believe the IDE controller, OS drivers, or drive itself was
designed to be hot swapped. Even with your proposed "emulator" in place
at boot, I have a feeling your physical swapping of devices later is not a
good idea.


You know, all of this just reminded me of those IDE hot swap bays. Why
didn't I think of that before? Does anyone know if they are any good for
this task, or are they meant to have a drive in at boot that can be replaced
with another of the same model during operation?

There may not be any spinup commands on IDE drives. If you just attach

the
power connector (no data conn) it will power up immediately if the power
supply is on.


Well, putting power into it seems to work as a spinup command then :-)
There must be some sort of spinup command, because you can set timeouts in
the BIOS. Maybe there's just a spindown or set timeout command. One of the
three, anyway. If there's a spindown command, maybe it can be used to
suppress initial spinup? It's probably part of an unavoidable self-check
sequence though, as you point out.

I hate to shoot down your project, because it would definately be a
learning experience, but you should also face the reality that your drive
may stop functioning before you even finish building your device :/


Nope, it's made those noises for a while, and they aren't very loud, just a
bit dodgy. The drive is currently in my drawer anyway, so it won't be dying
anytime soon.

PS: I'll pass on this thread to you, you may find it helpful when shopping

for
a new hard drive:
http://forums.anandtech.com/messagev...readid=1160291


Thanks for the link anyway, I'll probably end up doing that, but the problem
will still remain that the available reliable storage size (X), my disk
usage (Y), and any size between 0 and 500MB have relationship X=Y-A

I'm far more willing to learn advanced microelectronics than I am self
control.

Ewan


  #7  
Old November 21st 03, 08:24 PM
Phrederick
external usenet poster
 
Posts: n/a
Default

Your trying to save a penny by spending a pound...

If a hard drive is reliable, just use it. If it's not, tag it defective and
toss it out or pile it in the corner where it might be a spare part or
interesting paperweight.

If you can't afford to replace the drive, you definately can't afford to do
what you're proposing.

"Ewan Sinclair" wrote in message
news
You would be trying to power up the device way after the hardware
detection phase of Windows bootup sequence and way past when any driver
for it would load and detect the device.


How easy would it be to fake the presence of the drive? How much

information
does windows need?

If I can record the drive information (either by putting the requisite
signals into the IDE port on the drive and recording the results, or just

by
getting the relevant infofrom the manufacturer), would it be that hard to
build a PIC based device that pretends it is the disk? From there, it's

just
a matter of swapping the connectors and issuing a spinup command I assume.

Does anyone know of a good place to read up on what goes on with detection
and control of IDE devices?

Ewan




  #8  
Old November 21st 03, 10:31 PM
kony
external usenet poster
 
Posts: n/a
Default

On Fri, 21 Nov 2003 03:45:33 GMT, "Ewan Sinclair"
wrote:

I've got an old 30GB drive lying around that's on it's last legs and is
making funny noises.

The thing is, I'd rather like to make efficient use of its remaining
operating time. Is there any way to stop a disk spinning up on boot, and
activate it later if you feel like it?

I am assuming you would need some kind of hardware device that mediates
between the IDE bus and power cable, and the disk itself. Is there such a
thing?

Ewan


The most feasible alternative towards your intentions would be an
external USB or firewire drive enclosure, which you only turn on when
needed.

On the other hand I agree with the other posters who feel that this
drive isn't worth the time or data risk at this point. A used 30GB
drive that still works perfectly is only worth $20 at best, maybe only
$10.


Dave
  #9  
Old November 22nd 03, 12:12 AM
DaveW
external usenet poster
 
Posts: n/a
Default

No.

--
DaveW



"Ewan Sinclair" wrote in message
...
I've got an old 30GB drive lying around that's on it's last legs and is
making funny noises.

The thing is, I'd rather like to make efficient use of its remaining
operating time. Is there any way to stop a disk spinning up on boot, and
activate it later if you feel like it?

I am assuming you would need some kind of hardware device that mediates
between the IDE bus and power cable, and the disk itself. Is there such a
thing?

Ewan




  #10  
Old November 22nd 03, 03:38 PM
JT
external usenet poster
 
Posts: n/a
Default

On Fri, 21 Nov 2003 03:45:33 GMT, "Ewan Sinclair" wrote:

I've got an old 30GB drive lying around that's on it's last legs and is
making funny noises.

The thing is, I'd rather like to make efficient use of its remaining
operating time. Is there any way to stop a disk spinning up on boot, and
activate it later if you feel like it?

I am assuming you would need some kind of hardware device that mediates
between the IDE bus and power cable, and the disk itself. Is there such a
thing?

Ewan


Put it in an external USB (2.0) enclosure, and only power it up when you
need it. It is hot swappable that way. Of course you will have nothing on
it you don't mind losing.

JT

 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hard disk does not show in BIOS. Extract data from HDD? Kanolsen General 1 November 14th 03 10:03 PM
USB Flash Disk Question Roland General 2 September 24th 03 02:44 PM
Partitioning a hard disk James D General 4 September 4th 03 05:12 AM
Trouble installing a 5.25" disk drive Patrik Spånning Westerlund General 1 August 8th 03 12:30 AM
Only 128Gb of a 160Gb disk ByTor General 2 July 31st 03 02:49 AM


All times are GMT +1. The time now is 06:31 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 HardwareBanter.
The comments are property of their posters.