Trying to execute code outside RAM?
Posted: Sun Feb 26, 2012 10:30 pm
Hello!
My kernel, Chronos, was enabling interrupts, and crashed qemu with the message "Trying to execute code outside RAM or ROM at 0x000000006a006afa".
This address is never defined in my code, so the only clue I have is that it's in the irq code (It works fine with normal interrupts)
This is the output from qemu:
The link to the code is in my sig (in the dev branch)
Thanks,
Lionel
My kernel, Chronos, was enabling interrupts, and crashed qemu with the message "Trying to execute code outside RAM or ROM at 0x000000006a006afa".
This address is never defined in my code, so the only clue I have is that it's in the irq code (It works fine with normal interrupts)
This is the output from qemu:
Code: Select all
qemu: fatal: Trying to execute code outside RAM or ROM at 0x000000006a006afa
EAX=00103000 EBX=00010000 ECX=000b82a4 EDX=000703d5
ESI=00000000 EDI=00000000 EBP=0007fef0 ESP=0007fecc
EIP=6a006afa EFL=00200002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0
ES =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA]
CS =0008 00000000 ffffffff 00cf9a00 DPL=0 CS32 [-R-]
SS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA]
DS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA]
FS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA]
GS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA]
LDT=0000 00000000 0000ffff 00008200 DPL=0 LDT
TR =0000 00000000 0000ffff 00008b00 DPL=0 TSS32-busy
GDT= 00104040 00000027
IDT= 00104080 000007ff
CR0=00000011 CR2=00000000 CR3=00000000 CR4=00000000
DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000
DR6=00000000ffff0ff0 DR7=0000000000000400
CCS=00000008 CCD=00103000 CCO=LOGICB
EFER=0000000000000000
FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80
FPR0=0000000000000000 0000 FPR1=0000000000000000 0000
FPR2=0000000000000000 0000 FPR3=0000000000000000 0000
FPR4=0000000000000000 0000 FPR5=0000000000000000 0000
FPR6=0000000000000000 0000 FPR7=0000000000000000 0000
XMM00=00000000000000000000000000000000 XMM01=00000000000000000000000000000000
XMM02=00000000000000000000000000000000 XMM03=00000000000000000000000000000000
XMM04=00000000000000000000000000000000 XMM05=00000000000000000000000000000000
XMM06=00000000000000000000000000000000 XMM07=00000000000000000000000000000000
Thanks,
Lionel