Amiga.org

A-EON Technology Software => Enhancer Software => Topic started by: FlynnTA on November 20, 2025, 07:07:47 PM

Title: SFSHandler crashes on Reboot/Shutodwn
Post by: FlynnTA on November 20, 2025, 07:07:47 PM
Hi,

I use NGFS for my Boot/AmigaOS and Work partitions. I use SFS/02 on my Backup partition.

When I reboot/shutdown my X5000 with the reboot command or via the Menu option, I see the following crash on the serial output:

Code: [Select]
54.57 (29.7.2023) AmigaOne X5000 release
Machine model: 9 (AmigaOne X5000/20)
Dump of context at 0xEFF2D3E0
Trap type: DSI exception
Current kernel stack pointer: 0x021997A0
DSISR: 00000000  DAR: 7CB854C8
No matching page found
Machine State (raw): 0x0002D030
Machine State (verbose): [Critical Ints on] [ExtInt on] [User] [IAT on] [DAT on]
Instruction pointer: in module dos.library.kmod+0x00022E04 (0x01956FE4)
Crashed process: SFS DosList handler (0x6EA15630)
DSI verbose error description: Access to address 0x7CB854C8 not allowed by page protection in user state (protection violation)
Access was a load operation
Exception Syndrome Register: 0x00000000
 0: DEADBEF0 6CB4FFA0 00000002 6A230DE0 7AB6FBC0 00000008 022DC214 01950DD4
 8: 02015908 DEADBEEF 02010000 1BFC27EA 55A33393 0000000D 6E115210 00007FF8
16: 00000000 00000000 00000000 80000000 0219AD98 00000000 6FF0F2E0 00003FF8
24: 6EA15630 0195F890 6E017EE8 6E9E1430 6EA70000 6DFEC0C0 6A2AABD0 0219AD98
CR: 55A33395   XER: E000006F  CTR: 01956FB4  LR: 018A112C
Temporary stack trace:
#0: in module dos.library.kmod+0x00022E04 (0x01956FE4)
#1: in module kernel+0x0005F2B4 (0x0185F2B4)
#2: in module kernel+0x0005F32C (0x0185F32C)
#3: 0x00000000

msr: 0x00003032
TLB1 (64 entries):
 * [ 49]: size=7 tid = 0 TS = 1 epn=0xFE000000 rpn=0x0000000F_FE000000 WIMG=0x5 XXWWRR=0xF protected
 * [ 50]: size=6 tid = 0 TS = 1 epn=0x01000000 rpn=0x00000000_01000000 WIMG=0x0 XXWWRR=0x7 protected
 * [ 51]: size=6 tid = 0 TS = 1 epn=0x01400000 rpn=0x00000000_01400000 WIMG=0x0 XXWWRR=0x7 protected
 * [ 52]: size=6 tid = 0 TS = 1 epn=0x01800000 rpn=0x00000000_01800000 WIMG=0x0 XXWWRR=0x33 protected
 * [ 53]: size=6 tid = 0 TS = 1 epn=0x01C00000 rpn=0x00000000_01C00000 WIMG=0x0 XXWWRR=0x33 protected
 * [ 54]: size=5 tid = 0 TS = 1 epn=0x02000000 rpn=0x00000000_02000000 WIMG=0x0 XXWWRR=0xF protected
 * [ 55]: size=5 tid = 0 TS = 1 epn=0x02100000 rpn=0x00000000_02100000 WIMG=0x0 XXWWRR=0xF protected
 * [ 56]: size=5 tid = 0 TS = 1 epn=0x02200000 rpn=0x00000000_02200000 WIMG=0x0 XXWWRR=0xF protected
 * [ 57]: size=4 tid = 0 TS = 1 epn=0x02300000 rpn=0x00000000_02300000 WIMG=0x0 XXWWRR=0xF protected
 * [ 58]: size=4 tid = 0 TS = 1 epn=0x02340000 rpn=0x00000000_02340000 WIMG=0x0 XXWWRR=0xF protected
 * [ 59]: size=3 tid = 0 TS = 1 epn=0x02380000 rpn=0x00000000_02380000 WIMG=0x0 XXWWRR=0xF protected
 * [ 60]: size=3 tid = 0 TS = 1 epn=0x02390000 rpn=0x00000000_02390000 WIMG=0x0 XXWWRR=0xF protected
 * [ 61]: size=7 tid = 0 TS = 0 epn=0xFE000000 rpn=0x0000000F_FE000000 WIMG=0x5 XXWWRR=0xF protected
 * [ 62]: size=A tid = 0 TS = 0 epn=0x00000000 rpn=0x00000000_00000000 WIMG=0x0 XXWWRR=0x3F protected
 * [ 63]: size=A tid = 0 TS = 0 epn=0x40000000 rpn=0x00000000_40000000 WIMG=0x0 XXWWRR=0x3F protected
HAL_MaxTLB = 48, HAL_NextTLB = 0
MMUCFG = 0x064809C4
mas0 = 0x103F0000
mas1 = 0xC0000A00
mas2 = 0x40000000
mas3 = 0x4000003F
mas4 = 0x00000100
mas5 = 0x00000000
mas6 = 0x00000001
mas7 = 0x00000000
mas8 = 0x00000000

Disassembly of crash site:
 01956FD4: 3D400201   lis               r10,513
 01956FD8: 390A5908   addi              r8,r10,22792
 01956FDC: 38090001   addi              r0,r9,1
 01956FE0: 5404103A   rlwinm            r4,r0,2,0,29
>01956FE4: 7CC8202E   lwzx              r6,r8,r4
 01956FE8: 7CA93039   and.              r9,r5,r6
 01956FEC: 4C820020   bnelr-
 01956FF0: 80E30000   lwz               r7,0(r3)
 01956FF4: 54E3103B   rlwinm.           r3,r7,2,0,29
 01956FF8: 4D820020   beqlr-

Kernel command line: munge debuglevel=3 serial

Registers pointing to code:
r6 : native kernel module kernel+0x00adc214
r7 : native kernel module dos.library.kmod+0x0001cbf4
r8 : native kernel module dos.library.kmod+0x006e1728
r10: native kernel module bootmenu.kmod+0x0071cc60
r20: native kernel module kernel+0x0099ad98
r25: native kernel module dos.library.kmod+0x0002b6b0
r31: native kernel module kernel+0x0099ad98
ip : native kernel module dos.library.kmod+0x00022e04
lr : native kernel module SmartFileSystem+0x0000de4c
ctr: native kernel module dos.library.kmod+0x00022dd4

Stack trace:

I do not think that this will make any issues, but still it would be nice to fix this.

Thank you,
Flynn