LLVM asan and ubsan on NetBSD


July 03, 2017 posted by Kamil Rytarowski

Over the last 30 days I was focusing on getting the environment to enable LLVM sanitizers and the Clang compiler on NetBSD. Meanwhile I pushed forward generic parts that were needing enhancements around pkgsrc and LLVM in general to ease the future LLDB work.[Read More] [0 comments]

 

pkgsrcCon 2016 report


July 01, 2017 posted by Kamil Rytarowski

pkgsrcCon is the annual technical conference for people working on pkgsrc, a framework for building over 17,000 open source software packages. pkgsrc is the native package manager on NetBSD, SmartOS and Minix, and is portable across many different operating systems including Linux and Mac OS X. [Read More] [0 comments]

 

In Memoriam Nicolas Joly


June 20, 2017 posted by Kamil Rytarowski

Nicolas Joly passed away on 2017-06-07.[Read More] [2 comments]

 

LLDB: NetBSD Process Plugin enhancements


May 02, 2017 posted by Kamil Rytarowski

Last month I have worked on features of the Process Plugin on NetBSD and support for threads in core(5) files.[Read More] [0 comments]

 

NetBSD: the first BSD introducing a modern process plugin framework in LLDB


April 04, 2017 posted by Kamil Rytarowski

A feature set for debugging NetBSD applications (without threads) has been merged with upstream LLDB! The number of passing tests this month has been increased from 267/1235 to 622/1247. This is +133% within one month and approximately 50% of successfully passed tests in total! As usual regular housekeeping of ptrace(2) interfaces has been done on the NetBSD side.[Read More] [0 comments]

 

ptrace(2) tasks segment finished


March 01, 2017 posted by Kamil Rytarowski

During this month I've finished the needed work in the base distribution in order to host fully featured LLDB. Currently the ptrace(2) interfaces in NetBSD are, in terms of features, closely related to FreeBSD and Linux. There are only few bugs left with filed Problem Reports and alerting regression tests, however they do not interfere with the needed functions to move the port of the debugger forward.[Read More] [0 comments]

 

The first patch-bulk upstreamed to LLDB


February 14, 2017 posted by Kamil Rytarowski

The LLVM project is a quickly moving target, this also applies to the LLVM debugger -- LLDB. It's actively used in several first-class operating systems, while - thanks to my spare time dedication - NetBSD joined the LLDB club in 2014, only lately the native support has been substantially improved and the feature set is quickly approaching the support level of Linux and FreeBSD. During this work 12 patches were committed to upstream, 12 patches were submitted to review, 11 new ATF were tests added, 2 NetBSD bugs filed and several dozens of commits were introduced in pkgsrc-wip, reducing the local patch set to mostly Native Process Plugin for NetBSD.[Read More] [0 comments]

 

Summary of the preliminary LLDB support project


January 23, 2017 posted by Kamil Rytarowski

Operating systems can be called monitors as they handle system calls from userland processes. A similar task is performed by debuggers as they implement monitors for traced applications and interpret various events that occurred in tracees and are messaged usually with signals to their tracers. During this month I have started a new Process Plugin within LLDB to incept NativeProcessNetBSD - copied from NativeProcessLinux - implementing basic functionality and handling all the needed events in the MonitorCallback() function. To achieve these tasks, I had to add a bunch of new ptrace(2) interfaces in the kernel to cover all that is required by LLDB monitors. The current Process Plugin for NetBSD is capable to start a process, catch all the needed events correctly and if applicable resume or step the process.[Read More] [1 comment]

 

Summary of the ptrace(2) project


December 18, 2016 posted by Kamil Rytarowski

In short, we are already in a good state with the existing ptrace(2) interfaces, as most necessary functions in LLDB are representable by existing NetBSD specific interfaces. We can fully implement core LLDB functionality without further extensions in ptrace(2). During this project dozen of bugs were investigated & fixed and several hundreds of ATF tests added. The major addition is newly added support for hardware assisted watchpoints API for ptrace(2) on amd64 and preliminary code for i386 and XEN.[Read More] [6 comments]

 

Funded contract: 2016-2017


