]> Zhao Yanbai Git Server - minix.git/log
minix.git
18 years ago*** empty log message ***
Ben Gras [Thu, 16 Mar 2006 12:49:53 +0000 (12:49 +0000)]
*** empty log message ***

18 years agoIgnore PROC_EVENTs
Ben Gras [Thu, 16 Mar 2006 11:22:31 +0000 (11:22 +0000)]
Ignore PROC_EVENTs

18 years ago . load average calculation changed to calculate it all over every tick
Ben Gras [Thu, 16 Mar 2006 09:33:35 +0000 (09:33 +0000)]
 . load average calculation changed to calculate it all over every tick
   instead of keeping a running total of enqueued processes
   (because somehow the load average was broken)
 . added SI_KPROC_TAB to get a copy of kernel process table from PM, for
   a top implementation
 . fixed arg to sys_nice() to make it an endpoint, not a slot number

18 years agoMore fixes to reality
Ben Gras [Thu, 16 Mar 2006 01:47:52 +0000 (01:47 +0000)]
More fixes to reality

18 years agoTick calculation tweak
Ben Gras [Thu, 16 Mar 2006 01:44:06 +0000 (01:44 +0000)]
Tick calculation tweak

18 years agoTop, welcome to minix.
Ben Gras [Thu, 16 Mar 2006 01:29:51 +0000 (01:29 +0000)]
Top, welcome to minix.
Minix, welcome to the world of top.

A from-scratch top implementation for minix!

18 years agoDriver disappearing during dev_io() is not a fatal error.
Ben Gras [Wed, 15 Mar 2006 21:55:32 +0000 (21:55 +0000)]
Driver disappearing during dev_io() is not a fatal error.

18 years agoDinks for the (source/binary) package scripts
Ben Gras [Wed, 15 Mar 2006 17:02:46 +0000 (17:02 +0000)]
Dinks for the (source/binary) package scripts

18 years agoUse the sysutil library's printf code also for the kernel.
Philip Homburg [Wed, 15 Mar 2006 16:15:23 +0000 (16:15 +0000)]
Use the sysutil library's printf code also for the kernel.

18 years ago*** empty log message ***
Ben Gras [Wed, 15 Mar 2006 16:03:15 +0000 (16:03 +0000)]
*** empty log message ***

18 years agochroot in /bin for install script
Ben Gras [Wed, 15 Mar 2006 16:02:38 +0000 (16:02 +0000)]
chroot in /bin for install script

18 years agoFS:
Ben Gras [Wed, 15 Mar 2006 15:34:12 +0000 (15:34 +0000)]
FS:
  . loops checked for PID_FREE
  . exit broken down in exit and cleanup functions; when reboot happens,
    cleanup is done but not exit (as processes have not actually exited),
    this keeps drivers working
  . fixed a few uninitialized and unused variables

scripts:
  . new packaging system

18 years agoMore stack for yacc (to compile nawk)
Ben Gras [Wed, 15 Mar 2006 15:16:43 +0000 (15:16 +0000)]
More stack for yacc (to compile nawk)

18 years agoRemoved some debug prints
Ben Gras [Wed, 15 Mar 2006 15:16:16 +0000 (15:16 +0000)]
Removed some debug prints

18 years ago . verbose recovery of tcpd
Ben Gras [Wed, 15 Mar 2006 14:39:20 +0000 (14:39 +0000)]
 . verbose recovery of tcpd
 . chroot shows exit status to parent

18 years agoUse assembler instead of C for the ramdisk. The assembler requires less
Philip Homburg [Wed, 15 Mar 2006 14:28:05 +0000 (14:28 +0000)]
Use assembler instead of C for the ramdisk. The assembler requires less
memory.

18 years agoLet tcpd retry on errors.
Ben Gras [Wed, 15 Mar 2006 13:59:13 +0000 (13:59 +0000)]
Let tcpd retry on errors.

18 years agodmap_io now returns a status. map_driver no longer calls dev_up.
Philip Homburg [Wed, 15 Mar 2006 13:37:20 +0000 (13:37 +0000)]
dmap_io now returns a status. map_driver no longer calls dev_up.

18 years agoAdded assert to syslib. Moved panic from sysutil to syslib for assert.
Philip Homburg [Wed, 15 Mar 2006 12:06:18 +0000 (12:06 +0000)]
Added assert to syslib. Moved panic from sysutil to syslib for assert.
Panic now tries sys_kill with SIGKILL first.

