]> Zhao Yanbai Git Server - minix.git/log
minix.git
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

19 years agoFixed prototype of random_update.
Philip Homburg [Fri, 29 Jul 2005 10:16:40 +0000 (10:16 +0000)]
Fixed prototype of random_update.

19 years agoAdded shutdown. EBADIOCTL in connect. Chaned some debug output.
Philip Homburg [Fri, 29 Jul 2005 10:13:52 +0000 (10:13 +0000)]
Added shutdown. EBADIOCTL in connect. Chaned some debug output.

19 years agoRemoved debugging statements from log.c; changed PRINTF_PROC in config.h
Ben Gras [Wed, 27 Jul 2005 18:49:25 +0000 (18:49 +0000)]
Removed debugging statements from log.c; changed PRINTF_PROC in config.h
back to LOG_PROC_NR

19 years agoTook fchdir out of the user library, it's suspected of being buggy (in FS)
Ben Gras [Wed, 27 Jul 2005 18:48:48 +0000 (18:48 +0000)]
Took fchdir out of the user library, it's suspected of being buggy (in FS)

19 years agoReplaced REVIVE and select/notify with alert and DEV_STATUS.
Philip Homburg [Wed, 27 Jul 2005 16:35:16 +0000 (16:35 +0000)]
Replaced REVIVE and select/notify with alert and DEV_STATUS.

19 years agoAdded dup_inode to fchdir() call. Still not sure if it is correct now.
Ben Gras [Wed, 27 Jul 2005 16:04:26 +0000 (16:04 +0000)]
Added dup_inode to fchdir() call. Still not sure if it is correct now.

19 years agoMade PRINTER driver use new revive-notify mechanism.
Jorrit Herder [Wed, 27 Jul 2005 15:04:30 +0000 (15:04 +0000)]
Made PRINTER driver use new revive-notify mechanism.
Still to be tested.

19 years agoAT driver is not modified (debugging only);
Jorrit Herder [Wed, 27 Jul 2005 14:32:16 +0000 (14:32 +0000)]
AT driver is not modified (debugging only);
TTY: select and revive with new notify and FS call back;
kernel: removed old notify code; removed ugly prepare_shutdown timer
kputc: don't send to FS if PRINTF_PROC fails

19 years agoLog device only suspendable now
Ben Gras [Wed, 27 Jul 2005 14:31:04 +0000 (14:31 +0000)]
Log device only suspendable now

19 years ago*** empty log message ***
Ben Gras [Wed, 27 Jul 2005 14:30:25 +0000 (14:30 +0000)]
*** empty log message ***

19 years agoPrettify scheduling queue prints
Ben Gras [Wed, 27 Jul 2005 14:30:17 +0000 (14:30 +0000)]
Prettify scheduling queue prints

19 years agoAdded SENDREC_BUSY flag to indicate that process is doing sendrec() -
Ben Gras [Wed, 27 Jul 2005 14:08:59 +0000 (14:08 +0000)]
Added SENDREC_BUSY flag to indicate that process is doing sendrec() -
if so, alerts are not received before reply message.

19 years agoalert()-aware revive/select in log device
Ben Gras [Wed, 27 Jul 2005 13:11:03 +0000 (13:11 +0000)]
alert()-aware revive/select in log device

19 years agoValues for alert revive/select callbacks
Ben Gras [Wed, 27 Jul 2005 13:09:38 +0000 (13:09 +0000)]
Values for alert revive/select callbacks

19 years agoFS understanding revives and selects as alerts (new notifies)
Ben Gras [Wed, 27 Jul 2005 13:08:52 +0000 (13:08 +0000)]
FS understanding revives and selects as alerts (new notifies)

19 years agoListen/accept. Read select for UDP.
Philip Homburg [Wed, 27 Jul 2005 12:07:12 +0000 (12:07 +0000)]
Listen/accept. Read select for UDP.

19 years ago3 -> T_GETUSER
Philip Homburg [Wed, 27 Jul 2005 12:03:09 +0000 (12:03 +0000)]
3 -> T_GETUSER

19 years agoDo not accept requests from dead processes.
Philip Homburg [Wed, 27 Jul 2005 12:01:11 +0000 (12:01 +0000)]
Do not accept requests from dead processes.

19 years agoSocket library
Philip Homburg [Wed, 27 Jul 2005 11:57:59 +0000 (11:57 +0000)]
Socket library

19 years agoAdded some error strings.
Philip Homburg [Wed, 27 Jul 2005 11:53:05 +0000 (11:53 +0000)]
Added some error strings.

19 years agoMore stack for ash.
Philip Homburg [Wed, 27 Jul 2005 11:49:52 +0000 (11:49 +0000)]
More stack for ash.

19 years agoThe priority of FS should be lower than that of PM to avoid race conditions
Philip Homburg [Wed, 27 Jul 2005 11:48:13 +0000 (11:48 +0000)]
The priority of FS should be lower than that of PM to avoid race conditions
when processes are killed due to a signal.

19 years agoPrototypes for some string functions that are not part of the C standard.
Philip Homburg [Wed, 27 Jul 2005 11:44:26 +0000 (11:44 +0000)]
Prototypes for some string functions that are not part of the C standard.

19 years agoAdded EALREADY and EMSGSIZE.
Philip Homburg [Wed, 27 Jul 2005 11:43:28 +0000 (11:43 +0000)]
Added EALREADY and EMSGSIZE.

19 years agoAdded {h,n}to{l,s} prototypes. Added IPPROTO_TCP. SA_FAMILY_T -> _SA_FAMILY_T
Philip Homburg [Wed, 27 Jul 2005 11:42:54 +0000 (11:42 +0000)]
Added {h,n}to{l,s} prototypes. Added IPPROTO_TCP. SA_FAMILY_T -> _SA_FAMILY_T
Added SOCK_RAW, SOCK_RDM, SOCK_SEQPACKET, SO_DEBUG, SO_ERROR.

19 years agoAdded ioctls for listen/accept. Added cookies for accept.
Philip Homburg [Wed, 27 Jul 2005 11:40:34 +0000 (11:40 +0000)]
Added ioctls for listen/accept. Added cookies for accept.

19 years agoNo RDY_Q_HEAD business..
Ben Gras [Wed, 27 Jul 2005 07:01:46 +0000 (07:01 +0000)]
No RDY_Q_HEAD business..

19 years agoPrettier s_flags printing
Ben Gras [Wed, 27 Jul 2005 07:00:20 +0000 (07:00 +0000)]
Prettier s_flags printing