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

Community: @netbsdgroup

Get NetBSD: https://www.netbsd.org/
Download Telegram
Is the NetBSD operating system losing its competitive edge to Linux and FreeBSD?

I’m not entirely sure there was ever a “competitive edge” that NetBSD had over FreeBSD… and the differences between any of the BSDs and Linux are vast — some of them are important, others not so much...

https://www.quora.com/Is-the-NetBSD-operating-system-losing-its-competitive-edge-to-Linux-and-FreeBSD/answer/Stan-Hanks

#system #justread
EuroBSDCon 2022. NetBSD.

No videos are available yet to provide much-needed context to presentations, but we'll keep you posted...

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

#eurobsdcon
Crash Override: NetBSD 5.0-9.3 Coredump Kernel Refcount LPE.

NetBSD 5.0 (released 2009) introduced a change to the in-kernel coredump handler that accidentally introduced a reference count bug on the crashing process' credential. Triggering the vulnerability leads to a use-after-free that can be trivially (though slowly) exploited to achieve local privilege escalation, gaining root from an unprivileged starting point...

https://accessvector.net/2022/netbsd-coredump-lpe

#kernel #system
🔥2
Forwarded from OpenBSD
🔥4🎉2
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
👍1
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
🔥3
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
🎉2👍1
🎄Happy New Year, folks!
🎉9🔥1
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
👍1
NetBSD HAMMER2.

HAMMER2 file system for NetBSD.

https://github.com/kusumi/netbsd_hammer2

#hammer2 #filesystem
👍5
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
👍3
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
👍2
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
🔥4😱1
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
🔥4
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
🔥2
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
👍4🔥1
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
👍4🔥1🎉1
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
👍5