18 years agoAllow a process to kill itself. Remove the endpoint of a process that kills
Philip Homburg [Wed, 15 Mar 2006 12:01:59 +0000 (12:01 +0000)]
Allow a process to kill itself. Remove the endpoint of a process that kills
itself before reporting the singal to pm.

18 years agoone-line descriptions
Ben Gras [Wed, 15 Mar 2006 11:50:15 +0000 (11:50 +0000)]
one-line descriptions

18 years agoDisabled special processing of KILL signals that are passed to pm by the kernel
Philip Homburg [Wed, 15 Mar 2006 11:35:53 +0000 (11:35 +0000)]
Disabled special processing of KILL signals that are passed to pm by the kernel

18 years agoPass endpoint to sys_trace instead of slot number.
Philip Homburg [Wed, 15 Mar 2006 11:32:00 +0000 (11:32 +0000)]
Pass endpoint to sys_trace instead of slot number.

18 years agoHack out of proc.c; function and flags width in ipc.h back to nibbles
Ben Gras [Wed, 15 Mar 2006 11:29:54 +0000 (11:29 +0000)]
Hack out of proc.c; function and flags width in ipc.h back to nibbles
instead of bytes for backwards compatability

18 years agoMore space for mdb. Terminate an error message with a newline.
Philip Homburg [Wed, 15 Mar 2006 11:29:22 +0000 (11:29 +0000)]
More space for mdb. Terminate an error message with a newline.

18 years agoBackwards compatability hack
Ben Gras [Wed, 15 Mar 2006 11:11:54 +0000 (11:11 +0000)]
Backwards compatability hack

18 years agoFix test to match reality
Ben Gras [Wed, 15 Mar 2006 10:32:23 +0000 (10:32 +0000)]
Fix test to match reality

18 years agoReverting some of changes that break backward compatibility.
Philip Homburg [Wed, 15 Mar 2006 10:18:59 +0000 (10:18 +0000)]
Reverting some of changes that break backward compatibility.

18 years agoDo a sync() before reboot()ing in FS.
Ben Gras [Tue, 14 Mar 2006 13:54:20 +0000 (13:54 +0000)]
Do a sync() before reboot()ing in FS.

18 years agodebug msg
Ben Gras [Mon, 13 Mar 2006 15:41:07 +0000 (15:41 +0000)]
debug msg

18 years agoAdded -u option for making USB-stick images.
Philip Homburg [Mon, 13 Mar 2006 15:40:23 +0000 (15:40 +0000)]
Added -u option for making USB-stick images.

18 years agoSome /dev entries for c0d7.
Philip Homburg [Mon, 13 Mar 2006 15:37:43 +0000 (15:37 +0000)]
Some /dev entries for c0d7.

18 years agoAdded boot environment option 'ata_no_dma' to disable DMA.
Philip Homburg [Mon, 13 Mar 2006 15:36:57 +0000 (15:36 +0000)]
Added boot environment option 'ata_no_dma' to disable DMA.

18 years ago/dev/ram is a path
Ben Gras [Mon, 13 Mar 2006 14:49:08 +0000 (14:49 +0000)]
/dev/ram is a path

18 years agomake a ramdisk if necessary
Ben Gras [Mon, 13 Mar 2006 14:44:34 +0000 (14:44 +0000)]
make a ramdisk if necessary

18 years agoCreate a ramdisk using 'ramdisk'.
Ben Gras [Mon, 13 Mar 2006 14:41:54 +0000 (14:41 +0000)]
Create a ramdisk using 'ramdisk'.

18 years agoat_wini: removed RO_BIT misfeature, not used any more
Ben Gras [Mon, 13 Mar 2006 13:21:13 +0000 (13:21 +0000)]
at_wini: removed RO_BIT misfeature, not used any more
pm: fixed rebooting by making a copy of the monitor code from the user
    process. this is necessary because that process is dead by the time
    sys_abort() is called.

    also added more info to the "can't reply" panic.

18 years ago . Version is '3.1.2-B1', stands for -beta1
Ben Gras [Mon, 13 Mar 2006 13:18:39 +0000 (13:18 +0000)]
 . Version is '3.1.2-B1', stands for -beta1
 . Removed old copyright notice from <minix/const.h>

18 years agoDon't need this change with new reboot
Ben Gras [Mon, 13 Mar 2006 10:36:52 +0000 (10:36 +0000)]
Don't need this change with new reboot

