]> Zhao Yanbai Git Server - minix.git/log
minix.git
19 years agoMinor beautification.
Jorrit Herder [Wed, 10 Aug 2005 09:51:29 +0000 (09:51 +0000)]
Minor beautification.

19 years agoPut boot device memory initialization with #ifdef ENABLE_BOOTDEV ... #endif
Jorrit Herder [Wed, 10 Aug 2005 09:45:49 +0000 (09:45 +0000)]
Put boot device memory initialization with #ifdef ENABLE_BOOTDEV ... #endif

19 years agoRenamed mm_exit to pm_exit (requested by Al)
Jorrit Herder [Wed, 10 Aug 2005 09:37:54 +0000 (09:37 +0000)]
Renamed mm_exit to pm_exit (requested by Al)
Small cleanup in pm_init.

19 years agoMinor message improvement
Ben Gras [Tue, 9 Aug 2005 17:02:27 +0000 (17:02 +0000)]
Minor message improvement

19 years agoChanged blocksizes and root sizes around
Ben Gras [Tue, 9 Aug 2005 17:02:01 +0000 (17:02 +0000)]
Changed blocksizes and root sizes around

19 years agoCD root now 2MB
Ben Gras [Tue, 9 Aug 2005 16:59:40 +0000 (16:59 +0000)]
CD root now 2MB

19 years agoMake timeouts more tolerant, even in strict timeout mode
Ben Gras [Tue, 9 Aug 2005 16:59:29 +0000 (16:59 +0000)]
Make timeouts more tolerant, even in strict timeout mode

19 years agoDon't source /etc/profile from /etc/rc, but source /etc/rc.timezone as
Ben Gras [Tue, 9 Aug 2005 16:58:28 +0000 (16:58 +0000)]
Don't source /etc/profile from /etc/rc, but source /etc/rc.timezone as
a timezone instead, and set TZ=GMT0 as a default.

19 years ago. setup fixes
Ben Gras [Tue, 9 Aug 2005 16:46:46 +0000 (16:46 +0000)]
. setup fixes
. added atnormalize commands, which resets at driver timeouts and retries
  to defaults
. usyslogd now logs to /usr/log/messages instead of /var (on root, which is
  shrinking)

19 years agoGive AT driver 8k stack instead of 1k.. probably not necessary, but 1k
Ben Gras [Tue, 9 Aug 2005 14:45:10 +0000 (14:45 +0000)]
Give AT driver 8k stack instead of 1k.. probably not necessary, but 1k
is a little meager, so let's be on the safe side

19 years agomotd fix;
Ben Gras [Tue, 9 Aug 2005 14:41:54 +0000 (14:41 +0000)]
motd fix;
cp /usr/lib/<compiler stuff> to /lib when on ramdisk;
make a /usr/log (to store logfile there, instead of /var/log).

19 years agoata_std_timeout boot monitor variable to override short timeouts on
Ben Gras [Tue, 9 Aug 2005 12:42:53 +0000 (12:42 +0000)]
ata_std_timeout boot monitor variable to override short timeouts on
test transactions and ioctl() setting, in case of comatose drives.

19 years agoMoved open-ATAPI-as-RW check to before open-first-time check.. otherwise
Ben Gras [Tue, 9 Aug 2005 12:18:15 +0000 (12:18 +0000)]
Moved open-ATAPI-as-RW check to before open-first-time check.. otherwise
you can open an ATAPI device as RW if it's already opened for read.

19 years agoSupport for ethernet in QEMU.
Philip Homburg [Tue, 9 Aug 2005 11:23:41 +0000 (11:23 +0000)]
Support for ethernet in QEMU.

19 years agoAndy's setup
Ben Gras [Tue, 9 Aug 2005 11:16:15 +0000 (11:16 +0000)]
Andy's setup

