[[!meta title="Brainstorming of project proposals"]]
This page includes a brainstorming of ideas for project proposals. While most,
if not all, of the projects in this page are good ideas to propose to
potential applicants, the ideas themselves have not received enough attention
to write up a project specification for them. Any project considered good
enough to be thrown at applicants should get a page of its own within
projects/project/* and get a well-defined write-up explaining what the project
is about, why it is important for NetBSD, and what is expected from the
# Kernel Projects
1. related to (2) - rewrite sysctl to be less difficult to use
1. Implement SYN cookies, stretch goal - extended syn cookies with timestamp usage
1. *difficult* a QoS implementation for NetBSD in the year 2011
1. Debug, and merge the iscsi initiator - stretch goal - get rid of the weird portal stuff which we don't need
1. update linux emulation
>> Update to what it was updated not long time ago to 2.6.18 kernel.<br>
> Indeed, and RHEL 5 uses a modified 2.6.18 kernel. But RHEL 5 has been available since March 15, 2007, and is due to be "End of Production 1" in Q4 2011 -- agc
1. *difficult* investigate ffs dir hashing, and fix related bugs (hard)
>> I implemented a debugged generic dir hashing. It could be extended to also allow FFS, but FFS's directory stuff is all over the place and i fear to break it. Also FFS directory packing needs attention. -- Reinoud
1. *difficult* single instance storage and de-duplicating (might be too long?)
>> This might be possible to implement on top of device-mapper driver.<br>
> I was thinking that Single Instance Storage and de-duplication really needs access to userspace, and is best implemented there -- agc
1. *difficult* get some form of jails up and running
>> Maybe restoring MULT to working state is an option here, another possibility is to get gaols working. Some fresh approach to jails might be implemented on RUMP because it basically allow us to create in process virtual machine and run them independently.
1. add shred/wiping and memtest options to boot menu
1. add ability to store entropy at shutdown time, and to boot and restore same entropy. at same time, add a monitor (chi^2?) for randomness over small sample sizes to /dev/random. investigate other ways of generating pseudo random numbers - 2 mersenne twisters sampling at different speeds, and throwing away random interim values due to another re-keyed prng or better. i.e. beef up our random number generation.
1. find a method to boot a boot.cfg entry once (and then fall back to the default method). This requires, especially, that the boot flip back to the default method if the once-off fails.
1. *difficult* Write new DTrace provider for watching locks(lockdebug), userspace or any other from available ones <http://wikis.sun.com/display/DTrace/Providers>
1. SCTP support
1. Change keyboard drivers to emit USB scancodes in event mode so for example ADB or Sun keyboards can coexist with things like USB keypads on the same mux and we don't need a separate InputDevice section in xorg.conf for each. This should be relatively easy.
1. Port FreeBSD's DAHDI implementation to NetBSD, so that Asterisk on NetBSD will have hardware support. FreeBSD's DAHDI implementation is SMP, so this isn't a simple port. Also, just about every FreeBSD kernel API related to device drivers and modules are different from the NetBSD equivalent meaning that one needs to basically know both kernels.
1. Merge all PC style floppy drivers to be similar to other "portable" drivers that use a bus frontend with a common chip backend (or possibly two: pseudo DMA and real DMA).
1. Create a new HID framework so that we can merge the USB and Bluetooth HID drivers, also allowing creation of drivers to properly handle devices such as Apple Magic Mouse which use several [undeclared] reports.
1. Improve tmpfs
# Userspace Projects
1. a Java implementation we can use across all netbsd platforms
1. (controversial) a pcap-based port-knocking system, similar to pkgsrc/net/knock
1. puffs-based cvsfs (there's one out there which relies on extattrs)
1. fuse lowlevel
>> Wasn't this already done ?<br>
> ReFUSE does the upper layer of FUSE, and the excellent /dev/fuse does the device interface, but we are still lacking FUSE lowlevel functionality -- agc
1. automatic setlist generation - see my post to tech-userlevel a few months ago for the code i used (and which was used to generate all the libisns entries, btw).
1. Embedded World-Generator: a tool to build smaller distribution and using custom packages and software - aimed at the embedded market
1. Device-mapper RUMP testing: Write device-mapper testing framework based on libdm and RUMP this should be able to allow us to develop new targets easily.
1. RUMP ZFS testing: integrate and write ZFS testsuite for NetBSD.
1. Update userspace build of ddb (/sbin/crash) add more architectures and more functions to live/post mortem kernel debugging.
1. A new puffs(4) based auto-mount daemon which supports direct mounting (not via "/amd") and Solaris style auto-mounter maps.
1. port valgrind to NetBSD - [valgrind](http://valgrind.org/) is a code instrumentation framework that can be used to find memory related bugs in programs as well as conduct performance analysis. Valgrind is written for linux, and recently there is has been a MacOS/X port. The code is very much linux specific, and we should talk to the maintainers before starting work on it to find out if they will accept a NetBSD port, and also provide some assistance with the design of a portability layer. We should also do some research to see if we can re-use the [FreeBSD](http://wiki.freebsd.org/Valgrind) port. For previous attempt see http://vg4nbsd.berlios.de/
1. Implement enough of libudev so that Gnome (KDE?) in pkgsrc can use it
1. Stack Backtrace Library - Write a library that the kernel debugger and return_address(9) can use to walk down the call stack. Use the technique that [David Laight](mailto:dsl@NetBSD.org) recommends: TBD.
# pkgsrc projects
1. Modular libtool: rewrite libtool replacement that is faster and more convenient to maintain, so that one can add compilers to it without rebuilding the whole package.
1. Go back to previous pkgsrc install state: Write a tool to help with reverting the installation to some previous state. See pkg_tarup, pkg_chk.
1. Add support for multi-packages (building multiple binary packages from single source).
> don't we do that already? (I guess this means: more info please :-) -- spz
>> No, we don't. We don't produce more than one package during the single build.
CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb