Rump Kernels Revisited | BSD Now 64
Posted on: November 20, 2014

This time on the show, we’ll be talking with Justin Cormack about NetBSD rump kernels. We’ll learn how to run them on other operating systems, what’s planned for the future and a lot more. As always, answers to viewer-submitted questions and all the news for the week, on BSD Now – the place to B.. SD.
Thanks to:
Direct Download:
Video | HD Video | MP3 Audio | OGG Audio | Torrent | YouTube
RSS Feeds:
MP3 Feed | OGG Feed | iTunes Feed | Video Feed | HD Vid Feed | HD Torrent Feed
– Show Notes: –
Headlines
EuroBSDCon 2014 talks and tutorials
- The 2014 EuroBSDCon videos have been online for over a month, but unannounced – keep in mind these links may be temporary (but we’ll mention their new location in a future show and fix the show notes if that’s the case)
- Arun Thomas, BSD ARM Kernel Internals
- Ted Unangst, Developing Software in a Hostile Environment
- Martin Pieuchot, Taming OpenBSD Network Stack Dragons
- Henning Brauer, OpenBGPD turns 10 years
- Claudio Jeker, vscsi and iscsid iSCSI initiator the OpenBSD way
- Paul Irofti, Making OpenBSD Useful on the Octeon Network Gear
- Baptiste Daroussin, Cross Building the FreeBSD ports tree
- Boris Astardzhiev, Smartcom’s control plane software, a customized version of FreeBSD
- Michał Dubiel, OpenStack and OpenContrail for FreeBSD platform
- Martin Husemann & Joerg Sonnenberger, Tool-chaining the Hydra, the ongoing quest for modern toolchains in NetBSD
- Taylor R Campbell, The entropic principle: /dev/u?random and NetBSD
- Dag-Erling Smørgrav, Securing sensitive & restricted data
- Peter Hansteen, Building The Network You Need With PF
- Stefan Sperling, Subversion for FreeBSD developers
- Peter Hansteen, Transition to OpenBSD 5.6
- Ingo Schwarze, Let’s make manuals more useful
- Francois Tigeot, Improving DragonFly’s performance with PostgreSQL
- Justin Cormack, Running Applications on the NetBSD Rump Kernel
- Pierre Pronchery, EdgeBSD, a year later
- Peter Hessler, Using routing domains or tables in a production network
- Sean Bruno, QEMU user mode on FreeBSD
- Kristaps Dzonsons, Bugs Ex Ante
- Yann Sionneau, Porting NetBSD to the LatticeMico32 open source CPU
- Alexander Nasonov, JIT Code Generator for NetBSD
- Masao Uebayashi, Porting Valgrind to NetBSD and OpenBSD
- Marc Espie, parallel make, working with legacy code
- Francois Tigeot, Porting the drm-kms graphic drivers to DragonFly
- The following talks (from the Vitosha track room) are all currently missing:
- Jordan Hubbard, FreeBSD, Looking forward to another 10 years (but we have another recording)
- Theo de Raadt, Randomness, how arc4random has grown since 1998 (but we have another recording)
- Kris Moore, Snapshots, Replication, and Boot-Environments
- Kirk McKusick, An Introduction to the Implementation of ZFS
- John-Mark Gurney, Optimizing GELI Performance
- Emmanuel Dreyfus, FUSE and beyond, bridging filesystems
- Lourival Vieira Neto, NPF scripting with Lua
- Andy Tanenbaum, A Reimplementation of NetBSD Based on a Microkernel
- Stefano Garzarella, Software segmentation offloading for FreeBSD
- Ted Unangst, LibreSSL
- Ed Maste, The LLDB Debugger in FreeBSD
- Philip Guenther, Secure lazy binding
- Shawn Webb, Introducing ASLR In FreeBSD
OpenBSD adopts SipHash
- Even more DJB crypto somehow finds its way into OpenBSD’s base system
- This time it’s SipHash, a family of pseudorandom functions that’s resistant to hash bucket flooding attacks while still providing good performance
- After an initial import and some clever early usage, a few developers agreed that it would be better to use it in a lot more places
- It will now be used in the filesystem, and the plan is to utilize it to protect all kernel hash functions
- Some other places that Bernstein’s work can be found in OpenBSD include the ChaCha20-Poly1305 authenticated stream cipher and Curve25519 KEX used in SSH, ChaCha20 used in the RNG, and Ed25519 keys used in signify and SSH
FreeBSD 10.1-RELEASE
- FreeBSD’s release engineering team likes to troll us by uploading new versions just a few hours after we finish recording an episode
- The first maintenance update for the 10.x branch is out, improving upon a lot of things found in 10.0-RELEASE
- The vt driver was merged from -CURRENT and can now be enabled with a loader.conf switch (and can even be used on a PlayStation 3)
- Bhyve has gotten quite a lot of fixes and improvements from its initial debut in 10.0, including boot support for ZFS
- Lots of new ARM hardware is supported now, including SMP support for most of them
- A new kernel selection menu was added to the loader, so you can switch between newer and older kernels at boot time
- 10.1 is the first to support UEFI booting on amd64, which also has serial console support now
- Lots of third party software (OpenSSH, OpenSSL, Unbound..) and drivers have gotten updates to newer versions
- It’s a worthy update from 10.0, or a good time to try the 10.x branch if you were avoiding the first .0 release, so grab an ISO or upgrade today
- Check the detailed release notes for more information on all the changes
- Also take a look at some of the known problems to see if you’ll be affected by any of them
- PC-BSD was also updated accordingly with some of their own unique features and changes
arc4random – Randomization for All Occasions
- Theo de Raadt gave an updated version of his EuroBSDCon presentation at Hackfest 2014 in Quebec
- The presentation is mainly about OpenBSD’s arc4random function, and outlines the overall poor state of randomization in the 90s and how it has evolved in OpenBSD over time
- It begins with some interesting history on OpenBSD and how it became a security-focused OS – in 1996, their syslogd got broken into and “suddenly we became interested in security”
- The talk also touches on how low-level changes can shake up the software ecosystem and third party packages that everyone uses
- There’s some funny history on the name of the function (being called arc4random despite not using RC4 anymore) and an overall status update on various platforms’ usage of it
- Very detailed and informative presentation, and the slides can be found here
- A great quote from the beginning: “We consider ourselves a community of (probably rather strange) people who work on software specifically for the purpose of trying to make it better. We take a “whole-system’s” approach: trying to change everything in the ecosystem that’s under our control, trying to see if we can make it better. We gain a lot of strength by being able to throw backwards compatibility out the window. So that means that we’re able to do research and the minute that we decide that something isn’t right, we’ll design an alternative for it and push it in. And if it ends up breaking everybody’s machines from the previous stage to the next stage, that’s fine because we’ll end up in a happier place.”
Interview – Justin Cormack – justin@netbsd.org / @justincormack
NetBSD on Xen, rump kernels, various topics
News Roundup
The FreeBSD foundation’s biggest donation
- The FreeBSD foundation has a new blog post about the largest donation they’ve ever gotten
- From the CEO of WhatsApp comes a whopping one million dollars in a single donation
- It also has some comments from the donor about why they use BSD and why it’s important to give back
- Because the FreeBSD Foundation is a 501(c)(3) it must show that it has support of the general public, not just a small number of large donors. That is why individual donations are so important
- Donate even just $5, just to increase the number of names on the donors list
- Don’t know what to get your favourite FreeBSD developer for Christmas? Donations can be dedicated to others
- Spread the money around, donate to the foundation of each BSD you use when you can – every little bit helps: OpenBSD, NetBSD and DragonFly
- You use OpenSSH don’t you? gzip (bsd licensed gzip is from NetBSD)?, newfs_msdos (making FAT(32) file systems for USB devices etc, also from NetBSD)
OpenZFS Dev Summit 2014 videos
- Videos from the recent OpenZFS developer summit are being uploaded, with speakers from different represented platforms and companies
- Matt Ahrens, opening keynote
- Raphael Carvalho, Platform Overview: ZFS on OSv
- Brian Behlendorf, Platform Overview: ZFS on Linux
- Prakash Surya, Platform Overview: illumos
- Xin Li, Platform Overview: FreeBSD
- All platforms, Group Q&A Session
- Dave Pacheco, Manta
- Saso Kiselkov, Compression
- George Wilson, Performance
Tim Feldman, Host-Aware SMR - Pavel Zakharov, Fast File Cloning
- The audio is pretty poor on all of them unfortunately
BSDTalk 248
- Our friend Will Backman is still busy getting BSD interviews as well
- This time he sits down with Matthew Dillon, the lead developer of DragonFly BSD
- We’ve never had Dillon on the show, so you’ll definitely want to give this one a listen
- They mainly discuss all the big changes coming in DragonFly’s upcoming 4.0 release
MeetBSD 2014 videos
- The presentations from this year’s MeetBSD conference are starting to appear online as well
- Kirk McKusick, A Narrative History of BSD
- Jordan Hubbard, FreeBSD: The Next 10 Years
- Brendan Gregg, Performance Analysis
- The slides can be found here
Feedback/Questions
Mailing List Gold
- All the tutorials are posted in their entirety at bsdnow.tv
- Send questions, comments, show ideas/topics, or stories you want mentioned on the show to feedback@bsdnow.tv
- If you’ve worked on any cool BSD-related projects, write about it and send it in; we’d love to feature more community content
- Watch live Wednesdays at 2:00PM Eastern (19:00 UTC)