summaryrefslogtreecommitdiffstats
path: root/lkm
Commit message (Collapse)AuthorAgeFilesLines
* Remove machine/cputypes.h - it's an i386 only thingpeter1998-11-061-2/+1
|
* Update unionfs comments; It could be made to work but isn't worth thepeter1998-11-031-2/+5
| | | | effort since LKM's will be going away soon.
* Remove some dead code and commentsgrog1998-11-031-10/+8
|
* Print a warning if we removed a junked drivegrog1998-11-031-1/+7
| | | | Take a drive down if it's not open
* Take drive down if the disk driver tells us it's not theregrog1998-11-031-1/+5
|
* Check for duplicate subdisk namesgrog1998-11-031-9/+9
|
* Change some numeric #defines to enumsgrog1998-11-021-12/+11
|
* Don't close drives when called from interrupt context, set a flag forgrog1998-11-021-23/+63
| | | | | | | | | | | | the top half to do it. Put in a dubious check for subdisk integrity when trying to bring up a plex where others are already up. This particular kludge is crying out for a rewrite of the whole state code. Add code to set_plex_state and set_volume_state to defer updates when called from an interrupt context. This doesn't happen yet, but it could do.
* Get the default revive blocksize right for striped and RAID-5 plexesgrog1998-11-021-3/+4
|
* Close any drives downed in an interrupt context.grog1998-11-021-5/+24
| | | | | | Ensure correct order of requests. Call launch_requests at splhigh to see if this stops the mysterious SMP panics
* Accept incorrect device open counts, but print a warninggrog1998-11-021-2/+17
| | | | Don't save invalid drive config information, remove the drive
* Check for maximum number of subdisks in a plexgrog1998-11-021-1/+11
| | | | Get object counts right when removing
* Move the kld stuff to here.peter1998-10-231-4/+38
|
* config.c:grog1998-10-2111-56/+188
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | config_drive: Catch an instance of anonymous drives. Doubtless many remain. interrupt.c: complete_rqe: Call logrq to log iodone events if DEBUG_LASTREQS is set. Call set_sd_state with setstate_noupdate to avoid buffered I/O out of interrupt context. Use define DEBUG_RESID instead of constant. memory.c: Remove dead expandrq() function Malloc: Remove directory component of file names in malloc table. Add function vinum_rqinfo (part of the request tracing stuff). request.c: Add function logrq (part of the request tracing stuff). vinumstrategy: Check whether config needs to be written to disk, do it if so. This is a stopgap until the Vinum daemon (bacchusd? oenologistd?) is written. If DEBUG_LASTREQS is set, call logrq to log user buffer headers. launch_requests: Correct format of debug output to console. If DEBUG_LASTREQS is set, call logrq to log request elements. request.h: Add definitions for request trace. state.c: set_sd_state: Check flags for setstate_noupdate. If set, don't write the config to disk, just set global VF_DIRTYCONFIG flag. This is part of the kludge to avoid writing config from an interrupt context. vinumext.h: Add declaration for vinum_rqinfo, put inside #ifdef DEBUG Remove dead macro expandrq vinumio.h: Increase maximum ioctl reply length to 4 kB if DEBUG is set. Define VINUM_RQINFO ioctl if DEBUG is set. vinumioctl.c: vinumioctl: Change implementation of VINUM_DEBUG ioctl: use a debug flag (DEBUG_REMOTEGDB) to decide whether to go into remote debugging or not. Implement VINUM_RQINFO. vinumkw.h: Define kw_info even when not debugging. vinumvar.h: Define VF_DIRTYCONFIG Add pointers to request info to vinum_info if DEBUG is set. Define setstate_noupdate Define additional debug bits DEBUG_RESID, DEBUG_LASTREQS and DEBUG_REMOTEGDB.
* Unregister the glibc2 brand at module unload time.alex1998-10-111-6/+23
| | | | | | | | | Change the ELF registration/unregistration scheme to be less error prone. Adding a new brand requires a single addition to linux_brandlist instead of modifying linux_load(), linux_unload(), and linux_elf_init(). Approved by: jkh Reviewed by: msmith
* Fixes for lkm:rvb1998-09-291-2/+1
| | | | | 1. use VFS_LKM vs ACTUALLY_LKM_NOT_KERNEL 2. don't pass -DCODA to lkm build
* Include vinum in SUBDIRgrog1998-09-281-2/+2
|
* Correct calculation of revive blocksizegrog1998-09-281-2/+2
| | | | Submitted by: Chris Csanady
* Get include paths rightgrog1998-09-281-2/+2
|
* This commit was generated by cvs2svn to compensate for changes in r39652,rvb1998-09-251-0/+11
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * lkm for codarvb1998-09-251-0/+11
|
* lkm for codarvb1998-09-251-2/+2
|
* Add support for glibc consumers using the new ld-linux.so.2 linker.msmith1998-09-171-3/+4
| | | | I can't say this was the most inspired fix, but it matches the design OK.
* Fix the sreensavers so the work again with the new syscons & friends.sos1998-09-177-35/+46
| | | | Submitted by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
* This commit was generated by cvs2svn to compensate for changes in r39330,grog1998-09-1623-0/+8235
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import base vinum lkm sourcesgrog1998-09-1623-0/+8235
|
* Add the vesa module to the listsos1998-09-151-2/+2
|
* Double oops, committed the wrong Makefile ata that, fixed.sos1998-09-151-2/+2
|
* Oops for the Makefile for the VESA lkmsos1998-09-151-0/+19
|
* Add VESA support to syscons.sos1998-09-157-39/+39
| | | | | | | | | | | | | | | | | | | | | | | | | Kazu writes: The VESA support code requires vm86 support. Make sure your kernel configuration file has the following line. options "VM86" If you want to statically link the VESA support code to the kernel, add the following option to the kernel configuration file. options "VESA" The vidcontrol command now accepts the following video mode names: VESA_132x25, VESA_132x43, VESA_132x50, VESA_132x60, VESA_800x600 The VESA_800x600 mode is a raster display mode. The 80x25 text will be displayed on the 800x600 screen. Useful for some laptop computers. vidcontrol accepts the new `-i <info>' option, where <info> must be either `adapter' or `mode'. When the `-i adapter' option is given, vidcontrol will print basic information (not much) on the video adapter. When the `-i mode' option is specified, vidcontrol will list video modes which are actually supported by the video adapter. Submitted by: Kazutaka YOKOTA yokota@FreeBSD.ORG
* Load linux emulator lkm only when not already loaded. This avoidscracauer1998-09-071-2/+9
| | | | | | | leftover files in /tmp. Script slightly modified from PR version to use fewer processes. PR: i386/7725 Submitted by: Stefan Eggers seggers@semyam.dinoco.de
* Add -aout to CFLAGS and LDFLAGS in bsd.kmod.mk, not inbde1998-09-021-7/+0
| | | | | | src/lkm/Makefile.inc. This fixes broken builds of the syscons LKMs when OBJFORMAT=elf. Removed src/lkm/Makefile.inc since it became empty and is worse than useless.
* Sort cross references.wosch1998-08-311-3/+3
|
* Shut this thing up, like the other LKMsjkh1998-08-241-2/+2
|
* The daemon, snake and star savers should refuse to load if the currentyokota1998-08-063-3/+12
| | | | | video mode is the VESA mode, because they cannot work properly under the VESA mode support as in the current form.
* A better solution to the rm_at_exit problem: Register the exit functionalex1998-07-271-2/+2
| | | | | | | | during first mount. Unregister the exit function at last unmount. Concept by: sef Reviewed by: sef Implemented by: alex
* Override the default VFS LKM dispatch functions so that a modulealex1998-07-251-2/+2
| | | | | unload function can be provided (this is necessary to unregister the at_exit handler).
* Finished previous fix - don't forget to add one dummy options headerbde1998-07-071-13/+10
| | | | | | to CLEANFILES. Fixed lots of style bugs.
* Added a `build-tools' target for internal tools. (linux_genassym maybde1998-07-071-2/+4
| | | | | | | | | not actually work for cross compiling, but that is another problem.) Honor LDFLAGS for building internal tools. (Tools should normally be built static to avoid problems with picking up target shared libraries. bsd.kmod doesn't set -static yet, and has some problems with `LDFLAGS=-static ...' in the environment.)
* Fix the N'th occurance of missed bits due to opt_???? mucking.sos1998-07-021-2/+5
| | | | | | Doesn't anybody TEST code before committing.... This is the N+1'th time these laste couble of days...
* Fixed missing options headers. Options that affect LKMs shouldn'tbde1998-07-011-3/+6
| | | | exist.
* Added opt_vmpage.h to SRCS so that it actually gets created.bde1998-07-011-5/+5
|
* Leading whitespace in Makefile are TABS not spaces....sos1998-06-301-2/+2
|
* add new opt_nfs.h to cleanfiles...jmg1998-06-301-2/+2
|
* fix more of my breakage... :(jmg1998-06-301-1/+5
| | | | create opt_vmpage.h
* fix buildworld hopefully be3fore anyone complains...jmg1998-06-301-1/+3
| | | | | | | | NFS_*TIMO should possibly be converted to sysctl vars (jkh's suggestion), but in some cases it looks like nfs keeps a copy of the value in a struct hash sizes are already ifdef'd KERNEL, so there aren't userland inpact from them...
* ELF preparation step 2:sos1998-05-261-1/+4
| | | | | | | | | | | | | | Move a.out libraries to /usr/lib/aout to make space for ELF libs. Make rtld usr /usr/lib/aout as default library path. Make ldconfig reject /usr/lib as an a.out library path. Fix various Makefiles for LIBDIR!=/usr/lib breakage. This will after a make world & reboot give a system that no longer uses /usr/lib/*, infact one could remove all the old libraries there, they are not used anymore. We are getting close to an ELF make world, but I'll let this all settle for a week or two...
* Removed reference to obsolete file "README.iBCS2".jkoshy1998-05-191-2/+1
| | | | | Submitted by: Max Euston <max@jmrodgers.com> PR: 6679
* The FreeBSD lkm design is aout specific.jb1998-05-151-1/+3
|
* Give this a shot at actually working as an LKM..peter1998-03-271-3/+11
|
OpenPOWER on IntegriCloud