summaryrefslogtreecommitdiff
path: root/sys/modules
AgeCommit message (Collapse)Author
2010-03-13Include ../../Makefile.inc now that it works.christos
2010-03-13now that I've fixed Makefile.inc, include it.christos
2010-03-13Don't hard-code ../../ so that we can handle multi-level modules (dtrace)christos
2010-03-12DTrace: Add the Function Boundary Trace (FBT) provider moduile. Thisdarran
module instruments every function in the kernel with entry and exit probes. These probes are true zero-effect probes in that they don't exist in the code until they are enabled. The probes are enabled by directly patching the function entry and exit points to make jumps into the dtrace framework. This gives us over 29,000 trace points in the kernel.
2010-03-12DTrace: Add support for a simulated solaris_cpu[] data structure perdarran
cpu. Needed for the FBT provider amongst other features.
2010-03-10DTrace: fix a build problem for the SDT provider.darran
2010-03-03-DFFS is no longer necessarypooka
2010-03-02Reflect removal of fs_nfs.h and -DNFSpooka
2010-03-02Remove the ufs_vnops.c hacks from the lfs module, since ffs (andpooka
hence ufs) has been required by lfs for ages now.
2010-03-01DTrace: Add an SDT (Statically Defined Tracing) provider framework, anddarran
implement most of the proc provider. Adds proc:::create, exec, exec_success, exec_faillure, signal_send, signal_discard, signal_handle, lwp_create, lwp_start, lwp_exit.
2010-02-28Add makefiles for a sample of ACPI kernel modules.jruoho
2010-02-28Update zfs module to new sources.haad
2010-02-21DTrace: add the dtrace module.darran
2010-02-21DTrace: add the dtrace module to the build.darran
2010-01-25add bpf kmodpooka
2010-01-05Fix MKBINUTILS=no builds by leaving out xldscripts.dyoung
2009-12-21Add netbsd32_compat_50.c to netbsd32 module sources list.njoly
2009-12-13System utilities, boot programs and kernel modules are machinenakayama
(port) specific not CPU, so use MACHINE not MACHINE_ARCH.
2009-12-07Typo.uebayasi
2009-12-05Remove the portalfs kernel file system driver. Replace mount_portal(8)pooka
with a version based on puffs. User functionality remains the same.
2009-11-10Move the kmodule linker script source into sys/modules/xldscripts. It isskrll
not part of binutils and definitely not GPL v3. Discussed with mrg.
2009-10-20Check to see if we were passed a NULL proplist dictionary.jnemeth
2009-10-05Add zfs sets and needed veriables to hook zfs into the build. ZFS on i386haad
need still one fix othervise it should be ready for testing.
2009-10-02First part of secmodel cleanup and other misc. changes:elad
- Separate the suser part of the bsd44 secmodel into its own secmodel and directory, pending even more cleanups. For revision history purposes, the original location of the files was src/sys/secmodel/bsd44/secmodel_bsd44_suser.c src/sys/secmodel/bsd44/suser.h - Add a man-page for secmodel_suser(9) and update the one for secmodel_bsd44(9). - Add a "secmodel" module class and use it. Userland program and documentation updated. - Manage secmodel count (nsecmodels) through the module framework. This eliminates the need for secmodel_{,de}register() calls in secmodel code. - Prepare for secmodel modularization by adding relevant module bits. The secmodels don't allow auto unload. The bsd44 secmodel depends on the suser and securelevel secmodels. The overlay secmodel depends on the bsd44 secmodel. As the module class is only cosmetic, and to prevent ambiguity, the bsd44 and overlay secmodels are prefixed with "secmodel_". - Adapt the overlay secmodel to recent changes (mainly vnode scope). - Stop using link-sets for the sysctl node(s) creation. - Keep sysctl variables under nodes of their relevant secmodels. In other words, don't create duplicates for the suser/securelevel secmodels under the bsd44 secmodel, as the latter is merely used for "grouping". - For the suser and securelevel secmodels, "advertise presence" in relevant sysctl nodes (sysctl.security.models.{suser,securelevel}). - Get rid of the LKM preprocessor stuff. - As secmodels are now modules, there's no need for an explicit call to secmodel_start(); it's handled by the module framework. That said, the module framework was adjusted to properly load secmodels early during system startup. - Adapt rump to changes: Instead of using empty stubs for securelevel, simply use the suser secmodel. Also replace secmodel_start() with a call to secmodel_suser_start(). - 5.99.20. Testing was done on i386 ("release" build). Spearated module_init() changes were tested on sparc and sparc64 as well by martin@ (thanks!). Mailing list reference: http://mail-index.netbsd.org/tech-kern/2009/09/25/msg006135.html
2009-09-27enable viadrm kmod for i386jmcneill
2009-09-27Add viadrm kmodjmcneill
2009-09-17Not all platforms can do PaX stuff. The list was derived in privatejnemeth
conversation with several developers. The change was tested on sparc64. NetBSD ultra.example.ca 5.99.17 NetBSD 5.99.17 (MODULAR) #0: Tue Sep 15 19:08:02 PDT 2009 jnemeth@ultra.example.ca:/usr/local/current/objdir/sys/arch/sparc64/compile/MODULAR sparc64 NAME CLASS SOURCE REFS SIZE REQUIRES ... exec_elf64 misc filesys 0 6981 coredump ...
2009-08-10Enable taskq which was disabled during testing.haad
2009-08-10Remove strange looking -I entries.haad
2009-08-10Add raidframe module dir. Rf needs some fixes before it can be used as ahaad
kernel module.
2009-08-10Add solaris and zfs kernel modules build directories. These modules willhaad
not be built during release build until we import other kernel patches needed.
2009-07-19Make POSIX message queues a kernel module.rmind
2009-07-18Import read-only part of the NiLFS (v2) implementation for NetBSD. It has beenreinoud
tested with a DEBUG+DIAGNOSTIC+LOCKDEBUG kernel. To summerise NiLFS, i'll repeat my posting to tech-kern here: NiLFS stands for New implementation of Logging File System; LFS done right they claim :) It is at version 2 now and is being developed by NTT, the Japanese telecom company and recently put into the linux source tree. See http://www.nilfs.org. The on-disc format is not completely frozen and i expect at least one minor revision to come in time. The benefits of NiLFS are build-in fine-grained checkpointing, persistent snapshots, multiple mounts and very large file and media support. Every checkpoint can be transformed into a snapshot and v.v. It is said to perform very well on flash media since it is not overwriting pieces apart from a incidental update of the superblock, but that might change. It is accompanied by a cleaner to clean up the segments and recover lost space. My work is not a port of the linux code; its a new implementation. Porting the code would be more work since its very linux oriented and never written to be ported outside linux. The goal is to be fully interchangable. The code is non intrusive to other parts of the kernel. It is also very light-weight. The current state of the code is read-only access to both clean and dirty NiLFS partitions. On mounting a dirty partition it rolls forward the log to the last checkpoint. Full read-write support is however planned! Just as the linux code, mount_nilfs allows for the `head' to be mounted read/write and allows multiple read-only snapshots/checkpoint mounts next to it. By allowing the RW mount at a different snapshot for read-write it should be possible eventually to revert back to a previous state; i.e. try to upgrade a system and being able to revert to the exact state prior to the upgrade. Compared to other FS's its pretty light-weight, suitable for embedded use and on flash media. The read-only code is currently 17kb object code on NetBSD/i386. I doubt the read-write code will surpass the 50 or 60. Compared this to FFS being 156kb, UDF being 84 kb and NFS being 130kb. Run-time memory usage is most likely not very different from other uses though maybe a bit higher than FFS.
2009-06-22add a couple of missing files. pointed out by tron.mrg
2009-06-22Fix modules build after update of drm(4).tron
2009-06-05Add work in support for compiling ccd and cgd drivers as a modules. I forgothaad
to committ when I have written device module autoloading stuff.
2009-03-31Also look for sources in sys/arch/x86/x86/ if MACHINE_ARCH is i386 ordyoung
x86_64.
2009-03-10enable tprof modules.yamt
2009-03-10add makefiles for tprof drivers.yamt
2009-03-05whitespaceyamt
2009-02-24Follow up the removal of linux_support.S for amd64 and i386.he
2009-02-22PR kern/26878 FFSv2 + softdep = livelock (no free ram)ad
PR kern/16942 panic with softdep and quotas PR kern/19565 panic: softdep_write_inodeblock: indirect pointer #1 mismatch PR kern/26274 softdep panic: allocdirect_merge: ... PR kern/26374 Long delay before non-root users can write to softdep partitions PR kern/28621 1.6.x "vp != NULL" panic in ffs_softdep.c:4653 while unmounting a softdep (+quota) filesystem PR kern/29513 FFS+Softdep panic with unfsck-able file-corruption PR kern/31544 The ffs softdep code appears to fail to write dirty bits to disk PR kern/31981 stopping scsi disk can cause panic (softdep) PR kern/32116 kernel panic in softdep (assertion failure) PR kern/32532 softdep_trackbufs deadlock PR kern/37191 softdep: locking against myself PR kern/40474 Kernel panic after remounting raid root with softdep Retire softdep, pass 2. As discussed and later formally announced on the mailing lists.
2009-02-14Convert more MACHINE tests to MACHINE_ARCHabs
2009-02-05Revert previously changes. There is no cgd and ccd directory until I properlyhaad
test ccd.kmod and cgd.kmod.
2009-02-05Add support for the MODULAR framework to the vnd driver. Enable building ofhaad
vnd.kmod by default.
2009-02-03kmod reachover gluejmcneill
2009-01-19Provide compatibility for pre-christos-time_t sysv sysctls.christos
2009-01-14Add comment about adding module dependiences to MODULE macro.haad
2009-01-11merge christos-time_tchristos
2009-01-05sysvbfs modulepooka