English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 04 November 2021, 08:28   #1
Laze
Registered User
 
Join Date: Nov 2021
Location: Denmark
Posts: 2
Strange real amiga harddisk problem

I have a strange problem that maybe someone can explain.

I have an old IDE IBM WDA-260 40 MB ide harddisk from an A600 machine. I have hooked it up to my pc running windows 10 using an IDE2USB adapter. The harddisk shows up in DISKPART (but with size 0).

When running WinUAE (as admin) the disk also shows up as seen in the screenshot. But nothing happens when trying to boot and the error log says this:
Hardfile ':WDA-260 40MB _002 2AA1A0067454:\\?\usbstor#disk&ven_wda-260&prod_40mb&rev__002#2aa1a0067454&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}' not found.

I can also see in windows device manager that the drive might not be working due to this error:
"Device USBSTOR\Disk&Ven_WDA-260&Prod_40MB&Rev__002\2AA1A0067454&0 was not migrated due to partial or ambiguous match."

The really strange thing is that you should then think nothing would work but if I press "Create hard disk file" in the "Add hard drive" section then WinUAE can make a perfect copy of the disk and then boot that. So the big question is:

Why can WinUAE read the disk and create a disk image of it but not boot it as is and use it that way - I was hoping to be able to copy games etc. to the harddrive that way.


More info below:

Idenitfy info:
Code:
BusType: 0x07
Vendor: 'WDA-260'
Product: '40MB'
Revision: '_002'
Serial: '2AA1A0067454'
Size: 43102208
VID: 152d PID: 2338

INQUIRY:
000002011F0000005744412D3236302034304D42202020202020202020202020 ........WDA-260 40MB            
5F303032                                                         _002                            

READ CAPACITY:
FFFFFFFF00000200                                                 ........                        

IDENTITY:
045A026B00000008000000000011000C000C0000202020202020202020414131 .Z.k................         AA1
4130303637343534000300400006583143415F3030325744412D323630203430 A0067454...@..X1CA_002WDA-260 40
4D42202020202020202020202020202020202020202020202020202020200040 MB                            .@
0000000000000001000000000000000000000000000000000000000000000000 ................................
0000000000000000000000000000000000000000000000000000000000000000 ................................
0000000000000000000000000000000000000000000000000000000000000000 ................................
0000000000000000000000000000000000000000000000000000000000000000 ................................
0000000000000000000000000000000000000000000000000000000000000000 ................................
0000000000000000000000000000000000000000000000000000000000000000 ................................
0000000000000000000000000000000000000000000000000000000000000000 ................................
0000000000000000000000000000000000000000000000000000000000000000 ................................
0000000000000000000000000000000000000000000000000000000000000000 ................................
0000000000000000000000000000000000000000000000000000000000000000 ................................
0000000000000000000000000000000000000000000000000000000000000000 ................................
0000000000000000000000000000000000000000000000000000000000000000 ................................
0000000000000000000000000000000000000000000000000000000000000000 ................................

