17 December 2022, 11:42 | #1161 | |||
Paranoid Amigoid
Join Date: Mar 2008
Location: Athens/Greece
Age: 45
Posts: 1,978
|
Quote:
Quote:
Quote:
The thing though is: - I have issues with FFS despite wanting to go with it as part of the new OS3.2 system (validation errors probably due to the fact of deleting Hard Links). - SFS is not advised by ThoR (saw a post from an older thread - as it's old not supported product with some issues) - PFS3 is fast and stable and but doesn't support 4kb block size (which kinda sux for large volumes but it is what it is) and it has that kinda annoying delay. I dont' see much options concerning my setup... and when I have issues but no answers, I have to go with whatever I have... If I can help in any way, troubleshooting anything (as I always do) I'm all ears |
|||
17 December 2022, 11:46 | #1162 |
Registered User
Join Date: Jan 2019
Location: Germany
Posts: 3,303
|
I haven't seen much issues using hard links as I'm also using them - but as always, any instruction as how to reproduce it would certainly be appreciated.
|
17 December 2022, 12:05 | #1163 | |
Paranoid Amigoid
Join Date: Mar 2008
Location: Athens/Greece
Age: 45
Posts: 1,978
|
Quote:
So in startup: - I delete ENVARC:Sys/ScreenMode.prefs and then - based on detection of WinUAE, WinUAE with RTG, my Vampire V2, my Vampire V4SA or plain Amiga I'm hardlinking the actual saved file into ENVARC:Sys/ScreenMode.prefs - The same happens for DEVS:Picasso96Settings file (where I have multiple saved configs) Other files I have hardlinked (that never produced a problem as they don't interact in startup) are: ENVARC:MagicMenu.prefs ENVARC:TitleShadow.prefs ENVARC:Sys/Font.prefs ENVARC:Sys/FullPalette.prefs ENVARC:Sys/GUI.prefs ENVARC:Sys/WBPattern.prefs ...which are all part of my Theme application scripts. I can share files or evern hdf file if needed. The patches I use are: - StackAttack2 (not needed but many apps request bigger stack and I have to add it manually) - SaferPatches - PoolMem - CopyMem080 (from Apollo Team) or CopyMemAIO (on non Vampire) - MCP with minimum patches enabled (but can analyze if needed) - MemTrailer For Visuals I use: - TitleShadow - VisualPrefs - Birdie - MagicMenu (ye I know you don't like it) - ReqAttack - SwazInfo (ye I know we have RAWBInfo but still prefer it due to some reasons) - ToolsDaemon (will replace in the future with MenuTools) - WBDock2 |
|
17 December 2022, 12:09 | #1164 | |||
Registered User
Join Date: Aug 2010
Location: Germany
Posts: 532
|
Quote:
Quote:
Basically, if you delete a hard link, the file system has to make sure that any remaining hard links referencing the same "real" file/directory will be consistent. If your volume's metadata blocks are corrupted for one reason or another, this could shake the tree and something might drop out Quote:
512 byte blocks might just be the sweet (and sour) spot for now... |
|||
17 December 2022, 12:16 | #1165 |
Retro Freak
Join Date: Nov 2001
Location: Slovenia
Age: 51
Posts: 1,665
|
|
17 December 2022, 12:23 | #1166 |
Paranoid Amigoid
Join Date: Mar 2008
Location: Athens/Greece
Age: 45
Posts: 1,978
|
I guess there are other ways to do so, but I use Showboards command which is part of BoardsLib (you can get on Aminet).
To detect WinUAE you just detect "UAE - Magic Device Emulation" with ID 82 Code:
C:ShowBoards MID=2011 PID=82 >NIL If NOT WARN <commands as WinUAE detected> Else <commands as WinUAE NOT detected> EndIf Code:
C:ShowBoards MID=2011 PID=96 >NIL If NOT WARN <commands as WinUAE RTG detected> Else <commands as WinUAE NOT RTG detected> EndIf |
17 December 2022, 12:41 | #1167 | |
Retro Freak
Join Date: Nov 2001
Location: Slovenia
Age: 51
Posts: 1,665
|
Quote:
|
|
17 December 2022, 12:43 | #1168 | |
Paranoid Amigoid
Join Date: Mar 2008
Location: Athens/Greece
Age: 45
Posts: 1,978
|
Quote:
Code:
7.System:> MountInfo DH0: debug dol_Type = DLT_DEVICE dol_Task = 0x400026EC dol_Lock = NULL dol_Handler = NULL dol_StackSize = 2048 dol_Priority = 10 fssm_Device = "uaehf.device" fssm_Unit = 1 fssm_Flags = 0 de_TableSize = 16 de_SizeBlock = 512 bytes de_SecOrg = 0 de_Surfaces = 16 de_SectorPerBlock = 1 de_BlocksPerTrack = 63 de_Reserved = 2 de_PreAlloc = 0 de_Interleave = 65536 de_LowCyl = 2 de_HighCyl = 1017 de_NumBuffers = 200 de_BufMemType = MEMF_PUBLIC de_MaxTransfer = 130560 de_Mask = 0x7FFFFFFE de_BootPri = 4 de_DosType = PDS\3 0x50445303 (different signature on disk = PFS\1 0x50465301) dol_SegList = 0x4001B0C4 dol_GlobVec = -1 dol_Name = "DH0" |
|
17 December 2022, 12:52 | #1169 | |
Registered User
Join Date: Jan 2019
Location: Germany
Posts: 3,303
|
Quote:
Thus, please run a clean system, try again. |
|
17 December 2022, 12:57 | #1170 | |
Registered User
Join Date: Jan 2019
Location: Germany
Posts: 3,303
|
Quote:
Thus, if partition bounds are aligned to 4K boundaries, which is what HDToolBox does by default now anyhow, it should be good. The SCSI (actually "IDE") device translates the SCSI-Read command directly into an IDE command, but there is probably a weak spot because which IDE command to use is a bit tricky as there are multiple ones, and some have a maximum block size limit they can read in one go, so the scsi.device has to break up the transfer into multiple transfers. This is were all the problems with MAXTRANSFER and the scsi.device in 3.1 (and even 3.1.4) came from. |
|
17 December 2022, 13:03 | #1171 | |
Paranoid Amigoid
Join Date: Mar 2008
Location: Athens/Greece
Age: 45
Posts: 1,978
|
Quote:
Your reply was expected and it's clearly understandable so I will disable all of these and stay for a few days and see if something goes wrong. Then again, I'm on PFS3 now anyway... MemTrailer is a shell command for the startup-sequence by PeterK which patches the AllocMem() and the FreeMem() exec functions. It adds 16 to 96 bytes as a trailer to prevent trashed memory. Last edited by mfilos; 17 December 2022 at 13:09. |
|
17 December 2022, 13:12 | #1172 | |
Registered User
Join Date: Jan 2019
Location: Germany
Posts: 3,303
|
Quote:
You find a lot of information on what particular system components expect from AllocMem() in the PoolMem readme, and this not quite according to the rules. In particular, it may interact badly with various "AllocAligned()" implementations. If you want to *test* for bad memory allocations or overruns, please use tools such as WipeOut by Olaf (without an MMU) or MuGuardianAngel (if an MMU is available) as those will in many cases tell you which program to blame. |
|
17 December 2022, 13:25 | #1173 | |
Registered User
Join Date: Aug 2010
Location: Germany
Posts: 532
|
Quote:
Now, what about your FFS partitions? Did they use the same setup? |
|
17 December 2022, 13:27 | #1174 | |
Registered User
Join Date: Aug 2010
Location: Germany
Posts: 532
|
Quote:
|
|
17 December 2022, 13:30 | #1175 |
Registered User
Join Date: Aug 2010
Location: Germany
Posts: 532
|
If you need a tool for this purpose, you may put yourself into deeper troubles. Memory corruption almost always has a hard to detect source on the Amiga. This is how it is, and trying to paper it over will not resolve it. It will come back at you in a different and even more irritating form. Do not go there, it will only serve to make you miserable.
|
17 December 2022, 13:38 | #1176 | ||
Paranoid Amigoid
Join Date: Mar 2008
Location: Athens/Greece
Age: 45
Posts: 1,978
|
Quote:
I attach a screenshot from the same CF under my Vampire V4SA using the scsi.device. When I was using FFS I was using exactly the same partitions (only changed the Filesystem, Blocksize and Buffers) Quote:
I'm no programmer, but I'm a long time enthusiast trying to understand and troubleshoot my problems without busting other people's balls. Sometimes and if not reading through forums help, I tend to ask in case I get helped and that's all. Not trying to play the smartass, or being disrespectful... On the contrary! Just feeling rather weird having issues while AmiKit with 100+ patches watches me and laughs :P Last edited by mfilos; 17 December 2022 at 15:01. |
||
18 December 2022, 12:09 | #1177 | ||
Registered User
Join Date: Aug 2010
Location: Germany
Posts: 532
|
Quote:
Quote:
When the FFS validation process is running, it will keep the bitmap blocks in memory, which indicate the locations of the on-disk data structures that still need to be looked over. Now imagine that there is a program running on your Amiga which accidentally corrupts the bitmap contents while the validation is in progress. That corruption may have the effect of telling the validator to look into on-disk data structures which are simply not there. It will stop and complain, never finishing the process. This kind of memory corruption is very hard to spot and trace back to its origin. I myself spent more than a year trying to find the cause of what made my Amiga Samba 2.0.4 port crash & burn. It turned out that I had made a mistake when implementing the clib2 library which enabled the port to be made. That mistake corrupted data structures which Samba needed when processing its configuration files on startup. The reason why I'm bringing this up is that the more runtime patches your system carries, the harder it becomes to gauge where memory corruption may have been responsible for random behaviour. In software development, especially on the Amiga, chasing down a memory corruption bug starts with dialing down the number of dependencies which may cause the havoc, such as the Amiga OS runtime patches. Then you enable them one at a time, retesting, etc. until you either manage to reproduce the problem or find a different angle to identify the cause of the problem. Certain software, such as the file systems, are particularly vulnerable to memory corruption because the corrupted data in memory may find its way back to disk, causing persistent corruption. What you wrote so far on the issues with the FFS suggests to me that because it is so vulnerable, something may be corrupting your memory. Last edited by Olaf Barthel; 18 December 2022 at 13:33. |
||
18 December 2022, 17:57 | #1178 |
Registered User
Join Date: Nov 2015
Location: Italy
Posts: 192
|
|
18 December 2022, 19:45 | #1179 | |
Paranoid Amigoid
Join Date: Mar 2008
Location: Athens/Greece
Age: 45
Posts: 1,978
|
Quote:
I also found some weird behavior concerning the Title Bar change feature of Workbench Prefs. I have a CPU/FPU/Chipset/VideoMode ENVARC variable set by AmigaT (thanks @Romanujan for the idea). (I know that OS3.2.1 has embedded variables for CPU/FPU but it shows FPGA for my Vampire and wanted to change that) I want to assign the variables to the TitleBar using the new Workbench Prefs feature. Using %e identifier I can pass ENV variables just fine but ONLY if they have SPACE between them. If I use them without SPACE then they aren't previewed. Maybe using a smarter way of defining the ENV variable ( like MCP does with Start and Stop characters like %ev<variable>? ) then it wouldn't be a problem... just a hint Check screenshot bellow: Last edited by mfilos; 19 December 2022 at 14:59. |
|
19 December 2022, 16:53 | #1180 | |
Registered User
Join Date: Sep 2018
Location: Canada
Posts: 79
|
Quote:
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Hively Tracker by Iris and Up Rough released for AmigaOS 4.0 | spotUP | News | 14 | 12 June 2014 19:00 |
KryoFlux FREE for AmigaOS Classic released | mr.vince | News | 32 | 23 March 2014 19:59 |
AmigaOS 3.9 | PoLoMoTo | support.WinUAE | 8 | 27 August 2011 18:06 |
AmigaOS | koncool | request.Apps | 6 | 04 June 2003 17:45 |
Amigaos 4 Released!!!! | th4t1guy | Amiga scene | 13 | 03 April 2003 09:52 |
|
|