NetBSD
196 subscribers
12 photos
1 file
86 links
NetBSD. Unofficial channel.

Community: @netbsdgroup

Get NetBSD: https://www.netbsd.org/
Download Telegram
Hunting kernel lock and interrupt latency.

Too much of the kernel still runs with the kernel lock, which is bad for performance -- and especially for interactive system responsiveness, since most of wscons including keyboard and mouse input still use the kernel lock. On single-CPU systems, the same problem arises with interrupt latency on its own...

https://mail-index.netbsd.org/tech-kern/2022/10/30/msg028499.html

#kernel #troubleshooting #system
NFS on NetBSD: server and client side.

As pretty much any other UNIX system, NetBSD provides solid in-kernel NFS support. See nfsssvc(2). Since I only run Windows occasionally (mainly for MS-Office or MATLAB) and all of my machines either run NetBSD, Slackware or Tribblix, it makes sense for me to opt for NFS as a distributed file system protocol to share files from my server over the local network...

https://www.unitedbsd.com/d/959-nfs-on-netbsd-server-and-client-side

#nfs #filesystem
NetBSD 10.0 BETA available.

After nearly 3 whole years of development (work started on NetBSD 10 in late 2019), BETA snapshots have finally been published for interested users to test. More changes will be backported from the development branch over the next few months before we tag a final release, so the BETA images will keep getting updated...

https://blog.netbsd.org/tnf/entry/netbsd_10_0_beta_available

#system #beta #release
🎄Happy New Year, folks!
NetBSD at Reproducible Builds Summit Venice 2022.

The sixth Reproducible Builds Summit took place exactly two months ago in Venice, Italy. These three days of workshops were filled with a succession of interactive sessions, where everyone attending had the opportunity to present or learn about anything related to Build Reproducibility...

https://blog.netbsd.org/tnf/entry/reproducible_builds_summit_venice_2022

#system #reproducible
NetBSD HAMMER2.

HAMMER2 file system for NetBSD.

https://github.com/kusumi/netbsd_hammer2

#hammer2 #filesystem
NetBSD ASCII flag for the bootloader.

Attempting to draw the NetBSD flag in ASCII and use it when booting in both NetBSD/i386 and NetBSD/amd64 in BIOS mode was thus too tempting, so here we go...

https://www.cambus.net/netbsd-ascii-flag-for-the-bootloader/

#boot #system
NetBSD 10 Beta installs and testing from i386 to ARM.

I've run NetBSD for quite some time, going back to the days of Dr. Dobbs magazine and the release of the BSD4-based 386BSD (which I installed from floppy disks...). The chance of beta testing the newest release came at the end of December 2022. I had installed NetBSD-current on Raspberry Pi platforms, and also had different levels of NetBSD 9 on systems.

This story is on my attempts to upgrade or install fresh operating systems "in house". Rather than strict chronological order, the sections below are by CPU architecture, starting with the older i386 then going to Arm processors. I have not upgraded an AMD-based system (yet), and will add notes at the end when I can...

https://jspath55.blogspot.com/2023/02/netbsd-10-beta-installs-and-testing.html

#system #install
Run GitHub CI in NetBSD Test.

Use this action to run your CI in NetBSD. The github workflow only supports Ubuntu, Windows and MacOS. But what if you need to use NetBSD? This action is to support NetBSD...

https://github.com/vmactions/netbsd-vm

#ci #github #action
Forwarded from OpenBSD
NetBSD Toaster Powered by the TS-7200 ARM9 SBC (article from 2016).

It has long been regarded that the UNIX-like OS NetBSD is portable to every type of machine except perhaps your kitchen toaster. Technologic Systems, however, has conquered this last frontier. Using the rugged, embedded TS-7200 single board computer housed inside the empty space of a standard two slice toaster, Technologic Systems has designed a functional NetBSD controlled toaster...

- https://www.embeddedts.com/blog/netbsd-toaster-powered-by-the-ts-7200-arm9-sbc/

- https://www.embeddedts.com/blog/netbsdevbarm-support-on-the-ts-7200/

#hardware #system #install
NetBSD as a Kubernetes Pod.

So here’s how to run a NetBSD micro-vm as… a Kubernetes pod.

https://imil.net/blog/posts/2023/netbsd-as-a-k8s-pod/

