Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qemu: fatal: Trying to execute code outside RAM or ROM at 0x0e0a0000 #2

Open
max96 opened this issue Jan 24, 2015 · 6 comments
Open

Comments

@max96
Copy link

max96 commented Jan 24, 2015

qemu: fatal: Trying to execute code outside RAM or ROM at 0x0e0a0000

EAX=00006f04 EBX=00009500 ECX=000b80a0 EDX=00006f04
ESI=00000000 EDI=00102000 EBP=00000000 ESP=00006f24
EIP=0e0a0000 EFL=00000202 [-------] 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= 000cca10 00000027
IDT= 001004e0 00000800
CR0=00000011 CR2=00000000 CR3=00000000 CR4=00000000
DR0=00000000 DR1=00000000 DR2=00000000 DR3=00000000
DR6=ffff0ff0 DR7=00000400
CCS=00000020 CCD=00000010 CCO=SARL
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
./debug_debian.sh: line 5: 3842 Aborted qemu-system-i386 -kernel kernel-101

yup

@arjun024
Copy link
Owner

Hi @max96 thanks for reporting the issue.
Could you please tell me the steps i could follow to reproduce the issue?

@max96
Copy link
Author

max96 commented Jan 24, 2015

I just followed the tutorial then I compiled it and then I booted it up in qemu..

I'm kinda new to this part of programming

@max96
Copy link
Author

max96 commented Jan 24, 2015

When I try to press something on my keyboard it just crashes

@arjun024
Copy link
Owner

I tried the same and works fine. Instead of compiling yourself, could you try with the executable in the binary_x86 folder and observe what happens @max96

@max96
Copy link
Author

max96 commented Jan 25, 2015

I will try :)

@Ttimofeyka
Copy link

Ttimofeyka commented Aug 6, 2021

Я пробовал то же самое и работает нормально. Вместо того, чтобы компилировать себя, не могли бы вы попробовать с исполняемым файлом в папке binary_x86 и понаблюдать, что происходит @ max96

Hello.
After 5 years, I was interested in this work, but I have the same error: when you press any key on the keyboard, QEMU closes.
Moreover, an important fact - this error appears only when creating an ISO file via grub-mkrescue (I checked it a hundred times - everything is correct).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants