850d6611eb
Removed max-inode check from mkfs because of 32-bit inode numbers in V3 FS. Tested by mkfs -i 200000, fsck, file system creating with 200000 inodes, fsck again.
Ben Gras
2005-06-28 11:58:17 +00:00
db2d114d06
Fixed bug that caused /dev/null to be created as file before being created as special file
Ben Gras
2005-06-27 16:31:27 +00:00
2abe246e5c
(Im)port of zlib-1.2.2
Ben Gras
2005-06-27 13:05:04 +00:00
7697700802
Made src belong to bin in release cp. Made /usr/include belong to bin in mtree. Fixed compiler warning in fs/pipe.c. Added mdb (minix debugger) manual page. Added ethernet config function in setup script.
Ben Gras
2005-06-27 11:59:36 +00:00
575f2aa116
Unknown controllers are no longer fatal.
Philip Homburg
2005-06-27 11:45:26 +00:00
b1fe0aa86f
Gave sh more space for configure scripts; connected python to build; fixed nit in python confused about select definitions
Ben Gras
2005-06-27 10:04:55 +00:00
d31aba5ee3
Renamed kermit_211 to kermit-2.1.1
Ben Gras
2005-06-27 09:46:55 +00:00
53a51816a3
Wrote a printenv(1)
Ben Gras
2005-06-27 09:41:58 +00:00
6f02e00837
Fixed sh2.sh test
Ben Gras
2005-06-27 09:41:38 +00:00
1e6bc8c583
Imported BSD-licensed rev(1) from FreeBSD (uses brand new getopt())
Ben Gras
2005-06-27 09:32:29 +00:00
b05fa195d6
Prototype and definitions for getopt()
Ben Gras
2005-06-27 09:30:49 +00:00
205d288bb3
Fixed a few compile warnings
Ben Gras
2005-06-27 09:30:33 +00:00
ee5ecc1ad2
ast@ df nits
Ben Gras
2005-06-27 09:02:33 +00:00
62cb81cb3a
Fixed typo in printf() in fxp debug statement (caused delta value not to be printed)
Ben Gras
2005-06-27 08:55:34 +00:00
b25146d3de
Removed SM server.
Jorrit Herder
2005-06-27 08:11:46 +00:00
a408699ce0
Cleaned up process table structure: removed p_type, p_pendcount. Removed stop sequence when MINIX is shut down. Disabled send mask checks --- to be replaced by proper mechanism. Fixed bug relating to 'shutdown -x'. Simplified clock accounting of realtime. Updated Makefiles for mkdept script.
Jorrit Herder
2005-06-24 16:24:40 +00:00
5654996c07
New Makefiles for mkdep script.
Jorrit Herder
2005-06-24 16:21:54 +00:00
042c4ac395
Changed Makefiles for mkdep script. Updated debugging dumps at IS server, and function key control.
Jorrit Herder
2005-06-24 16:21:21 +00:00
0979014807
Renamed some types Uid_t, Gid_t, Mode_t, etc. for perl5. More space for synctree.
Philip Homburg
2005-06-23 11:07:31 +00:00
82c0b45aeb
Newer version of anm. Should be taken from the ACK source tree.
Philip Homburg
2005-06-23 09:50:54 +00:00
4ab7f34ea0
Workaround for fishy situation that caused checksum on outgoing packets to be broken in certain cases. (Seemingly when 2 short packets sent back-to-back.) Buffer alignment seems to fix this ...
Ben Gras
2005-06-22 15:22:34 +00:00
3bb4d191d7
Corrected buffer size calculation from MAX(bufsize,realsize) to MIN(bufsize,realsize) while copying boot params.
Ben Gras
2005-06-21 16:18:23 +00:00
355a10864b
Fixed various GCC compiler warnings for the kernel. Only main() now gives a warning about the return type (GCC wants an int).
Jorrit Herder
2005-06-21 10:47:46 +00:00
3eeff022fb
Added function read_cpu_flags() that returns current cpu flags as a long. This is used to check for interrupts being disabled at the time of a lock() call, if enabled in config.h. The number of times this happens is then counted in the kinfo structure. These events (recursive lockings) lead to nasty race conditions.
Ben Gras
2005-06-20 14:53:13 +00:00
c60302c1e7
Print re-locking event count if enabled.
Ben Gras
2005-06-20 14:52:00 +00:00
538e8ba2f1
Added header file that decodes the intel x86 flags register.
Ben Gras
2005-06-20 14:51:38 +00:00
d78cf7fbaf
New bit map manipulation header. General purpose.
Jorrit Herder
2005-06-20 14:29:09 +00:00
ec24a0798c
Updated function key mapping because of possible changes to NOTIFY.
Jorrit Herder
2005-06-20 14:23:31 +00:00
c0f83b4033
Fix for gzip make clean if Makefile doesn't exist..
Ben Gras
2005-06-20 13:30:24 +00:00
e40c757038
connected ps and ftpd200 to commands build
Ben Gras
2005-06-20 12:01:15 +00:00
403580e95b
Removed unused code in proc.c. New message passing code with pointer pointers is now in use. Rewrote ready() and unready() fuctions.
Jorrit Herder
2005-06-20 11:26:48 +00:00
c9c6983cc1
Fixed a few quirks in misc.c . MAX used where it should've been MIN . buffer byte too short . inobvious use of & with && without parantheses . funny length checking
Ben Gras
2005-06-20 09:35:23 +00:00
5e17902a0d
Connected ps to build
Ben Gras
2005-06-20 09:23:55 +00:00
45ddea1cdd
Fixed bug that caused the PM to brutalize the contents of the 'memory' variable. Parsing worked, but future requests for the variable (such as by the sysenv command) returned truncated data. This caused the system (e.g. setup script) to think the amount of memory was tiny, and caused the enabling of swapspace, while it is unnecessary.
Ben Gras
2005-06-19 23:16:08 +00:00
400169e960
select-test-set compile fixes.
Ben Gras
2005-06-19 23:13:57 +00:00
d844d2a547
Fixed nasty bug that would cause FS to loop forever in rw_scattered (while syncing, for instance) if blocks are unwritable. This could happen if:
Ben Gras
2005-06-19 22:33:49 +00:00
34a9677a5b
Made mkfs a little smarter about how to report empty devices.
Ben Gras
2005-06-19 22:28:05 +00:00
9aae3002ed
Made libpci recognize my pci controller at home (again)
Ben Gras
2005-06-19 22:11:04 +00:00
6e99cc494d
Fixed various nits in the make/release process.
Ben Gras
2005-06-17 16:28:36 +00:00
5954c7e303
Part of fs timers library, forgot to add this in previous commit.
Ben Gras
2005-06-17 13:49:56 +00:00
3ba1ddb037
Fixes for /root homedir.
Ben Gras
2005-06-17 13:48:16 +00:00
39c90d6c90
Added (fake) readlink().
Ben Gras
2005-06-17 13:47:29 +00:00
ed2a024d47
Select test-set imported from the minix contributions, with permission to modify and distribute from Jose Manuel Gomez, the author (jmgomez@linuxmail.org).
Ben Gras
2005-06-17 13:45:40 +00:00
f81ac6ae5c
Various compile fixes.
Ben Gras
2005-06-17 13:42:53 +00:00
47474b6341
Renamed commands to cmds - make is confused that the commands directory exists.
Ben Gras
2005-06-17 13:42:06 +00:00
9664ba0c4f
Started select() implementation.
Ben Gras
2005-06-17 13:41:12 +00:00
471e0448c3
Changed timer library function args.
Ben Gras
2005-06-17 13:37:41 +00:00
3c7120d830
Changed arguments of timer library functions.
Ben Gras
2005-06-17 13:36:01 +00:00
2f25279105
Started select() manpage.
Ben Gras
2005-06-17 13:35:21 +00:00
c40770ce68
Various select() support flags, prototypes, definitions.
Ben Gras
2005-06-17 13:34:47 +00:00
2f588c50ea
Added back boot banner for CD
Ben Gras
2005-06-17 13:25:06 +00:00
7279bb68ef
Applied MINIX 2.0.4 pathes provides by Al Woodhull.
Jorrit Herder
2005-06-17 13:00:04 +00:00
37a1e3f8e3
Removed mem chunks dump. (No longer available from kernel.)
Jorrit Herder
2005-06-17 09:13:32 +00:00
92f9bd02f8
Parsing of free memory chunks is now done at the process manager.
Jorrit Herder
2005-06-17 09:10:30 +00:00
e0a98a4d65
* Fixed bug relating to nested locking in interrupt handlers. The nested lock caused interrupts to be reenabled (due to unlock), which caused a race. The problems were especially visible on slower machines. * Relocated free memory parsing to process manager. This saved quite some code at the kernel level. Text size was reduced by about 650 bytes. * Removed locks for updating the realtime in the clock's main loop and the get_uptime function. Interrupts are no longer reentrant, so realtime is immediately updated.
Jorrit Herder
2005-06-17 09:09:54 +00:00
90b80ad31e
Relocated echo "Multiuser startup in progress ..." to top.
Jorrit Herder
2005-06-17 09:00:31 +00:00
4a2817cea1
Changed uname to retrieve actual OS release and version number at runtime.
Jorrit Herder
2005-06-17 08:53:33 +00:00
f673723b1f
Minor changes in PM interface affected these commands. Getty now retrieves the actual release and version number at runtime.
Jorrit Herder
2005-06-17 08:52:53 +00:00
8621d392b0
Fixed typo in run output; Reduced NR_ITERATIONS for tests dealing with MAX_LINKS.
Jorrit Herder
2005-06-17 08:51:28 +00:00
85f2038c7c
Undid \c from default leader and trailer
Ben Gras
2005-06-17 08:00:13 +00:00
dc23e18cef
Improved compatibility with other Unix systems.
Philip Homburg
2005-06-10 15:12:03 +00:00
d9b609c70f
Hack for buffer overflow, should be fixed properly.
Philip Homburg
2005-06-08 11:05:27 +00:00
c2cd510adf
Removed debug dumps from the PM and FS servers. The dumps are now done by the IS servers, which obtains a copy of the data through the getsysinfo() system call. CTRL-F1 now is a special TTY key to shows function key mappings.
Jorrit Herder
2005-06-07 14:43:35 +00:00
4de736535c
fix for ~root being / and buggering up system with chroot -R
Ben Gras
2005-06-07 13:33:57 +00:00
0e2a7a9730
Kernel cleanup. Reduced kernel size by 512KB by moving private buffer into cstart() function. Replaced assertions with erroneous return values. Removed assertions relating to isuserp(rp), since all processes should become user processes; system processes are now treated similar to other processes.
Jorrit Herder
2005-06-07 12:34:25 +00:00
bb2ef4e039
Added welcome message to POSIX test suite.
Jorrit Herder
2005-06-07 11:52:35 +00:00
b658df42d0
Use relative paths.
Philip Homburg
2005-06-06 16:18:05 +00:00
aca763443a
removed debug message
Ben Gras
2005-06-06 14:58:47 +00:00
2f74381dcc
Fixed 'ps' utility: now get process table addresses with getsysinfo() calls. To be done: get copies of process tables instead of using /dev/(k)mem.
Jorrit Herder
2005-06-06 13:51:50 +00:00
cde16504a1
check relaxation for bios memory
Ben Gras
2005-06-06 11:54:58 +00:00
e44e9ad261
small compile fixes; initial select() stubs; release.sh script doesn't need /tmp any more since 16MB root device; increase to 3.0.5 to make new CD with working FXP driver. (not tagged 3.0.5 yet as at driver bios-copy workaround hasn't been done.)
Ben Gras
2005-06-06 11:40:32 +00:00
9392dde997
bugfix
Ben Gras
2005-06-06 11:31:20 +00:00
c281867f46
Fixed bug relating to FS and MEMORY during startup; Relocated some syslib functions to utils library; Changed location of 'Multiuser startup ..." echo in /etc/rc
Jorrit Herder
2005-06-06 09:30:44 +00:00
f2a85e58d9
Various updates. * Removed some variants of the SYS_GETINFO calls from the kernel; replaced them with new PM and utils libary functionality. Fixed bugs in utils library that used old get_kenv() variant. * Implemented a buffer in the kernel to gather random data. Memory driver periodically checks this for /dev/random. A better random algorithm can now be implemented in the driver. Removed SYS_RANDOM; the SYS_GETINFO call is used instead. * Remove SYS_KMALLOC from the kernel. Memory allocation can now be done at the process manager with new 'other' library functions.
Jorrit Herder
2005-06-03 13:55:06 +00:00
4904a5537a
process manager must be able to send to rtl driver
Ben Gras
2005-06-03 09:02:19 +00:00
308d9a693c
prettified rtl driver: . no more kmalloc . no more umaps + physcopies / abscopies . the status register is directly readable from the drivers own address space now, and no physcopy is needed to read it . map+physcopy call combinations are replaced by vircopy calls
Ben Gras
2005-06-03 08:59:54 +00:00
d0b5cf84cb
Undid usage of vector-copy function. It's a good idea but there's a bug there somewhere. I'll debug first, then recommit.
Ben Gras
2005-06-02 16:49:33 +00:00
e782e76944
Created new findproc system call to the PM (to replace similar kernel functionality). Currently working on memory allocation (not yet finished).
Jorrit Herder
2005-06-02 12:43:21 +00:00
f926f1209d
Minor commit to remove conflict with update.
Jorrit Herder
2005-06-01 14:34:59 +00:00
6d23f072f3
Cleaned up src/lib/utils library. Renamed server_ functions to more logical names. All system processes can now either use panic() or report() from libutils, or redefine their own function. Assertions are done via the standard <assert.h> functionality.
Jorrit Herder
2005-06-01 14:31:00 +00:00
75689debe3
fixed bug that caused number of inodes to make estimation to be terrible in most cases
Ben Gras
2005-06-01 11:39:45 +00:00
0d31130d29
Make needs a little more memory
Ben Gras
2005-06-01 11:14:08 +00:00
25d2f4666c
Removed mm files (obsolete; it's pm now)
Ben Gras
2005-06-01 09:40:42 +00:00
bd12703b76
Able to dump lock()/unlock() timing data
Ben Gras
2005-06-01 09:40:27 +00:00
66dab193f3
function key notifications became notifies fix
Ben Gras
2005-06-01 09:40:02 +00:00
447b988154
exec now uses phys_zero system call to zero bss segments (instead of using phys_copy to copy zeroes there for every kb), which is a big optimisation in some cases
Ben Gras
2005-06-01 09:39:45 +00:00
c977bd8709
Added args to lock() and unlock() to tell them apart, for use when lock timing is enabled in minix/config.h.
Ben Gras
2005-06-01 09:37:52 +00:00
b4335679cb
Added sys_physzero library call for corresponding system call; modified system-printf() so it returns number of characters printed (for use in smart formatting)
Ben Gras
2005-06-01 09:36:07 +00:00