Welcome, Guest. Please login or register.

Author Topic: Anyone working on PFS3 ??  (Read 18136 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: Anyone working on PFS3 ??
« Reply #14 from previous page: June 10, 2011, 11:32:22 PM »
@Franko

You asked for proof and I provided it. Care to explain how my proof is incorrect?
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: Anyone working on PFS3 ??
« Reply #15 on: June 10, 2011, 11:49:13 PM »
Quote from: Franko;644111
The only problems you will encounter are application displaying the wrong file size as most were written never expecting to take files of >4GB into account... :)
With AmigaOS 3.x that would be all applications. APIs in AmigaOS 3.x can only represent a 32bit number for the file size.

Only applications reading up until EOF will work properly. Any AmigaOS 3.x application that actually queries the file size first before processing that amount of data will fail. Many applications seeking in a file will fail randomly as negative return value from Seek() was commonly considered an error.

Oh I'm sorry for giving you more technically correct and factual information. You may yell "YOU'RE WRONG!" if that makes you feel any better.
« Last Edit: June 10, 2011, 11:52:50 PM by Piru »
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: Anyone working on PFS3 ??
« Reply #16 on: June 11, 2011, 12:19:39 AM »
Quote from: Karlos;644120
You'd actually need 43 bits to represent that value (unsigned). Logarithms FTW ;)
Actually 33 bits. TD_GETGEOMETRY and RDB use block offsets, not byte offsets.
« Last Edit: June 11, 2011, 12:23:06 AM by Piru »
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: Anyone working on PFS3 ??
« Reply #17 on: June 11, 2011, 02:53:25 PM »
Quote from: Karlos;644219

MorphOS: Yes, Harry is working on that.
AROS: ?
OS4: ?
OS3: ?

Currently almost all changes are generic. Of course the OS3 version is directly benefiting from the changes being made. There's only one SVN tree that has everything. Assuming the file system is ported to AROS and OS4 it'd be highly desirable to have those changes in the same SVN as well.

Anyone wishing to contribute should contact mr Pelt over sourceforge.
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: Anyone working on PFS3 ??
« Reply #18 on: June 11, 2011, 09:36:33 PM »
Quote from: x303;644283
So what compiler are you using ?

ppc-morphos-gcc and SAS/C 6.58

Quote
I've tried to compile it myself with SAS/C and VBCC

VBCC is unlikely to work. Currently things build with SAS/C and gcc.
Quote
but it only gives me lots of errors of non existing items (IPTR, DOSBase->dl_Root [dl_root only exists in dos/dosextens.i, not .h] ,

It builds with SAS/C 6.58 and NDK 3.9 includes at least:
http://www.haage-partner.de/download/AmigaOS/NDK39.lha

Quote
gadgets/progress.h missing).

gadgets/progress.h is in pfs-amiga/PFSDoctor/trunk. If you don't want to copy it you can modify the pfs-amiga/PFSDoctor/SCOPTIONS file and add: INCDIR=include: INCDIR=include
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: Anyone working on PFS3 ??
« Reply #19 on: June 11, 2011, 10:47:24 PM »
Quote from: x303;644304
Well, in pfs3.h there's a line which says: '#if defined(__GNUC__) || defined(__VBCC__)'. So I thought it might also be build on VBCC.

Well, I don't know if it does. All I know is that it does build with gcc and SAS/C.

Quote
Strangely DOSBase->dl_root is in dosextens.h from NDK3.9, but not in the newer version v 1.170 that says 'Copyright (C) 1985-2005 Hyperion Entertainment VOF and Amiga, Inc.'

I see, Hyperion is at it again breaking legacy compatibility. I'd recommend you do NOT use OS4 includes then.

Quote
No. It's not there. Please add.

Hmm, I guess I have it there locally then. There are some uncommitted changes in the 68k build since I didn't want to touch those in too many ways.

The official build instructions are in the README file. I think you'd better follow those instructions.
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: Anyone working on PFS3 ??
« Reply #20 on: June 27, 2011, 12:53:31 PM »
@Cosmos

Use the bug tracker, please. Also, please include output from check4gb.
« Last Edit: June 27, 2011, 12:59:30 PM by Piru »
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: Anyone working on PFS3 ??
« Reply #21 on: June 29, 2011, 07:48:37 PM »
Quote from: Cosmos;647301
@Piru

This new version of Pfs3 give uninitialised partitions beyond the 4 Gb border : "Write Error -3 on block 0" when used with the scsi 43.45 (Boing Bag 2) burned on eprom...

For whatever reason this device doesn't appear to have a working HD_SCSICMD interface (DirectSCSI). This is indicated by the Check4GB output as well (no S).

This doesn't explain why old PFS3 supposedly works. I suspect some problem with your testing method rather than that the old PFS3 would actually be working.
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: Anyone working on PFS3 ??
« Reply #22 on: June 30, 2011, 07:54:04 AM »
Quote from: Cosmos;647706
Unbelievable... The v18.3 is working fine, YOU made some changes and bump to v18.4...
I did not bump the filesystem version.
Code: [Select]
    2   michielp #define REVISION "18.4"
     2   michielp #define REVDATE  "11.09.99"
     2   michielp #define REVTIME  "18:02:53"
     2   michielp #define AUTHOR   "Michiel Pelt"
     2   michielp #define VERNUM   18
     2   michielp #define REVNUM   4

Quote
v18.4 give now partitions uninitialised beyond the 4 Gb border, and it's ME the culprit...
v18.5 is the official PFS3 without any of my changes. If it fails then I can't see how this could be my fault.

Finally: The svn version is a work in progress. Anyone using this snapshot is doing so with the knowledge that things may be in flux. I strongly suggest you avoid using random svn builds and rather use the official v18.5 for now.
« Last Edit: June 30, 2011, 07:56:14 AM by Piru »
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: Anyone working on PFS3 ??
« Reply #23 on: June 30, 2011, 08:01:01 AM »
Quote from: Cosmos;647301
used with the scsi 43.45 (Boing Bag 2)
Really? Isn't that 43.45 some unofficial patch from aminet?
http://aminet.net/package/driver/media/SCSI4345p

Code: [Select]
THIS PATCH IS COMPLETELY UNOFFICIAL. IT HAS NOT BEEN APPROVED BY AMIGA INC.
OR BY HAAGE & PARTNER. BY USING IT ON YOUR SYSTEM, YOU ACCEPT THE ENTIRE
RISK AS TO ITS QUALITY AND PERFORMANCE.
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: Anyone working on PFS3 ??
« Reply #24 on: June 30, 2011, 02:24:02 PM »
Quote from: Cosmos;647725
When coders add some new changes on some sources, they bump the version or the revision numbers...

The source committed to SVN was for earlier PFS3 version (iirc PFS3 5.2 aka 18.4), since the very last src were lost. The source code has since been brought up to date and the current SVN should match the PFS3 5.3 (18.5) in features. See here: http://sourceforge.net/tracker/?func=detail&aid=3285730&group_id=532591&atid=2163218

The SVN "trunk" version is work in progress (and as such the revision hasn't been touched yet). The SVN trunk version isn't guaranteed to be stable at any given moment. Obviously there's nothing we can do to prevent anyone from releasing snapshot builds, but I would appreciate it if any such release would be accompanied with a warning about it being only a snapshot build.
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: Anyone working on PFS3 ??
« Reply #25 on: June 30, 2011, 02:26:01 PM »
Quote from: Cosmos;647730
Pfs3 versions uploaded on Aminet in 2011 :

- binaries => v18.3
- sources => v18.4

http://aminet.net/package/disk/misc/PFS3_53 contains v18.5 though.