22 January 2018, 17:33 | #41 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
I bought this: http://www.delock.com/produkte/G_61486/merkmale.html It supports SCSI ATA passthrough = allows to execute ATA commands directly, at least drive identify command returns valid identity data.
Unfortunately I don't have any CHS only drives to test if it needs CHS hack (or new CHS hack via SCSI ATA, it may be too intelligent and validate SCSI command parameters) or if it supports CHS-onlu drives fully. |
03 February 2019, 10:21 | #42 |
Registered User
Join Date: Jan 2014
Location: California
Posts: 1,146
|
Hi Toni, this thread has been very interesting. I was recently donated the Team17 Worms development A4000s for my YouTube channel and am in the process of backing up the drives.
But it seems the USB adapter I bought largely doesn't even allow some drives to appear in Windows disk manager. I don't even get 0 size as OP did. Long story short, to wrap up this thread with the complete solution can you or anyone point to a USB to IDE adapter on Amazon.com that is recommended for this superb WinUAE feature? Your friend in retro, Perifractic |
03 February 2019, 11:00 | #43 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
Drive manufacturer, model and size?
Common JMicron based USB adapters should work and winuae uses jmicron vendor specific commands to access the disk if drive is CHS-only. See previous post by mark_k. |
04 February 2019, 08:26 | #44 | |
Registered User
Join Date: Jan 2014
Location: California
Posts: 1,146
|
Quote:
|
|
10 February 2019, 03:49 | #45 |
Registered User
Join Date: Jan 2014
Location: California
Posts: 1,146
|
Hi Tony, both these drives are recognized by windows drive manager but don't appear in WinUAE. Any suggestions sir? I'm using a JMicron USB adapter by Bipra.
|
10 February 2019, 19:31 | #46 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
Quote:
Run winuae as administrator with drive connected, click add harddrive, quit, attach winuaebootlog.txt. |
|
10 February 2019, 21:01 | #47 | |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,335
|
Quote:
Adding SAT support to WinUAE couldn't hurt. Probably the majority of modern/USB 3.0 USB-ATA adapters support SAT. Whether all SAT-supporting adapters actually work with CHS-only drives is another matter. Of course you can test CHS access to CHS-and-LBA-capable drives. And people with actual CHS-only drives (I'm sure I have at least a couple somewhere...) could report their results. |
|
11 February 2019, 13:19 | #48 |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,335
|
Technical manuals for old IDE drives are quite rare. However Bitsavers does have a couple for Western Digital drives:
Caviar AC160 & AC2120 Caviar AC140 & AC280 Those are for slightly older models than the ones in Starglider 2's pic. After reading them a couple of things caught my eye, which could explain why the JMicron hack method might not work. In the drive/head register, bits [6:5] specify sector size. And it seems those bits have to be 01 to indicate 512-byte sectors. Later, bit 6 was redefined to indicate LBA mode. The USB adapter firmware always sets bit 6, so the drive could reject any read/write commands it receives. (Most other CHS-only drives probably just ignore bits 5 & 6.) Access via SAT (or JMicron vendor-specific ATA passthrough) should work. It might also be necessary to issue INITIALIZE DRIVE PARAMETERS. The manuals don't say either way, but suggest several logical geometries. Interestingly, the drives have a fixed number of user sectors which is slightly larger than the number covered by the suggested logical geometries. For example the Caviar AC160 has 122091 user sectors. 122091 = 3 × 40697 (prime factors), so it's impossible for a C/H/S geometry to exactly cover all user sectors. I don't know if you could set a geometry to cover more than the number of user sectors and manage to read the last user sectors that way. Finally, it seems attempting to seek to a cylinder past the end of user sectors causes the drive to park its heads and spin down. I don't know whether that also applies to the implied seek associated with an attempted out-of-bounds read. |
11 February 2019, 14:34 | #49 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
SAT is already used by WinUAE but it seems to be very rarely supported. (Result is logged)
JMicron vendor specific passthrough mode should still work (bit 7 and 5 are set, bit 6 is cleared). Technically no IDE drive should need INITIALIZE DRIVE PARAMETERS but firmware "designed" to work with existing driver code is always possible.. |
11 February 2019, 19:05 | #50 | |
Registered User
Join Date: Jan 2014
Location: California
Posts: 1,146
|
Quote:
Code:
Disk 1 Unknown 325 MB Not initialized (Separate question: Have a third Seagate drive that turns off the moment it detects USB, even the second I power up the computer before Windows even loads. Turn off the PC and the drive spins up again. Any ideas anyone?) |
|
11 February 2019, 19:11 | #51 | ||
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
Quote:
1117 = ERROR_IO_DEVICE. So something goes wrong, 512 byte read request, returned zero bytes with error 1117. What does "Read Identity" button (winuae add harddrive panel) return? Copy&paste the output. Quote:
|
||
11 February 2019, 19:17 | #52 |
Registered User
Join Date: Jan 2014
Location: California
Posts: 1,146
|
Thanks Toni. Just to be clear, the drive does not appear in WinUAE at all therefore I believe it's impossible for me to click Read Identity, as I cannot select the drive. The only drives that appear are the laptop's internal HD and the DVD-RW.
mark_k's post was very interesting. |
11 February 2019, 22:12 | #53 | |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,335
|
Quote:
|
|
15 March 2019, 23:44 | #54 |
Registered User
Join Date: Jan 2014
Location: California
Posts: 1,146
|
I've had good progress backing up most of the Team17 IDE drives with WinUAE
Is there any way to do the same with SCSI drives? I can't seem to find USB adapters for those |
16 March 2019, 13:42 | #55 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
SCSI card (PCI or ISA, if you have old enough PC) probably are the only choices. Note that you don't need Windows and/or WinUAE to create HD images, even Linux + dd works fine, or some ready-made bootable rescue CD (lots of choices). Any SCSI adapter (as long as cable fits) should work, there is no CHS/LBA or other strange IDE issues.
|
16 March 2019, 15:40 | #56 |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,335
|
If you only have PCI Express slots, LSI Logic LSI20320IE SCSI controllers are quite cheap now, going for GBP10 to 15 on eBay.
USB-SCSI converters are available but do tend to be quite expensive. They generally work fine with a couple of provisos: - Most models based on SCM Microsystems chip require a device in the SCSI chain to supply termination power, since they draw their power supply from that. - Some don't work with the normal USB mass storage driver, and the manufacturer never made 64-bit Windows drivers (e.g. Adaptec USBXchange, USB2Xchange). The available 32-bit drivers might not work in more recent Windows versions either. - SCM-based converters generally work (or can be made to work) with Windows' built-in USB mass storage driver, so they work on 64-bit Windows fine. Windows will only see the SCSI device with ID 0, so set your drive's ID to that beforehand. |
02 July 2019, 05:57 | #57 |
Registered User
Join Date: Jan 2014
Location: California
Posts: 1,146
|
Hi Toni, here's the video where I go through those Team17 drives and back up to WinUAE. Gave you a good mention
[ Show youtube player ]
However I still have one challenging drive. It is recognized within Windows however when UAE just cannot see it. Here's a photograph of the drive showing the parameters. Anything you can do to help?: https://photos.app.goo.gl/oRjKhqk4qLJ3RQJe8 Edit: Make that two drives: https://photos.app.goo.gl/ZdvM49aTs1g39grRA Last edited by Starglider 2; 02 July 2019 at 06:27. |
03 July 2019, 20:14 | #58 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
Isn't that the usual CHS-only drive issue that was discussed before? (Drive looks old and small enough)
Does the drive appears as zero size in Windows Disk management? |
03 July 2019, 20:16 | #59 | |
Registered User
Join Date: Jan 2014
Location: California
Posts: 1,146
|
Quote:
Any way to get WinUAE to see it? |
|
03 July 2019, 20:20 | #60 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
Click Add harddrive with the drive connected, quit, attach winuaebootlog.txt.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
WinUAE and USB harddisk | ziosante | support.WinUAE | 5 | 18 November 2007 17:31 |
Amiga Harddisk not recognized by WinUAE | Walter Ralegh | support.WinUAE | 3 | 25 March 2007 13:36 |
Mounting Native PC(formatted) harddisk as a Harddisk for WinUAE/E-UAE | Zetr0 | support.Hardware | 10 | 01 June 2006 14:04 |
Using an Amiga harddisk with WinUAE | abelthorne | support.WinUAE | 3 | 01 June 2005 23:08 |
winuae harddisk sound prob | Marcuz | support.WinUAE | 0 | 21 August 2002 21:22 |
|
|