19 years agoRename install steps; add copying /usr/lib/* to /lib/*
Ben Gras [Mon, 8 Aug 2005 18:36:12 +0000 (18:36 +0000)]
Rename install steps; add copying /usr/lib/* to /lib/*

19 years agoMore nits and polish
Ben Gras [Mon, 8 Aug 2005 17:37:39 +0000 (17:37 +0000)]
More nits and polish

19 years agoTook hostaddr out of the loop; if it fails after 10 secs, continue
Ben Gras [Mon, 8 Aug 2005 16:56:40 +0000 (16:56 +0000)]
Took hostaddr out of the loop; if it fails after 10 secs, continue
startup script. (ast@)

19 years agoFixed mq leak.
Philip Homburg [Mon, 8 Aug 2005 15:49:16 +0000 (15:49 +0000)]
Fixed mq leak.

19 years agominor bugfix (the whole active thing)
Ben Gras [Mon, 8 Aug 2005 14:55:48 +0000 (14:55 +0000)]
minor bugfix (the whole active thing)

19 years agovarious small fixes.
Ben Gras [Mon, 8 Aug 2005 14:34:10 +0000 (14:34 +0000)]
various small fixes.
 . motd update (ast)
 . made /usr/local/man/man* and made them bin-owned (mtree)
   (to let bin install there)
 . made copyright notice in kernel 1987-2006 (ast)
 . added chown -R bin /usr/src so that bin can compile everything

19 years ago. swapped test26 and test40
Ben Gras [Mon, 8 Aug 2005 14:30:50 +0000 (14:30 +0000)]
. swapped test26 and test40
. renamed sh*.sh to testsh*.sh
. invoked shell tests from run script like the other test commands
  (that was the point of renaming)

19 years agoLots of nits by ast@
Ben Gras [Mon, 8 Aug 2005 14:28:32 +0000 (14:28 +0000)]
Lots of nits by ast@

19 years agoDon't print paths twice with cpdir -v. (ast@)
Ben Gras [Mon, 8 Aug 2005 13:37:41 +0000 (13:37 +0000)]
Don't print paths twice with cpdir -v. (ast@)

19 years ago. Allow drivers to to physcopy() (table.c)
Ben Gras [Mon, 8 Aug 2005 12:18:45 +0000 (12:18 +0000)]
. Allow drivers to to physcopy() (table.c)

. Also allow receive() to be done from kernel processes, not just
  sendrec(). This is because receive()s can't harm the kernel processes,
  but are done from the CLOCK task (without sendrec()).

19 years agoPrettier error message in FS if block size too large
Ben Gras [Mon, 8 Aug 2005 12:17:30 +0000 (12:17 +0000)]
Prettier error message in FS if block size too large

19 years agoMinor partition() efficiency improvements (don't do regular partitioning
Ben Gras [Mon, 8 Aug 2005 12:16:59 +0000 (12:16 +0000)]
Minor partition() efficiency improvements (don't do regular partitioning
i/o on cd drives)

19 years agoast@'s readme.txt modifications.
Ben Gras [Mon, 8 Aug 2005 09:43:25 +0000 (09:43 +0000)]
ast@'s readme.txt modifications.

19 years agoautopart and setup script STEP additions to be keyed to install manual
Ben Gras [Mon, 8 Aug 2005 09:24:02 +0000 (09:24 +0000)]
autopart and setup script STEP additions to be keyed to install manual
by ast@

19 years agoconfig version bumped to 307; NOT cvs tagged yet; misc fixes
Ben Gras [Fri, 5 Aug 2005 19:19:18 +0000 (19:19 +0000)]
config version bumped to 307; NOT cvs tagged yet; misc fixes

19 years agoautopart fixes; halt sends SIGTERM; setup script without quotes;
Ben Gras [Fri, 5 Aug 2005 19:16:12 +0000 (19:16 +0000)]
autopart fixes; halt sends SIGTERM; setup script without quotes;
MAKEDEV makes random and cmos when called with std

19 years agoRemoved $Log$ tags
Ben Gras [Fri, 5 Aug 2005 19:08:43 +0000 (19:08 +0000)]
Removed $Log$ tags

19 years agoUndo one hack for QEMU, add another.
Philip Homburg [Fri, 5 Aug 2005 19:08:02 +0000 (19:08 +0000)]
Undo one hack for QEMU, add another.

19 years agoFix to device table at FS.
Jorrit Herder [Fri, 5 Aug 2005 18:57:20 +0000 (18:57 +0000)]
Fix to device table at FS.
BIOS and AT installed in /sbin.
Floppy boot fixed.

19 years agoTemp hacks for QEMU. Call to env_setargs in dpeth.
Philip Homburg [Fri, 5 Aug 2005 18:37:15 +0000 (18:37 +0000)]
Temp hacks for QEMU. Call to env_setargs in dpeth.

19 years agoSecond try to fix tick delay problem ...
Jorrit Herder [Fri, 5 Aug 2005 17:02:37 +0000 (17:02 +0000)]
Second try to fix tick delay problem ...

19 years agoAl's patch sent Fri aug 5
Ben Gras [Fri, 5 Aug 2005 16:56:02 +0000 (16:56 +0000)]
Al's patch sent Fri aug 5

19 years ago*** empty log message ***
Ben Gras [Fri, 5 Aug 2005 16:49:38 +0000 (16:49 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Ben Gras [Fri, 5 Aug 2005 16:48:44 +0000 (16:48 +0000)]
*** empty log message ***

19 years agoFixed small bug in alarm code.
Jorrit Herder [Fri, 5 Aug 2005 16:46:27 +0000 (16:46 +0000)]
Fixed small bug in alarm code.
Kernel timer count was not reset after expiry.

19 years agoSecurity check on physical address to be < 16 MB (ISA DMA uses 24-bit
Jorrit Herder [Fri, 5 Aug 2005 16:23:42 +0000 (16:23 +0000)]
Security check on physical address to be < 16 MB (ISA DMA uses 24-bit
addressing, which can address 16 MB max).
Floppy driver now dynamically loaded.

19 years agoget_mon_params -> env_get_params.
Philip Homburg [Fri, 5 Aug 2005 16:21:32 +0000 (16:21 +0000)]
get_mon_params -> env_get_params.

19 years agoMinor autopart user-interface changes.
Jorrit Herder [Fri, 5 Aug 2005 16:18:04 +0000 (16:18 +0000)]
Minor autopart user-interface changes.

19 years agoreduced cdprobe debug; stadir unbreakfix
Ben Gras [Fri, 5 Aug 2005 16:08:49 +0000 (16:08 +0000)]
reduced cdprobe debug; stadir unbreakfix

19 years agoAdded dp8390 to /usr/etc/rc. Renamed get_mon_prm.c to env_get_prm.c.
Philip Homburg [Fri, 5 Aug 2005 14:20:05 +0000 (14:20 +0000)]
Added dp8390 to /usr/etc/rc. Renamed get_mon_prm.c to env_get_prm.c.
Add env_setargs call for access to argc/argv.

19 years ago*** empty log message ***
Ben Gras [Fri, 5 Aug 2005 13:51:50 +0000 (13:51 +0000)]
*** empty log message ***

19 years ago..
Ben Gras [Fri, 5 Aug 2005 13:51:14 +0000 (13:51 +0000)]
..

19 years agopty select() support
Ben Gras [Fri, 5 Aug 2005 13:50:58 +0000 (13:50 +0000)]
pty select() support

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.