Commit Graph

16021 Commits

Author SHA1 Message Date
uwe
6cb1cbee17 Fix typo in register name in previous. 2019-11-28 19:53:04 +00:00
uwe
3295b861c7 Use .open/.write instead of .tm to emit TOC. 2019-11-28 00:06:39 +00:00
uwe
1d838ef35a Don't repeat the TOC file name, define a string. 2019-11-27 23:57:41 +00:00
uwe
c36ad7aef8 Don't open-code .tm calls to emit TOC entries.
Hide it in an .mktoc macro so that we can switch the way we generate
TOC more easily.
2019-11-27 23:53:01 +00:00
uwe
976914c39a Do not pass common/macros on the command line as input.
common/main already sources them, so there's no point to process the
file again *after* the document has been formatted.  Put it to SRCS so
that we still depend on it.
2019-11-27 23:19:13 +00:00
uwe
4e164a8536 Don't lose groff's stderr when creating TOC.
Divert only the .Ti lines to the TOC file.  Keep the rest, it may
contain useful messages (like the empty line bug in macros that was
messing up page numbers).

TODO: Since we already depend on groff extensions, we should just use
.open/.write to emit the TOC directly.  But commit this for now in
case I run out of round tuits.
2019-11-27 22:41:41 +00:00
uwe
8646816a6e Add missing backslash at the start of conditional input.
That avoids an empty line in the input (which didn't look empty, but
for troff it really was) that causes a break.

I don't remember enough linear algebra to understand what happened,
but that also fixes off by one in some page numbers in the TOC.
2019-11-27 21:37:27 +00:00
uwe
7e8735ca50 It's KRUPS not GENERIC-KRUPS. 2019-11-27 20:58:25 +00:00
uwe
aa4a633943 Make .Te and .To also emit .Ti with quoted arguments.
I missed them b/c I tested on sparc notes and sparc/install is stuck
in the 90s and doesn't include common/sysinst.  Now that all emitted
.Ti have properly quoted arguments we can revert TOCPROC to simple
grep.

While here convert .Te and .To to also use $* so we we can also drop
quoting from their calls in common/sysinst now.  Don't actually drop
those quotes yet though, as we probably can further simplify the call
sites by emitting the headings automatically instead of duplicating
them.
2019-11-27 19:07:31 +00:00
uwe
f8fceea814 Undo the .Ss2 quoting hack, the macros can now handle it. 2019-11-27 18:34:56 +00:00
martin
11ec07e83b When creating the TOC file, strip all incoming double quotes, but output
quotes around the third arg of the generated Ti macro invocation.
This fixes the TOC in non-html output. Pointed out by kre.
2019-11-27 15:58:12 +00:00
martin
a4dc321947 More cleanup:
- simplify TOC handling and remove arg limit (from uwe)
 - use Lk with explicit anchor text in some places
 - do not allow official release builds when we can not derive the
   proper date from the buildid
2019-11-27 09:29:25 +00:00
pgoyette
96d0fb0df9 Improve heading a bit. While here, use quotes to group some of the
words to avoid the 9-arg limitation of .Ss
2019-11-25 15:40:18 +00:00
uwe
6f79198e17 Quote long .Ss2 title to avoid troff's limitation.
Troff is limited to 9 macro parameters and this title is 10 words, so
we lose the last word here when we pass arguments around.  We have
more titles like that but for now I wanted to commit only one just to
flag the problem.
2019-11-24 23:26:43 +00:00
pgoyette
1d918f8ef9 Add "Oxford comma" 2019-11-24 16:16:21 +00:00
martin
3e4f9a7f75 Modernize release notes:
- use https where possible
 - adapt to cdn/nycdn and our current auto-build conventions
 - automate where possible
Many thanks to uwe for lots of *roff help.
2019-11-24 11:15:31 +00:00
alnsn
819cf7d8ba If gpt label "cgd.conf" contains a valid /etc/cgd file system,
try mounting gpt label "cgdroot" as a root filesystem first and
only mount /dev/cgd0a if that gpt label doesn't exist or fails
to mount.

