English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 16 June 2018, 17:11   #1
Bastich
Registered User
 
Bastich's Avatar
 
Join Date: Jul 2011
Location: UK
Posts: 341
ST3243A Hard drive imaging

Hello

I have an old A4000 from a now defunct games company called 'Interactive Studios' later called 'Blitz'. It has a hard drive with some old game art work on it and possibly a few other interesting files. It is a noisy drive but when attached to the A4000 does work. Transferring files by serial or floppy will take forever so I want to image the drive and save anything possible before it fails. I am however having problems trying to image the hard drive using WinUAE. I have done it in the past without issues but that was a long time ago.The drive is plugged in via a USB to IDE interface.

Under Windows 10 64bit it does not recognise it properly although it does appear in the hard drive list. However it always says failed to create image when attempting to image it.

Under Windows XP 32bit the drive appears in device manager with the correct name however WinUAE freezes when clicking the add hard drive button. The drive make some noises as of its being queried but then nothing

Taken from winuaeboitlog.txt
opening device '\\?\usbstor#disk&ven_st3243a&prod_&rev_0041#000000000033&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}'
device ID adding: 'ST3243A 0041'
......
IOCTL_DISK_GET_LENGTH_INFO returned size: 0
......
IOCTL_DISK_GET_DRIVE_LAYOUT failed with error code 21
IOCTL_SCSI_PASS_THROUGH_DIRECT: 28.00.00.00.00.01.00.00.01.00.

I did have to unplug it to get WinUAE to respond. Once unplugged the add drive dialog appeared.

Does anyone have any ideas? It would be a shame to lose the drive contents.

Last edited by Bastich; 16 June 2018 at 17:41.
Bastich is offline  
Old 16 June 2018, 17:52   #2
rare_j
Zone Friend
 
rare_j's Avatar
 
Join Date: Apr 2005
Location: London
Posts: 1,176
There was a thread a while back where Toni investigated this. I think he came to the conclusion that very old hard drives can be made to work properly if the usb adapter also supports old drive interface controls.
Sorry I can't find the topic now. Perhaps someone else can remember it.
I definately remember having some success with my old usb adapter and old hard drive though.

Last edited by rare_j; 16 June 2018 at 17:57.
rare_j is offline  
Old 16 June 2018, 18:25   #3
Bastich
Registered User
 
Bastich's Avatar
 
Join Date: Jul 2011
Location: UK
Posts: 341
Any idea what pcie cards support old drives?

I've found one with the JMB363 Chipset for a good price. There does not appear to be many other options

Got one ordered fingers crossed.

Last edited by Bastich; 16 June 2018 at 18:52.
Bastich is offline  
Old 16 June 2018, 18:57   #4
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
Check http://eab.abime.net/showthread.php?t=87269 for more details.

Most USB IDE adapters should work with WinUAE 3.6.1+ if drive is CHS-only. (Which is usually true if Windows reports zero size drive).

Does Windows report USB error if you wait about 1 minute after it hangs?

DOes WinUAE ask for drive geometry if you click "Create hard disk image file"? If it does, type correct geometry (should be printed on drive label) and test if working image file gets created.

