Hackathon 17
The 17th NetBSD hackathon is running from June 14th until June 17th. Our goal is fixing all the bugs that need fixing to get NetBSD-current ready for the creation of the NetBSD 6.0 release branch.
Join us on the IRC channel #netbsd-code on freenode (irc.freenode.net). Just join, have a look around and ask your questions or what work needs to be done.
Release plans for NetBSD-6.0
This file is managed by the release engineering team - please get in touch with them with any feedback.
Will be in 6.0
- ZFS - need an update on viability, needs work
- in-kernel iSCSI initiator, and user tools - in othersrc, needs to be moved to src
- 64-bit time_t
- rump - pooka has declared interfaces stable
- LVM/dmapper and tools
- workable MIPS for all
- netpgp - agc
- able to use external compilers and toolchain
- cleaned up files in repos - joerg
- support for wide efficient regexps with tre
- native X11R7
- TLS - joerg
- following on from TLS, modern gdb
- lua scripting
- agreement and communication of tiered port system (before release) - pooka
- other enhancements and new functionality in -current
- tcp support in libsa? need to merge SoC project
- sasl - SoC project was merged
- namei changes - dholland
- support for resizing ffs - riz
- production support for fss
- Xen/SMP
- Xen suspend/resume
- automated test framework for testing releng autobuilds
- full functionality for NPF - SMP-aware packet filter - rmind
- fixed IPSEC NAT-T
- GPT-aware bootloader for i386/amd64 - jakllsch
- gcc 4.5
- clang - joerg
- NetBSD/usermode - jmcneill, reinoud
Possibly in 6.0
- mobile IPv6 - we have the mods, need application of same to the repo
- kernel modules need work
May not make 6.0
- XIP
Will not be in 6.0
- gaols
- sctp
- devfs
Alistair Crooks On behalf of core and releng teams
Primary goals
We want NetBSD 6.0 to be the best NetBSD release ever. There are already a lot of great features in it:
- Improved kernel performance and scalability
- New kernel module framework with automatic module loading
- Logical Volume Manager
- NetBSD Packet Filter
- Xen SMP support
- Flash file-system CHFS
- Automated Regression Testing
- Improved FUSE support
- Updated Linux emulation
- GCC 4.5.3
- Updated X.org X11 distribution
- SMTP authentication client built into Postfix (now version 2.8.7)
- New and enhanced drivers
- ... and many other features
To make sure that NetBSD users get the best possible experience of the new release we would like to fix as many as possible of the following bugs. If you are able to help us to fix these bugs by supplying patches or testing fixes please consider to participate. We are also in need of people to supply documentation fixes, preferably in the form of patches. Release notes and/or manual pages!
Critical bugs:
- PR 45677: The stress_killer test sometimes does
- PR 45708: Unable to read big files from large FFSv2 (12TB), ls out of swap
- PR 44788: mlock(2) panic
- PR 45187: select(2) sometimes doesn't wakeup
- PR 45833: occasional crash of 5.99.59: SPL NOT LOWERED ON TRAP EXIT
Important bugs:
- PR 38670: ^Z does not seems to suspend programs that vfork'ed and wait.
- PR 38965: ktrace locking issue
- PR 39420: stopped processes can hold locks
- PR 42663: lwp_exit() might race with lwp_free()
- PR 44658: spurious chroot escape warning
- PR 34735: diagnostic assertion failed genfs_vnops.c 1123
- PR 38760: umount -f /usr panics the system
- PR 39548: kernel debugging assertion "(vp->v_flag & VONWORKLST)" failed
- PR 30525: remounting ffs read-only (mount -ur) does not sync metadata
- PR 39264: newfs can create a filesystem with > 231 inodes, which doesn't work
- PR 40562: busy loop in ffs_sync when unmounting a file system
- PR 41013: netbsd5-rc2 crash (kernel diagnostic assertion "vp->v_usecount == 1" failed)
- PR 39371: wapbl should allow mounting "/" even if journal is hosed
- fixed
PR 39609: wapbl "replaying log to disk" message is potentially misleading - fixed
PR 32318: NFS client or server hang - PR 39385: unmounting ptyfs with busy ptys causes deadlock in vrele
- PR 40388: IPv6 incompatibility with pre-5.99.6 binary
- PR 38078: IPFilter lacks documentation almost completely
- PR 38457: ipf doesn't handle IPv6 fragments
- PR 39066: Tty settings mangled.
- PR 4029: Register usage doesn't comply with SPARC ABI
- PR 38540: recent i386 GENERIC kernel cannot boot with VIA chipset
- PR 38643: (dM) st tape drive loses data
- PR 39305: loops through gre(4) cause a hang or crash
- PR 42420: $ORIGIN undefined on NetBSD
- PR 40066: gcc -O1 generates wrong code in loop optimize
- PR 40468: Optimizer bug suspected -- porting devel/libffi to NetBSD/powerpc
- PR 30756: gdb not usable for live debugging of threaded programs
- PR 41936: gdb does not work for threaded programs on sparc64
- PR 41208: objcopy -S -O binary aborts w/ BFD internal error
PR 41127: Update/improve newfs docs regarding raw devices- fixed: PR 40346: libexpat should be in base.tgz
- PR 9582: sysinst doesn't allow source or pkgsrc installation
- PR 38571: sysinst runs "postinstall fix"
- PR 12769: clarify the upgrade notes for when the sets are on /usr
- PR 43314: pc relative relocations are "off by 1*size" on vax
- PR 44159: startx (xinit) fails
- PR 45155: there are no usb-stick installer images
- PR 45439: gcc generates out-of-range branch insn for m68k
- PR 45573: internal compiler error when building f2c on sparc64
- PR 45620: MAKEDEV failures remains unoticed in miniroot build
- PR 45628: acpicpu(4) changes between 5.99.55 and 5.99.56 break amd64
- PR 45816: Screen corruption in German sysinst install
- PR 45854: vnode clean list corruption?
- PR 45974: kernfs mount point directory listing is empty
Should be fixed:
- PR 37726: request documentation of 2147 second limit on adjtime(2)
- PR 19774: ddb can be entered twice and then you can't get out
- fixed
PR 36526: ddb(4) doesn't document ddb.commandonenter fully, nor correctly - PR 36227: TRYEMULROOT-related doc issues about absolute symlinks
- PR 38141: lookup/vfs_busy acquire rwlock recursively (now, transient unmount failures)
- PR 38889: Crash on open/mmap/close of block device
- PR 45694: update by ./build.sh doesn't complete because of unwriteable /dev
- PR 38265: sometimes /kern directory can not be read
- PR 33642: Sometimes, creating new users and then chowning directories for them, leads to a panic.
- PR 32844: unix domain sockets documentation is incomplete (and see 38993)
- PR 22522: connect(2) may fail with EINVAL
- PR 38668: fast_ipsec, ipv6 ans socket locking doesn't play well together
- PR 6536: wsconsctl metaesc setting is undocumented
- PR 9725: GNU autoconf mmap() test causes panic in hp300-based m68k pmap code
- PR 34100: keyboard not working on my Compaq Presario V2658US notebook
- PR 39275: HEAD amd64 kernel hang at uhub5 at usb5 vendor 0x1002 EHCI ...
- PR 32830: sd(4) contains incorrect & incomplete information
- PR 42596: getopt_long(3) manual does not mention + and - leading character in optstring parameter
- PR 41891: our pthread doesn't like wine 1.1.27
- PR 20272: No daily checks for disk quotas
- PR 8282: PSD for make not in sync with program and manpage
- PR 41652: newfs neither respects nor updates the block and frag sizes in disklabel
- PR 26835: cgd.conf handled incorrectly in case cgd on cgd
- PR 28624: cgdconfig with no keygen entry fails silently
- PR 36243: cgdconfig manual page correction: document -n flag; add -V to -g case; omit -n in -g case
- PR 14578: sh(1) doesn't explain emacs editing mode
- PR 35227: /bin/sh does not clean up zombies under certain circumstances
- PR 36532: fix for a core dump in /bin/sh dotrap()
- PR 40554: >& -operator incorrectly documented in sh(1) man page
- PR 32591: cap_mkdb(1) does not update properly db files?
- PR 34890: ldd(1) receives SIGSEGV when called for certain files
- PR 29719: confusing passwd(1) warning w/ short password and PAM
- PR 11223: POSIX.2: ps -G not supported (committable patch)
- PR 37288: su fails if home on nfs without root privileges
- PR 18936: syslogd should call initgroups()
- PR 19722: fix for 3 uncompress(1) bugs that delete/truncate the wrong file
- PR 39428: wpa_supplicant.conf(5) describes `ap_scan' option vaguely
- PR 32519: ypbind spams syslog if it loses connectivity
- PR 41266: build.sh invoked mkisofs has wrong path for iso image
- PR 43272: no nbsed after first release build
- PR 9904: sysinst sometimes doesn't store network config
- PR 37415: sysinst should be available after installation
- PR 10277: i386 floppies have slip but not ppp support
- PR 39697: no raidframe support in sysinst
- PR 43357: initial security run output is too large
- PR 43361: no IPv6 network installation on some boot media
- PR 13533: there should be a PDF version of the INSTALL notes
- PR 42495: Corrupt db files created by cross-built pwd_mkdb and cap_mkdb
- PR 43322: netbsd-5 tools compat build does not respect TOOLDIR
- PR 44578: cross-building netbsd5 on current-amd64 is missing /var/db/libc.tags
- PR 45473: Please fix "build tools" on OpenIndiana 151a
- PR 45560: Unable to cross build HEAD kernel on MacOS X 10.7
- PR 45673: gcc 4.6 on i386 current generates bad code for assembler code in lock.h
- PR 45697: build.sh fails to build tools with gcc (the one coming with FreeBSD)
- PR 45846: pf(4) re-directs broken
It would also be nice to fix the following bugs:
- (no PR): dump, restore, tar, cpio, scp, sftp, rcp do not copy extended attributes
- PR 2512: fuword() definition problem
- PR 28448: stackable filesystems locking breakage when looking up DOTDOT
- PR 32367: umount -f deadlock
- PR 37706: Forced unmount of file systems is unsafe
- PR 40681: possible data loss path in the buffer cache code
- PR 12189: vnd-caused deadlock in buffer cache
- PR 12404: panic: ffs_alloccg: map corrupted
- PR 19110: nullfs mounts over NFS cause lock manager problems
- PR 22725: kernel panic while attempting mkfifo on (localhost, userlevel) NFS volume
- PR 41874: in-kernel NFS server hates network interface aliases
- PR 13861: nullfs can't be remounted ro/rw
- PR 25810: ipf4 ftp proxy has problems with long 221- lines
- PR 34452: Freecom USB HDD which worked with 2.x doesn't work with 3.1_RC1, 4.0_BETA or 4.99.1
- PR 32344: atu(4) makes kernel crash
- PR 32938: PCMCIA cards with fixed IO addresses are not working.
- PR 19085: Belkin switchboxes bust PS/2 mouse probe (see 24063?)
- PR 24363: PS/2 mouse code could be a bit smarter (see 19085?)
- PR 34822: libossaudio ignores mixer class
- PR 8156: step/next in gdb do not work on arm32
- PR 44829: gdb -q prints bogus messages
- PR 20993: .USE rules don't mix with .SUFFIXES
- PR 45027: make: yacc/mkdep build race
- PR 35547: add timeout to cgdconfig
- PR 30771: patch to add -m option to calendar(1)
- PR 20663: temporary system errors can cause cron jobs to hang forever
- PR 30295: getty accepts too few letters after username prompt
- PR 4617: inetd -l option is too broad a brush
- PR 20264: lint(1) has problems with named member initialization
- PR 22119: lint segv on malformed function pointer cast
- PR 22500: lint breakage for named initializers
- PR 38542: lint does not grok complex designated initializers
- PR 42654: Coverity Scan Issues on ls.c
- PR 35460: man(1) and catman(1) don't honour '\" first line comment
- PR 11219: less(1) is not compatible with POSIX.2 "more"
- PR 30420: chrooted named does not work out of the box.
- PR 44889: netstat -d option is broken
- PR 19468: pr(1) does not support -f or -p options
- PR 12266: ps on a dump prints command line from live system
- PR 18257: POSIX.2-1992: ps(1)'s TIME column has the wrong format
- PR 40813: bad ps/ptyfs interaction
- PR 23847: route add 10.10.10/21 dest results in 10/21 to dest
- PR 37876: rpcbind(8) and related services should be able to bind(2) to a specific interface
- PR 6832: savecore could be better
- PR 30324: BSD sed wraps the regexp when it's too long.
- PR 34560: Basic regexes go wrong when combining bound and backref
- PR 11904: tail segfaults and core dumps on I/O error
- PR 38066: tar doesn't dearchive correctly long symlinks
- PR 41049: usermod -g =uid testuser does not create group as indicated by man page
- PR 41526: re-support /usr/bin/vi's -F option
- fixed
PR 43839: vi can't resize in -current - fixed in HEAD in 2009
PR 45006: nvi gives nonsense error when TERM environment variable unset - PR 5034: the num lock light doesn't change when switching to X (also, 9127)
- PR 9127: CapsLock not properly handled between virtual consoles with X (also, 5034)
- PR 42569: Please import xf86-input-usbtablet driver from OpenBSD xenocara
- PR 43320: build.sh fails on Cygwin 1.7.2
- PR 9900: sysinst only uses 1 drive
- PR 12020: Sysinst refuses upgrade unnecessarily (overzealous fscking)
- PR 17593: suggestions to improve sysinst wrt disk handling
- PR 17801: sysinst doesn't correctly handle changing mount points or conflicting mount points
- PR 35066: sysinst should save media options in an ifconfig.if(5) file
- PR 35538: sysinst duplicates hostname on upgrade
- PR 39352: sysinst enhancement suggestion: file browser
- PR 13532: the HTML generated for INSTALL.html is atrocious
pkgsrc, a portable multi-architecture packaging system
This wiki page attempts to organize information in the NetBSD wiki about pkgsrc.
The official website for the pkgsrc project can be found at pkgsrc.org.
Other documentation
The canonical location for pkgsrc documentation is the pkgsrc guide (located in pkgsrc/doc/guide/).
Compilers and compilation options
pkgsrc supports multiple compilers.
pkgsrc supports a number of exploit mitigation techniques.
Unordered list of pkgsrc tutorials
Unordered list of all pkgsrc wiki pages
- faq
- frequently asked questions from pkgsrc developers
- gcc
- hardening
- how to clean all pkgsrc work directories
- how to convert autotools to meson
- how to do an unprivileged bulk build on irix
- how to do an unprivileged bulk build on solaris
- how to install a lamp server
- how to install a mysql server
- how to install a postgresql server
- how to install modular xorg
- how to save your packages
- how to update a package in pkgsrc
- how to upgrade packages
- how to use pkg options with pkgsrc
- how to use pkgsrc
- how to use pkgsrc mounted over nfs
- how to use pkgsrc on aix
- how to use pkgsrc on hp-ux
- how to use pkgsrc on irix
- how to use pkgsrc on linux
- how to use pkgsrc on osf1
- how to use pkgsrc on solaris
- intro to packaging
- macos porting notes
- macosx tiger powerpc
- mk.conf
- remote
- solarish
- targets
- texlive