Liblor / advanced_operating_systems_2020

Advanced Operating System Course at ETHZ
MIT License
19 stars 4 forks source link

Milestone 5 - Mutlicore #112

Closed Liblor closed 4 years ago

Liblor commented 4 years ago

Tasks:

Discussion topics:

Milestone summary (demo):

abertschi commented 4 years ago

urpc protocol for this milestone as of writing of this note:

how to spawn a process on core1: usecase: binaryA on core0 spawns hello on core1: core0 to core1:

abertschi commented 4 years ago
Liblor commented 4 years ago

When I compile the code I get a binary that produces a binary with the following error:

hello.1.0: libc exit NYI!
multicore_test.0.0: spawned hello: pid 99 on core 0
armv8/sbin/init.1.0: got UrpcMasterData
armv8/sbin/init.1.0: name is: /armv8/sbin/hello
kernel 1 PANIC! oops: frame offset invalid

However, if @abertschi builds it, the issue doesn't occur (I tried his binary it worked without a problem). This is pretty weird as we both build using podman

eikendev commented 4 years ago

Have you both removed the build directory and called Hake from scratch?

eikendev commented 4 years ago

When I compile the code I get a binary that produces a binary with the following error:

hello.1.0: libc exit NYI!
multicore_test.0.0: spawned hello: pid 99 on core 0
armv8/sbin/init.1.0: got UrpcMasterData
armv8/sbin/init.1.0: name is: /armv8/sbin/hello
kernel 1 PANIC! oops: frame offset invalid

However, if @abertschi builds it, the issue doesn't occur (I tried his binary it worked without a problem). This is pretty weird as we both build using podman

I rebuilt on ec484ae4aab4ef63f80dc3f718c6715afa139aa3 and get the same error message. @abertschi Can you remove build/ and run make hake && make install to confirm?