sel4proj / aos Goto Github PK
View Code? Open in Web Editor NEWAdvanced Operating Systems project
Home Page: https://www.cse.unsw.edu.au/~cs9242/
Advanced Operating Systems project
Home Page: https://www.cse.unsw.edu.au/~cs9242/
Booting on an odroidc2, i get this output
Jumping to kernel-image entry point...
Bootstrapping kernel
Booting all finished, dropped to user space
Caught cap fault in send phase at address 0
while trying to handle:
vm fault on code at address 0 with status 0x82000006
in thread 0xffffff807fff0400 "rootserver" at address 0
With stack:
0x513dc0: 0x513e48
0x513dc8: 0x40
0x513dd0: 0x518000
0x513dd8: 0x49c568
0x513de0: 0x1
0x513de8: 0xfffffffffffffff2
0x513df0: 0x4b5bc8
0x513df8: 0x0
0x513e00: 0x0
0x513e08: 0x0
0x513e10: 0x0
0x513e18: 0x0
0x513e20: 0x0
0x513e28: 0x0
0x513e30: 0x415924
0x513e38: 0x40a604
This is a fresh build, using the AOS-manifest and repo.
By moving aroundwhile(1) {}
, this is what I can glean so far:
__register_fram(&__eh_frame_start);
, and the printf triggers a fault.uart_init(&cspace);
, the first line function call is what triggers a fault.printf
s and uart_init
, it reaches main_continued
but breaks inside run_tests
test_cspace
network_init
start_first_process
, ind will reach until cspace_create_one_level
calloc
line inside cspace_create
I've been studying the elf loading procedure for SOS processes defined in elf.c. I think I've stumbled upon a bug: if the mapping fails, the frame cap is deleted and the slot is freed (the frame is also freed but is still mapped in SOS) however the code continues to use these afterwards which I expect to result in an exception around here where an attempt is made to use the frame cap.
The comment is a bit mysterious -- when it mentions all frames being mapped in, I assume it is talking about the SOS address space, but why "continue on to do the write" on a frame that's not mapped into the process' address space?
Should be sos/src/backtrace.h
Line 20 in fb0e494
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.