October 12, 2016 posted by William J. Coldwell

Greetings,


The NetBSD Foundation has initiated a contract with Kamil Rytarowski
 to complete the following during it:

   1.  Add missing interfaces in ptrace(2), mostly sync it with
       the FreeBSD capabilities, add ATF tests, add documentation.

   2.  Develop process plugin in LLDB based on the FreeBSD code in
       LLDB and make it functional (start passing at least some tests).

   3.  Revamp the process plugin in LLDB for new remote debugging
       capabilities (in order to get it accepted and merged upstream),
       pass more tests.

   4.  LLDB x86 support, pass more of the standard LLDB tests
       and import LLDB to the NetBSD base. Add some ATF LLDB basic
       functionality tests to the tree. The original tests are
       unreliable and generate false positives.

   5.  Develop missing features needed for .NET (POSIX robust
       mutexes), add ATF tests.

   6.  Develop missing features for VirtualBox as host, including
       needing sigevent(2) on par with POSIX and SIGEV_KEVENT, and
       other real-time AIO related interfaces as needed.

   7.  Port Apple's Swift programming language. Enhance .NET port to
       validate new interface and correct more issues as needed.

   8.  Improve VirtualBox host support. Make it build first by disabling
       missing features of providing empty facades for them.

   9.  Implement CDROM, floppy, NIC support for NetBSD in VBox as host.

  10.  Make VirtualBox runnable at least with a restricted feature set, ship
        it in pkgsrc, and submit it upstream.


The NetBSD Foundation will continue to work diligently with the
community to fund projects furthering specific key and quality
improvements to the NetBSD projects.  We have a list of projects at
http://wiki.netbsd.org/projects/ as well as welcome other proposals
to move our flag forward to next releases!

Thank you to Kamil for committing to it and we all look forward to it!

The NetBSD Foundation is a non-profit organization and welcomes any
donations to help us continue to fund projects and services to the
open-source community.  Please consider visiting the following URL,
and chip in what you can:

		http://netbsd.org/donations/#how-to-donate





			Submitted for The NetBSD Foundation,
				William J. Coldwell (billc@)
				President, Chairperson

20161012: edited to fix #10 to be the correct wording.
[2 comments]

 

The 2016-2017 NetBSD Foundation Board of Directors


October 06, 2016 posted by William J. Coldwell

Please join us in welcoming the new Directors to the NetBSD Foundation Board:

Michael van Elst, Taylor R. Campbell, Thomas Klausner

We'd like to sincerely thank the departing board members for their service during their term:

Matthew Sporleder, SAITOH Masanobu, Christos Zoulas

Christos will be remaining as Secretary and Treasurer for the Foundation.


Your 2016-2017 Directors of the Foundation are:
Erik Berls
Taylor R. Campbell
William J. Coldwell
Michael van Elst
Thomas Klausner
Jeremy C. Reed
S. P. Zeidler

The current office holders of the Foundation are:
President: William J. Coldwell
Vice President: Jeremy C. Reed
Secretary: Christos Zoulas
Treasurer: Christos Zoulas

Thank you to all of the developers that nominated and voted, the NomCom, the Voting Administrator and Voting Validator.

Respectfully submitted for the Board of Directors,
William J. Coldwell

[0 comments]

 

cdn.NetBSD.org and nycdn.NetBSD.org and fastly


July 05, 2016 posted by Matthew Sporleder

NetBSD is happy to announce a generous setup provided by Fastly to give us CDN services. We are live with cdn.NetBSD.org for downloading iso files, binary packages, and anything else that you would find on ftp.NetBSD.org.

nycdn is using nyftp.NetBSD.org as an origin so you can use it to download build snapshots and other useful stuff you would otherwise find on nyftp. (NetBSD-daily for example)


We have already changed some default download links (downloads and pkgsrc) and some pkgsrc files, so you might already be using the cdn without knowing it.

You can also change your PKG_PATH from ftp://ftp.netbsd.org to http://cdn.netbsd.org

HTTPS also works, but not IPv6


If you are not familiar, a CDN is a globally distributed set of caching proxy servers which makes downloading files faster when they are hot in the cache.

[1 comment]