English Amiga Board


Go Back   English Amiga Board > Support > support.Hardware

 
 
Thread Tools
Old 08 March 2017, 21:06   #321
drusso66
Registered User
 
Join Date: Jul 2004
Location: Peterborough UK
Age: 57
Posts: 97
Just a quick update, I finally managed to partition and format a micro sd card, not the original standard full size Sd card, which I still cannot partition or format.What I did was use an 8GB Micro Sd card placed into a USB thumb stick type card reader, and it worked straight away after I used diskpart etc etc.....
So the problem seems to be with 3 different card readers not working with Winuae properly, but the cheaper USB thumb stick style adapter works. I cannot use my SD cards, which I have loads of sprare ones, but can use micro sd, unless I buy yet another card reader
(4th one) and give it another go.
Is there any known card reader compatibility list for Winuae use.
drusso66 is offline  
Old 08 March 2017, 21:16   #322
fgh
Registered User
 
Join Date: Dec 2010
Location: Norway
Posts: 820
Ok. Do those readers work ok except in WinUAE?
Are you using a USB hub perhaps?
No such list exists I'm afraid.
fgh is offline  
Old 08 March 2017, 21:20   #323
demolition
Unregistered User
 
demolition's Avatar
 
Join Date: Sep 2012
Location: Copenhagen / DK
Age: 43
Posts: 4,190
Try running WinUAE as administrator if you haven't already. It can solve many of these kinds of problems. Otherwise you could probably use something like Win32DiskImager to create an image of your card, mount that in WinUAE and when you're done write it back.

I use one of these card readers:

If I insert my SDXC card directly in the MicroSD slot, it won't work for some reason, however if I use the MicroSD-2-SD adapter that came with the card and insert it using the SD slot then it works perfectly, although I'm not sure what the difference is..
demolition is offline  
Old 08 March 2017, 21:30   #324
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,532
"Unit is not a disk (type xx)", xx = whatever SCSI INQUIRY command returns in first byte (SCSI device type, 0 = normal HD). 32 probably means winuae failed to access the drive (permission error) and returned 32 = "removable drive not present". (SCSI emulation sees it as removed removable drive, even if real reason is something else)

Always check the log for drive mounting details! WinUAE uses standad Windows API to access the disk, there is nothing special. Admin privileges are usually required.
Toni Wilen is offline  
Old 08 March 2017, 23:35   #325
drusso66
Registered User
 
Join Date: Jul 2004
Location: Peterborough UK
Age: 57
Posts: 97
I have always used Winuae as admin, and the 3 card readers all work well outside of Winuae in general everyday usage. I will be trying some more micro sd cards and sd cards in my other PC (windows 7) and with same Winuae setup and see what results I get. Will also try them in my Amiga 1200 to see any differences.
Thanks to all the info and advice to everyone, hopefully my mistakes and results will be useful to anyone having similar issues.
drusso66 is offline  
Old 09 March 2017, 10:07   #326
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,532
"Normal" use is quite different because it does not need partition table access.

Try latest 3.4.1 beta and tick new "lock" checkbox in add harddrive dialog. Does it help?
Toni Wilen is offline  
Old 09 March 2017, 12:04   #327
drusso66
Registered User
 
Join Date: Jul 2004
Location: Peterborough UK
Age: 57
Posts: 97
Quote:
Originally Posted by Toni Wilen View Post
"Normal" use is quite different because it does not need partition table access.

Try latest 3.4.1 beta and tick new "lock" checkbox in add harddrive dialog. Does it help?
Thanks for advice will give it ago later
drusso66 is offline  
Old 09 March 2017, 15:15   #328
drusso66
Registered User
 
Join Date: Jul 2004
Location: Peterborough UK
Age: 57
Posts: 97
Quote:
Originally Posted by Toni Wilen View Post
"Normal" use is quite different because it does not need partition table access.

Try latest 3.4.1 beta and tick new "lock" checkbox in add harddrive dialog. Does it help?
Yes finally working, tried with winuae beta 3.41 used the lock option and managed to partition and format the 8GB SD card that was given me all this trouble.
Thanks Toni really appreciate it, i can easily format either SD, Micro SD and CF cards via Winuae.

drusso66 is offline  
Old 21 March 2017, 22:23   #329
blatboy
Registered User
 
blatboy's Avatar
 
Join Date: Mar 2017
Location: NYC/USA
Posts: 60
Ooookay! I'm almost there. I feel I've done a lot of research to get me to this point, but I'm still missing something.

Here's what I have:

A3000 w/SCSI2SD v6 running 3.9 bb4

Setting up SD in WinUAE. (SCSI2SD card hooked via USB to PC) Hardware params in UAE match my 3000 exactly. (040 w 2MB chip and 256MB Z3 Fast)

32GB SD split into 2 drives. DH1:2GB and DH2:24GB (will add more drives if I get this working)
Workbench/Work partitions on DH1 and booting fine.
scsi.device is 43.45 (using the file a3000.scsi.device.43.45 and yes I changed the name)
added to startup sequence: C:AddBuffers >NIL: DH2 8192
pfs/03 file system using Pfs3aio
maxtransfer: 0x0001FE0
Check4GB claims everything ok for 24GB DH2:

Problem: When copying WHDLoad packs onto DH2 using Dopus5, once I get close to the feared 4GB limit, I'll get a pfs error (missing bitmap or something -- I didn't write it down sorry... it takes HOURS to get to the point where the error comes up**) Pfs doctor locks up if I try to fix it. Once I reset the machine, the drive is showing as "uninitialized."

One clue I have: When doing a PFSDoctor check on the 24GB DH2 right after a clean format, I still get the message "PFS Doctor failed to access the disk above the 4G boundary after attempting both direct SCSI and td64. Continuing can be dangerous"

Yes, I could just keep the limit at 4GB, as the SD has more than ample room for many 4GB drives (8 of them to be exact) but I'd love to be able to put the mother lode on one drive.

Any suggestions would be wonderful. I've tried 3 times and it takes all night for the games to copy over... **though I'm happy to do it again if nothing else to write down the exact error that happens, if that is key to finding the solution, which I admit is a pretty big piece of info to leave out.

Last edited by blatboy; 21 March 2017 at 23:36. Reason: HD vs DH
blatboy is offline  
Old 21 March 2017, 22:49   #330
blatboy
Registered User
 
blatboy's Avatar
 
Join Date: Mar 2017
Location: NYC/USA
Posts: 60
For the record, I'm copying the games over again and will tell you the exact error when it happens in a few hours...

blatboy is offline  
Old 22 March 2017, 03:48   #331
blatboy
Registered User
 
blatboy's Avatar
 
Join Date: Mar 2017
Location: NYC/USA
Posts: 60
The error is "Wrong Bitmap block ID"

This time, I got the mouse pointer going crazy bug, so I wasn't able to hit "OK" which would give me more errors in the past... and lock up if I tried to fix it with PFSdoctor



with the mouse pointer going everywhere, it took me a long time to finally get the screen to show enough of the destination window (lister) to see that it says 3K in use 0% full... which makes me think it "rolled over" after 4G. I don't understand why this is happening. I thought I set up everything correctly?



Any ideas would be greatly appreciated.
blatboy is offline  
Old 22 March 2017, 09:47   #332
fgh
Registered User
 
Join Date: Dec 2010
Location: Norway
Posts: 820
Not sure. I don't know the SCSI2SD but from what I've understood, you need to configure it with card size etc in the scsi2sd software for it to work at all, so it might be doing other unusual things as well. I'd ask the author for support.

Other than that, afaik the A3000 scsi should work fine with direct scsi, and so should pfs3aio, so there should not be a 4gb limit any more. (drive size, not partition size btw)
You are sure it's the aio version in use, and not regular pfs3?
(in that case use the pds dostype)
You mention a scsi.device patch, which is more important on a600/1200/4000 ide.
IIRC setpatch for 3.9 should add NSD support, but if you really want to patch it, make sure you are using the a3000 version, and verify that it's loaded with 'version scsi.device' afterwards.

/ Frode, ex Trombone player
fgh is offline  
Old 22 March 2017, 10:03   #333
demolition
Unregistered User
 
demolition's Avatar
 
Join Date: Sep 2012
Location: Copenhagen / DK
Age: 43
Posts: 4,190
Quote:
Originally Posted by blatboy View Post
pfs/03 file system using Pfs3aio
maxtransfer: 0x0001FE0
I don't know if that was a typo, but normally one would use 0x1fe00 for maxtransfer, although using a smaller value should not cause any rw-errors (might hurt performance though I guess if you use very small values).

Also, as file system identifier I normally use PDS\03 which tells PFS3 to use Direct SCSI, although I think pfs3aio automatically detects which method the system supports, no matter what identifier you use. But with the regular PFS3, it makes a difference, so I just always use PDS\03.
demolition is offline  
Old 22 March 2017, 10:57   #334
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,532
A3000 ROM scsi.device does not need any updates if direct scsi filesystem is in use. Try without patches and make sure dos type is PDS3 (or PDS<whatever>) to force PFS3aio to use directscsi, without it TD64 and NSD is attempted first.

Another easy test is to create partition at the end of the drive (small partition) using A3000, format it, then mount it in WinUAE. If partition fails to mount: something is wrong, possibly with scsi2sd.

(also repeating again and again: max transfer is only needed with A600/A1200/A4000 IDE.)
Toni Wilen is offline  
Old 22 March 2017, 11:02   #335
demolition
Unregistered User
 
demolition's Avatar
 
