AmigaLabs / AmigaLabs/apt-os4

DSI on update

Ouverte
#1 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
C++
Étoiles
0
Forks
1
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

v0.3
FE+Updates qemu (amigaone)

DSI if lists or packages directories are missing from APT: assign. Attached image shows crash happening when packages directory exists, but lists does not exist.

Image

Crash happens when using 'apt update' from shell.

> [HAL_DfltTrapHandler] *** Warning: Fatal exception in task 0x61627350 (Shell Process, etask = 0xEFC08300) at ip 0x7F31AB9C
kernel 54.30 (1.1.2021) AmigaOne debug
Machine model: 3 (AmigaOne)
Dump of context at 0xEFC073E0
Trap type: DSI exception
Machine State (raw): 0x0000F030
Machine State (verbose): [ExtInt on] [User] [FPU on] [IAT on] [DAT on]
Instruction pointer: 0x7F31AB9C
Crashed process: apt (0x61627350)
DSI verbose error description: Access not allowed by page or BAT protection (protection violation)
Access was a store operation
0: 7F31AB2C 60BC5700 60825528 00000009 00004000 00000000 021C3798 6072A152
8: 732F0000 00000000 7F7F7F7F 01842628 00000FA4 6082BBF8 0000000B 606F39AC
16: 61116CF0 EFC08300 00031FF8 01970000 606F39A8 6162739A 60F44000 7F39E5D4
24: 60814000 60814004 60F44038 7F39E5D4 60F44000 60F44000 6072A148 000001C0
CR: 24842828 XER: 00000000 CTR: 01808B98 LR: 7F31AB88
DSISR: 0A000000 DAR: 6072A151

>FP0 : 0000000082028000 406FF00000000000 3FE999999959554E 3FE0000000000006
FP4 : 0000000000000000 43300000000000FF 3FEFFFEB00000000 BFE5555555555560
FP8 : 0000000000000000 3DDB8FEE00000000 4330000000000010 3FB999999999999A
FP12: 41E0000000000000 3FBB2D0000000000 0000000000000000 0000000000000000
FP16: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FP20: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FP24: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FP28: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPSCR: 82028000

>Kernel command line: serial debuglevel=1 serialdebug

>Registers pointing to code:
r0 : module LIBS:clib4.library at 0x7F31AB2C (section 0 @ 0x3AB08)
r2 : module apt at 0x60825528 (section 11 @ 0x1344)
r6 : native kernel module kernel.debug+0x009c3798
r7 : module apt at 0x6072A152 (section 1 @ 0x12E)
r10: module apt at 0x7F7F7F7F (section 0 @ 0x462F5B)
r11: native kernel module kernel.debug+0x00042628
r13: module apt at 0x6082BBF8 (section 11 @ 0x7A14)
r19: native kernel module dos.library.kmod+0x0002a100
r23: module apt at 0x7F39E5D4 (section 0 @ 0x95B0)
r24: module apt at 0x60814000 (section 3 @ 0xFFFFFFDC)
r25: module apt at 0x60814004 (section 3 @ 0xFFFFFFE0)
r27: module apt at 0x7F39E5D4 (section 0 @ 0x95B0)
r30: module apt at 0x6072A148 (section 1 @ 0x124)
ip : module LIBS:clib4.library at 0x7F31AB9C (section 0 @ 0x3AB78)
lr : module LIBS:clib4.library at 0x7F31AB88 (section 0 @ 0x3AB64)
ctr: native kernel module kernel.debug+0x00008b98

>Stack trace:
(0x60BC5700) module LIBS:clib4.library at 0x7F31AB9C (section 0 @ 0x3AB78)
(0x60BC5B30) module LIBS:clib4.library at 0x7F31AB88 (section 0 @ 0x3AB64)
(0x60BC5B90) module apt at 0x7F39E808 (section 0 @ 0x97E4)
(0x60BC5E50) module LIBS:clib4.library at 0x7F331FFC (section 0 @ 0x51FD8)
(0x60BC5E90) module LIBS:clib4.library at 0x7F3320DC (section 0 @ 0x520B8)
(0x60BC5EC0) module LIBS:clib4.library at 0x7F2E2158 (section 0 @ 0x2134)
(0x60BC5F00) module apt at 0x7F396DC4 (section 0 @ 0x1DA0)
(0x60BC5F60) apt:_start()+0x30 (section 1 @ 0x1F08)
(0x60BC5F90) native kernel module dos.library.kmod+0x0002a458
(0x60BC5FC0) native kernel module kernel.debug+0x00084110
(0x60BC5FD0) native kernel module kernel.debug+0x00084188

>Disassembly of crash site:
7F31AB8C: 7D3E18AE lbzx r9,r30,r3
7F31AB90: 2C09002F cmpwi r9,47
7F31AB94: 40A2000C bne+ 0x7F31ABA0
7F31AB98: 39200000 li r9,0
>7F31AB9C: 7D3E19AE stbx r9,r30,r3
7F31ABA0: 3F8060C2 lis r28,24770
7F31ABA4: 7FC4F378 mr r4,r30
7F31ABA8: 807C053C lwz r3,1340(r28)
7F31ABAC: 81230088 lwz r9,136(r3)
7F31ABB0: 7D2903A6 mtctr r9
Stack pointer (0x60BC5700) is inside bounds
Redzone is OK (4)

>68k register dump
DATA: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
ADDR: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Page information:
Page 0xEFBB0968:
Virtual Address: 0x6072A000
Physical Address: 0x11880000
Lock count: 1
Flags (0x106): (Swappable) (NonCache) (Mapped)
Protection bits (0x0): (super state only)
Page is assigned to VMArea primary heap

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.