]> Zhao Yanbai Git Server - minix.git/log
minix.git
19 years agovarious small fixes.
Ben Gras [Mon, 8 Aug 2005 14:34:10 +0000 (14:34 +0000)]
various small fixes.
 . motd update (ast)
 . made /usr/local/man/man* and made them bin-owned (mtree)
   (to let bin install there)
 . made copyright notice in kernel 1987-2006 (ast)
 . added chown -R bin /usr/src so that bin can compile everything

19 years ago. swapped test26 and test40
Ben Gras [Mon, 8 Aug 2005 14:30:50 +0000 (14:30 +0000)]
. swapped test26 and test40
. renamed sh*.sh to testsh*.sh
. invoked shell tests from run script like the other test commands
  (that was the point of renaming)

19 years agoLots of nits by ast@
Ben Gras [Mon, 8 Aug 2005 14:28:32 +0000 (14:28 +0000)]
Lots of nits by ast@

19 years agoDon't print paths twice with cpdir -v. (ast@)
Ben Gras [Mon, 8 Aug 2005 13:37:41 +0000 (13:37 +0000)]
Don't print paths twice with cpdir -v. (ast@)

19 years ago. Allow drivers to to physcopy() (table.c)
Ben Gras [Mon, 8 Aug 2005 12:18:45 +0000 (12:18 +0000)]
. Allow drivers to to physcopy() (table.c)

. Also allow receive() to be done from kernel processes, not just
  sendrec(). This is because receive()s can't harm the kernel processes,
  but are done from the CLOCK task (without sendrec()).

19 years agoPrettier error message in FS if block size too large
Ben Gras [Mon, 8 Aug 2005 12:17:30 +0000 (12:17 +0000)]
Prettier error message in FS if block size too large