XXX pullup to 8 and 9.
2019-11-22 00:27:30 +00:00
joerg
8e4a7b2e22 Merge amd64's UEFI logic back into the generic bootimage handling. 2019-11-21 22:29:03 +00:00
martin
d690403a01 Pass the set suffix (either .tgz or .tar.xz) from the makefile.
Document the rescue set.
2019-11-21 19:23:16 +00:00
martin
60689e2f59 Add missing .bullet) and replace some versions (more todo later) 2019-11-21 18:46:40 +00:00
martin
4a792bdb00 Bump image size for gcc8 2019-11-21 13:01:51 +00:00
hikaru
87bee1d028 Add opencrypto driver for Intel QuickAssist. 2019-11-20 09:37:44 +00:00
uki
dab314a7bd Fix uncorrect package name in xdebug mi 2019-11-14 02:27:18 +00:00
uki
d81276d301 Give syspkg names to lintlib packages 2019-11-12 10:14:11 +00:00
joerg
76c7fc5f6b Update LLVM to 10.0.0git (01f3a59fb3e2542fce74c768718f594d0debd0da) 2019-11-11 22:44:56 +00:00
christos
6fd58cbce2 Add __FPTRCAST 2019-11-10 18:47:13 +00:00
christos
6438fea304 bump for gcc8 2019-11-04 00:59:05 +00:00
rin
2055c79d5d Try to fix build failure due to missing obsolete qualifier. 2019-11-04 00:51:33 +00:00
rin
31575e7ffd Fix previous; restore accidentally removed newline. 2019-11-04 00:33:29 +00:00
uki
59b3edf18c Give syspkg names to xdebug files without some machine dependent files 2019-11-03 01:35:47 +00:00
christos
45e68d0766 Fix sets for gcc-8 2019-11-02 21:34:58 +00:00
msaitoh
2eec381762 Port SMSC LAN87xx 10/100 Ethernet PHY driver from FreeBSD with some cleanup
and IFM_NONE support.
2019-11-01 02:53:22 +00:00
jmcneill
06a777cdcb Move omap3 dtb files to /boot/dtb 2019-10-30 21:43:42 +00:00
martin
826ceeb473 Remove debug output, fix a progress message 2019-10-30 14:34:30 +00:00
martin
ebcef7ca7f Derive the FAT type from the MBR partition type and pass it on to makefs
when crating a msdos file system.
2019-10-30 14:16:15 +00:00
martin
c5068cfe52 Move a lot of *.dtb files to a dtb/ subdirectory on the FAT partition.
Mkimage (eroneously) creates a FAT16 partition (despite the configuration
asking for FAT32), and that has a root directory size limit.
Idea from Jared.
2019-10-30 12:28:32 +00:00
msaitoh
d4bacf091b Add jmphy(4) from OpenBSD. 2019-10-30 12:06:25 +00:00
uki
c9356f17fb Give syspkg names to xserver amd64 md files without xorg_server_ver=110 2019-10-30 11:59:02 +00:00
joerg
19861c4632 Fix aarch64 set for !gcc build 2019-10-28 18:08:44 +00:00
pgoyette
e372fea7cc Add debug entry for newly introduced nvmmctl utility. 2019-10-28 15:42:07 +00:00
maya
087d862b47 Disable filemon.
It isn't suited for general use (that is, it poses security risks),
but the existence of the module means it is auto-loaded when /dev/filemon
is opened, which can be done by any user.

Thanks Ilja van Sprundel for the heads up.
2019-10-28 13:19:50 +00:00
maxv
a8c6c0bf54 Add nvmmctl, with two commands for now. 2019-10-28 13:04:18 +00:00
ozaki-r
b2358a5409 Implement a front-end driver of virtio-9p called vio9p
In conjunction with mount_9p, it enables a NetBSD system running as a VM guest
to mount an exported filesystem by the host via virtio-9p.  It exports a 9p
end-point of virtio-9p via a character device file for mount_9p.