Note that CHS-only drives don't support writing in WinUAE so it isn't very useful for transferring data from PC to disk. (I didn't bother with it because CHS only drives are ancient and it should be imaged first and then replaced with something more modern)
Toni Wilen is offline  
Old 16 June 2018, 18:57   #5
rare_j
Zone Friend
 
rare_j's Avatar
 
Join Date: Apr 2005
Location: London
Posts: 1,176
Sorry, I don't know. But here's the topic that I think is relevant:
http://eab.abime.net/showthread.php?t=88136
Hopefully there is quite some useful info here.
Edit - Toni's link is likely to be more useful.
rare_j is offline  
Old 17 June 2018, 01:38   #6
Bastich
Registered User
 
Bastich's Avatar
 
Join Date: Jul 2011
Location: UK
Posts: 341
So close but still no good

I dug out an old AM2 board which I have a working W7 32bit install for as it has an IDE port on it.

The BIOS sees it.
Windows Disk Management sees it.
WinUAE sees it but says access denied.

Run WinUAE (3.6.1 or 4.0.0 beta from the other thread) as administrator and then it doesn't see it

A bit stuck what to try now TBH
Bastich is offline  
Old 17 June 2018, 08:05   #7
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
Run winuae without loading any configs as admin, click add harddrive. Exit. Attach winuaebootlog.txt.
Toni Wilen is offline  
Old 17 June 2018, 09:25   #8
Bastich
Registered User
 
Bastich's Avatar
 
Join Date: Jul 2011
Location: UK
Posts: 341
Thanks Toni
I will reassemble it this afternoon and post you the log files.
Bastich is offline  
Old 17 June 2018, 15:52   #9
Bastich
Registered User
 
Bastich's Avatar
 
Join Date: Jul 2011
Location: UK
Posts: 341
Here you go Toni hope this helps
It looks like it reads the drive size correctly.
But it then says 'hd ignored, do_scsi_read10_chs failed'
Attached Files
File Type: txt admin winuaebootlog.txt (15.8 KB, 77 views)
Bastich is offline  
Old 17 June 2018, 16:02   #10
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
What kind of USB adapter do you have? Manufacturer/model or USB VID/PID values for example from Windows device manager.

It seems to support native ATA passthrough but winuae does not use it for reading because I didn't find any USB adapters that supports ATA passthrough, which made testing impossible.

Could you copy and paste output from winuae window that opens when you click "read identity" button. (in same window that has hd image button)
Toni Wilen is offline  
Old 17 June 2018, 16:30   #11
Bastich
Registered User
 
Bastich's Avatar
 
Join Date: Jul 2011
Location: UK
Posts: 341
The tests above were using a motherboard which has an IDE port (ASUS M2N68-AM SE2). The 'read identity' button is greyed out regardless of running it as admin or not.

The USB adapter which I have is called an 'R-Driver III'. The files included in this post are from the USB adapter. If I use it in admin or normal mode the drive appears but without a proper name '[OS] [0K,RW] USB TO I DE/SATA Device 0041' (VID: 05e3, PID: 0718).
Attached Files
File Type: txt winuaebootlog.txt (14.6 KB, 115 views)
File Type: txt read id.txt (334 Bytes, 74 views)

Last edited by Bastich; 17 June 2018 at 16:48.
Bastich is offline  
Old 17 June 2018, 17:14   #12
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
Oops, Read Identity requires selected drive but drive is not listed because CHS read fails..

Does this version: http://www.winuae.net/files/b/winuae.7z show the drive and read identity returns identity data? (Not tested because I don't have working PCs with mainboard IDE anymore)
Toni Wilen is offline  
Old 17 June 2018, 17:57   #13
Bastich
Registered User
 
Bastich's Avatar
 
Join Date: Jul 2011
Location: UK
Posts: 341
Hi Toni

That worked perfectly. It recognised the drive and created an image with no errors. I will have a good look through the image soon.
Attached Files
File Type: txt winuaebootlog.txt (14.5 KB, 90 views)
File Type: txt ST3243A.txt (1.3 KB, 82 views)
Bastich is offline  
Old 17 June 2018, 18:34   #14
Bastich
Registered User
 
Bastich's Avatar
 
Join Date: Jul 2011
Location: UK
Posts: 341
Quick view of some of the things on the drive

There are a few Cinema4D etc things as I think this A4000 was still being used to produce textures and models for the original PSX.
Attached Thumbnails
Click image for larger version

Name:	is.jpg
Views:	129
Size:	281.3 KB
ID:	58595  
Bastich is offline  
Old 17 June 2018, 19:54   #15
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
Quote:
Originally Posted by Bastich View Post
That worked perfectly. It recognised the drive and created an image with no errors. I will have a good look through the image soon.
Great! Too simple missing feature done

I'd have expected Windows native mainboard ide drivers to support CHS. Unless it is some higher level component (that obsoleted CHS ages ago) that creates IDE commands and IDE driver only handles the hardware communication.
Toni Wilen is offline  
Old 17 June 2018, 20:10   #16
Bastich
Registered User
 
Bastich's Avatar
 
Join Date: Jul 2011
Location: UK
Posts: 341
Thanks for your help and all your awesome work on WinUAE. It's by far the best and most feature rich Amiga emulator
Bastich is offline  
Old 19 June 2018, 19:07   #17
mark_k
Registered User
 
Join Date: Aug 2004
Location:
Posts: 3,335
Just wondering... in order to access an IDE slave drive, do you need to set the drive select bit (bit 4 in drive/head register), or does Windows do that automatically?
mark_k is offline  
Old 19 June 2018, 19:10   #18
Bastich
Registered User
 
Bastich's Avatar
 
Join Date: Jul 2011
Location: UK
Posts: 341
I only had the one drive attached so just set the jumpers to master and WinUAE did the rest
Bastich is offline  
Old 19 June 2018, 19:55   #19
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
Quote:
Originally Posted by mark_k View Post
Just wondering... in order to access an IDE slave drive, do you need to set the drive select bit (bit 4 in drive/head register), or does Windows do that automatically?
WinUAE has no idea if it is slave or master so Windows probably does it automatically.
Toni Wilen 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
Incomplete imaging of drive when WinUAE not run as admin mark_k support.WinUAE 2 24 March 2018 22:23
IPF Imaging: 81 or 83 track Floppy Drive djukon support.Other 11 24 March 2018 16:26
why cannot I boot hard drive directory or hard disk image jotd support.WinUAE 2 31 October 2017 18:00
Project: Adding a CF Drive as an Hard Drive to an A500 mfletcher support.Hardware 8 03 July 2008 00:20
Compact flash drive Vs. 2,5" hard disk drive fc.studio support.Hardware 5 16 June 2007 16:40

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 00:29.

Top

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