19 years agoMinor partition() efficiency improvements (don't do regular partitioning
Ben Gras [Mon, 8 Aug 2005 12:16:59 +0000 (12:16 +0000)]
Minor partition() efficiency improvements (don't do regular partitioning
i/o on cd drives)

19 years agoast@'s readme.txt modifications.
Ben Gras [Mon, 8 Aug 2005 09:43:25 +0000 (09:43 +0000)]
ast@'s readme.txt modifications.

19 years agoautopart and setup script STEP additions to be keyed to install manual
Ben Gras [Mon, 8 Aug 2005 09:24:02 +0000 (09:24 +0000)]
autopart and setup script STEP additions to be keyed to install manual
by ast@

19 years agoconfig version bumped to 307; NOT cvs tagged yet; misc fixes
Ben Gras [Fri, 5 Aug 2005 19:19:18 +0000 (19:19 +0000)]
config version bumped to 307; NOT cvs tagged yet; misc fixes

19 years agoautopart fixes; halt sends SIGTERM; setup script without quotes;
Ben Gras [Fri, 5 Aug 2005 19:16:12 +0000 (19:16 +0000)]
autopart fixes; halt sends SIGTERM; setup script without quotes;
MAKEDEV makes random and cmos when called with std

19 years agoRemoved $Log$ tags
Ben Gras [Fri, 5 Aug 2005 19:08:43 +0000 (19:08 +0000)]
Removed $Log$ tags

19 years agoUndo one hack for QEMU, add another.
Philip Homburg [Fri, 5 Aug 2005 19:08:02 +0000 (19:08 +0000)]
Undo one hack for QEMU, add another.

19 years agoFix to device table at FS.
Jorrit Herder [Fri, 5 Aug 2005 18:57:20 +0000 (18:57 +0000)]
Fix to device table at FS.
BIOS and AT installed in /sbin.
Floppy boot fixed.

19 years agoTemp hacks for QEMU. Call to env_setargs in dpeth.
Philip Homburg [Fri, 5 Aug 2005 18:37:15 +0000 (18:37 +0000)]
Temp hacks for QEMU. Call to env_setargs in dpeth.

19 years agoSecond try to fix tick delay problem ...
Jorrit Herder [Fri, 5 Aug 2005 17:02:37 +0000 (17:02 +0000)]
Second try to fix tick delay problem ...

19 years agoAl's patch sent Fri aug 5
Ben Gras [Fri, 5 Aug 2005 16:56:02 +0000 (16:56 +0000)]
Al's patch sent Fri aug 5

19 years ago*** empty log message ***
Ben Gras [Fri, 5 Aug 2005 16:49:38 +0000 (16:49 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Ben Gras [Fri, 5 Aug 2005 16:48:44 +0000 (16:48 +0000)]
*** empty log message ***

19 years agoFixed small bug in alarm code.
Jorrit Herder [Fri, 5 Aug 2005 16:46:27 +0000 (16:46 +0000)]
Fixed small bug in alarm code.
Kernel timer count was not reset after expiry.

19 years agoSecurity check on physical address to be < 16 MB (ISA DMA uses 24-bit
Jorrit Herder [Fri, 5 Aug 2005 16:23:42 +0000 (16:23 +0000)]
Security check on physical address to be < 16 MB (ISA DMA uses 24-bit
addressing, which can address 16 MB max).
Floppy driver now dynamically loaded.

19 years agoget_mon_params -> env_get_params.
Philip Homburg [Fri, 5 Aug 2005 16:21:32 +0000 (16:21 +0000)]
get_mon_params -> env_get_params.

19 years agoMinor autopart user-interface changes.
Jorrit Herder [Fri, 5 Aug 2005 16:18:04 +0000 (16:18 +0000)]
Minor autopart user-interface changes.

19 years agoreduced cdprobe debug; stadir unbreakfix
Ben Gras [Fri, 5 Aug 2005 16:08:49 +0000 (16:08 +0000)]
reduced cdprobe debug; stadir unbreakfix

19 years agoAdded dp8390 to /usr/etc/rc. Renamed get_mon_prm.c to env_get_prm.c.
Philip Homburg [Fri, 5 Aug 2005 14:20:05 +0000 (14:20 +0000)]
Added dp8390 to /usr/etc/rc. Renamed get_mon_prm.c to env_get_prm.c.
Add env_setargs call for access to argc/argv.

19 years ago*** empty log message ***
Ben Gras [Fri, 5 Aug 2005 13:51:50 +0000 (13:51 +0000)]
*** empty log message ***

19 years ago..
Ben Gras [Fri, 5 Aug 2005 13:51:14 +0000 (13:51 +0000)]
..

19 years agopty select() support
Ben Gras [Fri, 5 Aug 2005 13:50:58 +0000 (13:50 +0000)]
pty select() support

19 years agoat driver timeout/error message fixes
Ben Gras [Fri, 5 Aug 2005 13:50:50 +0000 (13:50 +0000)]
at driver timeout/error message fixes

19 years agopty select test
Ben Gras [Fri, 5 Aug 2005 13:47:12 +0000 (13:47 +0000)]
pty select test

19 years agoAdded essential message to motd.
Ben Gras [Fri, 5 Aug 2005 12:57:52 +0000 (12:57 +0000)]
Added essential message to motd.

19 years ago'send locked' removed
Ben Gras [Fri, 5 Aug 2005 12:55:35 +0000 (12:55 +0000)]
'send locked' removed

19 years ago'send locked' debug statement #if 0ed
Ben Gras [Fri, 5 Aug 2005 12:55:18 +0000 (12:55 +0000)]
'send locked' debug statement #if 0ed

19 years agoBoot monitor default changes to new boot controller usage
Ben Gras [Fri, 5 Aug 2005 12:54:48 +0000 (12:54 +0000)]
Boot monitor default changes to new boot controller usage

19 years agominor fix
Ben Gras [Fri, 5 Aug 2005 12:52:34 +0000 (12:52 +0000)]
minor fix

19 years agoMinor fixes
Ben Gras [Fri, 5 Aug 2005 12:52:26 +0000 (12:52 +0000)]
Minor fixes

19 years agoMerged do_gettimeofday with do_time to save one function call;
Ben Gras [Fri, 5 Aug 2005 12:44:06 +0000 (12:44 +0000)]
Merged do_gettimeofday with do_time to save one function call;
adjusted table.c accordingly

19 years agochgrp syntax fixed
Ben Gras [Fri, 5 Aug 2005 12:16:25 +0000 (12:16 +0000)]
chgrp syntax fixed

19 years agomdb compile fix
Ben Gras [Fri, 5 Aug 2005 11:56:47 +0000 (11:56 +0000)]
mdb compile fix

19 years agoMore autopart fixes (set new partition active if none other set active)
Ben Gras [Fri, 5 Aug 2005 11:48:55 +0000 (11:48 +0000)]
More autopart fixes (set new partition active if none other set active)

19 years agoFixed boot compile breakage
Ben Gras [Fri, 5 Aug 2005 11:45:43 +0000 (11:45 +0000)]
Fixed boot compile breakage

19 years agoMake include files and dirs bin-owned, to make sure bin can install them
Ben Gras [Fri, 5 Aug 2005 11:40:46 +0000 (11:40 +0000)]
Make include files and dirs bin-owned, to make sure bin can install them

19 years agoCleanup of PM.
Jorrit Herder [Fri, 5 Aug 2005 10:45:54 +0000 (10:45 +0000)]
Cleanup of PM.

19 years agoadded /sbin in mtree
Ben Gras [Fri, 5 Aug 2005 10:37:02 +0000 (10:37 +0000)]
added /sbin in mtree

/usr/etc/rc now reads variables from /usr/etc/rc.local it can feed to
drivers as args

19 years agoAdded dp8390 driver. Additional env_parse functions that take argc and argv.
Philip Homburg [Fri, 5 Aug 2005 09:53:08 +0000 (09:53 +0000)]
Added dp8390 driver. Additional env_parse functions that take argc and argv.

19 years agoChanged minor number of /dev/zero from 6 to 5.
Jorrit Herder [Fri, 5 Aug 2005 09:43:22 +0000 (09:43 +0000)]
Changed minor number of /dev/zero from 6 to 5.
(Make sure to update your system accordingly or /dev/zero won't work.)
Cleaned up comments in MEMORY driver.

19 years agoVarious small cleanups and comments added.
Jorrit Herder [Fri, 5 Aug 2005 09:41:15 +0000 (09:41 +0000)]
Various small cleanups and comments added.

19 years agoreadclock.c shouldn't be here
Ben Gras [Fri, 5 Aug 2005 08:37:28 +0000 (08:37 +0000)]
readclock.c shouldn't be here

19 years ago*** empty log message ***
Jorrit Herder [Fri, 5 Aug 2005 07:57:13 +0000 (07:57 +0000)]
*** empty log message ***

19 years agoFixed type.
Jorrit Herder [Thu, 4 Aug 2005 22:01:50 +0000 (22:01 +0000)]
Fixed type.
Added patch from Al Woodhull.

19 years agoCheck if kernel calls is allowed (from process' call mask) added. Not yet
Jorrit Herder [Thu, 4 Aug 2005 19:23:03 +0000 (19:23 +0000)]
Check if kernel calls is allowed (from process' call mask) added. Not yet
enforced. If a call is denied, this will be kprinted. Please report any such
errors, so that I can adjust the mask before returning errors instead of
warnings.

Wrote CMOS driver. All CMOS code from FS has been removed. Currently the
driver only supports get time calls. Set time is left out as an exercise
for the book readers ... startup scripts were updated because the CMOS driver
is needed early on. (IS got same treatment.) Don't forget to run MAKEDEV cmos
in /dev/, otherwise the driver cannot be loaded.

19 years agoAdded /dev/cmos.
Jorrit Herder [Thu, 4 Aug 2005 18:03:51 +0000 (18:03 +0000)]
Added /dev/cmos.
Made separate case for /dev/random and /dev/urandom

19 years agoFix. Names were not showing.
Jorrit Herder [Thu, 4 Aug 2005 17:00:18 +0000 (17:00 +0000)]
Fix. Names were not showing.

19 years agoStartup script now checks if network driver is mentioned in inet.conf.
Jorrit Herder [Thu, 4 Aug 2005 16:45:29 +0000 (16:45 +0000)]
Startup script now checks if network driver is mentioned in inet.conf.
Also allowed disabling daemons (like services) with disable= parameter.

19 years agoLet halt shutdown system without fsck by checking for halt in wtmp
Ben Gras [Thu, 4 Aug 2005 13:41:31 +0000 (13:41 +0000)]
Let halt shutdown system without fsck by checking for halt in wtmp
as well as shutdown

19 years agoAdded RO_BIT needed for new at_wini / fs flag
Ben Gras [Thu, 4 Aug 2005 09:33:38 +0000 (09:33 +0000)]
Added RO_BIT needed for new at_wini / fs flag

19 years agoMiscellaneous clean ups and fixes to the kernel.
Jorrit Herder [Thu, 4 Aug 2005 09:26:36 +0000 (09:26 +0000)]
Miscellaneous clean ups and fixes to the kernel.
Support for FLOPPY in boot image. (Set controller=fd at boot monitor.)
Moved major device numbers to <minix/dmap.h> (maybe rename to dev.h?)

19 years agoimport of mdb (minix debugger), some ptrace and signals unbreaking
Ben Gras [Thu, 4 Aug 2005 08:44:16 +0000 (08:44 +0000)]
import of mdb (minix debugger), some ptrace and signals unbreaking
seem to have made it work (runtime debugging and core reading).

19 years agops was looking for INIT as first user process, but INIT has become init.
Ben Gras [Thu, 4 Aug 2005 08:25:10 +0000 (08:25 +0000)]
ps was looking for INIT as first user process, but INIT has become init.

There are still some checks in ps that presume there are only system
processes before INIT and all others are user processes..

19 years agoDo test transaction before letting open device succeed; if probe fails,
Ben Gras [Thu, 4 Aug 2005 08:08:58 +0000 (08:08 +0000)]
Do test transaction before letting open device succeed; if probe fails,
remember drive isn't there and don't try it again

19 years ago#if VERBOSE
Ben Gras [Thu, 4 Aug 2005 08:07:29 +0000 (08:07 +0000)]
#if VERBOSE
debug statements
#endif

19 years agoDisabled comments from FXP driver with #define VERBOSE 0.
Jorrit Herder [Wed, 3 Aug 2005 16:58:22 +0000 (16:58 +0000)]
Disabled comments from FXP driver with #define VERBOSE 0.
Fixed all troubles reported at shutdown.
No more illegal FS calls by dead processes.

19 years agoSingle boot driver loaded, while multiple can be included in the boot image.
Jorrit Herder [Wed, 3 Aug 2005 16:06:35 +0000 (16:06 +0000)]
Single boot driver loaded, while multiple can be included in the boot image.
The user needs to set label=... to choose the driver of his or her choice.
This driver will be mapped onto the controller that is set in controller=...

Minor cleanup of kernel source code (boot image table now is static).

19 years agoRandom is now a separate driver.
Philip Homburg [Wed, 3 Aug 2005 15:22:41 +0000 (15:22 +0000)]
Random is now a separate driver.

19 years agoFixes for mkfs so that making a FS from a proto file works again
Ben Gras [Wed, 3 Aug 2005 14:22:07 +0000 (14:22 +0000)]
Fixes for mkfs so that making a FS from a proto file works again

19 years agoWithout /dev/boot ...
Jorrit Herder [Wed, 3 Aug 2005 14:17:28 +0000 (14:17 +0000)]
Without /dev/boot ...

19 years agoMiscellaneous cleanups.
Jorrit Herder [Wed, 3 Aug 2005 11:53:36 +0000 (11:53 +0000)]
Miscellaneous cleanups.

19 years agoRemoved socket library, there is a socket library in libc now
Ben Gras [Wed, 3 Aug 2005 11:35:41 +0000 (11:35 +0000)]
Removed socket library, there is a socket library in libc now

19 years agoRemoved old socket library.
Philip Homburg [Wed, 3 Aug 2005 11:28:43 +0000 (11:28 +0000)]
Removed old socket library.

19 years agoImplemented some boundary cases for LISTENQ.
Philip Homburg [Wed, 3 Aug 2005 11:15:39 +0000 (11:15 +0000)]
Implemented some boundary cases for LISTENQ.

19 years agoMore autopart/setup fixes
Ben Gras [Wed, 3 Aug 2005 10:24:53 +0000 (10:24 +0000)]
More autopart/setup fixes

19 years agoTest .. no update.
Jorrit Herder [Wed, 3 Aug 2005 08:15:36 +0000 (08:15 +0000)]
Test .. no update.

19 years agoFixed 'bug' in log driver that caused kernel messages not to be displayed.
Jorrit Herder [Wed, 3 Aug 2005 08:14:08 +0000 (08:14 +0000)]
Fixed 'bug' in log driver that caused kernel messages not to be displayed.
This was caused by a change in the shared driver code. Not log's fault.

Renamed #definitions of driver process numbers, e.g., TTY now is TTY_PROC_NR.
All known (special) processes now have consistent naming scheme. Kernel tasks
don't follow this scheme.

19 years agoTemporarily disabled FLOPPY to prevent mayhem due to ISA DMA below 16 MB.
Jorrit Herder [Tue, 2 Aug 2005 16:05:01 +0000 (16:05 +0000)]
Temporarily disabled FLOPPY to prevent mayhem due to ISA DMA below 16 MB.

19 years agoUtility to dynamically start system services.
Jorrit Herder [Tue, 2 Aug 2005 16:00:07 +0000 (16:00 +0000)]
Utility to dynamically start system services.

19 years agoMiscellaneous small fixes to prettify startup output.
Jorrit Herder [Tue, 2 Aug 2005 15:56:24 +0000 (15:56 +0000)]
Miscellaneous small fixes to prettify startup output.

19 years ago*** empty log message ***
Jorrit Herder [Tue, 2 Aug 2005 15:50:00 +0000 (15:50 +0000)]
*** empty log message ***

19 years agoDynamic starting of services.
Jorrit Herder [Tue, 2 Aug 2005 15:46:24 +0000 (15:46 +0000)]
Dynamic starting of services.

19 years agoVarious updates to support dynamically starting drivers.
Jorrit Herder [Tue, 2 Aug 2005 15:32:12 +0000 (15:32 +0000)]
Various updates to support dynamically starting drivers.

19 years agoChanged various header file to support dynamically staring drivers.
Jorrit Herder [Tue, 2 Aug 2005 15:31:12 +0000 (15:31 +0000)]
Changed various header file to support dynamically staring drivers.
Note: full recompile necessary.

19 years agoVarious updates to support dynamically starting drivers.
Jorrit Herder [Tue, 2 Aug 2005 15:30:36 +0000 (15:30 +0000)]
Various updates to support dynamically starting drivers.
Output during initialization should be suppressed. Unless an error occurs.
Note that main() can now be main(int argc, char **argv) and arguments can
be passed when bringing up the driver.

19 years agoCreated new devctl system call to FS. Moved dmap.h header to include/minix/.
Jorrit Herder [Tue, 2 Aug 2005 15:29:17 +0000 (15:29 +0000)]
Created new devctl system call to FS. Moved dmap.h header to include/minix/.
Various updates to support dynamically starting servers and suppress output.

19 years agoCleaned up table. Moved policies to table.
Jorrit Herder [Tue, 2 Aug 2005 15:28:09 +0000 (15:28 +0000)]
Cleaned up table.  Moved policies to table.
Small fixes to do_copy, do_privctl and do_fork.

19 years agosetup fix
Ben Gras [Tue, 2 Aug 2005 14:56:30 +0000 (14:56 +0000)]
setup fix

19 years agoDebug statement from autopart
Ben Gras [Tue, 2 Aug 2005 09:46:34 +0000 (09:46 +0000)]
Debug statement from autopart

19 years agoremove autopart debug statement
Ben Gras [Tue, 2 Aug 2005 09:02:52 +0000 (09:02 +0000)]
remove autopart  debug statement

19 years agoSetup tweaks; bzip import
Ben Gras [Tue, 2 Aug 2005 08:57:26 +0000 (08:57 +0000)]
Setup tweaks; bzip import

19 years agosmall fix for connect
Philip Homburg [Mon, 1 Aug 2005 14:47:24 +0000 (14:47 +0000)]
small fix for connect

19 years agoUDP support for connect.
Philip Homburg [Mon, 1 Aug 2005 14:43:21 +0000 (14:43 +0000)]
UDP support for connect.

19 years agoReplace REVIVE with notify.
Philip Homburg [Mon, 1 Aug 2005 14:40:21 +0000 (14:40 +0000)]
Replace REVIVE with notify.

19 years ago*** empty log message ***
Jorrit Herder [Fri, 29 Jul 2005 15:33:31 +0000 (15:33 +0000)]
*** empty log message ***

19 years ago- Kernel call handlers cleaned up. More strict checking of input parameters.
Jorrit Herder [Fri, 29 Jul 2005 15:26:23 +0000 (15:26 +0000)]
- Kernel call handlers cleaned up. More strict checking of input parameters.
- Moved generic_handler() from system.c to system/do_irqctl.c.
- Set privileges of system processes somewhat stricter.

19 years agors232 support
Philip Homburg [Fri, 29 Jul 2005 15:22:58 +0000 (15:22 +0000)]
rs232 support

19 years agoSystem library changes to interface.
Jorrit Herder [Fri, 29 Jul 2005 15:02:27 +0000 (15:02 +0000)]
System library changes to interface.

19 years agoUpdates system library calls: interface changes (removed unused parameters).
Jorrit Herder [Fri, 29 Jul 2005 15:01:59 +0000 (15:01 +0000)]
Updates system library calls: interface changes (removed unused parameters).
Removed old notification trap: renamed alert() to notify() ... finally ;-)

19 years agoUpdated servers according to syslib interface changes.
Jorrit Herder [Fri, 29 Jul 2005 15:00:49 +0000 (15:00 +0000)]
Updated servers according to syslib interface changes.

19 years agoUpdated drivers according to syslib interface changes.
Jorrit Herder [Fri, 29 Jul 2005 15:00:22 +0000 (15:00 +0000)]
Updated drivers according to syslib interface changes.

19 years agoSmall update to SYS_IRQCTL -> setting an interrupt policy now allows the caller
Jorrit Herder [Fri, 29 Jul 2005 12:44:42 +0000 (12:44 +0000)]
Small update to SYS_IRQCTL -> setting an interrupt policy now allows the caller
to provide an index (0 .. 31) that is passed in the HARD_INT message when an
interrupt occurs. The NOTIFY_ARG field contains a bitmap with all indexes for
which an interrupt occured.

19 years ago*** empty log message ***
Jorrit Herder [Fri, 29 Jul 2005 11:50:58 +0000 (11:50 +0000)]
*** empty log message ***

19 years agobios_wini driver
Philip Homburg [Fri, 29 Jul 2005 10:21:04 +0000 (10:21 +0000)]
bios_wini driver