OSDev.org

The Place to Start for Operating System Developers
It is currently Sun Apr 28, 2024 1:47 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Pintos: QEMU crashing while booting -- NOT homework help
PostPosted: Wed Jan 24, 2024 1:25 am 
Offline

Joined: Wed Jan 24, 2024 1:12 am
Posts: 1
Hello everyone,

I am trying to use https://web.stanford.edu/class/cs140/pr ... tos_1.html

I am not able to even start the system. The documentation says we can issue "pintos run alarm-multiple" but it crashes while trying to access a global variable "init_ram_pages"
I am not sure what is wrong with my environment that might be causing this,

I am using QEMU, on my EC2 running the following linux

Linux ip-172-31-23-62 6.2.0-1017-aws #17~22.04.1-Ubuntu SMP Fri Nov 17 21:07:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Any idea, what might be wrong with my setup or environment?

Thanks
Ravi


Top
 Profile  
 
 Post subject: Re: Pintos: QEMU crashing while booting -- NOT homework help
PostPosted: Wed Jan 24, 2024 9:03 pm 
Offline
Member
Member

Joined: Mon Mar 25, 2013 7:01 pm
Posts: 5146
I notice those makefiles attempt to use a compiler that targets Linux on x86 machines. Have you tried building it with a proper cross-compiler that targets bare metal?

Can you get any more information about what happens when it crashes? Running QEMU with "-no-reboot" and "-d int" will give you a log that's usually helpful for debugging this kind of problem. If the log doesn't appear, you might also need an option like "-accel tcg" to turn off hardware acceleration. (The log might be very large, but the useful information is usually in the last 50 lines or so.)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 19 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group