English Amiga Board


Go Back   English Amiga Board > Support > support.Hardware

 
 
Thread Tools
Old 08 October 2015, 10:23   #1
lucadip
Where is my mind?
 
lucadip's Avatar
 
Join Date: Jan 2007
Location: Nürnberg, Germany
Age: 49
Posts: 129
Strange drive issue

I searched for a similar issue in the forum but couldn't find anything like this.

Somehow my drive seems able to read and write properly but does not recognize any valid DOS-disk as such (DF0:NDOS).
The same disk in DF1 (or in another Amiga) is read perfectly. I can even format in DF0 and the disk is not recognized, if I put it in DF1 is fine.
If I extract an ADF image from DF0, the image is perfectly valid. If I write it back to DF0, same problem (and in DF1 is fine).

Has anybody already experienced that? Any help is very welcome!
lucadip is offline  
Old 08 October 2015, 12:36   #2
Daedalus
Registered User
 
Daedalus's Avatar
 
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,334
So it seems to be able to write properly but cannot read. Strange... Have you checked that the cable's seated correctly and is undamaged? Does it do the same thing when DF1: isn't connected? Can you swap the DF0: and DF1: drives to see if the problem moves with the drive or stays with DF0:?
Daedalus is offline  
Old 08 October 2015, 13:36   #3
lucadip
Where is my mind?
 
lucadip's Avatar
 
Join Date: Jan 2007
Location: Nürnberg, Germany
Age: 49
Posts: 129
Quote:
Originally Posted by Daedalus View Post
So it seems to be able to write properly but cannot read. Strange... Have you checked that the cable's seated correctly and is undamaged? Does it do the same thing when DF1: isn't connected? Can you swap the DF0: and DF1: drives to see if the problem moves with the drive or stays with DF0:?
Actually it can even read (well, raw read)!
Tested it when extracting an ADF-image of the inserted disk. I should add that my os (3.1) has no strange patches and that the problem also happens if I boot without startup-sequence.

DF1 is external, so I cannot swap the drives.
lucadip is offline  
Old 08 October 2015, 13:40   #4
thomas
Registered User
 
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 6,985
ADF read is not more raw than other reads. Which program did you use to create the ADF?

Have you checked for viruses? Can you try to boot from floppy (with the write protect switch on and after power-off of the Amiga)?
thomas is offline  
Old 08 October 2015, 13:49   #5
lucadip
Where is my mind?
 
lucadip's Avatar
 
Join Date: Jan 2007
Location: Nürnberg, Germany
Age: 49
Posts: 129
Quote:
Originally Posted by thomas View Post
ADF read is not more raw than other reads. Which program did you use to create the ADF?

Have you checked for viruses? Can you try to boot from floppy (with the write protect switch on and after power-off of the Amiga)?
I've used TransADF to extract the disk image.
Did not try to boot from floppy though, I'll give it a try this afternoon. Thanks for the tip!

P.S.
Post #100 :-)
lucadip is offline  
Old 08 October 2015, 14:02   #6
Daedalus
Registered User
 
Daedalus's Avatar
 
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,334
Ah, when you said extract, I thought you meant extract the ADF *to* the floppy. Very strange.

External floppies are just internal floppies with a little bit of interface logic. They're easy to open and swap drives with if you're comfortable with that sort of thing.
Daedalus is offline  
Old 08 October 2015, 22:37   #7
lucadip
Where is my mind?
 
lucadip's Avatar
 
Join Date: Jan 2007
Location: Nürnberg, Germany
Age: 49
Posts: 129
Quote:
Originally Posted by thomas View Post
ADF read is not more raw than other reads. Which program did you use to create the ADF?

Have you checked for viruses? Can you try to boot from floppy (with the write protect switch on and after power-off of the Amiga)?
Checked. The amiga has no virus.
I can't boot the freshly started amiga from any DOS-Disk.
Using Image2Disk or TransADF I can perfectly read and write the whole disk. Using X-Copy-Pro I can even read the directory of the disk, checkdisk shows no error.

I start to believe that there is a problem with the alignment of the heads. After the disk is inserted the heads start moving back and forward and can't seem to find the right sector. Why on earth there is no problem when reading the tracks "directly" (for example with TransADF or X-Copy) drives me crazy....
lucadip is offline  
Old 09 October 2015, 05:47   #8
ReadOnlyCat
Code Kitten
 
Join Date: Aug 2015
Location: Montreal/Canadia
Age: 52
Posts: 1,178
Quote:
Originally Posted by lucadip View Post
Checked. The amiga has no virus.
I can't boot the freshly started amiga from any DOS-Disk.
Using Image2Disk or TransADF I can perfectly read and write the whole disk. Using X-Copy-Pro I can even read the directory of the disk, checkdisk shows no error.

I start to believe that there is a problem with the alignment of the heads. After the disk is inserted the heads start moving back and forward and can't seem to find the right sector. Why on earth there is no problem when reading the tracks "directly" (for example with TransADF or X-Copy) drives me crazy....
This indeed looks like an alignment problem, TransADF and X-Copy probably position the heads in a sequence which allows proper alignment by reaching some physical stop of some kind while the regular OS stepping does not follow it thus leaving the heads improperly aligned.

