Commit Graph

5349 Commits

Author SHA1 Message Date
jmcneill
cd5d9e70a6 Remove commented out IGEPV2 entry 2019-11-03 12:16:35 +00:00
jmcneill
086e3ee64a Remove OVERO from build, and commented out N900 kernel config 2019-11-03 12:09:04 +00:00
martin
01e1b821a0 PR port-arm/54640: hack to work around conditional RAW_PART definition in
arm/include/disklabel.h.

Recognize this special case and skip lines between #ifndef RAW_PART and
the next #endif.
2019-11-03 12:03:35 +00:00
ozaki-r
9dfe0beae9 MAKEDEV: add entry for vio9p(4) 2019-11-01 02:58:50 +00:00
jmcneill
ac5aca637c Remove BEAGLEBOARDXM from the build 2019-10-31 01:54:34 +00:00
jmcneill
bacddb2697 Revert previous for now. 2019-10-30 22:31:06 +00:00
jmcneill
6815ed4e39 Remove IGEPV2 and OVERO kernels from build 2019-10-30 22:28:16 +00:00
jmcneill
69484d380d Remove BEAGLEBOARD kernel from list of kernels to build 2019-10-30 21:45:25 +00:00
jmcneill
55237118f8 Unhook BEAGLEBONE kernel from the build 2019-10-28 22:23:51 +00:00
ozaki-r
24531cce63 Allow including numbers in %XXX_chr% parameter (for upcoming vio9p driver) 2019-10-28 02:53:29 +00:00
maxv
a6418236ed Add the "nvmm" group, and make nvmm_init() public. Sent to tech-kern@ a few
days ago.
2019-10-27 07:08:15 +00:00
christos
8f75e4b21c simplify more (from rudolf) 2019-10-23 14:45:38 +00:00
sevan
7a302a7da7 Update to 2019093001 2019-10-09 22:58:39 +00:00
sevan
76b3e0464f sync with latest from IANA 2019-10-09 22:42:14 +00:00
sevan
0e74c10957 No need to empose the script to be runnable during boot time, it prevents the
script from wroking if the system is booted into single user mode & then
moved onto multi-user mode.

Reported by <pgoyette> for NPF but the issue is there in PF too.
2019-10-05 22:21:29 +00:00
jhigh
c7ab523edc adding full scheme comparison to libcrypt:crypt and pwhash tests 2019-10-05 18:06:16 +00:00
mrg
b10b947bcc add gcc-8 dirs, remove gcc-6 dirs. 2019-10-03 01:34:31 +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
abs
039df638d6 Switch default console tty from /dev/console to /dev/constty
With this switch processes (such as xconsole) can open /dev/console
without breaking login on the text or serial console. This can be
trivially triggered by enabling xdm in rc.conf and hitting
Ctrl+Alt+F1 or equivalent once booted.

The changes:
- Add entry for /dev/console or /dev/constty if missing
- If a port's had /dev/console 'on' switch it off and enable /dev/constty
- If a port did not have /dev/console 'on', leave /dev/constty off

Some ports had /dev/console off and /dev/ttyE0 enabled, presumably to
avoid just this issue. It may make sense to adjust these also (but not
in this pass)

As discussed on current-users
2019-09-25 23:09:19 +00:00
gson
70cbf9d7a5 Don't mix tabs and spaces 2019-09-22 13:08:10 +00:00
thorpej
f4659c41ae Create the character device for spiflash, in addition to the block device.
This is needed for getdiskrawname() to DTRT (for installboot(8)).

XXX pullup-9
2019-09-19 01:44:48 +00:00
uwe
c3e808d597 Use $file instead of $(echo $file). I don't think the extra round of
word expansions was really intended here.
2019-09-18 22:27:55 +00:00
nonaka
da6a94293e Moved zfs out of MKX11 block.
Fix build failure without X11.
2019-09-18 05:16:15 +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
ryoon
2fe677174a Replace major number in MAKEDEV for vhci 2019-09-15 12:54:21 +00:00
maxv
250ccf12c0 Add vHCI, a driver which allows to send and receive USB packets directly
from userland via /dev/vhci. Using this, it becomes possible to test and
fuzz the USB stack and all the USB drivers without having the associated
hardware.

The vHCI device has four ports independently addressable.

For each xfer on each port, we create two packets: a setup packet (which
indicates mostly the type of request) and a data packet (which contains
the raw data). These packets are processed by read and write operations
on /dev/vhci: userland poll-reads it to fetch usb_device_request_t
structures, and dispatches the requests depending on bRequest and
bmRequestType.

A few ioctls are available:

	VHCI_IOC_GET_INFO   - Get the current status
	VHCI_IOC_SET_PORT   - Choose a vHCI port
	VHCI_IOC_USB_ATTACH - Attach a USB device on the current port
	VHCI_IOC_USB_DETACH - Detach the USB device on the current port