Reviewed by yamaguchi@
2019-10-28 02:56:40 +00:00
jmcneill
7b46fbe309 Switch to GENERIC kernels only. 2019-10-27 21:38:58 +00:00
jmcneill
788bc7b217 No support for tegra210 in armv7 kernel 2019-10-27 21:35:02 +00:00
christos
5f6e383c7a make this a bit bigger to prepare for gcc-8 2019-10-27 02:07:42 +00:00
uki
efe35ffde2 Give syspkg names to xserver without machine dependet files 2019-10-26 07:31:39 +00:00
martin
fdafaadd05 Add support for Nuvoton NCT5104D GPIO chips, as found on PC Engines APU
systems. From Andrew Doran in PR kern/54648.
2019-10-25 17:39:56 +00:00
rhialto
e9ed3c66a2 Solve [ vs. \133 in join.awk which replaces fix in r1.23 of regpkg. Ok uki@. 2019-10-24 16:52:11 +00:00
uki
6e824db87c Give syspkg names to xserver mi files 2019-10-23 21:40:36 +00:00
uki
ac8ca99519 Architecture dependency files are obsolete 2019-10-23 21:31:32 +00:00
uki
823b76dc06 Give syspkg names to xetc files 2019-10-22 06:28:18 +00:00
uki
5111726743 Give syspkg names to xcomp all online manuals 2019-10-22 03:01:53 +00:00
uki
03eb71223f Give syspkg names. catman, htmlman, man are remaining 2019-10-21 11:59:01 +00:00
christos
1e0c7fc18e remove sup 2019-10-15 18:33:23 +00:00
uki
dd7dd1d4bb Give syspkg's names to xcomp mi files until extensions. 2019-10-15 04:25:44 +00:00
christos
10efdc47b0 bump libssh 2019-10-12 18:34:14 +00:00
mrg
4324503887 remove shared libraries from 'obsolete' lists. should fix eg:
/usr/pkg/lib/libaudiofile.so.1: Shared object "libstdc++.so.8" not found

oops.  sorry for anyone affected by this.
2019-10-12 09:09:14 +00:00
nros
951054b00a Add manpage links for frexpf and frexpl.
Manpage links were missing for frexpf and frexpl even thogh they were
mentioned in the manpage for frexp.
2019-10-11 18:36:22 +00:00
msaitoh
d3ce678f8d Add support IC Plus IP1000* PHYs. PR/kern 42314 first reported by
Tomokazu HARADA and patch provided by Andrius V.
2019-10-07 11:53:40 +00:00
gutteridge
74401bb7d1 Add a note about pre-release ISO installers not being bootable. Relates
to PR port-macppc/54537. (This needs to also be placed in a more
prominent location. I've added it next to the explanation of the error
message for starters.)
2019-10-06 17:56:45 +00:00
jhigh
c7ab523edc adding full scheme comparison to libcrypt:crypt and pwhash tests 2019-10-05 18:06:16 +00:00
mlelstv
f84eb3e271 Fix typo 2019-10-05 09:25:11 +00:00
mrg
7cd6de38ea gcc 8 set lists updates. i don't appear to have broken gcc 7 builds
but i only tested a couple of them.
2019-10-03 00:59:49 +00:00
maya
50f7458533 Split out /rescue to its own set and adapt installers/images to add it.
This is meant to make updates safer: if something goes wrong with updating
base, we still have the old, standalone /rescue to recover from.
2019-10-02 11:15:59 +00:00
maya
ff1ecf5fdf Mark /rescue/edlabel as MI-obsolete, so we can remove all remaining MD
rescue set list files.
2019-10-02 09:47:24 +00:00
maya
586fb1f9e7 Remove ldconfig from /rescue, and mark it MI obsolete.
- ldconfig in netbsd refers to a.out binaries only. We've been ELF-only
  since NetBSD 2.0 or so, and having it in /rescue served little purpose
  even before that, as /rescue is standalone.
- Using MI obsolete to avoid the need for MD set lists where ldconfig
  is the sole entry
2019-10-02 09:45:10 +00:00
rin
d66ba54477 Describe roundup2(9) in roundup(9).
Bump date.

Install it also as roundup2(9).
2019-10-02 08:21:08 +00:00
christos
8edcd49088 grr forgot one libpcap. 2019-10-01 21:36:54 +00:00
christos
831945a111 new libpcap 2019-10-01 16:07:14 +00:00
mrg
21303c93e9 convert HAVE_GCC == 7 to HAVE_GCC >= 7. 2019-09-29 23:44:58 +00:00
kamil
7c33c59848 Fix MKDEBUG distrib sets
Add libpthread, libnvpair and ZFS libs to dynamicroot.
2019-09-23 16:07:07 +00:00
christos
7e81d727bc Consistently use ${RELEASEDIR}/${RELEASEMACHINE} instead of
${RELEASEDIR}/${MACHINE} (Paul Ripke)
2019-09-23 13:42:30 +00:00
christos
02cdd248ec Add a new member to struct vfsstat and grow the unused members
The new member is caled f_mntfromlabel and it is the dkw_wname
of the corresponding wedge. This is now used by df -W to display
the mountpoint name as NAME=
2019-09-22 22:59:37 +00:00
brad
2e0a32871b Add USE_SHLIBDIR=yes to a number of Makefiles for the libraries used
by /sbin/{zfs,zpool,mount_zfs}.  The general effect is to move them
from /usr/lib to /lib.  Compatibility links are installed in /usr/lib
and nothing that is installed, say in /usr/pkg, appears to break.

With this, it is possible to have a /var and /usr mount using ZFS
legacy mounting early on in the boot process.

Run tested on amd64 and i386 and compile tested on evbarm.
2019-09-22 18:45:19 +00:00
jmcneill
a594e6948a Add support for Mellanox 5th generation ethernet devices. This driver
supports the ConnectX-4 Lx EN, ConnectX-4 EN, ConnectX-5 EN, and
ConnectX-6 EN adapters.

Driver ported from OpenBSD.
2019-09-21 14:04:12 +00:00
mrg
fe950ae3d5 add mos(4) driver for Moschip MCS7730/MCS7830/MCS7832 usb ethernet.
ported from openbsd.  usbnet version loses about 40% of code.
2019-09-20 10:34:54 +00:00
mrg
472957cfb8 enable building modules for if_aue(4), if_cdce(4), if_cue(4),
if_kue(4), if_upl(4), if_url(4), and if_urndis(4)
2019-09-17 07:36:51 +00:00
mrg
e0661ac046 build exec_elf32 module on arm64. 2019-09-17 04:43:47 +00:00
mlelstv
3f34a4a221 Include mount_zfs man pages only for MKZFS builds. 2019-09-16 08:31:05 +00:00
brad
12ea0a140d Add support for legacy ZFS filesystems, specified by mountpoint=legacy
in the ZFS properties of the dataset and a simple man page for
mount_zfs.  With this, it is possible to put ZFS filesystems in
/etc/fstab as file system type zfs.

Add a rc.d script that kicks the module ZFS load mostly before
mountall runs simular to what LVM does.  This allows for any legacy
mounts to be specified in critical_local_filesystems and allows for
ZFS pools on top of cgd (probably among other things).  Introduce a
rc.conf variable called zfs which needs to be set to YES, in the usual
manor of things, to get zvols and ZFS dataset support rather then just
assume that 'zfs mount' does that in mountall.  Fix a problem in
mountall if ZFS is not compiled into the system.
2019-09-15 19:38:08 +00:00
christos
6d45a93d7f fexecve(2) related additions. 2019-09-15 16:58:11 +00:00
christos
7a5da1b9e8 add t_fcntl 2019-09-15 16:28:09 +00:00
martin
c96e2cf529 Add new multiboot2.h header. 2019-09-13 05:13:54 +00:00
uki
64399a4579 Give package name to xcomp machine dependency files 2019-09-12 09:45:43 +00:00
roy
5dd6236aa5 resolvconf: Build the pdnsd subscriber
Not the most ideal, but technically it works.
2019-09-08 21:04:31 +00:00
roy
c1380af7c7 resolvconf: Build the pdns_recursor subscriber
As it now does something more useful than libc.
2019-09-08 20:55:57 +00:00
christos
944c9a93f6 fix more bind bump. 2019-09-06 11:12:06 +00:00
christos
9049affe72 bump for bind 2019-09-05 19:37:46 +00:00
martin
54c2f8befb Use the non wide char libcurses version for the ramdisk to save space. 2019-09-04 12:10:00 +00:00
riastradh
1d19105e89 Revert "Add more missing firmwares."
This reverts
https://mail-index.NetBSD.org/source-changes/2019/08/27/msg108499.html
which broke the tree on case-insensitive file systems.

See discussion at
https://mail-index.NetBSD.org/source-changes-d/2019/08/27/msg011590.html
for alternatives considered.

This does _not_ simply mark the new files as `obsolete' in the set
lists, because if we marked foo.bin obsolete then on a case-
insensitive file system, then it would try to delete the FOO.bin that
we still want installed.  We'll require a manual change announced in
UPDATING and on current-users.

ok msaitoh
2019-09-03 15:34:08 +00:00
roy
c977d4cfab curses(3): add curses_version()
Returns NetBSD-Curses %s
Where %s is the NetBSD version taken from sys/param.h

Discussed on tech-net@, only for ncurses compat.
2019-09-02 09:08:29 +00:00
mrg
0483faae68 document usbnet diagnostics in usbnet(4). remove all the no longer
present messages in specific drivers for the usbnet drivers.
2019-08-30 08:54:58 +00:00
rmind
0e4f0bc520 Install thmap(9) man page. 2019-08-28 21:48:14 +00:00
uki
1c8b0f6e10 syspkg naming for xcomp shl.mi 2019-08-28 12:24:03 +00:00
kamil
1a5f018b01 Enhance the support of LLVM sanitizers
Define _REENTRANT for MKSANITIZER build. This is needed for at least stdio
code. This caused new build issued with duplicated symbols in few places
and rump kernel code picking different code paths borrowed from libc.
Handle all this in one go.

Add bsd.sanitizer.mk to share common code used by programs and libraries.

Switch from realall to beforeinstall target in .syms files. This is more
reliable in MKSANITIZER.
2019-08-27 22:48:53 +00:00
msaitoh
1286d0263a Add more missing firmwares. 2019-08-27 12:45:04 +00:00
msaitoh
0745f2c8df Add missing TAHITI_vce.bin, RV770_uvd.bin, RS780_uvd.bin and R600_uvd.bin.
Fix panic on my own HP EliteDesk 705 G1 SFF. It also fixes PR kern/53988
reported by Onno van der Linden.
2019-08-26 15:35:14 +00:00
kamil
a0f3a067f2 Correct the build rules of LLVM sanitizers
Fix generation of .a.syms files in LLVM sanitizers. The old rules weren't
functional and sometimes they were fatal in the build.

Add the .a.syms files to distribution sets.
These files are generated only in certain .a files in 64bit version of
sanitizers.

Correct the location of files with LLVM sanitizers. Move the LLVM sanitizer
entries from base to comp files.
2019-08-26 04:49:45 +00:00
mrg
1db21b1df3 fix MKCXX=no:
- don't build GDB
- don't build sanitizers
- don't build GCC commands
- fix some set lists
2019-08-23 08:17:26 +00:00