The BSD Show featuring Adam Hamsik

August 29, 2010 posted by Sarah Cockburn

Adam Hamsik talks about NetBSD with Guillermo Amaral from Webbaverse on this week's episode of The BSD show.



Revolutionizing Kernel Development: Testing With Rump

August 19, 2010 posted by Antti Kantee

There are numerous good tools which do an excellent job of testing kernel features and help to catch bugs. The more frequently they are run as part of the regular development cycle, the more bugs they expose before the bugs are shipped to be discovered by end users. However, prior to being able to execute kernel tests configuration is required. Examples of configuration steps include mounting the file system under test, setting up an NFS server, selecting a network interface and configuring an IP address or setting up a test network. This makes taking a kernel test suite into use unnecessarily complicated and reduces the likelihood of all tests being run by any single kernel developer as part of the development process, thereby reducing the number of bugs which are caught early on.

This article explains how rump is the enabling technology for a safe, fast and run-anywhere kernel test suite which requires absolutely no configuration from the person running the tests. We will look at various kernel tests, such as those related to file systems, IP routing and kernel data structures, and point out the advantages of using rump as compared to conventional testing approaches.

[Read More] [7 comments]


PAE support for native i386

July 26, 2010 posted by Jean-Yves Migeon

With kernel revision 5.99.37, the options(4) PAE was added to native i386. It is currently disabled by default.

[Read More] [0 comments]


Google Summer of Code project Implementing HTTP support for libsa

July 18, 2010 posted by Brett Lymn

Zoltan Arnold NAGY has been busy coding away on his project to add support for booting over HTTP to libsa. Early on in his work he found that the current libsa PXE support used the UDP support functions in the PXE ROM which is unsuitable for HTTP as this requires a TCP transport. Zoltan has written a net_if driver for libsa that uses the PXE UNDI functions to allows both UDP and TCP network packets to be sent. Using the new net_if he was able to boot a kernel using tftp which proved that the basic networking functions were working correctly.

Once the underlying network layer was available Zoltan moved on to the primary aim of the project, booting over HTTP. He has made good progress on this and reports that he can boot a kernel three out of four times via HTTP, clearly one of the goals for the remainder of the Summer of Code is to get this to a 100% hit rate for booting.

There is still a fair bit of work to be done but I believe that Zoltan is on track to providing a useful factility to libsa. Zoltan posted a link to his patches in a posting to the tech-net mailing list

[1 comment]


Testing NetBSD: Easy Does It

June 24, 2010 posted by Antti Kantee

It requires only one command to run the NetBSD test suite on a fresh installation or to check if code changes have caused regressions. This article explains why and how, and looks into the ATF and Anita tools which make testing so easy everyone should be doing it.

[Read More] [2 comments]


Solutions Linux 2010 - 16-18th March, Paris Porte de Versailles

April 02, 2010 posted by Guillaume Lasmayous

For the 11th year, was held the "Solutions Linux and Opensource" event in Paris Porte de Versailles, from March 16th to 18th.

NetBSD has been running a booth for the 2nd year in the "Associations' village", where visitors could find most of the active Free and Open Source Software associations: April, {Ubuntu,Mandriva,Fedora}-fr, as well as FreeBSD-fr and BSDFrance, among many others.

4 NetBSD developers were present on the event:

  • Emile "imil" Heitor
  • Antoine "tonio" Reilles
  • Jean-Yves "jym" Migeon
  • Guillaume "gls" Lasmayous
Several other active members of the french NetBSD community were also present to man the booth.

Even though this event is primarily business-oriented, the vast majority of questions were "end-users" oriented questions, the most common one being: how does NetBSD compare to Linux/Ubuntu ? However this year, we had a number of more technical questions, mainly from people willing to run embedded NetBSD.

We distributed something like 150 Jibbed live CDs, 250 NetBSD stickers, and 25 "Powered by NetBSD" case badges.

Next French events where NetBSD will be present:
  • Rencontre Bretonnes du Logiciel Libre, on May, 15-16 in Rennes.
  • Journées Méditérranéennes du Logiciel Libre on November 26-27 in Nice/Sophia-Antipolis.



Kernel modules for macppc and shark

January 19, 2010 posted by Julio Merino

As of past night, the macppc and shark ports have support for the new-style kernel modules. I've added support for these through a workaround in the build system, which makes the compiler generate long jumps for all calls in the code, avoiding unsupported ELF relocation types. This allows us to use the modules even if the kernel-level loader is not able to deal with such relocations. The kernel-level support is now enabled by default in macppc and shark GENERIC kernels.

We'll need to revisit this in the future and implement real support for dealing with those relocation types. Why? The modules built with this flag are slower than they should be... but at least they do work.



Hardware accelerated Xorg on Shark is back

November 25, 2009 posted by Michael Lorenz

Hardware accelerated X for Rev. 4 Sharks using the xf86-video-chips driver has been around for a while but Rev. 5 Sharks were stuck with a dumb framebuffer driver. This has changed, a few days ago I committed an Xorg driver for the IGS CyberPro 2010 graphics controller found in Rev. 5 Sharks.
[Read More] [0 comments]


Interview with Christos Zoulas

November 22, 2009 posted by Sarah Cockburn

In September this year, Guillaume Lasmayous spent 5 weeks in the US where he took the opportunity to meet with some developers from the NetBSD project. On a Saturday afternoon Guillaume met Christos Zoulas to answer a few questions about NetBSD.

[Read More] [2 comments]


OpenGrok for NetBSD

November 03, 2009 posted by Zafer Aydoğan

The opengrok code search and cross reference service has been set up and is available at:

It contains the NetBSD sources which are updated every three hours.
This service is running on NetBSD-5 using opengrok with openjdk from pkgsrc.

Happy Grokking :)



BSD Magazine: NetBSD sshfs

October 26, 2009 posted by Antti Kantee

In BSD Magazine issue 4/2009 I write about out-of-the-box support for sshfs on NetBSD 5.0. The article goes over the basic principles, use, tuning, and features in store beyond NetBSD 5.0. See the magazine website for purchase/subscription instructions.



Summer of Code Results: Improve and Extend resize_ffs

October 20, 2009 posted by David Maxwell

This is the summary of the "Improve and Extend resize_ffs" Summer of Code 2009 project.

[Read More] [2 comments]