Welcome, Guest. Please login or register.

Author Topic: Cloanto's Kickstart ROM 3.X and SFS  (Read 4114 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Amigo1Topic starter

  • Newbie
  • *
  • Join Date: Sep 2010
  • Posts: 13
    • Show only replies by Amigo1
Cloanto's Kickstart ROM 3.X and SFS
« on: February 11, 2018, 09:36:57 AM »
Hi,

has anyone with Cloanto's 3.X Kickstart ROM replacement for the A1200 noticed anything strange when using SmartFileSystem?

I had never used SFS on a 68k Amiga and did so for the first time after installing the 3.X ROMs.
All non-FFS partitions have an "additional" ghosted icon on the workbench. (for example "DH0:SFS\0")

This happens with all versions of the OS, from 3.1 to 3.9.

After watching countless tutorials I thought I was going crazy and fired up AmigaForever 7.

I could reproduce it very clearly. When using 3.X ROMs, the additional drive icons appear on WB.

Using the "Hidden Devices" option in "Workbench Prefs" does not help. There is only one entry for each partition, but strangely enough they are not consistent with the other ones: only the drive name is displayed (e.g. DH0) instead of the Partition name (Workbench3.1) as for the other FFS Partitions.

I checked with 3.1 ROMs and the latest BoingBag version (1.41) as I supposed some newer component was producing this, but apparently the issue occurs only when using 3.X ROMs.

So does anyone know a workaround?
 

guest11527

  • Guest
Re: Cloanto's Kickstart ROM 3.X and SFS
« Reply #1 on: February 11, 2018, 10:10:30 AM »
Quote from: Amigo1;836026
I had never used SFS on a 68k Amiga and did so for the first time after installing the 3.X ROMs.
All non-FFS partitions have an "additional" ghosted icon on the workbench. (for example "DH0:SFS\0")

This happens with all versions of the OS, from 3.1 to 3.9.
This is a bug in SFS, and one of the reasons why I am so skeptical about third party file systems. The best workaround: Don't use SFS. Is it still supported to get the bug fixed? No.

From a purely technical perspective: SFS fills info->id_DiskState with the partition identifier (SFS\0) instead of the disk state (which should be DOS\0 for a validated disk), and hence workbench is confused. The matter is subtle, and it is easy to confuse one with the other, even more so since the same happened in the FFS which - again by a historical accident - uses DOS\n (n=0...8) instead of DOS\0 for the disk state. Other tools will be confused by this as well.
 

Offline Amigo1Topic starter

  • Newbie
  • *
  • Join Date: Sep 2010
  • Posts: 13
    • Show only replies by Amigo1
Re: Cloanto's Kickstart ROM 3.X and SFS
« Reply #2 on: February 11, 2018, 10:38:25 AM »
Quote from: Thomas Richter;836029
This is a bug in SFS, and one of the reasons why I am so skeptical about third party file systems. The best workaround: Don't use SFS. Is it still supported to get the bug fixed? No.

From a purely technical perspective: SFS fills info->id_DiskState with the partition identifier (SFS\0) instead of the disk state (which should be DOS\0 for a validated disk), and hence workbench is confused. The matter is subtle, and it is easy to confuse one with the other, even more so since the same happened in the FFS which - again by a historical accident - uses DOS\n (n=0...8) instead of DOS\0 for the disk state. Other tools will be confused by this as well.


Wahoo, what a quick reply! Thanks! :):)

Thanks for the technical explanation as well.

My aim was to speed up file operations and boot time on the cosy A1200 a bit.

Although your hint about third party FileSystems, I'll give PFS3 a shot and report here for completeness.

If it does have some quirks too, I'll revert back to FFS; but as I'm at it, to the latest version (should be 45.16 AFAIK).

FastFileSystem has served well for the last 2 decades anyway.. ;)

Amigo1
 

Offline matt3k

Re: Cloanto's Kickstart ROM 3.X and SFS
« Reply #3 on: February 11, 2018, 11:18:00 AM »
I have used pfs2 and pfs3 since the 90's.  

They run stable and very fast.

The only thing to remember is that is you use a processor specific version that it may not be portable to another system.

Quote from: Amigo1;836030
Wahoo, what a quick reply! Thanks! :):)

Thanks for the technical explanation as well.

My aim was to speed up file operations and boot time on the cosy A1200 a bit.

Although your hint about third party FileSystems, I'll give PFS3 a shot and report here for completeness.

If it does have some quirks too, I'll revert back to FFS; but as I'm at it, to the latest version (should be 45.16 AFAIK).

FastFileSystem has served well for the last 2 decades anyway.. ;)

Amigo1
 

Offline Romanujan

  • Newbie
  • *
  • Join Date: Aug 2010
  • Posts: 37
    • Show only replies by Romanujan
Re: Cloanto's Kickstart ROM 3.X and SFS
« Reply #4 on: February 11, 2018, 12:25:44 PM »
Go to http://www.doobreynet.co.uk/amiga.html and try the SFS patch - it should fix the ghosted icon problem.
 

Offline Amigo1Topic starter

  • Newbie
  • *
  • Join Date: Sep 2010
  • Posts: 13
    • Show only replies by Amigo1
Re: Cloanto's Kickstart ROM 3.X and SFS
« Reply #5 on: February 12, 2018, 07:12:05 PM »
Thanks for the info! :-)
 

Offline kolla