18 years ago*** empty log message ***
Jorrit Herder [Mon, 13 Mar 2006 10:33:50 +0000 (10:33 +0000)]
*** empty log message ***

18 years agoDon't choose FS by labels after all.
Ben Gras [Mon, 13 Mar 2006 08:47:05 +0000 (08:47 +0000)]
Don't choose FS by labels after all.

18 years agoDon't set any labels.
Ben Gras [Mon, 13 Mar 2006 08:46:33 +0000 (08:46 +0000)]
Don't set any labels.

18 years agoDon't include ramdisk image in .depend - breaks 'make depend'
Ben Gras [Sat, 11 Mar 2006 10:58:38 +0000 (10:58 +0000)]
Don't include ramdisk image in .depend - breaks 'make depend'

18 years agospecial case when exiting FS - don't core dump and don't tell FS about it
Ben Gras [Fri, 10 Mar 2006 17:35:55 +0000 (17:35 +0000)]
special case when exiting FS - don't core dump and don't tell FS about it
Because if FS is hanging in a signal, the exit won't work.
This way FS gets exited on e.g. SIGSEGV.

18 years agoWait longer for ip address (fxp)
Ben Gras [Fri, 10 Mar 2006 17:33:15 +0000 (17:33 +0000)]
Wait longer for ip address (fxp)

18 years agoLet reboot work again by making PM check for RBT_REBOOT
Ben Gras [Fri, 10 Mar 2006 16:50:27 +0000 (16:50 +0000)]
Let reboot work again by making PM check for RBT_REBOOT

18 years agoUnderstand PROC_EVENT
Ben Gras [Fri, 10 Mar 2006 16:38:36 +0000 (16:38 +0000)]
Understand PROC_EVENT

18 years agoUnderstand PROC_EVENT
Ben Gras [Fri, 10 Mar 2006 16:27:21 +0000 (16:27 +0000)]
Understand PROC_EVENT

18 years ago*** empty log message ***
Jorrit Herder [Fri, 10 Mar 2006 16:20:24 +0000 (16:20 +0000)]
*** empty log message ***

18 years agoLibrary progress
Jorrit Herder [Fri, 10 Mar 2006 16:16:21 +0000 (16:16 +0000)]
Library progress

18 years agoJorrit's ... "progress?"
Jorrit Herder [Fri, 10 Mar 2006 16:10:05 +0000 (16:10 +0000)]
Jorrit's ... "progress?"

18 years agoKeep file modes and such
Ben Gras [Fri, 10 Mar 2006 14:35:15 +0000 (14:35 +0000)]
Keep file modes and such

18 years agoHack small and big fs into a single image. Must now set BIG or SMALL label.
Ben Gras [Fri, 10 Mar 2006 14:11:19 +0000 (14:11 +0000)]
Hack small and big fs into a single image. Must now set BIG or SMALL label.

18 years agocontroller variable is no longer sensible
Ben Gras [Fri, 10 Mar 2006 14:10:11 +0000 (14:10 +0000)]
controller variable is no longer sensible
set default label to BIG

18 years agopanic() on inconsistent endpoints
Ben Gras [Fri, 10 Mar 2006 12:59:46 +0000 (12:59 +0000)]
panic() on inconsistent endpoints

18 years agoNo label stuff. All drivers.
Ben Gras [Fri, 10 Mar 2006 12:43:26 +0000 (12:43 +0000)]
No label stuff. All drivers.

