summaryrefslogtreecommitdiff
path: root/sys/arch/sun2/conf
AgeCommit message (Collapse)Author
2023-02-12Add optoion GENERIC.local include to the end of ~all GENERIC configsabs
This excludes atari, sgimips, evbmips, evbppc, evbsh3, and hpcarm all of which have somewhat specific kernel config file layouts
2022-08-07UFS/LFS dirhash:simonb
- Enable UFS_DIRHASH if the architecture or kernel model specific config file can use 128MB of RAM or more. - Remove experimental tag from UFS_DIRHASH; it's been with RUMP kernel and by a number of NetBSD developers for years. - Add LFS_DIRHASH if LFS was enabled. - Be somewhat consistent with FS options order.
2021-08-30The INSTALL kernel needs to be small toochristos
2021-08-30Only use the ldscript for the RAMDISK kernel for now.christos
2021-08-30use -ffunction-sections -fdata-sections --gc-sections with an ldscriptchristos
that keeps _start. This deletes all unused code and shrinks the RAMDISK kernel enough to be able to boot again: -rwxr-xr-x 1 root src 2519436 Aug 30 06:38 RAMDISK.1/netbsd* -rwxr-xr-x 1 root src 2104440 Aug 30 07:41 RAMDISK/netbsd* text data bss dec hex filename 1525412 686252 63552 2275216 22b790 RAMDISK.1/netbsd 1098524 686400 67008 1851932 1c421c RAMDISK/netbsd
2020-10-05Kernel without -fno-omit-frame-pointer works fine now, both for GCC8 and 9.rin
Not sure which commit ``fixed'' the problem although...
2020-09-27vether: Add to kernel configurationsroy
It's only enabled if the kernel enabled bridge AND tap. Otherwise it's commented out.
2020-09-08don't warn about array bounds for dodgy diagnostic code.mrg
fixes gcc9 builds.
2020-08-10Reduce kernel size byrin
- Adding -fno-asynchronous-unwind-tables and -fno-unwind-tables to COPTS - Specify NO_KERNEL_RCSIDS to strip RCSIDS Also adding -fno-omit-frame-pointer to COPTS for backtrace in DDB.
2020-08-10Compile sun2 kernel with -fno-omit-frame-pointer for GCC8 as a workrin
around for reproducible kernel freezes just after ``Starting postfix.'', where I cannot even enter DDB nor obtain crash dump. I still haven't figured out why. Possibly something wrong with -Os optimization level for GCC/m68k, cf., http://mail-index.netbsd.org/port-sun3/2020/07/19/msg000166.html
2020-08-01Remove references to BRIDGE_IPF, it is now compiled in by default.maxv
2020-04-04mark nsmb major obsoletejdolecek
2020-03-08Fix comments on root devices.rin
2020-03-08Retire md(4) in favor of tmpfs provided by module,rin
though both are not useful for 8MB RAM system...
2020-03-08sun2 kernel is restricted to ~2MB due to bootloader.rin
It seems that working kernel should be more smaller. Strip off most kernel options, and provide by kernel modules. Also add GENERIC kernel for NFS root instead of FFS.
2019-04-26Use veriexec.config to reduce duplicationsevan
2019-04-03Gut more stuff so we fit. Last working RAMDISK kernel was 6.1.5.christos
Nobody runs this stuff anymore, so consider that netbsd 9 might be the last sun2 release.
2019-01-28Systematize handling of removed drivers.dholland
- Every driver that was removed and whose number hasn't already been reused is now listed with a commented-out "obsolete" line. - The format of these has been systematized. Future format changes can probably be safely done with a script. - This does not include a few cases of assignments that only lasted a couple days, or stuff from before major reorgs. Some of these may be included nonetheless, because there was a lot of ground to cover and therefore not a lot of time to dig into history in detail. Note that the obsolete listings do not mean the major numbers can never be reused; that's up to portmasters and/or core. It does mean that they won't be reused by accident, however, which in some cases (depending on the driver, how widely used it was, its family of device nodes, their default permissions, etc.) can be quite dangerous. Note that some of the things now explicitly listed as obsolete are really ancient history. My scan went back as far as when the majors files were added. (But not before that.)
2018-12-19Remove compat_svr4 and compat_svr4_32, as discussed on tech-kern@ recently,maxv
but also as discussed several times in the past.
2018-09-22- Determine KERN_AS automatically depending on whether OPT_MODULAR isrin
set or not, in the same way as libcompat. - Specify OPT_MODULAR in the port Makefile instead of KERN_AS. Now, KERN_AS=library is used for kernels without module(7) for all ports. OK christos
2018-09-22No need to specify COMPAT_AS anymore.rin
Now, it is automatically determined from OPT_MODULAR.
2018-08-01Unreference IPF/PF from all the config files, and enable NPF instead whenmaxv
wanted. This also fixes some inconsistencies I saw in several files (eg IPF options while IPF was not compiled, IPF+PF enabled by default, etc).
2018-06-01disable a few more things and return another 1% of memory.mrg
2018-03-07Remove more unused functions with COMPAT_AS=librarymaya
2018-03-03sun2/sun3:mrg
- build libkern as an archive for non modular builds. from maya@ sun3: - cut down GENERIC a bunch to bring below 2MB. - reduce UBC_NWINS, MAXEXEC, and PAGER_MAP_DEFAULT_SIZE to recover enough lost VA to actually run basic tests.
2018-02-10Remove the last reference to IPSEC_ESP. This option was deleted inmaxv
2013.
2018-01-23Alternate buffer queue strategies no longer considered experimental, updatesevan
description. Discussed on tech-kern http://mail-index.netbsd.org/tech-kern/2018/01/21/msg023002.html
2017-09-14clean up COMPAT_* options for native netbsd code:mrg
- new series of files that are useful for saying "i want everything since netbsd 1.4", etc. - use the fact COMPAT_* options have future dependancies to remove many redundant options. removes about 3000 lines total across kernel configuration files. tested about 30 random kernels in the changed list.
2017-09-13Remove support for VERIFIED_EXEC_FP_RMD160, VERIFIED_EXEC_FP_SHA1, and ↵sevan
VERIFIED_EXEC_FP_MD5 options. These algorithms are either broken or on their way to being broken. Discussed on tech-security http://mail-index.netbsd.org/tech-security/2017/08/21/msg000936.html ok riastradh
2017-07-29Remove TCP_COMPAT_42 from the config files. Pass 3.maxv
2015-09-26Remove KMEMSTATS. Normally it's ok now.maxv
2015-08-21Add `pseudo-device ksyms' where `options DDB' is used, becauseuebayasi
config(1)/config(5) can't handle module dependency correctly at this moment. (This is another proof that shared file definition (`file xxx.c a|b') is a bad idea.)
2015-08-12Remove KMEMSTATS.maxv
2015-08-07Remove KMEMSTATS.maxv
2014-11-16Remove unused extended attributes kernel optionsmanu
As Masao Uebayashi pointed to me, UFS_EXTATTR_AUTOSTART, LFS_EXTATTR_AUTOSTART and UFS_EXTATTR_AUTOCREATE are not used anywhere in the code. Remove them as they have been obsolete for a long time: UFS_EXTATTR_AUTOSTART was replaced by mount -o extattr LFS_EXTATTR_AUTOSTART was created to match obsolete UFS_EXTATTR_AUTOSTART UFS_EXTATTR_AUTOCREATE was replaced by sysctl vfs.ffs.extattr_autocreate
2014-11-12Support for UFS1 extended attributes in GENERIC and GENERIC-like kernelsmanu
This change just brings UFS1 extended attribute *support* in the kernel, extended attributes are not enabled unless three conditions are met: 1) filesystem is UFS1 (newfs -O1) 2) .attribute/system and .attribute/user directories are created at fs root 3) filesystem is mounted with -o extattr Some GENERIC kernels are obviously memory constrained, the extended attributes options were not enabled for them, but just added commented out. (kernel were considered memory constrained if QUOTA option was disabled)
2014-08-23Systematize (and in many cases, fix) the comments on options COMPAT_NN.dholland
There are quite a few configs that are missing some COMPAT_NN options in ways that don't make sense; this should probably get cleaned up too, but for the time being I've not added or removed anything.
2014-08-16Add "options COMPAT_70" to all kernel configuration files thatapb
already had "options COMPAT_60".
2014-07-26Comment out options and devices to sync GENERIC rev 1.90.tsutsui
2014-07-26Shrink GENERIC kernel to fit to bootloader's limit (2MB).tsutsui
Maybe now we can't call it GENERIC, but it still boots on TME.
2013-06-30G/C PFIL_HOOKS from the kernel configs.rmind
2013-06-05catch the escapees of the IPSEC_NAT_T purge.christos
2013-06-05remove obsolete networking optionschristos
2013-04-27the bogus number policechristos
2013-04-27remove confusing numeric locators where they are unused.christos
2013-03-02Under FAST_IPSEC, IPSEC_ESP is mandatory; GC it.christos
2013-03-01Retire OSI network stack. OK core@joerg
2012-10-17Add "options COMPAT_60" to all kernel configuration filesapb
that already had "options COMPAT_50".
2012-03-10P1003_1B_SEMAPHORE is no longer optional.joerg
2011-12-18WABPL is no longer considered experimental (has not been for some time)dholland
so update its comment in config files.