]>
Zhao Yanbai Git Server - minix.git/log
Philip Homburg [Fri, 29 Jul 2005 10:13:52 +0000 (10:13 +0000)]
Added shutdown. EBADIOCTL in connect. Chaned some debug output.
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
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)
Philip Homburg [Wed, 27 Jul 2005 16:35:16 +0000 (16:35 +0000)]
Replaced REVIVE and select/notify with alert and DEV_STATUS.
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.
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.
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
Ben Gras [Wed, 27 Jul 2005 14:31:04 +0000 (14:31 +0000)]
Log device only suspendable now
Ben Gras [Wed, 27 Jul 2005 14:30:25 +0000 (14:30 +0000)]
*** empty log message ***
Ben Gras [Wed, 27 Jul 2005 14:30:17 +0000 (14:30 +0000)]
Prettify scheduling queue prints
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.
Ben Gras [Wed, 27 Jul 2005 13:11:03 +0000 (13:11 +0000)]
alert()-aware revive/select in log device
Ben Gras [Wed, 27 Jul 2005 13:09:38 +0000 (13:09 +0000)]
Values for alert revive/select callbacks
Ben Gras [Wed, 27 Jul 2005 13:08:52 +0000 (13:08 +0000)]
FS understanding revives and selects as alerts (new notifies)
Philip Homburg [Wed, 27 Jul 2005 12:07:12 +0000 (12:07 +0000)]
Listen/accept. Read select for UDP.
Philip Homburg [Wed, 27 Jul 2005 12:03:09 +0000 (12:03 +0000)]
3 -> T_GETUSER
Philip Homburg [Wed, 27 Jul 2005 12:01:11 +0000 (12:01 +0000)]
Do not accept requests from dead processes.
Philip Homburg [Wed, 27 Jul 2005 11:57:59 +0000 (11:57 +0000)]
Socket library
Philip Homburg [Wed, 27 Jul 2005 11:53:05 +0000 (11:53 +0000)]
Added some error strings.
Philip Homburg [Wed, 27 Jul 2005 11:49:52 +0000 (11:49 +0000)]
More stack for ash.
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.
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.
Philip Homburg [Wed, 27 Jul 2005 11:43:28 +0000 (11:43 +0000)]
Added EALREADY and EMSGSIZE.
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.
Philip Homburg [Wed, 27 Jul 2005 11:40:34 +0000 (11:40 +0000)]
Added ioctls for listen/accept. Added cookies for accept.
Ben Gras [Wed, 27 Jul 2005 07:01:46 +0000 (07:01 +0000)]
No RDY_Q_HEAD business..
Ben Gras [Wed, 27 Jul 2005 07:00:20 +0000 (07:00 +0000)]
Prettier s_flags printing
Jorrit Herder [Tue, 26 Jul 2005 14:54:49 +0000 (14:54 +0000)]
Removed debug output.
Jorrit Herder [Tue, 26 Jul 2005 13:51:21 +0000 (13:51 +0000)]
Minor fixes and improvements for sys_call().
Ben Gras [Tue, 26 Jul 2005 13:50:58 +0000 (13:50 +0000)]
test shouldn't install, only clean
Ben Gras [Tue, 26 Jul 2005 13:36:50 +0000 (13:36 +0000)]
. give users a boot floppy image (cdfdboot) they can use
if they can't boot from CD (CD still required though)
. no longer .tar.gz source on iso fs
Ben Gras [Tue, 26 Jul 2005 13:34:45 +0000 (13:34 +0000)]
Top-level makefile didn't clean test
Ben Gras [Tue, 26 Jul 2005 13:23:13 +0000 (13:23 +0000)]
Minor cdprobe message additions; usyslogd logs shorter lines
Ben Gras [Tue, 26 Jul 2005 13:16:07 +0000 (13:16 +0000)]
MINIX 3, not MINIX3
Ben Gras [Tue, 26 Jul 2005 13:15:27 +0000 (13:15 +0000)]
Setup, not setupcd any more
Ben Gras [Tue, 26 Jul 2005 13:14:59 +0000 (13:14 +0000)]
Small fix
Ben Gras [Tue, 26 Jul 2005 13:14:36 +0000 (13:14 +0000)]
Rename setupcd.sh to setup.sh
Ben Gras [Tue, 26 Jul 2005 13:14:12 +0000 (13:14 +0000)]
Rename setupcd.sh to setup.sh, setup.sh to floppysetup.sh
Ben Gras [Tue, 26 Jul 2005 13:11:16 +0000 (13:11 +0000)]
Added an IDENTIFIED flag that is set on successfully identified drives.
This avoids the bug scenario where DEAF but not-w_identify()d drives are
never properly identified, but are seen as real devices.
Jorrit Herder [Tue, 26 Jul 2005 13:08:57 +0000 (13:08 +0000)]
Framework (and some functionality) for new server ...
Work in progress ...
Jorrit Herder [Tue, 26 Jul 2005 12:51:35 +0000 (12:51 +0000)]
Removed implicit call to 'make depend' on 'make install' ...
Jorrit Herder [Tue, 26 Jul 2005 12:50:41 +0000 (12:50 +0000)]
*** empty log message ***
Jorrit Herder [Tue, 26 Jul 2005 12:50:25 +0000 (12:50 +0000)]
Small update to shared driver code: SYS_EVENT (signal) is now known.
Fixed drivers. HARD_STOP message no longer exists.
Jorrit Herder [Tue, 26 Jul 2005 12:49:35 +0000 (12:49 +0000)]
Updated F4 dump at IS to include send masks.
Removed unused constant from fproc.h
Changed signal behaviour at PM (work in progress)
Jorrit Herder [Tue, 26 Jul 2005 12:48:34 +0000 (12:48 +0000)]
Kernel changes:
- reinstalled priority changing, now in sched() and unready()
- reinstalled check on message buffer in sys_call()
- reinstalled check in send masks in sys_call()
- changed do_fork() to get new privilege structure for SYS_PROCs
- removed some processes from boot image---will be dynamically started later
Philip Homburg [Mon, 25 Jul 2005 12:15:05 +0000 (12:15 +0000)]
Fixed do_trace to properly return (status) information.
Jorrit Herder [Mon, 25 Jul 2005 12:03:00 +0000 (12:03 +0000)]
Defined base numbers for DEV_ request and response types.
Defined response codes: DEV_REPLY, DEV_CLONED, DEV_REVIVE, DEV_IO_READY
Ben Gras [Sun, 24 Jul 2005 14:06:42 +0000 (14:06 +0000)]
SIGSTOP being in _NSIG nowadays caused test8 to break - fixed.
Ben Gras [Sun, 24 Jul 2005 12:55:41 +0000 (12:55 +0000)]
*** empty log message ***
Ben Gras [Sun, 24 Jul 2005 01:18:39 +0000 (01:18 +0000)]
Let writeisofs write files longer than 11 chars
Ben Gras [Sun, 24 Jul 2005 01:18:09 +0000 (01:18 +0000)]
Yet more readme and install script updates
Ben Gras [Sun, 24 Jul 2005 01:17:32 +0000 (01:17 +0000)]
Redirect touch stderr to /dev/null, error is unlikely and harmless in
normal conditions but certain and irritating and harmless when booting from
cd
Ben Gras [Sun, 24 Jul 2005 01:16:51 +0000 (01:16 +0000)]
Various autopart fixes, and new delete-partition feature
Ben Gras [Sun, 24 Jul 2005 01:16:37 +0000 (01:16 +0000)]
install script fixes - mkfs block size, autopart invocation
Ben Gras [Sat, 23 Jul 2005 20:17:43 +0000 (20:17 +0000)]
Made line endings CRLF
Ben Gras [Sat, 23 Jul 2005 20:17:16 +0000 (20:17 +0000)]
Added a README.TXT for on the ISO filesystem (so people can see something
when it's opened in e.g. Windows).
Ben Gras [Sat, 23 Jul 2005 19:57:13 +0000 (19:57 +0000)]
Fixes to autopart.
Ben Gras [Fri, 22 Jul 2005 18:38:48 +0000 (18:38 +0000)]
Updates to /usr/etc/rc to deal with the new cd probing logic; ast@'s new motd
Ben Gras [Fri, 22 Jul 2005 18:38:20 +0000 (18:38 +0000)]
Funny depend behaviour fixed
Ben Gras [Fri, 22 Jul 2005 18:37:33 +0000 (18:37 +0000)]
new svrctl SETPARAM to set or override environment variables obtained
from the boot monitor
Ben Gras [Fri, 22 Jul 2005 18:36:42 +0000 (18:36 +0000)]
Removed funny debug printf
Ben Gras [Fri, 22 Jul 2005 18:36:19 +0000 (18:36 +0000)]
Third-oldest image is thrown away instead of oldest, if there are at least 4
images. (Oldest is kept.)
Various cd message updates.
Ben Gras [Fri, 22 Jul 2005 18:31:19 +0000 (18:31 +0000)]
Boot monitor setting of device _names_ no longer necessary
Ben Gras [Fri, 22 Jul 2005 18:30:40 +0000 (18:30 +0000)]
autopart, setupcd updates
Ben Gras [Fri, 22 Jul 2005 18:30:23 +0000 (18:30 +0000)]
Imported treecmp
Ben Gras [Fri, 22 Jul 2005 18:30:14 +0000 (18:30 +0000)]
Imported indent
Ben Gras [Fri, 22 Jul 2005 18:29:58 +0000 (18:29 +0000)]
. Junk-filling gap+stack code on exec() if enabled (not enabled now)
. Allow 'boot monitor' variable changes and additions by svrctl call
Ben Gras [Fri, 22 Jul 2005 18:28:32 +0000 (18:28 +0000)]
. added cd-probe logic; tries to find the right root filesystem
if the boot monitor parameter is set. it also sets a boot monitor
parameter (by talking to the PM) so userland knows it.
. ramdisk copy code made slightly smarter
. various select() prettifications (work in progress)
Ben Gras [Fri, 22 Jul 2005 18:25:06 +0000 (18:25 +0000)]
Some bugs in memory driver fixed (destination address of user buffer
not updated)
Ben Gras [Fri, 22 Jul 2005 18:24:17 +0000 (18:24 +0000)]
Nits here and there. Made log device buffer messages again.
Jorrit Herder [Fri, 22 Jul 2005 11:05:56 +0000 (11:05 +0000)]
Functionality moved from IS to LOG driver.
Jorrit Herder [Fri, 22 Jul 2005 09:59:37 +0000 (09:59 +0000)]
*** empty log message ***
Jorrit Herder [Fri, 22 Jul 2005 09:20:43 +0000 (09:20 +0000)]
*** empty log message ***
Jorrit Herder [Thu, 21 Jul 2005 18:37:19 +0000 (18:37 +0000)]
*** empty log message ***
Jorrit Herder [Thu, 21 Jul 2005 18:36:40 +0000 (18:36 +0000)]
- Fixed comments in various system call handlers. Work in progress on new
sys_privctl() call to dynamically start servers and drivers.
- Shutdown sequence slightly adjusted: called as watchdog timer to let the
busy sys_abort() call from the PM return first.
- Changed umap_bios() to have more restrictive check: BIOS memory is now
allowed in BIOS_MEM_BEGIN to END (interrupt vectors) and BASE_MEM_TOP
to UPPER_MEM_END. Hopefully this keeps QEMU and Bochs happy.
Jorrit Herder [Thu, 21 Jul 2005 18:32:49 +0000 (18:32 +0000)]
Added new BASE_MEM_TOP to restrict sys_vircopy() calls from BIOS.
Updated comments at PRINTF_PROC --- it works again.
Jorrit Herder [Thu, 21 Jul 2005 18:31:27 +0000 (18:31 +0000)]
Removed printing functionality from IS server.
This functionality is now provided by the LOG driver.
Jorrit Herder [Thu, 21 Jul 2005 18:29:52 +0000 (18:29 +0000)]
Allowed printing diagnostic messages (either from system processes or the
kernel) to the log driver. The log driver forwards such output to the TTY.
Changed driver_task() not to send a reply if the return value is EDONTREPLY.
Ben Gras [Thu, 21 Jul 2005 13:17:56 +0000 (13:17 +0000)]
Added dev2name - translate (minor,major) device numbers, or (minor|major<<..)
device number, to /dev/* node name.
Ben Gras [Thu, 21 Jul 2005 08:35:06 +0000 (08:35 +0000)]
Added presz134.zip to go on install cd, modified release script to do it
Jorrit Herder [Wed, 20 Jul 2005 15:34:13 +0000 (15:34 +0000)]
*** empty log message ***
Jorrit Herder [Wed, 20 Jul 2005 15:33:54 +0000 (15:33 +0000)]
Removed 'tracing' flag from sys_exec. Logic is now local to PM.
Changed variable names in timers libary. Wrote new comments for
timers.h header file with explanation.
Jorrit Herder [Wed, 20 Jul 2005 15:28:05 +0000 (15:28 +0000)]
Kernel sends SIGKSTOP just before shutdown. Drivers do clean up and exit.
Jorrit Herder [Wed, 20 Jul 2005 15:27:42 +0000 (15:27 +0000)]
Fixed bug in PM that caused update program not to be scheduled, so that
sync was not periodically run. Chain of timers was accidentially broken.
Kernel sends SIGKSTOP signal on shutdown. FS calls sync to clean up.
Jorrit Herder [Wed, 20 Jul 2005 15:25:38 +0000 (15:25 +0000)]
Various fixes and improvements.
- fixed bug that caused IDLE to panic (irq hook inconsistency);
- kprintf() now accepts multiple arguments; moved to utility.c;
- prepare_shutdown() signals system processes with SIGKSTOP;
- phys_fill() renamed to phys_memset(), argument order changed;
- kmemset() removed in favor of phys_kmemset();
- kstrncpy() removed in favor of phys_copy();
- katoi, kstrncmp replaced by normal library procedure again;
- rm_irq_handler() interface changed (simply pass hook pointer);
Ben Gras [Wed, 20 Jul 2005 15:16:53 +0000 (15:16 +0000)]
Fixed bug that caused booting being aborted in some cases (e.g. after ls).
Ben Gras [Wed, 20 Jul 2005 14:04:19 +0000 (14:04 +0000)]
Uninitialised field at init
Ben Gras [Tue, 19 Jul 2005 16:03:39 +0000 (16:03 +0000)]
Another test case for select - ptys (when implemented)
Ben Gras [Tue, 19 Jul 2005 16:02:39 +0000 (16:02 +0000)]
Openpty() manpage
Ben Gras [Tue, 19 Jul 2005 16:01:37 +0000 (16:01 +0000)]
new -lutil, only openpty() for now
Ben Gras [Tue, 19 Jul 2005 16:01:20 +0000 (16:01 +0000)]
Header file for new -lutil (naming from freebsd)
Ben Gras [Tue, 19 Jul 2005 16:00:25 +0000 (16:00 +0000)]
Made phys_fill fill its 4-byte pattern any number of bytes (instead of
rounded down to a 4-byte multiple)
Fixed dependency omission
Jorrit Herder [Tue, 19 Jul 2005 15:01:47 +0000 (15:01 +0000)]
*** empty log message ***
Jorrit Herder [Tue, 19 Jul 2005 14:03:21 +0000 (14:03 +0000)]
*** empty log message ***
Jorrit Herder [Tue, 19 Jul 2005 13:21:51 +0000 (13:21 +0000)]
Renamed src/lib/utils to src/lib/sysutil --- because of new src/lib/util
Jorrit Herder [Tue, 19 Jul 2005 12:24:51 +0000 (12:24 +0000)]
Added new signal types for kernel events:
- SIGKMESS: new kernel message (sent to TTY, IS, or LOG)
- SIGKSTOP: MINIX is shut down (sent to TTY-> switch to primary console)
- SIGKSIG: kernel signals pending (sent to PM)
Renamed SYS_SETPRIORITY to SYS_NICE.
Jorrit Herder [Tue, 19 Jul 2005 12:21:36 +0000 (12:21 +0000)]
System processes can be signaled; signals are transformed in SYS_EVENT message
that passes signal map along. This mechanisms is also used for nonuser signals
like SIGKMESS, SIGKSTOP, SIGKSIG.
Revised comments of many system call handlers. Renamed setpriority to nice.
Philip Homburg [Tue, 19 Jul 2005 12:16:55 +0000 (12:16 +0000)]
Small update to random number generator
Jorrit Herder [Tue, 19 Jul 2005 12:14:10 +0000 (12:14 +0000)]
System processes started via servers=... boot monitor parameter
are now daemonized (instead of SIGNON procedure at PM).
Jorrit Herder [Tue, 19 Jul 2005 12:12:48 +0000 (12:12 +0000)]
Changed Makefiles: drivers are now installed in /usr/sbin.
TTY now gets SYS_EVENT message with sigset (e.g., SIGKMESS, SIGKSTOP).