Go to file
hannken cfba2bba58 There is no 1:1 relation between cv_signal() and cv_timedwait() as
the latter implicitly calls cv_signal() on error.

This leads to "tq_waiting > 0" with "tq_running == 0" and the
taskq stalls.

Change task_executor() to increment and decrement "tq_waiting"
and always check and run the queue after cv_timedwait().

Use mstohz(), fix timeout and sort includes.

Addresses PR port-xen/54273: "zpool create pool xbd2" panics DOMU kernel
2019-06-11 09:05:33 +00:00
bin When a return occurs in the test part of a loop statement (while/until) 2019-05-04 02:52:55 +00:00
common Make XDR usable from kernel or module. 2019-06-05 16:25:43 +00:00
compat - various updates for GCC 7 riscv definitions: -mabi and -march changed 2019-04-18 10:07:07 +00:00
crypto merge conflicts, regen man pages. 2019-06-09 18:44:29 +00:00
dist/pf - enlarge buffer to avoid snprintf() truncation 2019-02-03 10:48:46 +00:00
distrib it's html not himl. should fix build. 2019-06-10 10:28:41 +00:00
doc new openssl 2019-06-09 18:44:05 +00:00
etc Include armv4 for "earm", not just "earmv4". 2019-06-02 17:13:15 +00:00
external There is no 1:1 relation between cv_signal() and cv_timedwait() as 2019-06-11 09:05:33 +00:00
extsrc
games Report the users score _after_ the game has ended and the screen has 2019-03-19 00:11:34 +00:00
include Move the basic part of XDR to common/include/rpc and common/lib/libc/rpc. 2019-06-04 15:07:55 +00:00
lib Rework previous fix for getch cursor position when cursor is moved 2019-06-09 07:40:14 +00:00
libexec r_symndx is no longer declared, use symnum and initialize it before use. 2019-04-15 19:13:03 +00:00
regress Eliminate regress/libexec/ld.elf_so/expand 2019-04-06 16:25:52 +00:00
rescue fix duplicated chunk from merge 2019-01-27 04:33:29 +00:00
sbin Delete a redundant (useless) assignment. NFCI. 2019-06-04 11:59:05 +00:00
share turn on MKLLVMRT for aarch64 X11 builds. 2019-06-11 04:52:44 +00:00
sys Use AUDIO_SCALEDOWN() macro rather than seemingly strange ifdefs. 2019-06-10 13:49:39 +00:00
tests In the "got %d/%d" message printed at the end of the pingsize test, 2019-06-11 08:34:01 +00:00
tools force libexpat since the autoconfig test are not cross-compile friendly 2019-06-02 23:28:32 +00:00
usr.bin Deal with fallout from the addition of 2019-06-01 06:59:17 +00:00
usr.sbin Properly free section_clause. 2019-06-07 16:43:58 +00:00
BUILDING Fix a typo 2019-05-08 14:03:57 +00:00
Makefile Fix editor mishap 2019-06-06 14:51:43 +00:00
Makefile.inc
README.md Tidy up a bit. 2018-10-23 15:44:42 +00:00
UPDATING add a quick note about gcc 7 likely causing update build failures. 2019-02-08 09:57:01 +00:00
build.sh Fix long-term broken pattern match when determining if uname -p output is 2019-06-07 15:49:20 +00:00

README.md

NetBSD

NetBSD is a free, fast, secure, and highly portable Unix-like Open Source operating system. It is available for a wide range of platforms, from large-scale servers and powerful desktop systems to handheld and embedded devices.

Building

You can cross-build NetBSD from most UNIX-like operating systems. To build for amd64 (x86_64), in the src directory:

./build.sh -U -u -j4 -m amd64 -O ~/obj release

Additional build information available in the BUILDING file.

Binaries

Testing

On a running NetBSD system:

cd /usr/tests; atf-run | atf-report

Troubleshooting

Latest sources

To fetch the main CVS repository:

cvs -d anoncvs@anoncvs.NetBSD.org:/cvsroot checkout -P src

To work in the Git mirror, which is updated every few hours from CVS:

git clone https://github.com/NetBSD/src.git