Are there programs which allow to freely step the disks's head in both directions? If so you could 1) disable OS head stepping when no disk is present, 2) manually step the head to full 80 (disk center), 3) insert a DOS disk and see if it is recognized. Then retry with track 0 (disk outer track)

If this works, then it's definitely an alignment issue. If it does not work then we haven't learned anything.
ReadOnlyCat is offline  
Old 09 October 2015, 09:54   #9
Daedalus
Registered User
 
Daedalus's Avatar
 
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,334
Yes, good point. I had ruled out an alignment issue as the disks it was writing were readable on another drive, but if the heads only move in one direction (as is the case with the type of reads and writes being carried out), any play or hysteresis in the head position is irrelevant, whereas the OS will move the heads forwards and backwards, meaning any looseness will cause tracks to not be read.
Daedalus is offline  
Old 09 October 2015, 12:00   #10
hooverphonique
ex. demoscener "Bigmama"
 
Join Date: Jun 2012
Location: Fyn / Denmark
Posts: 1,624
That's not how it works.. the 'physical' stop is always used to reference cylinder zero, whether it's dos or x-copy. Now, you could have a borderline alignment problem that will show itself when switching the stepping direction, or a mechanical problem that causes misalignment in the same situation. Under those circumstances, ROC is right in the sense that reading the whole disk from cylinder zero to 79 might work, while random access won't.

Last edited by hooverphonique; 10 October 2015 at 16:44.
hooverphonique is offline  
Old 10 October 2015, 01:40   #11
Daedalus
Registered User
 
Daedalus's Avatar
 
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,334
Yep, well aware of how it works, and that's pretty much what I said too.
Daedalus is offline  
Old 10 October 2015, 15:18   #12
ReadOnlyCat
Code Kitten
 
Join Date: Aug 2015
Location: Montreal/Canadia
Age: 52
Posts: 1,178
Quote:
Originally Posted by hooverphonique View Post
ROC is right in the sense that reading the whole disk from cylinder zero to 80 might work, while random access won't.
Kittens are always right!
\^^/
ReadOnlyCat is offline  
Old 26 October 2015, 23:14   #13
lucadip
Where is my mind?
 
lucadip's Avatar
 
Join Date: Jan 2007
Location: Nürnberg, Germany
Age: 49
Posts: 129
Evil grin Drive back to normal life!

First, thanks for all the info.

I went on and wrote a small piece of code which just reads track 0, track 40 and again track 0 and track 40. Nothing else.
Guess what? After the code ran a few times (properly reading the tracks!), the drive is now happily recognizing all the disks again.
I don't believe that I coded a kind of magic program that can fix misaligned drives. Probably the truth is that the drive wasn't used for such a long time, that after being stressed for a while it found back its alignment?!

BTW, I know that this kind of documentation is available electronically and is even online, but having the "RKRM Devices" opened next to the keyboard and close to the DevPac manual gave me a nice, warm feeling! :-)
lucadip is offline  
Old 18 April 2022, 22:28   #14
lucadip
Where is my mind?
 
lucadip's Avatar
 
Join Date: Jan 2007
Location: Nürnberg, Germany
Age: 49
Posts: 129
Quote:
Originally Posted by lucadip View Post
I went on and wrote a small piece of code which just reads track 0, track 40 and again track 0 and track 40. Nothing else.
Guess what? After the code ran a few times (properly reading the tracks!), the drive is now happily recognizing all the disks again.
I don't believe that I coded a kind of magic program that can fix misaligned drives. Probably the truth is that the drive wasn't used for such a long time, that after being stressed for a while it found back its alignment?!
Sorry for reviving this old thread of mine, but the problem with my drive arose again, and another drive had the same issue, which I could mitigate likewise.

I thought for a while about a valid explanation, and came to the idea that since both drives have never been opened for inspection, the grease on the shaft might have dried up, after more than 3 decades.

So I opened up the drives, cleaned up the dust and the shafts, which were very dry indeed, put some new grease (especially made for bearings) on it, and tested again.
The drives worked flawlessly afterwards! This information might sound trivial to many of you, but I wanted to share it anyway. Maybe somebody could find it useful in thirty years from now!
lucadip is offline  
Old 19 April 2022, 00:08   #15
rjd324
Registered User
 
rjd324's Avatar
 
Join Date: May 2020
Location: NE / UK
Posts: 227
It's seems too under estimated how important reviving an old thread with some sort of solution is. People don't do it enough. I am always in the habit of trying to conclude a thread/topic and if I own the thread I will edit it to say (solved).

Thanks for the update, although it is not relevant to me. People should try to follow this procedure, always.
rjd324 is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange Keyboard Issue TheTonyOne support.FS-UAE 4 07 January 2015 01:48
A600 and external 5.25" disk drive: strange issue Supamax support.Hardware 22 30 March 2014 00:20
Strange Issue mai support.WinUAE 6 06 January 2010 12:54
Strange Graphics issue asm1 support.Hardware 5 04 March 2009 18:12
Strange 3.5 floppy issue ... falconsfan support.Hardware 1 28 April 2007 09:13

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 +2. The time now is 16:39.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.08646 seconds with 15 queries