Re: Cloanto's Kickstart ROM 3.X and SFS
« Reply #6 on: February 13, 2018, 03:48:32 AM »
Are there alternatives to SFS if you need filesystem that works across all amiga derivatives as well as other OSes like Linux? Apart from FAT32 that is.
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

guest11527

  • Guest
Re: Cloanto's Kickstart ROM 3.X and SFS
« Reply #7 on: February 13, 2018, 06:33:37 AM »
Quote from: kolla;836079
Are there alternatives to SFS if you need filesystem that works across all amiga derivatives as well as other OSes like Linux? Apart from FAT32 that is.
FFS works on Linux, as long as you don't pick the Dircache variant.

If you think about it, this is so different from the situation on the Amiga, either...
 

Offline kolla

Re: Cloanto's Kickstart ROM 3.X and SFS
« Reply #8 on: February 13, 2018, 11:34:08 AM »
FFS exists in so many variants that I have lost overview of which implementations are supported in which OSes, and what the consequences are if you mount one type of FFS as some other variant etc.
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

Offline psxphill

Re: Cloanto's Kickstart ROM 3.X and SFS
« Reply #9 on: February 13, 2018, 02:13:59 PM »
Quote from: Thomas Richter;836029
From a purely technical perspective: SFS fills info->id_DiskState with the partition identifier (SFS\0) instead of the disk state (which should be DOS\0 for a validated disk),


According to the include file, it should be the number 82 for a validated disk.

struct InfoData {
   LONG     id_NumSoftErrors;   /* number of soft errors on disk */
   LONG     id_UnitNumber;   /* Which unit disk is (was) mounted on */
   LONG     id_DiskState;      /* See defines below */
   LONG     id_NumBlocks;      /* Number of blocks on disk */
   LONG     id_NumBlocksUsed;   /* Number of block in use */
   LONG     id_BytesPerBlock;
   LONG     id_DiskType;      /* Disk Type code */
   BPTR     id_VolumeNode;   /* BCPL pointer to volume node (see DosList) */
   LONG     id_InUse;      /* Flag, zero if not in use */
}; /* InfoData */

/* ID stands for InfoData */
   /* Disk states */
#define ID_WRITE_PROTECTED 80    /* Disk is write protected */
#define ID_VALIDATING      81    /* Disk is currently being validated */
#define ID_VALIDATED      82    /* Disk is consistent and writeable */
 

guest11527

  • Guest
Re: Cloanto's Kickstart ROM 3.X and SFS
« Reply #10 on: February 13, 2018, 02:57:33 PM »
Quote from: psxphill;836091
According to the include file, it should be the number 82 for a validated disk.
Argh. id_DiskType, of course.
 

Offline psxphill

Re: Cloanto's Kickstart ROM 3.X and SFS
« Reply #11 on: February 13, 2018, 10:40:39 PM »
Quote from: Thomas Richter;836095
Argh. id_DiskType, of course.


Well to me it looks like SFS should be putting SFS\0 in there and if something can't cope with that then that is to blame not SFS.

/* ID_INTER_* use international case comparison routines for hashing */
#define ID_NO_DISK_PRESENT   (-1)
#define ID_UNREADABLE_DISK   (0x42414400L)   /* 'BAD\0' */
#define ID_DOS_DISK      (0x444F5300L)   /* 'DOS\0' */
#define ID_FFS_DISK      (0x444F5301L)   /* 'DOS\1' */
#define ID_INTER_DOS_DISK   (0x444F5302L)   /* 'DOS\2' */
#define ID_INTER_FFS_DISK   (0x444F5303L)   /* 'DOS\3' */
#define ID_NOT_REALLY_DOS   (0x4E444F53L)   /* 'NDOS'  */
#define ID_KICKSTART_DISK   (0x4B49434BL)   /* 'KICK'  */
#define ID_MSDOS_DISK      (0x4d534400L)   /* 'MSD\0' */
 

guest11527

  • Guest
Re: Cloanto's Kickstart ROM 3.X and SFS
« Reply #12 on: February 14, 2018, 06:45:33 AM »
Quote from: psxphill;836111
Well to me it looks like SFS should be putting SFS\0 in there and if something can't cope with that then that is to blame not SFS.

And this is the error most people make. No, this is NOT the partition type,  but rather DOS\0 to indicate a readable disk. Randy did that mistake in FFS, and then everybody believed to copy this mistake. Trick question: What does RAM: put there?
 

Offline psxphill

Re: Cloanto's Kickstart ROM 3.X and SFS
« Reply #13 on: February 14, 2018, 01:01:47 PM »
Quote from: Thomas Richter;836125
And this is the error most people make. No, this is NOT the partition type,  but rather DOS\0 to indicate a readable disk. Randy did that mistake in FFS, and then everybody believed to copy this mistake.Trick question: What does RAM: put there?

That is brilliant example of "look at all those soldiers marching, my son is the only one marching in time".

From the way the structure is named, RAM: should put RAM\0 in there. If what you're saying is true, then the person who wrote that structure was not very good at their job & whether it's readable should have been part of id_DiskState.
 

Offline kolla

Re: Cloanto's Kickstart ROM 3.X and SFS
« Reply #14 on: February 14, 2018, 01:32:05 PM »
Quote from: psxphill;836128
If what you're saying is true, then the person who wrote that structure was not very good at their job.

Quick and dirty, no thought of supporting other filesystems than those shipping with it.
« Last Edit: February 14, 2018, 01:35:26 PM by kolla »
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS