![]() |
![]() |
#1 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,611
|
PFS3AIO v3.1 Final
PFS3AIO 3.1 is now available from Aminet.
http://aminet.net/disk/misc/pfs3aio.lha 3.1 --- - TD64 support check false negative fixed, v3.0 rejected many TD64 capable HD controllers. - Always re-execute access mode test when removable drive is inserted and before formatting. - Set default stack size back to original default of 4000 bytes from old AROS compiled value of 6000. Saves stackswap 6k of RAM. - Always execute TD_MOTOR off after idle delay period, some HD controllers only switch off activity led when TD_MOTOR off is executed. - Previous version's (3.0) OS 3.1.4 SCSIDIRECT support was very broken and corrupts the partition. Reformat required if used with v3.0! - Fixed out of bounds buffer read when writing file to disk that does not fill last disk block completely. It was harmless but can for example cause MuGuardianAngel hits. (Original PFS3 bug/optimization) - Return faked (larger than real blocksize) InfoData structure block size value if drive is larger than 16G as a workaround for programs (including WB) that calculate in use percentage using 32-bit "in use * 100 / total" formula where multiplication overflows if size is about 20G or larger with 512 block size. - Removed Direct SCSI scsi_Actual validation after read or write operation. Some SCSI controllers don't update it properly, causing pfs3aio to show disk read or write error requester. Was added in 3.0. - Fixed softlinks, they have never worked previously. (Piru) 26.5.2018 WARNING: Do not use OS 3.1.4 Beta HDToolBox Direct SCSI option with 3.0. It causes pfs3aio v3.0 to create incompatible partition geometry with all other pfs3(aio) versions. Fixed in v3.1. 3.0 --- - Bug fixes, including finally fixed nasty bug causing Wrong Index Block ID (and others) if partition was >=5G and lots of small files were created very quickly, for example unpacking archive with thousands of small files. This bug has most likely existed since PFS3 introduced >=5G partition support. - Compiled with m68k optimized GCC 6 (https://github.com/bebbo/amigaos-cross-toolchain), 16k smaller than previous pfs3aio. - Some HD controllers modify MaxTransfer after filesystem has been initialized, which was ignored by previous versions. - Automatic max transfer limit is only enabled if scsi.device version is v36 or newer and older than v50. - Limit Direct SCSI mode max transfer size to 65535 blocks (~32MB). - Automatically attempt to increase number of buffers if all buffers are in use and more buffers are required. - Added support for new OS 3.1.4 filesystem mount flags. (SCSIDIRECT, SUPERFLOPPY and DISABLENSD). - Shows more detailed information in error requesters (access mode, start block, end block, SCSI details if SCSI Direct) - Includes unsupported and experimental >104G partition support. Shows warning if enabled during formatting. - ACTION_DIE (unmount) stability fix. - Filename changed from pfs3_aio-handler to pfs3aio. -- Includes all previous pfs3aio features: - Full KS 1.x compatibility. - 68000+ compatible. - TD64, NSD and Direct SCSI supported and autodetected. and more... Souces available from https://github.com/tonioni/pfs3aio (and pfsdoctor) Source tree also includes experimental >4G file size (48 bit file length field) support but it is not enabled in this version. Contact me if you want to test it. >104G partition support and >4G file size support requires reformat and on-disk structures are not anymore compatible with old PFS3 or PFSDoctor versions. (https://download.abime.net/winuae/fi...perimental.zip Note: command line only, no GUI like in official pfsdoctor) Last edited by Toni Wilen; 07 May 2021 at 20:45. Reason: Final release |
![]() |
![]() |
#2 |
Ex nihilo nihil
Join Date: Oct 2017
Location: CH
Posts: 5,158
|
Thank you
![]() Will replace my existing hardfile to use this PFS3 test version and report if something unexpected happens. |
![]() |
![]() |
#3 |
Registered User
Join Date: Dec 2014
Location: Netherlands
Posts: 1,408
|
Euh, for me, too stupid to understand. Do I need to install this on HDDs/CFs instead of the pfs3aio_handler and still use the same id?
So I understood wrongly (some of your other posts in a different thead, regarding USB CF adapters) when I thought the bug was in WinUAE, not in PFS3AIO? |
![]() |
![]() |
#4 |
Registered User
Join Date: Dec 2010
Location: Norway
Posts: 845
|
Awesome, I'm glad you guys were able to hunt it down!
|
![]() |
![]() |
#5 |
Ruler of the Universe
Join Date: Mar 2010
Location: Lanzarote/Spain
Posts: 6,196
![]() |
Very wonderful
![]() ![]() |
![]() |
![]() |
#6 |
BoingBagged
Join Date: Aug 2007
Location: The South of nowhere
Age: 46
Posts: 2,358
|
Great!
Thanks. |
![]() |
![]() |
#7 |
Registered User
Join Date: Mar 2013
Location: Lahti / Finland
Age: 53
Posts: 474
|
@toni. If the max partition size was 104*253*253*32 = 213 021 952 blocks, how is it now?
|
![]() |
![]() |
#8 |
Registered User
Join Date: Feb 2016
Location: Denmark
Posts: 333
|
Toni has done a really great job with Michiel Pelt releasing this new PFS3AIO version with nice bug fixes.
I have been using an experimental version of PFS3AIO v19.0 over the weekend stress testing it and could not reproduce the wrong index errors pfsdocfor usually reports after extracting EmeraldMines_v1.0_CD.lha and also seen copying all TimeRunner games. With PFS3AIO v2.3 these two games can cause these errors. My tests was done using 8GB (300MB DH1, 7GB DH1) and 16GB (300MB DH0, 14.1GB DH1) hdf files first installing Workbench 3.1 and all WHDLoad Games. Then extracting EmeraldMines_v1.0_CD.lha a few times and still after this I didn't get any errors ![]() Last edited by cyberhead97; 12 February 2018 at 08:09. Reason: Spelling |
![]() |
![]() |
#9 | |||
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,611
|
Quote:
![]() Quote:
Quote:
104*509*509*32 = ~421G (2k blocks, header + 509 long words) 104*1021*1021*32 = ~1693G (4k blocks, header + 1021 long words) (This is now much more clearly defined in struct.h) There is always chance of some 32-bit calculation overflows in very large partitions but up to 421G mode should be safe. Testing huge partition sizes takes far too much time... |
|||
![]() |
![]() |
#10 |
Registered User
Join Date: Dec 2016
Location: Italy
Posts: 795
|
Thanks Toni, good work !
|
![]() |
![]() |
#11 |
Registered User
Join Date: Oct 2012
Location: Krypton
Posts: 1,230
|
Awesome PFSaio is a must these days for any Amiga user, thanks for ridding us of those nasty bugs Toni !
|
![]() |
![]() |
#12 |
Registered User
Join Date: Dec 2014
Location: Netherlands
Posts: 1,408
|
Thanks Toni! Awesome. I got the block ID errors a lot when copying/unpacking WHDLoad slaves on CFs in emulation. And I also got in once only recently when updating iGame library on a real Amiga.
I always had some sort of a gut feeling these errors eventually resulted in an unstable setup. So this is very welcome. Although I don't look forward redoing all my Amiga setups again :/ |
![]() |
![]() |
#13 |
-
Join Date: Jul 2003
Location: Helsinki / Finland
Age: 44
Posts: 9,964
|
Why would you redo them? Just update the handler in your RDB.
|
![]() |
![]() |
#14 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,611
|
If partition is smaller than 5G: no need to reformat.
If partition is 5G or larger: run pfsdoctor (original version that comes with pfs3 is fine), if no errors found: no need to reformat. If errors found: reformat recommended, pfsdoctor can't fix it properly. EDIT: Note that original pfsdoctor does not support NSD and does not autodetect TD64/Direct SCSI. Last edited by Toni Wilen; 12 February 2018 at 12:58. |
![]() |
![]() |
#15 |
Registered User
Join Date: Dec 2014
Location: Netherlands
Posts: 1,408
|
Oh super, that potentially limits the work a lot indeed!
|
![]() |
![]() |
#16 |
-
Join Date: Jul 2003
Location: Helsinki / Finland
Age: 44
Posts: 9,964
|
I obviously need to put some time aside to test this with all of the SCSI controllers I have hoarded away. I'm especially interested in seeing whether the directscsi problem I had with the GVP Series II is still there.
|
![]() |
![]() |
#17 |
Registered User
Join Date: Jan 2005
Location: Umeå
Age: 44
Posts: 962
|
I am quite sure I have asked you this before, but did all versions of gvpscsi.device suffer from this, or could it be fixed by upgrading to 4.15 which Ralph Babel has made available for free?
|
![]() |
![]() |
#18 |
Registered User
Join Date: Oct 2012
Location: Krypton
Posts: 1,230
|
Just updated my RDB with Toni`s Ver 19 pfs3aio and its all good
![]() Any noobs who want to do this for partitions less then 5gb in size , just extract pfs3aio from Toni`s download then put it into L: directory. Then fire up HDtoolbox, then >, Partition Drive >select your first partition then> tick Advanced Options, >Update > input L: pfs3aio into dialog box > Click OK ( if successful it will change to Ver19 in the window) > Click OK > Save changes to drive. Your done..enjoy ![]() Last edited by supaduper; 12 February 2018 at 17:22. |
![]() |
![]() |
#19 |
-
Join Date: Jul 2003
Location: Helsinki / Finland
Age: 44
Posts: 9,964
|
I always upgrade any GVP I happen to have with the latest on Ralph's site. :-) I probably will not have the motivation to try any other versions but the latest 4.15 and 3.15.
|
![]() |
![]() |
#20 | ||
Registered User
Join Date: Aug 2016
Location: Cresco, PA, USA
Age: 54
Posts: 1,126
|
Quote:
Quote:
If the partition is bigger than 5GB, follow the same instructions as you posted for smaller than 5GB partition then run the original PFSDoctor on it and if no errors I'm good to go? If errors then I need to reformat OR Do I run the original PFSDoctor BEFORE doing this change over? |
||
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
PFS3aio vs SFS/02 | White | support.WinUAE | 10 | 13 April 2018 21:44 |
PFS3AIO Probs ? | Foul | support.FS-UAE | 0 | 21 February 2018 22:49 |
PFS3AIO Questions | manic23 | support.Hardware | 26 | 22 April 2014 13:49 |
Pfs3aio ???? | stingray76 | support.Hardware | 2 | 19 February 2014 09:15 |
FinalWriter 97; FinalCalc 1.04; Final Data 2.00 & Final Copy | aebrown-u | request.Apps | 20 | 12 July 2009 11:19 |
|
|