#kubernetes
Building a NetBSD ramdisk kernel.

When I used OpenBSD, I was a big fan of bsd.rd: a kernel that includes a root file system with an installer and a few tools. When I invariably did something bad to my root file system, I could use that to repair things. bsd.rd is also helpful for OS updates. And there is only a single file involved.

On NetBSD however, there is usually no netbsd.rd kernel installed, or even available by default. The facility is there, it’s just not standard. To be fair, there are a number of architectures that use kernels with a ramdisk for installation. Recently, I have been toying with NetBSD on an Orange Pi 5. This is a 64-bit ARM board, using the evbarm-aarch64 architecture. I am booting from an SD card (details in a followup post) but once booted, the kernel does not see the card any more, only the NVMe SSD. So my thoughts went back to bsd.rd and I decided that I want one...

https://bentsukun.ch/posts/ramdisk-kernel/

#system #ramdisk
NetBSD 10.0 RC2 available.

The NetBSD project is pleased to announce the second (and probably last) release candidate of the upcoming 10.0 release, please help testing! See the release announcement for details...

https://blog.netbsd.org/tnf/entry/netbsd_10_0_rc2_available

#system #release
A NetBSD/amd64 guest can now boot in 40ms.

I've been working the past 3 months into catching up with Colin Percival's work on FreeBSD with the Firecracker hypervisor.

The result is that NetBSD/amd64 can now boot in PVH mode, i.e. directly into the kernel using qemu's -kernel flag or the PVH-enabled version of AWS's Firecracker.
I then added support for MMIO kernel command line parameters, so NetBSD now supports memory mapped backed devices like ld(4) or vioif(4). Last but not least, I've been tracking boot time until reaching 40ms from the assembly entry point to handling over to userland...

https://www.reddit.com/r/BSD/comments/197vfmq/a_netbsdamd64_guest_can_now_boot_in_40ms_details/

#virtualization #boot
Tinkering with Manjaro and NetBSD on the Pinebook Pro: a crumbs-in-the-forest tutorial & review.

I found a used Pinebook Pro on Craigslist for $100 CAD, invented some flimsy excuse, and bought it. Then I went much farther down the rabbit hole than I expected, trying to get it functional. Here are my first impressions of the journey to get (semi-) functional Linux and BSD systems installed on the Pinebook Pro...

https://www.autodidacts.io/pinebook-pro-linux-bsd-laptop-review-tutorial/#installing-netbsd

#install #arm #system
NetBSD 10: Thirty years, still going strong!

In 2023, the NetBSD project celebrated 30 years since its first release, 0.8. Now, four years after NetBSD 9, NetBSD 10 brings a huge number of changes and improvements. This talk will dive into the most important new features of NetBSD 10, such as performance and security improvements, expanded CPU and GPU support, improved virtualization and more!

https://fosdem.org/2024/schedule/event/fosdem-2024-3508-netbsd-10-thirty-years-still-going-strong-/

https://docs.google.com/presentation/d/1ZzaW9eI4wmMRGOnJ1uo-kGk5b_UvIOuU9Zgur4au_8s/edit#slide=id.p

#system #fosdem
Finding NetBSD Kernel Bugs through LockDoc.

This post will be my attempt to package up my master’s thesis in a format that can be read comfortably. I’ve spent the last 15 months mostly on this topic, and if you’ve noticed that some of my past posts mostly revolved around NetBSD, this is why. I hope this also gives me the opportunity to shine a light on some implementation details, since the thesis itself had to be mostly focused on the academic stuff...

https://scholz.ruhr/blog/finding-netbsd-locking-bugs/

#kernel #system
NetBSD 10.0 available!

The NetBSD project is pleased to announce the eighteenth major release of the NetBSD operating system NetBSD 10.0! See the release announcement for details...

https://blog.netbsd.org/tnf/entry/netbsd_10_0_available

#release #system
NetBSD 9.4 released!

It represents a selected subset of fixes deemed important for security or stability reasons since the release of NetBSD 9.3 in August 2022, as well some enhancements backported from the development branch. It is fully compatible with NetBSD 9.0. Users running 9.3 or an earlier release are strongly recommended to upgrade...

https://blog.netbsd.org/tnf/entry/netbsd_9_4_released

#release #system