Join Date: Sep 2012
Location: Copenhagen / DK
Age: 43
Posts: 4,190
Quote:
Originally Posted by Toni Wilen View Post
(also repeating again and again: max transfer is only needed with A600/A1200/A4000 IDE.)
But wouldn't it also be fine to use a MaxTransfer value of 0x1fe00 with other controllers or would it hurt performance? I guess it would be easier for people to just use one value for all machines, instead of having to remember which machines needs it to be lowered. It would also make it possible to move a drive from one machine to another if the lowest common denominator is used.
demolition is offline  
Old 22 March 2017, 11:25   #336
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,532
Quote:
Originally Posted by demolition View Post
But wouldn't it also be fine to use a MaxTransfer value of 0x1fe00 with other controllers or would it hurt performance? I guess it would be easier for people to just use one value for all machines, instead of having to remember which machines needs it to be lowered. It would also make it possible to move a drive from one machine to another if the lowest common denominator is used.
Yes, thats true but as long as max transfer myth exists, I'll refuse to stop!

Technically it may affect performance if program does lots of big reads or writes but it probably isn't noticeable.
Toni Wilen is offline  
Old 22 March 2017, 17:21   #337
blatboy
Registered User
 
blatboy's Avatar
 
Join Date: Mar 2017
Location: NYC/USA
Posts: 60
CF / SD and large drives FAQ

Thanks! I'm boarding a plane. I'll try your suggestions... esp changing pfs/03 to pds/03 and reinstating the original scsi.device from 3.9. Will try the small partition at the end of the drive too.

I'm pretty sure I've set up the scsi2sd card correctly. I've been using it for a while and otherwise seems to work ok. That said, anything is possible.

I'll get back to you in a day or two. Thanks so much for the suggestions!!!!


Sent from my iPhone using Tapatalk
blatboy is offline  
Old 23 March 2017, 08:12   #338
Jope
-
 
Jope's Avatar
 
Join Date: Jul 2003
Location: Helsinki / Finland
Age: 43
Posts: 9,869
What I noticed with the scsi2sd is, that it stores its configuration to the last two blocks of the SD card. As a result I didn't dare give those two blocks to the virtual device I configured in there, even though it would have allowed me to do it.. I couldn't quickly find any documentation on that either.
Jope is offline  
Old 23 March 2017, 19:49   #339
blatboy
Registered User
 
blatboy's Avatar
 
Join Date: Mar 2017
Location: NYC/USA
Posts: 60
Ok... did more testing.

replaced original scsi.device
changed pfs/03 to pds/03
changed max transfer 0x1fe00 just because I'm superstitious
added a 260mb partition at the end of DH2 -- seems to mount ok

there was a change... an odd one.
check4gb now reports *NT on the two DH2 partitions, but not on the DH1 partitions. I'm assuming *NT means not terminated?
The SCSI2SD card is set to be terminated, and I get an ok from check4gb on the 2GB DH1
This is odd as both DH1 and DH2 are on the same SD card, yes?
doing a check with pfs doctor gives me the same "PFS Doctor failed to access the disk above the 4G boundary after attempting both direct SCSI and td64. Continuing can be dangerous" warning as before


Just for the record, the global options on the SCSI2SD card are:

Enable SCSI terminator (checked)
Startup delay (seconds) 0
SCSI Selection Delay (ms, 255=auto) 255

and all these are NOT checked:
  • Enable Parity
  • Enable Unit Attention
  • Enable SCSI2 Mode (the a3000 is SCSI2, isn't it?)
  • Enable disk cache (experimental)
  • Enable SCSI Disconnect
  • Respond to short SCSI selection pulses
  • Map LUNS to SCSI IDs

I have to run to work... will do more testing tonight and/or tomorrow if I can.

blatboy is offline  
Old 23 March 2017, 19:55   #340
blatboy
Registered User
 
blatboy's Avatar
 
Join Date: Mar 2017
Location: NYC/USA
Posts: 60
Quote:
Originally Posted by Jope View Post
What I noticed with the scsi2sd is, that it stores its configuration to the last two blocks of the SD card. As a result I didn't dare give those two blocks to the virtual device I configured in there, even though it would have allowed me to do it.. I couldn't quickly find any documentation on that either.
Good to know. Thanks!

As of now, I have about 6GB free at the end of the card, but I'll be sure to leave space at the end if/when I add more drives to the card.
blatboy 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
Large Hard-Drives (over 4gb) keitha1200 support.Hardware 4 20 April 2012 08:09
GVP 4.15 Roms & Large Hard drives... Info-Seeker support.Hardware 21 09 August 2010 12:06
What sort of Filemaster to use with large drives? Ebster support.Apps 4 08 February 2009 17:53
replacing amiga floppy drives with hard drives Gordon support.Hardware 2 06 March 2007 00:44
Large hard drives and WB3.0... darkwave support.Hardware 3 05 July 2004 03:19

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 05:10.

Top

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