NetBSD BoF
Author: Kamil Rytarowski
E-mail: kamil@netbsd.org
Date: March 21st, 2019
Location: Tokyo, Japan
Kamil Rytarowski (born 1987)
Krakow, Poland
NetBSD user since 6.1.
NetBSD Foundation member since 2015.
Work areas: kernel, userland, pkgsrc.
Interest: NetBSD on desktop and in particular NetBSD as a workstation.
Current activity in 3rd party software:
Builds and executes regression tests on the NetBSD buildbot (thanks TNF for hosting it) in the LLVM buildfarm:
Contains low-level utility code for Operating Systems.
There are components (among others):
New features whenever there is need for generic NetBSD distribution changes (especially the kernel part), target NetBSD 9.0.
NetBSD supports the most important ones:
TODO:
Supported options:
Kernel fuzzers:
24h/7d kernel fuzzing in GCE (hosted by Google, thanks!)
TODO:
Ongoing port of LLDB to NetBSD sponsored by TNF.
Michal Gorny (mgorny) formally joined the project since Feburary 2019.
Two tracks of the porting effort:
ptrace(2) in NetBSD-8.0 improved hugely since NetBSD-7.0. There were a lot of panics, almost every operation was broken, how did it ever worked for anything?
ptrace(2) is now feature complete (equivalent to Linux and FreeBSD) in terms of API features. It's still not there yet in terms of correctness.
Remaining major ptrace(2)-related issues:
Why to not work on GDB directly as there is some level of NetBSD support?
It's easier to get clean room implementation from scratch in the cotext of LLDB. LLDB mandates modern kernel support and strips legacy approaches used in old kernels of the age of year 1995 (retained in GDB).
The GDB support needs to be reworked with Remote Process plugin framework (gdb-server support, no other BSD is there).
It's easier to not break existing users of GDB and keep the focus on kernel & ptrace.
Once LLDB will be done, we will work on revamping GDB.
Additionally LLDB is mandatory for .NET, Swift. Today some environments need GDB, others LLDB. We need both. (The same like GCC and Clang)
NetBSD is the only BSD supported in the moderm framework (lldb-server). NetBSD is catching up after Linux now.
There is support:
Major pending tasks in the contracted work:
Expected final goal: tracing firefox-like applications flawlessly with a debugger. this browser uses multiple processes, multiple threads and crash signal masking.
Beyond the TNF contract:
Nice to have projects:
Intel Hardware Accelerated eXecution Manager - multi-kernel hypervisor for Intel x86_64 CPUs has been ported to the NetBSD kernel.
Table of Contents | t |
---|---|
Exposé | ESC |
Full screen slides | e |
Presenter View | p |
Source Files | s |
Slide Numbers | n |
Toggle screen blanking | b |
Show/hide slide context | c |
Notes | 2 |
Help | h |