18 years agoIf re-open fails, mark fd as unusable but not-reusable either (until
Ben Gras [Thu, 9 Mar 2006 16:00:33 +0000 (16:00 +0000)]
If re-open fails, mark fd as unusable but not-reusable either (until
close()d).

18 years agoBetter probing code
Philip Homburg [Thu, 9 Mar 2006 15:05:43 +0000 (15:05 +0000)]
Better probing code

18 years agoMedium stack for ds and rs
Ben Gras [Thu, 9 Mar 2006 14:03:39 +0000 (14:03 +0000)]
Medium stack for ds and rs

18 years agoDon't print anything if anything is wrong in send_sig()
Ben Gras [Thu, 9 Mar 2006 14:02:56 +0000 (14:02 +0000)]
Don't print anything if anything is wrong in send_sig()

18 years agoA little more stack for memory
Ben Gras [Thu, 9 Mar 2006 14:02:32 +0000 (14:02 +0000)]
A little more stack for memory

18 years agoVerify if log process numbers are sensible
Ben Gras [Thu, 9 Mar 2006 14:00:33 +0000 (14:00 +0000)]
Verify if log process numbers are sensible

18 years agoTypo in comment.
Ben Gras [Thu, 9 Mar 2006 13:59:59 +0000 (13:59 +0000)]
Typo in comment.

18 years agoNo gmake in use
Ben Gras [Wed, 8 Mar 2006 16:46:40 +0000 (16:46 +0000)]
No gmake in use

18 years ago*** empty log message ***
Ben Gras [Wed, 8 Mar 2006 16:45:55 +0000 (16:45 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
Ben Gras [Wed, 8 Mar 2006 16:34:36 +0000 (16:34 +0000)]
*** empty log message ***

18 years agoupdate needs more stack in order to handle signals
Ben Gras [Wed, 8 Mar 2006 15:42:31 +0000 (15:42 +0000)]
update needs more stack in order to handle signals

18 years agoDon't blindly skip 0-group processes in signals
Ben Gras [Wed, 8 Mar 2006 14:46:42 +0000 (14:46 +0000)]
Don't blindly skip 0-group processes in signals

18 years agoendpoint fixes for RS
Ben Gras [Wed, 8 Mar 2006 14:38:35 +0000 (14:38 +0000)]
endpoint fixes for RS

18 years agoRS formatting fixes
Ben Gras [Wed, 8 Mar 2006 14:37:26 +0000 (14:37 +0000)]
RS formatting fixes

18 years agoEndpoint-enabled fix
Ben Gras [Wed, 8 Mar 2006 13:10:35 +0000 (13:10 +0000)]
Endpoint-enabled fix

18 years agoFixed typo.
Philip Homburg [Wed, 8 Mar 2006 12:30:43 +0000 (12:30 +0000)]
Fixed typo.

18 years agorc: don't start floppy or at driver
Ben Gras [Wed, 8 Mar 2006 12:21:40 +0000 (12:21 +0000)]
rc: don't start floppy or at driver

passwd: add games for nethack

18 years agoAdded some disabled debug code.
Philip Homburg [Wed, 8 Mar 2006 12:06:33 +0000 (12:06 +0000)]
Added some disabled debug code.

18 years agoDo not confuse proc with proc_addr if you want a bug free kernel.
Philip Homburg [Wed, 8 Mar 2006 11:59:59 +0000 (11:59 +0000)]
Do not confuse proc with proc_addr if you want a bug free kernel.

18 years agoTest receive() return code
Ben Gras [Tue, 7 Mar 2006 15:45:14 +0000 (15:45 +0000)]
Test receive() return code

18 years agoTightened generation size - don't count process numbers more than once
Ben Gras [Tue, 7 Mar 2006 15:44:34 +0000 (15:44 +0000)]
Tightened generation size - don't count process numbers more than once

18 years agoImproved test constant
Ben Gras [Tue, 7 Mar 2006 15:44:00 +0000 (15:44 +0000)]
Improved test constant

18 years agoTake out arbitrary constant
Ben Gras [Tue, 7 Mar 2006 15:38:43 +0000 (15:38 +0000)]
Take out arbitrary constant

18 years agoFixed wrong fix
Ben Gras [Tue, 7 Mar 2006 14:58:18 +0000 (14:58 +0000)]
Fixed wrong fix

18 years agoInclude boot options
Ben Gras [Tue, 7 Mar 2006 14:32:41 +0000 (14:32 +0000)]
Include boot options

18 years agoFixed masks on I/O ports.
Philip Homburg [Tue, 7 Mar 2006 14:16:13 +0000 (14:16 +0000)]
Fixed masks on I/O ports.

18 years agoDisabled pci_intel_ctrl.
Philip Homburg [Tue, 7 Mar 2006 14:14:53 +0000 (14:14 +0000)]
Disabled pci_intel_ctrl.

18 years agoAdded rawspeed.
Philip Homburg [Tue, 7 Mar 2006 14:12:51 +0000 (14:12 +0000)]
Added rawspeed.

18 years agoLess stack for ds and rs
Ben Gras [Tue, 7 Mar 2006 13:22:36 +0000 (13:22 +0000)]
Less stack for ds and rs

18 years agoAlign on 16 byte boundary, not 64k
Ben Gras [Tue, 7 Mar 2006 12:38:51 +0000 (12:38 +0000)]
Align on 16 byte boundary, not 64k

18 years agoDo alignment after 64k-dma-boundary adjustment
Ben Gras [Mon, 6 Mar 2006 16:46:12 +0000 (16:46 +0000)]
Do alignment after 64k-dma-boundary adjustment

18 years agoPrint PCI capability types.
Philip Homburg [Mon, 6 Mar 2006 15:19:51 +0000 (15:19 +0000)]
Print PCI capability types.

18 years agoA bit of leftover cleanup work.
Philip Homburg [Mon, 6 Mar 2006 10:42:51 +0000 (10:42 +0000)]
A bit of leftover cleanup work.

18 years agoComment fixes mailed to bugs@
Ben Gras [Sat, 4 Mar 2006 22:51:52 +0000 (22:51 +0000)]
Comment fixes mailed to bugs@

18 years agoGeneration number printed too
Ben Gras [Fri, 3 Mar 2006 16:34:37 +0000 (16:34 +0000)]
Generation number printed too

18 years agoBuild memory driver last.
Philip Homburg [Fri, 3 Mar 2006 15:38:27 +0000 (15:38 +0000)]
Build memory driver last.

18 years agoSupport for DMA.
Philip Homburg [Fri, 3 Mar 2006 15:37:51 +0000 (15:37 +0000)]
Support for DMA.

18 years agoAlways do sanity check now. (Possible now that we have lba48.)
Ben Gras [Fri, 3 Mar 2006 15:34:24 +0000 (15:34 +0000)]
Always do sanity check now. (Possible now that we have lba48.)

18 years agoAdded 'xxl' binsizes size for x.
Ben Gras [Fri, 3 Mar 2006 12:44:22 +0000 (12:44 +0000)]
Added 'xxl' binsizes size for x.
Leave sh and make at normal size for 'big'.
Call binsizes normal after creating release.

18 years agoEndpoint field name
Ben Gras [Fri, 3 Mar 2006 12:13:37 +0000 (12:13 +0000)]
Endpoint field name

18 years agoFix of endpointless slot message in FS
Ben Gras [Fri, 3 Mar 2006 10:25:28 +0000 (10:25 +0000)]
Fix of endpointless slot message in FS

Removed some leftover '#if 0'ed debug code in PM

18 years ago*** empty log message ***
Ben Gras [Fri, 3 Mar 2006 10:22:35 +0000 (10:22 +0000)]
*** empty log message ***

18 years agoendpoint migration for drivers.
Ben Gras [Fri, 3 Mar 2006 10:21:45 +0000 (10:21 +0000)]
endpoint migration for drivers.

mostly renaming message field names to the new names.

tty stored process numbers in chars in tty and pty structs - now ints.

18 years agoendpoint-aware conversion of servers.
Ben Gras [Fri, 3 Mar 2006 10:20:58 +0000 (10:20 +0000)]
endpoint-aware conversion of servers.

'who', indicating caller number in pm and fs and some other servers, has
been removed in favour of 'who_e' (endpoint) and 'who_p' (proc nr.).

In both PM and FS, isokendpt() convert endpoints to process slot
numbers, returning OK if it was a valid and consistent endpoint number.
okendpt() does the same but panic()s if it doesn't succeed. (In PM,
this is pm_isok..)

pm and fs keep their own records of process endpoints in their proc tables,
which are needed to make kernel calls about those processes.

message field names have changed.

fs drivers are endpoints.

fs now doesn't try to get out of driver deadlock, as the protocol isn't
supposed to let that happen any more. (A warning is printed if ELOCKED
is detected though.)

fproc[].fp_task (indicating which driver the process is suspended on)
became an int.

PM and FS now get endpoint numbers of initial boot processes from the
kernel. These happen to be the same as the old proc numbers, to let
user processes reach them with the old numbers, but FS and PM don't know
that. All new processes after INIT, even after the generation number
wraps around, get endpoint numbers with generation 1 and higher, so
the first instances of the boot processes are the only processes ever
to have endpoint numbers in the old proc number range.

More return code checks of sys_* functions have been added.

IS has become endpoint-aware. Ditched the 'text' and 'data' fields
in the kernel dump (which show locations, not sizes, so aren't terribly
useful) in favour of the endpoint number. Proc number is still visible.

Some other dumps (e.g. dmap, rs) show endpoint numbers now too which got
the formatting changed.

PM reading segments using rw_seg() has changed - it uses other fields
in the message now instead of encoding the segment and process number and
fd in the fd field. For that it uses _read_pm() and _write_pm() which to
_taskcall()s directly in pm/misc.c.

PM now sys_exit()s itself on panic(), instead of sys_abort().

RS also talks in endpoints instead of process numbers.