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

Native networking example under QEMU #27

Open
protoben opened this issue Jan 19, 2023 · 0 comments
Open

Native networking example under QEMU #27

protoben opened this issue Jan 19, 2023 · 0 comments

Comments

@protoben
Copy link

Hello,

I'm trying to get an example of native networking to run under QEMU. I've managed to build picoserver, picotcp_single_component, and picotcp_tcp_echo for x86_64 (after fixing some minor compilation and linking issues; I made PRs for these at #26 and seL4/global-components#47). In addition, I added set(SIMULATION OFF CACHE BOOL "" FORCE).

When I try to run any of the three, however, I get the following crash in the console:

Booting all finished, dropped to user space
<<seL4(CPU 0) [decodeCNodeInvocation/107 T0xffffff801fc0b400 "rootserver" @401bcc]: CNode Copy/Mint/Move/Mutate: Source slot invalid>
[email protected]:1840 [Err seL4_FailedLookup]:

seL4 root server abort()ed
Debug halt syscall from user thread 0xffffff801fc0b400 "rootserver"
halting...
Kernel entry via Unknown syscall, word: 67

I'm aware that these examples have not been tested under simulation (there's a comment to this effect in config.cmake), however I was hoping to get some guidance about how I might get this working or whether it's a futile attempt. In particular, picotcp_tcp_echo claims to be configured for an e1000 card, which makes me think it should be possible. I'm quite new to CAmkES, so I'm sure I'm missing something obvious.

Any guidance would be greatly appreciated.

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

1 participant