Cylinders: 026B (619)
Heads: 0008 (8)
Surfaces: 0011 (17)
Here is the UAE log file:
Code:
Port2: NONE
Port3: NONE
config reset
load config 'C:\Users\Public\Documents\Amiga Files\WinUAE\Configurations\default.uae':0
cfgfile_load_2 failed
KS ver = 34 (0x22)
Stored port 0/0 d=1: added 200 0 Windows mouse WINMOUSE1
Port0: ID 'mouse' matched
Stored port 1/0 d=1: added 0 0  
Port1: ID 'kbd1' matched
Port2: NONE
Port3: NONE
failed to load config 'C:\Users\Public\Documents\Amiga Files\WinUAE\Configurations\default.uae'
KS ver = 34 (0x22)
Stored port 0/1 d=1: added 200 0 Windows mouse WINMOUSE1
Port0: COMBO 'Windows mouse' + 'WINMOUSE1' matched
Stored port 1/1 d=1: added 0 0  
Port1: ID 'kbd1' matched
Port2: NONE
Port3: NONE
Stored port 0/2 d=0: added 200 0 Windows mouse WINMOUSE1
Stored port 1/2 d=0: added 0 0  
'C:\Users\Public\Documents\Amiga Files\WinUAE\Configurations\configuration.cache' loaded successfully
Entering GUI idle loop
Requested GUI size = 800x600 (720x568)
Got GUI size = 800x600
opening device '\\?\scsi#disk&ven_samsun_&prod_ssd_sm841n_msata#4&3434c660&0&010000#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}'
device id string: 'SAMSUNG SSD SM841N mSATA 512GB DXM45D0Q S1JZNYAF703466'
IOCTL_ATA_PASS_THROUGH_DIRECT succeeded
Real harddrive IDENTITY read
IOCTL_DISK_GET_LENGTH_INFO returned size: 512110190592 (0x773c256000)
BPS=512 Cyls=62260 TPC=255 SPT=63 MediaType=12
device size 512110190592 (0x773c256000) bytes
IOCTL_DISK_GET_DRIVE_LAYOUT failed with error code 1.
opening device '\\?\usbstor#disk&ven_wda-260&prod_40mb&rev__002#2aa1a0067454&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}'
device id string: 'WDA-260 40MB _002 2AA1A0067454'
IOCTL_SCSI_PASS_THROUGH_DIRECT: A1.08.0E.00.01.00.00.00.00.EC.00.00.
SENSE: 70.00.05.00.00.00.00.0A.00.00.00.00.20.00.00.00.00.00.
SAT: ATA PASSTHROUGH(12) failed
IOCTL_SCSI_PASS_THROUGH_DIRECT: DF.10.00.00.01.00.72.0F.00.00.00.FD. OK (1 bytes)
IOCTL_SCSI_PASS_THROUGH_DIRECT: DF.10.00.02.00.00.00.00.00.00.A0.EC. OK (512 bytes)
Real harddrive IDENTITY read
IOCTL_DISK_GET_LENGTH_INFO failed with error code 1.
IOCTL_DISK_GET_LENGTH_INFO not supported, detected disk size may not be correct.
BPS=512 Cyls=0 TPC=0 SPT=0 MediaType=12
device size 43102208 (0x291b000) bytes
IOCTL_DISK_GET_DRIVE_LAYOUT failed with error code 1.
IOCTL_ATA_PASS_THROUGH_DIRECT ID failed 00000032
IOCTL_SCSI_PASS_THROUGH_DIRECT: 28.00.00.00.00.01.00.00.01.00. OK (512 bytes)
hd accepted (rdb detected at block 0)
opening device '\\.\C:'
device id string: 'SAMSUNG SSD SM841N mSATA 512GB DXM45D0Q S1JZNYAF703466'
drive letter not removable, ignored
opening device '\\.\D:'
device id string: 'SAMSUNG SSD SM841N mSATA 512GB DXM45D0Q S1JZNYAF703466'
drive letter not removable, ignored
Drive scan result: 2 drives detected
hfd attempting to open: ':WDA-260 40MB _002 2AA1A0067454:\\?\usbstor#disk&ven_wda-260&prod_40mb&rev__002#2aa1a0067454&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}'
device id string: 'WDA-260 40MB _002 2AA1A0067454'
IOCTL_SCSI_PASS_THROUGH_DIRECT: A1.08.0E.00.01.00.00.00.00.EC.00.00.
SENSE: 70.00.05.00.00.00.00.0A.00.00.00.00.20.00.00.00.00.00.
SAT: ATA PASSTHROUGH(12) failed
IOCTL_SCSI_PASS_THROUGH_DIRECT: DF.10.00.00.01.00.72.0F.00.00.00.FD. OK (1 bytes)
IOCTL_SCSI_PASS_THROUGH_DIRECT: DF.10.00.02.00.00.00.00.00.00.A0.EC. OK (512 bytes)
Real harddrive IDENTITY read
IOCTL_DISK_GET_LENGTH_INFO failed with error code 1.
IOCTL_SCSI_PASS_THROUGH_DIRECT: A1.08.0E.00.01.00.00.00.00.EC.00.00.
SENSE: 70.00.05.00.00.00.00.0A.00.00.00.00.20.00.00.00.00.00.
SAT: ATA PASSTHROUGH(12) failed
IOCTL_SCSI_PASS_THROUGH_DIRECT: DF.10.00.00.01.00.72.0F.00.00.00.FD. OK (1 bytes)
IOCTL_SCSI_PASS_THROUGH_DIRECT: DF.10.00.02.00.00.00.00.00.00.A0.EC. OK (512 bytes)
Real harddrive IDENTITY read
hd ignored (out=0 bs=512), read error 1!
hfd attempting to open: ':WDA-260 40MB _002 2AA1A0067454:\\?\usbstor#disk&ven_wda-260&prod_40mb&rev__002#2aa1a0067454&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}'
device id string: 'WDA-260 40MB _002 2AA1A0067454'
IOCTL_SCSI_PASS_THROUGH_DIRECT: A1.08.0E.00.01.00.00.00.00.EC.00.00.
SENSE: 70.00.05.00.00.00.00.0A.00.00.00.00.20.00.00.00.00.00.
SAT: ATA PASSTHROUGH(12) failed
IOCTL_SCSI_PASS_THROUGH_DIRECT: DF.10.00.00.01.00.72.0F.00.00.00.FD. OK (1 bytes)
IOCTL_SCSI_PASS_THROUGH_DIRECT: DF.10.00.02.00.00.00.00.00.00.A0.EC. OK (512 bytes)
Real harddrive IDENTITY read
IOCTL_DISK_GET_LENGTH_INFO failed with error code 1.
IOCTL_SCSI_PASS_THROUGH_DIRECT: A1.08.0E.00.01.00.00.00.00.EC.00.00.
SENSE: 70.00.05.00.00.00.00.0A.00.00.00.00.20.00.00.00.00.00.
SAT: ATA PASSTHROUGH(12) failed
IOCTL_SCSI_PASS_THROUGH_DIRECT: DF.10.00.00.01.00.72.0F.00.00.00.FD. OK (1 bytes)
IOCTL_SCSI_PASS_THROUGH_DIRECT: DF.10.00.02.00.00.00.00.00.00.A0.EC. OK (512 bytes)
Real harddrive IDENTITY read
hd ignored (out=0 bs=512), read error 1!
KS ver = 40 (0x28)
Stored port 0/2 d=0: added 200 0 Windows mouse WINMOUSE1
Port0: COMBO 'Windows mouse' + 'WINMOUSE1' matched
Stored port 1/2 d=0: added 0 0  
Stored port 1/2 d=0: added 0 0  
Port1: ID 'kbd1' matched
Port2: NONE
Port3: NONE
Log (disabled): 'C:\Users\Public\Documents\Amiga Files\WinUAE\winuaelog.txt'
Laze is offline  
Old 04 November 2021, 09:09   #2
mark_k
Registered User
 
