5eebb8b7 | 03-Dec-2024 |
Aaron LI <aly@aaronly.me> |
rc.conf.5: Document the missing dhclient_flags_<interface>
This interface-specific dhclient(8) flags variable is supported by the rc script, but was missing in the man page.
Obtained-from: FreeBSD |
7569b845 | 20-Aug-2024 |
Aaron LI <aly@aaronly.me> |
wg.conf.5: Fix a typo (in-inline comments are *not* allowed) |
8506772f | 24-Jul-2024 |
Michael Neumann <mneumann@ntecs.de> |
acpi: Narrow workaround for broken interrupt settings
Commit ad52dd3206 ("Sync acpi_resource with FreeBSD") introduced a workaround for some broken BIOSes that specified active-lo instead of active-
acpi: Narrow workaround for broken interrupt settings
Commit ad52dd3206 ("Sync acpi_resource with FreeBSD") introduced a workaround for some broken BIOSes that specified active-lo instead of active-hi polarity for ISA IRQs for UARTs. The workaround assumed that edge-sensitive ISA IRQs on x86 should always be active-hi. However, some recent AMD systems actually use active-lo edge-sensitive ISA IRQs (and not just for UARTs, but also for the keyboard and PS/2 mouse devices) and the override causes interrupts to be dropped resulting in boot time hangs, non-working keyboards, etc.
Add a hw.acpi.override_isa_irq_polarity tunable (readable as a sysctl post-boot) to control this quirk. It can be set to 1 to force enable the override and 0 to disable it. The log of FreeBSD-PR (see below) mentions an Intel motherboard as the sample case, so default the tunable to 1 on systems with an Intel CPU and 0 otherwise.
Special thanks to Matthias Lanter <freebsd@lanter-it.ch> for tracking down boot time issues on recent AMD systems to mismatched interrupt polarity.
Taken-from: FreeBSD [1]
FreeBSD-PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270707
[1]: https://github.com/freebsd/freebsd-src/commit/0a34d050ae8ea14feddd3d2a62fd2f612613b2c5
show more ...
|
31b00396 | 18-Jul-2024 |
Aaron LI <aly@aaronly.me> |
rc.conf: Add and document the missing root_rw_mount=YES
The 'root_rw_mount' variable was missing, and it caused the rc.d/root script to always ignore the 'mount -u -o rw /' command. Nevertheless, t
rc.conf: Add and document the missing root_rw_mount=YES
The 'root_rw_mount' variable was missing, and it caused the rc.d/root script to always ignore the 'mount -u -o rw /' command. Nevertheless, the '/' root filesystem was still remounted to be 'rw' because the later 'mount -a' command, according to /etc/fstab.
With this 'root_rw_mount=YES' placed, the '/' entry should now be optional in /etc/fstab because the '/' root filesystem can be correctly remounted to be 'rw'.
Obtained-from: FreeBSD (commit 6e1b226) Reported-by: robstinge (IRC)
show more ...
|
93f7425f | 20-Jun-2024 |
Roy Marples <roy@marples.name> |
bridge(4): document net.link.bridge.pfil_onlyip
Explain what it does and give the example that disabling it allows PPPoE traffic.
Important when you want to serve PPPoE to your VMs. |
ca360a8c | 07-Mar-2024 |
Aaron LI <aly@aaronly.me> |
procfs(5): Update man page for the previous change |
30152012 | 03-Mar-2024 |
Aaron LI <aly@aaronly.me> |
netinet6: Improve flexibility of receiving Router Advertisement
Convert the sysctl 'net.inet6.ip6.accept_rtadv' to be the default value of the per-interface flag 'ND6_IFF_ACCEPT_RTADV', making it no
netinet6: Improve flexibility of receiving Router Advertisement
Convert the sysctl 'net.inet6.ip6.accept_rtadv' to be the default value of the per-interface flag 'ND6_IFF_ACCEPT_RTADV', making it no longer a global knob. Now the receiving RA is allowed if ip6_forwarding==0 *and* 'ND6_IFF_ACCEPT_RTADV' is set on that interface.
ndp(8) already supports to toggle the 'ND6_IFF_ACCEPT_RTADV' flag via the 'accept_rtadv' option.
Derived from FreeBSD.
show more ...
|
fca046ff | 02-Mar-2024 |
Aaron LI <aly@aaronly.me> |
netinet6: Improve handling of auto link-local address configuration
Add a new per-interface flag 'ND6_IFF_AUTO_LINKLOCAL' and convert the sysctl 'net.inet6.ip6.auto_linklocal' to be the default valu
netinet6: Improve handling of auto link-local address configuration
Add a new per-interface flag 'ND6_IFF_AUTO_LINKLOCAL' and convert the sysctl 'net.inet6.ip6.auto_linklocal' to be the default value of this new per-interface flag. This allows to fine control the automatic link-local address configuration on a per-interface basis.
Update ndp(8) to support to toggle the 'ND6_IFF_AUTO_LINKLOCAL' flag by adding the 'auto_linklocal' option.
Document the 'IPV6CTL_AUTO_LINKLOCAL' option in the inet6(4) man page.
Derived from FreeBSD.
show more ...
|
cdf2358c | 23-Feb-2024 |
Aaron LI <aly@aaronly.me> |
rc.d: Add FILESYSTEMS dummy dependency
This dummy dependency ensures that root and other critical local file systems are mounted. One of the intentions to add this dummy dependency is to fix the wa
rc.d: Add FILESYSTEMS dummy dependency
This dummy dependency ensures that root and other critical local file systems are mounted. One of the intentions to add this dummy dependency is to fix the warnings caused by some ports' rc script wrongly dependent on this script.
Update the rc.8 man page; meanwhile, tweak the description of other dummy dependencies a bit.
Updating existing rc scripts to make use of FILESYSTEMS is coming in another commit.
Obtained-from: FreeBSD
show more ...
|
451640b7 | 14-Feb-2024 |
Aaron LI <aly@aaronly.me> |
wg: Write rc(8) script to easily manage wg(4) interfaces
This "wg" rc(8) script is somewhat similar to the "wg-quick" tool on Linux/FreeBSD. It can be used to quickly start/stop the wg(4) interface
wg: Write rc(8) script to easily manage wg(4) interfaces
This "wg" rc(8) script is somewhat similar to the "wg-quick" tool on Linux/FreeBSD. It can be used to quickly start/stop the wg(4) interfaces according to the wg.conf(5) configuration files in the "/etc/wireguard" directory.
The syntax of wg.conf(5) configuration file is very similar to that of "wg-quick" but with necessary changes and minor additions. See wg.conf(5) for details.
On the one hand, the new "wg_enable" and "wg_interfaces" variables in "/etc/rc.conf" can be used to auto-configure the wg(4) interfaces during the system startup. See rc.conf(5) for more details.
On the other hand, this "wg" script can be manually called from the command-line to start/stop the wg(4) interfaces.
Thanks to swildner for reviewing the man page.
show more ...
|
a1517f78 | 14-Feb-2024 |
Aaron LI <aly@aaronly.me> |
rc.conf.5: Reorder "rc_conf_files" to group "rc_*" variables |
dfbadd37 | 16-Jan-2024 |
Aaron LI <aly@aaronly.me> |
wg: Hook to the build system |
874a3174 | 18-Jan-2024 |
Aaron LI <aly@aaronly.me> |
wg: Adapt the man page to match our version |
a6bca3d2 | 20-Sep-2023 |
Aaron LI <aly@aaronly.me> |
wg: Import from FreeBSD without any modifications
From FreeBSD main branch as of 2023-09-19.
Kernel module/driver: - sys/dev/wg/compat.h - sys/dev/wg/crypto.h - sys/dev/wg/if_wg.c - sys/dev/wg/if_w
wg: Import from FreeBSD without any modifications
From FreeBSD main branch as of 2023-09-19.
Kernel module/driver: - sys/dev/wg/compat.h - sys/dev/wg/crypto.h - sys/dev/wg/if_wg.c - sys/dev/wg/if_wg.h - sys/dev/wg/version.h - sys/dev/wg/wg_cookie.c - sys/dev/wg/wg_cookie.h - sys/dev/wg/wg_crypto.c - sys/dev/wg/wg_noise.c - sys/dev/wg/wg_noise.h
Module makefile: - sys/modules/if_wg/Makefile
Man page: - share/man/man4/wg.4
show more ...
|
6e4546d1 | 08-Feb-2024 |
Aaron LI <aly@aaronly.me> |
lo.4: Describe RXCSUM/TXCSUM support, other minor updates
The RXCSUM/TXCSUM support was added in commit 72662a by sephe. Update the man page to describe it. Meanwhile, add some other minor updates
lo.4: Describe RXCSUM/TXCSUM support, other minor updates
The RXCSUM/TXCSUM support was added in commit 72662a by sephe. Update the man page to describe it. Meanwhile, add some other minor updates from FreeBSD.
Obtained-from: FreeBSD
show more ...
|
d915b672 | 25-Jan-2024 |
Aaron LI <aly@aaronly.me> |
lock.9: Minor markup improvements
Meanwhile, tweak a wording a bit. |
550c09d2 | 25-Jan-2024 |
Aaron LI <aly@aaronly.me> |
objcache.9: Add ctor/dtor/alloc/free function typedefs to SYNOPSIS
Also add the 'objcache_malloc_args' struct definition. |
e61925a5 | 25-Jan-2024 |
Aaron LI <aly@aaronly.me> |
objcache.9: Improve one markup |
8bd03982 | 25-Jan-2024 |
Aaron LI <aly@aaronly.me> |
objcache.9: Use 'destructor' instead of 'deconstructor'
Well, the 'destructor' is now the most common terminology in programming. |
6b4284b1 | 25-Jan-2024 |
Aaron LI <aly@aaronly.me> |
gif.4: Remove one duplicate "be" word |
2f45ab90 | 14-Jan-2024 |
Aaron LI <aly@aaronly.me> |
atomic.9: Some small updates
- Add some more description obtained from FreeBSD. - Uncomment the 64-bit variant contents. - Minor wording tweaks. |
d42a763b | 14-Jan-2024 |
Aaron LI <aly@aaronly.me> |
atomic(9): Add relaxed load/store variants from FreeBSD
Obtained from FreeBSD. However, the original atomic_store_ptr() macro was causing '-Wcast-qual' warnings, so I changed it based on the NetBSD
atomic(9): Add relaxed load/store variants from FreeBSD
Obtained from FreeBSD. However, the original atomic_store_ptr() macro was causing '-Wcast-qual' warnings, so I changed it based on the NetBSD's atomic_store_relaxed().
Actually, I found NetBSD's version more clean, but we import the FreeBSD version to help import code/drivers in the future.
Discussed-with: dillon
show more ...
|
8a7a7510 | 22-Dec-2023 |
Aaron LI <aly@aaronly.me> |
objcache(9): Remove the unused ocflag arg from objcache_reclaimlist() |
e843874b | 28-Dec-2023 |
Aaron LI <aly@aaronly.me> |
mbuf(9): Various minor updates and style cleanups
- Fix the comment that MSIZE/MCLBYTES is defined in <sys/param.h> instead of <machine/param.h>; update the man page accordingly. - Adjust some typ
mbuf(9): Various minor updates and style cleanups
- Fix the comment that MSIZE/MCLBYTES is defined in <sys/param.h> instead of <machine/param.h>; update the man page accordingly. - Adjust some type casts in mtod() to be more consistent. - Add the '__unused' attribute to actually unused parameters. - Remove unused NCL_INIT/NMB_INIT macros from 'uipc_mbuf.c'. - Use '__func__' instead of hard-coding function names. - Fix several typos. - Various style cleanups, mainly whitesapce adjustments.
show more ...
|
ef09a3ed | 28-Dec-2023 |
Aaron LI <aly@aaronly.me> |
mbuf(9): Use 'void *' in several public APIs to save casts in callers
Update the following public APIs to use 'void *' or 'const void *' instead of 'caddr_t'/'c_caddr_t'/'char *', so that callers no
mbuf(9): Use 'void *' in several public APIs to save casts in callers
Update the following public APIs to use 'void *' or 'const void *' instead of 'caddr_t'/'c_caddr_t'/'char *', so that callers no longer need to do explicit casts:
- m_append() - m_copyback() - m_copyback2() - m_copydata() - m_devget() - m_extadd()
show more ...
|