]> Zhao Yanbai Git Server - minix.git/log
minix.git
19 years agoInitialisation required for optional debugging code.
Ben Gras [Tue, 24 May 2005 12:30:51 +0000 (12:30 +0000)]
Initialisation required for optional debugging code.

19 years agoAdded 2 checks to mapping function - one for overflow (virtual address +
Ben Gras [Tue, 24 May 2005 12:30:29 +0000 (12:30 +0000)]
Added 2 checks to mapping function - one for overflow (virtual address +
size wraparound), one to see if the size fits in the designated segment.

It seems this check wasn't done. This came to light when trying to pre-check
the users buffer for read() and write() in using the vectored virtual
copy system call in servers/fs/read.c.

19 years agoMake use of vectored virtual copy system call
Ben Gras [Tue, 24 May 2005 12:28:09 +0000 (12:28 +0000)]
Make use of vectored virtual copy system call

19 years agosync after install in case of trouble while shutdowning
Ben Gras [Tue, 24 May 2005 12:03:42 +0000 (12:03 +0000)]
sync after install in case of trouble while shutdowning

19 years agoNew NOTIFY system call! Queued at kernel. Duplicate messages (with same source
Jorrit Herder [Tue, 24 May 2005 10:06:17 +0000 (10:06 +0000)]
New NOTIFY system call! Queued at kernel. Duplicate messages (with same source
and type) are overwritten with newer flags/ arguments. The interface from
within the kernel is lock_notify(). User processes can make a system call with
notify(). NOTIFY fully replaces the old notification mechanism.

19 years agofreed up use of name 'offset'
Ben Gras [Fri, 20 May 2005 13:27:38 +0000 (13:27 +0000)]
freed up use of name 'offset'

19 years agoChanged something in default no. of inodes in mkfs (I run out of inodes
Ben Gras [Fri, 20 May 2005 12:40:46 +0000 (12:40 +0000)]
Changed something in default no. of inodes in mkfs (I run out of inodes
often with the defaults).

Made setup script not make root filesystem with 1kB filesystem blocks,
as that restriction is out of the boot monitor now.

19 years agoFix to let FXP driver send messages.
Ben Gras [Fri, 20 May 2005 12:39:36 +0000 (12:39 +0000)]
Fix to let FXP driver send messages.
Removed banner talking about the known hang-bug (it's fixed,
practically speaking).

19 years agoAdded note to indicate how touchy MAX_BLOCK_SIZE is at the moment.
Ben Gras [Fri, 20 May 2005 12:30:37 +0000 (12:30 +0000)]
Added note to indicate how touchy MAX_BLOCK_SIZE is at the moment.

19 years agoRemoved root filesystem blocksize restriction by reducing boot monitor
Ben Gras [Fri, 20 May 2005 12:30:19 +0000 (12:30 +0000)]
Removed root filesystem blocksize restriction by reducing boot monitor
stack size from 16kB to 8kB. No apparent adverse affects.

19 years agomade time use times() system call to get higher resolution (1/60s clock
Ben Gras [Fri, 20 May 2005 10:06:33 +0000 (10:06 +0000)]
made time use times() system call to get higher resolution (1/60s clock
ticks instead of 1s) for real time measurement.

19 years agoNew system call added to PM: getprocnr(int *proc_nr) (like getpid);
Jorrit Herder [Fri, 20 May 2005 09:37:43 +0000 (09:37 +0000)]
New system call added to PM: getprocnr(int *proc_nr) (like getpid);
Minor update to scheduling code (unready().

19 years agoNew NOTIFY trap (IPC call) to send queued notification messages.
Jorrit Herder [Thu, 19 May 2005 14:05:51 +0000 (14:05 +0000)]
New NOTIFY trap (IPC call) to send queued notification messages.
The call works. Permission check, restriction of outstanding notifications
to be added. Low level code to make it work from within interrupt handlers
will be added as well.

19 years agoAdded fxp driver for the Intel Pro/100 series ethernet cards
Philip Homburg [Thu, 19 May 2005 13:27:05 +0000 (13:27 +0000)]
Added fxp driver for the Intel Pro/100 series ethernet cards
Print PC in hex for easier debugging.

19 years ago*** empty log message ***
Jorrit Herder [Thu, 19 May 2005 09:38:29 +0000 (09:38 +0000)]
*** empty log message ***

19 years agoIntermediate update---please await next commit.
Jorrit Herder [Thu, 19 May 2005 09:36:44 +0000 (09:36 +0000)]
Intermediate update---please await next commit.

19 years agoFixed some comments and reorganized some code.
Jorrit Herder [Wed, 18 May 2005 10:36:23 +0000 (10:36 +0000)]
Fixed some comments and reorganized some code.
Fixed minor bug in notify() function.

19 years agoMinor fixes. (Skip test 28 LINK_MAX links generation, it takes too long.)
Ben Gras [Tue, 17 May 2005 08:40:32 +0000 (08:40 +0000)]
Minor fixes. (Skip test 28 LINK_MAX links generation, it takes too long.)

19 years agopre-release cleanup nit
Ben Gras [Fri, 13 May 2005 14:57:29 +0000 (14:57 +0000)]
pre-release cleanup nit

19 years agoOops, set hash table size to non-power-of-two
Ben Gras [Fri, 13 May 2005 14:57:09 +0000 (14:57 +0000)]
Oops, set hash table size to non-power-of-two

19 years agoDon't cache /dev/ram blocks
Ben Gras [Fri, 13 May 2005 13:42:07 +0000 (13:42 +0000)]
Don't cache /dev/ram blocks

19 years agoRelease process to use and create 16MB root; FS setcache call removed
Ben Gras [Fri, 13 May 2005 12:47:35 +0000 (12:47 +0000)]
Release process to use and create 16MB root; FS setcache call removed

19 years agoStarted rs232 porting to userland; increased version number for new cd.
Ben Gras [Fri, 13 May 2005 12:29:10 +0000 (12:29 +0000)]
Started rs232 porting to userland; increased version number for new cd.

19 years agoIf the file (created by setup) exists, use boot parameters from there
Ben Gras [Fri, 13 May 2005 12:27:42 +0000 (12:27 +0000)]
If the file (created by setup) exists, use boot parameters from there
for the boot floppy instead of copying it from the current root partition.
This makes making a boot floppy at installation time before booting from
the new system possible (conveniently).

19 years agoAdded feature to remember root parameter in /usr/src/tools, so make fdboot
Ben Gras [Fri, 13 May 2005 12:26:40 +0000 (12:26 +0000)]
Added feature to remember root parameter in /usr/src/tools, so make fdboot
will know how to make a boot floppy before actually booting from the new
system.

19 years agoremoved dead code bits
Ben Gras [Fri, 13 May 2005 11:45:12 +0000 (11:45 +0000)]
removed dead code bits

19 years agoDONT_SWAP not used
Ben Gras [Fri, 13 May 2005 11:44:16 +0000 (11:44 +0000)]
DONT_SWAP not used

19 years agoFixed tick_delay; it now reschedules a previous synchronous alarm.
Jorrit Herder [Fri, 13 May 2005 09:33:53 +0000 (09:33 +0000)]
Fixed tick_delay; it now reschedules a previous synchronous alarm.

19 years ago*** empty log message ***
Jorrit Herder [Fri, 13 May 2005 09:00:59 +0000 (09:00 +0000)]
*** empty log message ***

19 years agoRenamed header file.
Jorrit Herder [Fri, 13 May 2005 08:59:19 +0000 (08:59 +0000)]
Renamed header file.

19 years agoRemoved 'system process' magic from PM and FS.
Jorrit Herder [Fri, 13 May 2005 08:57:08 +0000 (08:57 +0000)]
Removed 'system process' magic from PM and FS.

19 years agominor boot floppy beautifications
Ben Gras [Thu, 12 May 2005 16:07:31 +0000 (16:07 +0000)]
minor boot floppy beautifications

19 years agoSome #defines for removing registered irq handler
Ben Gras [Thu, 12 May 2005 16:07:15 +0000 (16:07 +0000)]
Some #defines for removing registered irq handler

19 years ago . added rm_irq_handler which un-links an irq handler from the linked
Ben Gras [Thu, 12 May 2005 16:06:37 +0000 (16:06 +0000)]
 . added rm_irq_handler which un-links an irq handler from the linked
   list of handlers, callable by irqctl system call
 . workaround for hanging keyboard bug after shutdown.. if key is pressed
   during or after shutdown procedure, keyboard stops working. It looks like
   irq 1 gets stuck high if no keyboard reading is done (e.g. because the
   irq is masked or tty driver has exited). Workaround is to leave irqs
   enabled until the last second, and call shutdown() immediately after the
   last driver has stopped (tty task). This way the chance of an unserviced
   interrupt occuring is negligible.

19 years agoadded code to un-register tty's interrupt at exit time; fixed compiler
Ben Gras [Thu, 12 May 2005 16:03:43 +0000 (16:03 +0000)]
added code to un-register tty's interrupt at exit time; fixed compiler
warnings

19 years agoUser-space networking!
Jorrit Herder [Wed, 11 May 2005 09:02:00 +0000 (09:02 +0000)]
User-space networking!
- RTL8139 driver moved to user-space;
- PCI code moved to user-space;
Fixed IRQ hook dump at IS server.

19 years agoFixed some system call checks;
Jorrit Herder [Tue, 10 May 2005 11:06:24 +0000 (11:06 +0000)]
Fixed some system call checks;
Added SYS_PHYSVCOPY system call;
Fixed IRQ hooks dump in IS server;

19 years agouserlandified and enabled PTY's
Ben Gras [Mon, 9 May 2005 14:35:26 +0000 (14:35 +0000)]
userlandified and enabled PTY's

19 years agoMake output of partition visible
Ben Gras [Mon, 9 May 2005 13:40:54 +0000 (13:40 +0000)]
Make output of partition visible

19 years agohide non-copying install Makefile actions
Ben Gras [Mon, 9 May 2005 13:40:08 +0000 (13:40 +0000)]
hide non-copying install Makefile actions

19 years agochanged [skip]ped tests to start working, even with the large LINK_MAX
Ben Gras [Mon, 9 May 2005 13:39:23 +0000 (13:39 +0000)]
changed [skip]ped tests to start working, even with the large LINK_MAX

19 years agoFixed compiler warnings about kprintf() argument
Ben Gras [Mon, 9 May 2005 08:54:18 +0000 (08:54 +0000)]
Fixed compiler warnings about kprintf() argument

19 years agoHide messages about install (changing stack+data size)
Ben Gras [Mon, 9 May 2005 08:52:21 +0000 (08:52 +0000)]
Hide messages about install (changing stack+data size)

19 years ago/ install partition size 1440kB -> 16MB (ast)
Ben Gras [Mon, 9 May 2005 08:51:07 +0000 (08:51 +0000)]
/ install partition size 1440kB -> 16MB (ast)

19 years agorename run.sh to run (ast)
Ben Gras [Mon, 9 May 2005 08:44:55 +0000 (08:44 +0000)]
rename run.sh to run (ast)

19 years agoMade us a mighty pretty progress indicator for the setup script.
Ben Gras [Mon, 9 May 2005 08:38:47 +0000 (08:38 +0000)]
Made us a mighty pretty progress indicator for the setup script.

19 years agoSome permissions issues with installs fixed
Ben Gras [Wed, 4 May 2005 13:47:05 +0000 (13:47 +0000)]
Some permissions issues with installs fixed

19 years ago*** empty log message ***
Ben Gras [Wed, 4 May 2005 13:46:34 +0000 (13:46 +0000)]
*** empty log message ***

19 years agoinstalled some binaries in /bin too
Ben Gras [Wed, 4 May 2005 13:45:29 +0000 (13:45 +0000)]
installed some binaries in /bin too

19 years agoNew message, typo
Ben Gras [Wed, 4 May 2005 13:43:57 +0000 (13:43 +0000)]
New message, typo

19 years agoinstall scripts executable (even if they aren't in the working directory)
Ben Gras [Wed, 4 May 2005 09:37:12 +0000 (09:37 +0000)]
install scripts executable (even if they aren't in the working directory)

19 years ago*** empty log message ***
Ben Gras [Wed, 4 May 2005 09:31:54 +0000 (09:31 +0000)]
*** empty log message ***

19 years agoNotice
Ben Gras [Wed, 4 May 2005 09:31:32 +0000 (09:31 +0000)]
Notice

19 years agopolish
Ben Gras [Wed, 4 May 2005 09:30:49 +0000 (09:30 +0000)]
polish

19 years ago/boot and /minix -> /boot/boot and /boot/image changes
Ben Gras [Wed, 4 May 2005 09:29:52 +0000 (09:29 +0000)]
/boot and /minix -> /boot/boot and /boot/image changes

19 years agoMade building of homedirs actually work ($ -> $$ makefile/shell variable issue)
Ben Gras [Wed, 4 May 2005 09:29:24 +0000 (09:29 +0000)]
Made building of homedirs actually work ($ -> $$ makefile/shell variable issue)

19 years agofixed compile warning
Ben Gras [Wed, 4 May 2005 09:28:58 +0000 (09:28 +0000)]
fixed compile warning

19 years agomm -> pm fixes
Ben Gras [Wed, 4 May 2005 09:28:37 +0000 (09:28 +0000)]
mm -> pm fixes

CTRL nitpick in setup ;)

un-executable scripts fixes

19 years agomm -> pm fixes
Ben Gras [Wed, 4 May 2005 09:27:47 +0000 (09:27 +0000)]
mm -> pm fixes

19 years agoMade setup.sh more CD-aware (understand that the system looks like an
Ben Gras [Tue, 3 May 2005 15:43:12 +0000 (15:43 +0000)]
Made setup.sh more CD-aware (understand that the system looks like an
installed system already, but isn't).

Install sed in /bin too, so /etc/rc can use it for some /usr magic before
/usr is mounted.

19 years agoMust be able to run FP.compile if FP.compile isn't an executable script.
Ben Gras [Tue, 3 May 2005 15:41:39 +0000 (15:41 +0000)]
Must be able to run FP.compile if FP.compile isn't an executable script.

19 years agoFixed an mtree bugs that caused permissions and ownerships for / to
Ben Gras [Tue, 3 May 2005 15:41:02 +0000 (15:41 +0000)]
Fixed an mtree bugs that caused permissions and ownerships for / to
be wrong.

Made the install process quieter when install already done.

rc and daily now is more readonly-/usr aware (for cd).

19 years agoRaised version to 3.0.2 in config.h
Ben Gras [Tue, 3 May 2005 15:39:41 +0000 (15:39 +0000)]
Raised version to 3.0.2 in config.h

Told the Makefile not to panic if creating /usr/include due to it existing
(due to bin not being allowed to create it) fails, this smoothens installs
done by bin (instead of root).

19 years agoDevice variables get copies of their contents in *_n variables for scripts
Ben Gras [Tue, 3 May 2005 15:38:41 +0000 (15:38 +0000)]
Device variables get copies of their contents in *_n variables for scripts
that want the device name (as opposed to the number for the kernel).

19 years agoMore polishing to the boot and release process. Highlights:
Ben Gras [Tue, 3 May 2005 15:37:34 +0000 (15:37 +0000)]
More polishing to the boot and release process. Highlights:
. Less dependency on scripts to be executable (they're in cvs)
. issue.install is the /etc/issue that goes on an install CD
  for instructions (but not on the installed system)
. /usr/src goes on the CD uncompressed

19 years agoRename mm (memory manager) to pm (process manager), involved renaming
Ben Gras [Tue, 3 May 2005 15:35:52 +0000 (15:35 +0000)]
Rename mm (memory manager) to pm (process manager), involved renaming
dir..

19 years agoFixed compile break (no install target)
Ben Gras [Tue, 3 May 2005 09:15:37 +0000 (09:15 +0000)]
Fixed compile break (no install target)

19 years agoFixed clean target a little more
Ben Gras [Tue, 3 May 2005 09:05:17 +0000 (09:05 +0000)]
Fixed clean target a little more

19 years agobugfix from jnherder
Ben Gras [Tue, 3 May 2005 09:03:55 +0000 (09:03 +0000)]
bugfix from jnherder

19 years ago. FS: removed half-baked stack trace code
Ben Gras [Tue, 3 May 2005 09:02:47 +0000 (09:02 +0000)]
. FS: removed half-baked stack trace code
. inet: removed silly error message from inet that ends up in the console
  regularly
. Makefile: added some files to the incomplete clean target

19 years ago*** empty log message ***
Ben Gras [Tue, 3 May 2005 08:59:28 +0000 (08:59 +0000)]
*** empty log message ***

19 years agomade 2 error messages less ambiguous
Ben Gras [Tue, 3 May 2005 08:59:13 +0000 (08:59 +0000)]
made 2 error messages less ambiguous

19 years ago. Moved sysenv to /bin (as well), used to read some boot parameters
Ben Gras [Tue, 3 May 2005 08:58:18 +0000 (08:58 +0000)]
. Moved sysenv to /bin (as well), used to read some boot parameters
  in /etc/rc before /usr is mounted
. fixed ps.c compile breakage (MM_PROC_NR rename)
. made setup.sh a little less floppy-centric (cosmetic)
. removed ps binary from cvs (whoops!)

19 years agoMade things a little more boot-cd friendly (specifically readonly /usr).
Ben Gras [Tue, 3 May 2005 08:56:01 +0000 (08:56 +0000)]
Made things a little more boot-cd friendly (specifically readonly /usr).
Also /etc/rc automatically determines where /usr should come from based
on where the ramdisk was copied from.

19 years agorelease package script polish
Ben Gras [Tue, 3 May 2005 08:54:36 +0000 (08:54 +0000)]
release package script polish

19 years agoFixed some compiler breakage (MM_PROC_NR renamed)
Ben Gras [Tue, 3 May 2005 08:54:01 +0000 (08:54 +0000)]
Fixed some compiler breakage (MM_PROC_NR renamed)

19 years agoboot odds and ends. unfinished cd-detection work.
Ben Gras [Tue, 3 May 2005 08:52:41 +0000 (08:52 +0000)]
boot odds and ends. unfinished cd-detection work.

19 years agoAdded man 'making'
Ben Gras [Tue, 3 May 2005 08:48:26 +0000 (08:48 +0000)]
Added man 'making'

19 years ago*** empty log message ***
Jorrit Herder [Mon, 2 May 2005 14:38:21 +0000 (14:38 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Jorrit Herder [Mon, 2 May 2005 14:30:04 +0000 (14:30 +0000)]
*** empty log message ***

19 years agoForgot these top-level manpages (right place?)
Ben Gras [Mon, 2 May 2005 13:12:14 +0000 (13:12 +0000)]
Forgot these top-level manpages (right place?)

19 years agoAdded man pages.
Ben Gras [Mon, 2 May 2005 13:01:42 +0000 (13:01 +0000)]
Added man pages.

19 years ago*** empty log message ***
Jorrit Herder [Fri, 29 Apr 2005 15:36:43 +0000 (15:36 +0000)]
*** empty log message ***

19 years agoLocation of servers.
Ben Gras [Mon, 25 Apr 2005 13:55:46 +0000 (13:55 +0000)]
Location of servers.

19 years agoAdded /usr/etc files to src.
Ben Gras [Mon, 25 Apr 2005 13:50:26 +0000 (13:50 +0000)]
Added /usr/etc files to src.

19 years agoFixing make install and chroot make process; revision should not be part
Ben Gras [Fri, 22 Apr 2005 16:16:23 +0000 (16:16 +0000)]
Fixing make install and chroot make process; revision should not be part
of cvs

19 years agotwo useless files
Ben Gras [Fri, 22 Apr 2005 15:53:53 +0000 (15:53 +0000)]
two useless files

19 years agono man yet
Ben Gras [Fri, 22 Apr 2005 15:53:24 +0000 (15:53 +0000)]
no man yet

19 years agotook out debugging printf() cause it makes the install look messy
Ben Gras [Fri, 22 Apr 2005 15:28:14 +0000 (15:28 +0000)]
took out debugging printf() cause it makes the install look messy

19 years agotook out lots of ugly debugging stuff
Ben Gras [Fri, 22 Apr 2005 15:26:50 +0000 (15:26 +0000)]
took out lots of ugly debugging stuff

19 years agobugfix.. r isn't an error in 'return r'
Ben Gras [Fri, 22 Apr 2005 15:20:05 +0000 (15:20 +0000)]
bugfix.. r isn't an error in 'return r'

19 years agoAdded homedir of ast
Ben Gras [Fri, 22 Apr 2005 13:56:32 +0000 (13:56 +0000)]
Added homedir of ast

19 years agoCreated /dev/random minor device number
Ben Gras [Fri, 22 Apr 2005 13:31:32 +0000 (13:31 +0000)]
Created /dev/random minor device number

19 years agoMade sure root filesystem is 1kB-block-size, which is necessary to make it
Ben Gras [Fri, 22 Apr 2005 13:30:16 +0000 (13:30 +0000)]
Made sure root filesystem is 1kB-block-size, which is necessary to make it
bootable with the current boot loader (and to make it a ramdisk, with the
current ramdisk copying implementation in the FS)

19 years agoAdded /dev/random and /dev/urandom (don't work yet though)
Ben Gras [Fri, 22 Apr 2005 13:29:02 +0000 (13:29 +0000)]
Added /dev/random and /dev/urandom (don't work yet though)

19 years agoCreated future homedirs /usr/home in minix.tree; changed bin homedir to
Ben Gras [Fri, 22 Apr 2005 13:28:22 +0000 (13:28 +0000)]
Created future homedirs /usr/home in minix.tree; changed bin homedir to
/usr/home/bin to avoid having bin files in /usr/src, which has become a
CVS-controlled dir.

19 years agopreparation for /dev/random
Ben Gras [Fri, 22 Apr 2005 13:25:17 +0000 (13:25 +0000)]
preparation for /dev/random

19 years agoFixed ram disk loading for whenever the block sizes match.
Ben Gras [Fri, 22 Apr 2005 11:09:06 +0000 (11:09 +0000)]
Fixed ram disk loading for whenever the block sizes match.

19 years agotest
Ben Gras [Thu, 21 Apr 2005 16:25:29 +0000 (16:25 +0000)]
test

19 years ago*** empty log message ***
Ben Gras [Thu, 21 Apr 2005 16:24:25 +0000 (16:24 +0000)]
*** empty log message ***