vHCI has already allowed me to automatically find several bugs in the USB
stack and its drivers.
2019-09-14 06:57:51 +00:00
kamil
f3834eb55d Add LLVM sanitizers in the MKLLVM=yes build
Enable in all the supported variations for NetBSD/amd64:

 - Address Sanitizer
 - Thread Sanitizer
 - Memory Sanitizer
 - Undefined Behavior Sanitizer
 - SafeStack
 - libFuzzer
 - XRay

This change enables the features on amd64 for start.
2019-08-14 01:42:08 +00:00
rin
01a583bbb1 little bit verbose for slow machines 2019-08-09 10:05:44 +00:00
nakayama
fa4c499b74 Add $_rc_subr_loaded before ". /etc/rc.subr" for speedup and consistency. 2019-08-07 19:30:00 +00:00
nakayama
8ea8ce4449 Change uname and gname to sync with etc/mtree/special.
It was missing in rev 1.195 changes.
2019-08-02 19:58:00 +00:00
martin
2d8834ad2a PR kern/53590: remove -U DEBUG from config(1) invocation (that is:
revert r1.413). DTrace needs the full symbol information.
2019-07-31 18:35:58 +00:00
gdt
e08f564969 MAKEDEV.tmpl: Create nodes for 16 USB hubs
As proposed on current-users, but with better formatting.
2019-07-29 17:53:20 +00:00
rin
a4c04eec88 Build and install WSFB and WSFBSBC. 2019-07-26 11:38:21 +00:00
wiz
7cf3371d55 Move bcm43xx firmware back to /usr/libdata/firmware.
On popular request.
2019-07-24 06:53:42 +00:00
msaitoh
532016140e Fix typo in comment (s/partion/partition/). 2019-07-24 02:37:17 +00:00
wiz
d3d2abdc28 Move bcm43xx to /libdata/firmware, where all the other firmwares live.
Deprecate /usr/libdata/firmware.
2019-07-22 14:47:51 +00:00
maya
4bc990b409 Create up to pci19.
We probably don't need more than one pci file, but the code needs to be
changed for it, which might introduce problems, and we're just before a
branch.

Not needed for evbarm because it uses devpubd by default.

Stopgap fix for PR xsrc/54388.
2019-07-21 11:14:18 +00:00
wiz
c4e128da50 Install the nouveau gm206 firmware as used by my graphics card.
Also add the other gm20x nouveau firmwares to the source tree
to make it easier to add them for someone who can test them.

Installed if MKNOUVEAUFIRMWARE is set to 'yes'.
This defaults to no except on amd64 and i386 (like for radeon).
2019-07-20 19:09:21 +00:00
mrg
175feda3cc add all the arm subdirs explicitly. the mtree vs dist strikes again. 2019-07-09 22:23:48 +00:00
christos
c43d42511d - sync with latest from iana
- add ttcp
2019-06-15 15:22:56 +00:00
christos
6de0d49aae Fix aarch64 2019-06-13 20:54:04 +00:00
thorpej
f227db01e6 Include armv4 for "earm", not just "earmv4". 2019-06-02 17:13:15 +00:00
nia
de9162c0be Raise the number of uhid nodes from 4 to 16.
My keyboard and mouse use multiple device nodes each. I can't use
any other devices once they're attached. With my keyboard, mouse,
and two game controllers attached, a total of 9 nodes are required.

Particularly, high-end keyboards with N-key rollover support require
more device nodes, since they pretend to be multiple keyboards to work
around limitations in the uhid compat spec.

My original intention was to raise it from 4 to 12, but martin
suggested increasing it to 16.

"somewhat insane, but so is reality" - mlelstv
2019-05-31 13:15:00 +00:00
maxv
16da3daa40 http -> https 2019-05-28 18:25:23 +00:00
mlelstv
b1f23fc946 Add experimental userland interface to IPMI driver. Currently, transactions
(like sensor readout) are locked, so that a userland program may interfere with
envsys operation.

To use this you need a program like ipmitool built with OpenIPMI support.
2019-05-18 08:38:00 +00:00
skrll
2c9023a65e Switch the kernel7.img RaspberryPi kernel in the armv7 image to GENERIC
and thus reducing the number of kernels built in an evbarmv7 release.
2019-05-18 07:33:10 +00:00
nakayama
8f5eb157ac Specify PID file to properly rotate npf log file. 2019-05-16 20:12:35 +00:00
maxv
0323b962b3 Remove comment, since there is no parsing anymore. 2019-05-13 18:53:10 +00:00
kre
480c945f6e I should know better! Don't rely upon the way the shell implements
pipes.   Skip the "error" printf from GetSmtId() as there is no easy
portable way to avoid it occurring (there are complicated ways) - but
we don't need it, there is no logical difference between "error" and ""
so just use the latter (if we get an ID, good, if there is nothing, then
there is none - saying 'error' does not mean anything.)
2019-05-12 11:55:47 +00:00
kre
6ae1c84105 No change... Previous log message should have said:
Install rc.d/smtoff
2019-05-12 01:50:14 +00:00