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

18 years ago'proc number' is process slot, 'endpoint' are generation-aware process
Ben Gras [Fri, 3 Mar 2006 10:00:02 +0000 (10:00 +0000)]
'proc number' is process slot, 'endpoint' are generation-aware process
instance numbers, encoded and decoded using macros in <minix/endpoint.h>.

proc number -> endpoint migration
  . proc_nr in the interrupt hook is now an endpoint, proc_nr_e.
  . m_source for messages and notifies is now an endpoint, instead of
    proc number.
  . isokendpt() converts an endpoint to a process number, returns
    success (but fails if the process number is out of range, the
    process slot is not a living process, or the given endpoint
    number does not match the endpoint number in the process slot,
    indicating an old process).
  . okendpt() is the same as isokendpt(), but panic()s if the conversion
    fails. This is mainly used for decoding message.m_source endpoints,
    and other endpoint numbers in kernel data structures, which should
    always be correct.
  . if DEBUG_ENABLE_IPC_WARNINGS is enabled, isokendpt() and okendpt()
    get passed the __FILE__ and __LINE__ of the calling lines, and
    print messages about what is wrong with the endpoint number
    (out of range proc, empty proc, or inconsistent endpoint number),
    with the caller, making finding where the conversion failed easy
    without having to include code for every call to print where things
    went wrong. Sometimes this is harmless (wrong arg to a kernel call),
    sometimes it's a fatal internal inconsistency (bogus m_source).
  . some process table fields have been appended an _e to indicate it's
    become and endpoint.
  . process endpoint is stored in p_endpoint, without generation number.
    it turns out the kernel never needs the generation number, except
    when fork()ing, so it's decoded then.
  . kernel calls all take endpoints as arguments, not proc numbers.
    the one exception is sys_fork(), which needs to know in which slot
    to put the child.

18 years ago. rename message fields to endpoint variants
Ben Gras [Fri, 3 Mar 2006 09:44:55 +0000 (09:44 +0000)]
. rename message fields to endpoint variants
. remove or optionalify some pci debugging stuff

18 years agoChanges to support endpoints.
Ben Gras [Fri, 3 Mar 2006 09:43:06 +0000 (09:43 +0000)]
Changes to support endpoints.
  . rename message field name macros from *PROC* to *ENDPT*,
    both to reflect the new meaning and to use it to hunt down where
    they are used
  . _PM_SEG_FLAG in fd replaces funny segment loading construction by
    PM in FS
  . _MAX_MAGIC_PROC is the highest used proc number, including magic
    constants such as (currently) ANY, NONE and SELF, used by the
    endpoint macros to make sure they are encoded properly and no valid
    endpoint number ever encodes to it.
  . rename proc_nr in address copy struct to proc_nr_e (endpoint)

18 years agoTest fixes
Ben Gras [Wed, 1 Mar 2006 15:28:07 +0000 (15:28 +0000)]
Test fixes

Added test41, for endpoint macros

18 years agoDon't include cdprobe any more
Ben Gras [Fri, 24 Feb 2006 12:56:06 +0000 (12:56 +0000)]
Don't include cdprobe any more

18 years agoLBA48 support.
Philip Homburg [Fri, 24 Feb 2006 12:55:47 +0000 (12:55 +0000)]
LBA48 support.

18 years agoChange to some debug code.
Philip Homburg [Fri, 24 Feb 2006 12:55:00 +0000 (12:55 +0000)]
Change to some debug code.

18 years agoAllow bigger sizes.
Philip Homburg [Fri, 24 Feb 2006 12:53:54 +0000 (12:53 +0000)]
Allow bigger sizes.

18 years agoLance needs 4k due to 4k clicksize
Ben Gras [Wed, 22 Feb 2006 13:45:29 +0000 (13:45 +0000)]
Lance needs 4k due to 4k clicksize

18 years agoDon't complain, urlget
Ben Gras [Tue, 21 Feb 2006 16:06:28 +0000 (16:06 +0000)]
Don't complain, urlget

18 years agoPeter Boonstoppel's recwave update.
Ben Gras [Tue, 21 Feb 2006 16:04:18 +0000 (16:04 +0000)]
Peter Boonstoppel's recwave update.

18 years agoPeter Boonstoppel's audio changes.
Ben Gras [Tue, 21 Feb 2006 15:59:33 +0000 (15:59 +0000)]
Peter Boonstoppel's audio changes.

18 years agoInitial endpoint macros.
Ben Gras [Tue, 21 Feb 2006 15:26:12 +0000 (15:26 +0000)]
Initial endpoint macros.

18 years ago*** empty log message ***
Ben Gras [Mon, 20 Feb 2006 16:00:24 +0000 (16:00 +0000)]
*** empty log message ***

18 years agoIt's not always initialization
Ben Gras [Mon, 20 Feb 2006 15:11:41 +0000 (15:11 +0000)]
It's not always initialization

18 years agoFixed bug in canceling TCP ioctls before INET got an IP address.
Philip Homburg [Mon, 20 Feb 2006 14:35:01 +0000 (14:35 +0000)]
Fixed bug in canceling TCP ioctls before INET got an IP address.

18 years agoDon't copy memory to rescue
Ben Gras [Fri, 17 Feb 2006 16:46:08 +0000 (16:46 +0000)]
Don't copy memory to rescue

local package initialization

18 years agoMake a /usr/local/etc/rc.d
Ben Gras [Fri, 17 Feb 2006 15:14:46 +0000 (15:14 +0000)]
Make a /usr/local/etc/rc.d