Commit Graph

  • 1ff8616378 set 'w_testing' during w_identify(). this means 0-tolerance to timeouts, and an ATA_IDENTIFY timeout will cause the ATAPI_IDENTIFY to be skipped, making the cd probe a lot faster. Ben Gras 2007-02-12 13:35:33 +00:00
  • cb2f124830 mkfs needs more memory for the boot ramdisk. Ben Gras 2007-02-12 13:10:06 +00:00
  • bd27c5240b Typo's. Ben Gras 2007-02-12 12:27:43 +00:00
  • b857dec78d Don't complain about missing ip address. Ben Gras 2007-02-09 16:28:34 +00:00
  • 1d300550cf Memory requirements a bit more now with mfs processes Ben Gras 2007-02-09 16:27:59 +00:00
  • c6f8154df0 use shorter ata timeout for identify commands when running from cd to shorten probe time. Ben Gras 2007-02-09 15:58:33 +00:00
  • 304471a107 Fixes for /usr/xbin binaries bootstrap dir. Ben Gras 2007-02-08 17:41:40 +00:00
  • 20a13246a8 include /usr/xbin bootstrap dir in $PATH Ben Gras 2007-02-08 16:48:34 +00:00
  • 9f2f3dd488 don't call mkdep with an absolute path Ben Gras 2007-02-08 16:26:20 +00:00
  • df9326a340 Use temporary binary directory as bootstrap Ben Gras 2007-02-08 16:18:48 +00:00
  • 624f17ee04 Extend cdprobe probe list to c1, and reorder minors to do most-likely first. Ben Gras 2007-02-08 15:56:58 +00:00
  • ebde52a9bc supply instance to 2nd at_wini instance. requires a little cooperation from at_wini. Ben Gras 2007-02-08 14:23:03 +00:00
  • a12c7ad963 Start a 2nd copy of at_wini, for /dev/c1*. This requires a slightly larger rs. Ben Gras 2007-02-08 14:04:59 +00:00
  • 63a271200e Make /dev/c1* device nodes on disk and on the boot ramdisk. Ben Gras 2007-02-08 13:51:35 +00:00
  • 3c907e6ef1 Sanity check in clock - process is supposed to be runnable when it's interrupted. Ben Gras 2007-02-08 12:59:29 +00:00
  • 8ea438ae93 Retired DEV_{READ,WRITE,GATHER,SCATTER,IOCTL} (safe versions *_S are to be used and drivers should never receieve these 'unsafe' variants any more). Ben Gras 2007-02-07 16:22:19 +00:00
  • 41e9fedf87 Mostly bugfixes of bugs triggered by the test set. Ben Gras 2007-02-01 17:50:02 +00:00
  • fa59af2bc0 Also exclude /home Ben Gras 2007-02-01 17:10:03 +00:00
  • 047847e628 simpler /usr/bin/vi check Ben Gras 2007-02-01 17:09:49 +00:00
  • 5358dc42bf Only install /usr/bin/vi as a hardlink to elvis if there's nothing already there (so e.g. nvi isn't overwritten). Ben Gras 2007-01-31 13:00:39 +00:00
  • ce5add84e8 put mfs in /sbin, where mount expects it. Ben Gras 2007-01-24 15:50:04 +00:00
  • e8edfe876d . no .vimrc in standard user's dirs . install a vi hardlink to elvis Ben Gras 2007-01-22 17:08:36 +00:00
  • 73e4e31376 Don't reply to the caller on RS_DOWN until process is actually dead - otherwise (e.g.) mounts right after an unmount of the same device don't work (duplicate label). Ben Gras 2007-01-22 16:44:03 +00:00
  • f9e4768eb4 No /usr/src.* shenanigans any more. Ben Gras 2007-01-22 15:47:40 +00:00
  • 82ae9b9c5c Install sources in /usr/bigsrc, not /usr/src/commands. Ben Gras 2007-01-22 15:42:40 +00:00
  • 980b58d8d2 ramdisk can be set only once. Ben Gras 2007-01-22 15:37:26 +00:00
  • 2194bc0310 vfs/mount/rs/service changes: . changed umount() and mount() to call 'service', so that it can include a custom label, so that umount() works again (RS slot gets freed now). merged umount() and mount() into one file to encode keep this label knowledge in one file. . removed obsolete RS_PID field and RS_RESCUE rescue command . added label to RS_START struct . vfs no longer does kill of fs process on unmount (which was failing due to RS_PID request not working) . don't assume that if error wasn't one of three errors, that no error occured in vfs/request.c mfs changes: . added checks to copy statements to truncate copies at buffer sizes (left in debug code for now) . added checks for null-terminatedness, if less than NAME_MAX was copied . added checks for copy function success is changes: . dump rs label drivers.conf changes: . added acl for mfs so that mfs can be started with 'service start', so that a custom label can be provided Ben Gras 2007-01-22 15:25:41 +00:00
  • d954a122f7 Added register clobber warning to read_tsc. Ben Gras 2007-01-22 15:15:30 +00:00
  • 78fe72e198 Many more IDs. Philip Homburg 2007-01-19 17:27:51 +00:00
  • 7d6b1dcf1e PCI IDs for Accton SMC2-1211TX Philip Homburg 2007-01-18 11:40:13 +00:00
  • a6ab1cbd34 remove debug (%d) in fsck Ben Gras 2007-01-16 16:52:51 +00:00
  • 722f1b2b9f . added checks for buffer sizes in sys_datacopy() functions in mfs, print debug message if copy is truncated . increased buffer in lookup() to be PATH_MAX instead of NAME_MAX . sanity check in fetch_name() in vfs to see if name fits, and is null-terminated . first check i < NAME_MAX, then string[i] in search_dir, as we're not supposed to look at string[NAME_MAX] Ben Gras 2007-01-16 14:50:10 +00:00
  • 94b936d7c1 . added super-user check for mount . corrected device match for unmount (otherwise unmount would proceed with bogus mount slot, often sending messages to 0 (PM)) . added some sanity checking to fs process number . made fs_sendrec PRIVATE to request.c Ben Gras 2007-01-16 13:57:35 +00:00
  • 8412423248 Fsck needs more memory for bigger filesystems Ben Gras 2007-01-16 12:59:13 +00:00
  • bcbac65a07 Don't panic if opening a block device fails. Ben Gras 2007-01-12 17:16:51 +00:00
  • 80e2b3ade6 Truncate s_max_size at LONG_MAX, now that off_t is signed. Ben Gras 2007-01-12 16:53:12 +00:00
  • f47aa04a30 . removed readclock command and cmos driver. . replaced by a readclock 'driver' that runs once, a re-imported version of the minix 2.0.4 readclock command. . this has also restored cmos writing. . readclock wrapper script calls service command to run /bin/readclock.drv once. Ben Gras 2007-01-12 16:35:04 +00:00
  • f65b3b8fbf Use bitwise not instead of logical not on PIE flag when disabling periodic interrupts to avoid clobbering register B. This seems to have fixed the corrupting-CMOS bug when enabling profiling. Ben Gras 2007-01-12 16:33:41 +00:00
  • b01aff70d2 use servers/inet/mq.[ch] to queue messages using mq_queue() in libdriver. at_wini now queues messages it can't handle it receives when waiting for an interrupt. this way it can do receive(ANY) and timeouts should be working again (were broken for VFS, as with the advent of VFS, at_wini could get requests from a filesystem while it was waiting for an interrupt - as a hack, the receive() was changed to receive(HARDWARE)). Ben Gras 2007-01-12 13:33:12 +00:00
  • 8b3ddfc19f In some configurations of non-working networking, packman will hang a very long time or forever retrieving the packages list. It's tricky to test connectivity automatically, so ask every time. Reported by Stanislav Kapustin <kapustin_stanislav@hotmail.com>. Ben Gras 2007-01-11 14:35:29 +00:00
  • f307d84cda Zlib is now an optional package. Ben Gras 2007-01-09 17:08:31 +00:00
  • 61b9193ced Take arch+version specific packages List file. Ben Gras 2007-01-08 15:10:27 +00:00
  • 7d46116e47 ctty command without parameters to disable serial console. Philip Homburg 2007-01-08 14:30:11 +00:00
  • 9092146be7 VFS cleanup (mostly open). Philip Homburg 2007-01-05 16:36:55 +00:00
  • 753f7bebde Don't let rs232 code send REVIVEs. Ben Gras 2007-01-04 12:06:04 +00:00
  • 324c6f583d Use svn instead of cvs Ben Gras 2006-12-22 16:43:30 +00:00
  • dfaf30e54d interface.h is unused (remainder from Ingmar's work) Ben Gras 2006-12-22 15:50:17 +00:00
  • 53a6054b66 arch/i386/include/protect.h is unnecessary; add make.conf to etc/ and note about it in docs/UPDATING. Ben Gras 2006-12-22 15:48:27 +00:00
  • 6f77685609 Split of architecture-dependent and -independent functions for i386, mainly in the kernel and headers. This split based on work by Ingmar Alting <iaalting@cs.vu.nl> done for his Minix PowerPC architecture port. Ben Gras 2006-12-22 15:22:27 +00:00
  • f7984144d5 . fsck needs more memory . fsck must deal with s_max_file_size in superblock being larger than LONG_MAX now that off_t is signed Ben Gras 2006-12-22 13:40:37 +00:00
  • dac2e8fcc9 More detailed upgrade procedure. Philip Homburg 2006-12-22 13:36:18 +00:00
  • da42185e1c Removed verbose statements from vfs and mfs Ben Gras 2006-12-22 11:54:42 +00:00
  • 4daf936bd2 BSD versions of strcasecmp() and strncasecmp() after a bug in strcasecmp() reported by Rogier Meurs <rogier@meurs.org>. Ben Gras 2006-12-19 13:15:16 +00:00
  • 7d012272a1 make pci driver run as root, so it can call procstat Ben Gras 2006-12-15 15:56:36 +00:00
  • d4e6fe3546 Setjmp/longjmp updates and cleanup. David van Moolenbroek 2006-12-08 16:23:18 +00:00
  • 170a72fd61 Missing lseek64 library functions. Philip Homburg 2006-12-07 20:01:43 +00:00
  • 8a2a957d49 Some 64-bit file offset changes that were left out accidentally in the first commit. Philip Homburg 2006-12-06 15:21:27 +00:00
  • bafc45a309 First cut at 64-bit file offsets in block devices for mkfs/fsck. Philip Homburg 2006-11-27 14:21:43 +00:00
  • 828e87862f Replaced <servers/fs/...> with <servers/mfs/...> Philip Homburg 2006-11-24 14:04:01 +00:00
  • d84dd06b3f Better error handling in _mount.c Philip Homburg 2006-11-24 14:01:14 +00:00
  • 2032e23e8c chmod needs more space Philip Homburg 2006-11-24 13:59:13 +00:00
  • 0438bca7aa Small image doesn't fit on boot floppy. Philip Homburg 2006-11-24 13:57:37 +00:00
  • 1030187965 Revert back to previous minised Ben Gras 2006-11-17 16:12:08 +00:00
  • 03be184bd6 Fix warnings (Ingmar Alting) Ben Gras 2006-11-10 18:19:38 +00:00
  • f8a5db5ab0 Fix some warnings (by Ingmar Alting) Ben Gras 2006-11-10 18:13:02 +00:00
  • d83e4d3b2e Added missing defines in include/minix/vfsif.h Philip Homburg 2006-11-10 15:05:32 +00:00
  • ca448f0b0f Getdents implementation in library/vfs/mfs. Changed readdir, etc. to use getdents Philip Homburg 2006-11-09 16:22:54 +00:00
  • 12eb228aae Typo reported by ville.solarius@gmail.com Ben Gras 2006-11-06 18:02:22 +00:00
  • 07c4c00181 set $PATH so /usr/local/egrep isn't used; also exclude /var/log from package Ben Gras 2006-11-03 14:47:28 +00:00
  • 1250e94d56 New sed manpage Ben Gras 2006-11-02 16:51:04 +00:00
  • f6436dc1a0 old sed out, new sed in Ben Gras 2006-11-02 16:48:47 +00:00
  • aa8206941c New sed Ben Gras 2006-11-02 16:48:15 +00:00
  • 64dbdd855d obsolete server. Ben Gras 2006-11-01 16:53:45 +00:00
  • 954ad990e5 at_wini now calls pci_reserve. Philip Homburg 2006-11-01 14:55:00 +00:00
  • 86303b3024 Explicit conversion from O_ACCMODE to minix [RW]_BIT is clearer and catches bogus values (such as 3). Ben Gras 2006-11-01 14:17:47 +00:00
  • 0c1d433f60 rs changes (also use driver configurations in the image ramdisk) Philip Homburg 2006-10-31 13:35:04 +00:00
  • 9ac537eb7c Ignore .svn dir as well as CVS dir. Ben Gras 2006-10-30 16:11:57 +00:00
  • 7195fe3325 System statistical and call profiling support by Rogier Meurs <rogier@meurs.org>. Ben Gras 2006-10-30 15:53:38 +00:00
  • fa0ba56bc9 Merge of VFS by Balasz Gerofi with Minix trunk. Ben Gras 2006-10-25 13:40:36 +00:00
  • 21ed846479 More memory for these drivers Ben Gras 2006-10-25 13:39:53 +00:00
  • 65a1d21963 Part of wait()/waitpid() fix in revision 2629:2634 in PM - kernel unblocks a process that has no priority (stopped with sys_nice() and PRIO_STOP) and reschedules it if that gives it RTS flags of 0. Ben Gras 2006-10-25 13:38:31 +00:00
  • f84653d908 Default amount of memory for tests (some ran out of memory) Ben Gras 2006-10-25 13:35:03 +00:00
  • 7c0fda0932 Include kernel/priv.h for rs/manager.h Philip Homburg 2006-10-25 13:07:58 +00:00
  • 1e656b349d . processes stay ZOMBIE, even after wait(), to avoid wrongly seeing them as living processes before they are cleaned up (fixes wait()/waitpid() hanging forever on previously-ZOMBIE processes) Ben Gras 2006-10-25 11:29:43 +00:00
  • 4933f34715 Don't do make clean if flex Makefile doesn't exist. Ben Gras 2006-10-24 14:20:59 +00:00
  • f9ccfca2a1 (Incomplete) support for access control in PCI (pci_set_acl). -script argument to service for crash recovery scripts -config argument to service for driver resource configuration restart command in service to restart a driver after a crash (for use in crash recovery scripts). down and refresh now take labels instead of pids. verious changes in rs to make this work. Philip Homburg 2006-10-20 15:01:32 +00:00
  • fd448c332b Access control in do_sdevio and do_vdevio Philip Homburg 2006-10-20 14:46:55 +00:00
  • dd3ee082b2 Initialize priv from user supplied priv structure in SYS_PRIV_INIT. Added SYS_PRIV_USER call to downgrade a privileged process to a user process. Philip Homburg 2006-10-20 14:42:48 +00:00
  • 1ce2f75627 Additional ptrace commands for fault injection. Philip Homburg 2006-10-20 14:14:08 +00:00
  • be928f01a5 Nice(3) implementation Philip Homburg 2006-10-20 14:10:53 +00:00
  • 0b2c167c48 Bigger ramdisk Philip Homburg 2006-10-20 13:59:42 +00:00
  • 8082aad9b2 Use /usr/tmp as temp dir for compiling imgrd_s.s Philip Homburg 2006-10-20 13:58:45 +00:00
  • 61bbef2f4e More stack for the log driver. Philip Homburg 2006-10-20 13:54:14 +00:00
  • 140afcfb7d Use size-dependant no. of words, with OPEN_MAX as default for fd_set size. Ben Gras 2006-10-06 15:45:13 +00:00
  • 1f3560229d Fix for clean target. Ben Gras 2006-10-06 15:44:41 +00:00
  • 84c93dd20e Remove objects in aes subdir too Ben Gras 2006-10-05 09:58:50 +00:00
  • b5a6e7bbb0 make clean in ibm subdir too Ben Gras 2006-10-05 09:56:17 +00:00
  • 810de3b474 Leftover junk Ben Gras 2006-10-05 09:55:29 +00:00
  • 3b295eb002 Don't include this in the distribution. Ben Gras 2006-10-05 09:53:42 +00:00
  • cbfa0f4fb8 Change select() so that only as many words as necessary for the 'nfds' argument from the fd bitmasks are copied from and back to userspace. This solves an ABI dependency on OPEN_MAX. If nfds is too big for the current OPEN_MAX, select() fails (but that's relatively easy to fix by 'just' recompiling the system and not the application binaries), but if it's smaller, binaries keep working. Ben Gras 2006-10-04 13:28:38 +00:00