Join Date: Aug 2004
Location:
Posts: 3,335
Modern hard drives support access by LBA (logical block address) as well as CHS (cylinder, head, sector). Old drives only support CHS.

All (or almost all) USB-IDE converters only support LBA access which doesn't work with old drives.

Some converters have a way to pass through direct IDE/ATA commands to the drive. WinUAE is managing to do that when it issues an IDENTIFY DEVICE command to the drive, and I assume when it reads from the drive to create the image file.

However when it comes to directly accessing the drive during emulation WinUAE probably only uses the normal Windows read and write commands.
mark_k is offline  
Old 04 November 2021, 18:37   #3
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
Above answer is probably correct. Image creator supports more access methods than emulation side mounting.

Two main reasons: not really worth the trouble and using ancient HDs today as normal read/write media isn't very good idea, except to image it quickly.
Toni Wilen is offline  
Old 05 November 2021, 19:00   #4
Laze
Registered User
 
Join Date: Nov 2021
Location: Denmark
Posts: 2
Thanks for the answers I was just hoping for a quick test and maybe something was broken so I would want to check.
Laze 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
Using this forum on real Amiga problem lukassid project.EAB 8 10 November 2013 13:44
Formating Real 40GB Harddisk w/ WinUAE & OS3.9 robotriot support.WinUAE 4 10 August 2010 11:46
strange partition beetwen winuae and real a1200 sink support.WinUAE 13 05 September 2007 23:21
Mounting Native PC(formatted) harddisk as a Harddisk for WinUAE/E-UAE Zetr0 support.Hardware 10 01 June 2006 14:04
Harddisk directory problem. Bloodwych support.WinUAE 3 23 December 2004 18:23

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 01:46.

Top

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