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 Gras2007-02-12 13:35:33 +00:00
cb2f124830
mkfs needs more memory for the boot ramdisk.
Ben Gras2007-02-12 13:10:06 +00:00
b857dec78d
Don't complain about missing ip address.
Ben Gras2007-02-09 16:28:34 +00:00
1d300550cf
Memory requirements a bit more now with mfs processes
Ben Gras2007-02-09 16:27:59 +00:00
c6f8154df0
use shorter ata timeout for identify commands when running from cd to shorten probe time.
Ben Gras2007-02-09 15:58:33 +00:00
304471a107
Fixes for /usr/xbin binaries bootstrap dir.
Ben Gras2007-02-08 17:41:40 +00:00
20a13246a8
include /usr/xbin bootstrap dir in $PATH
Ben Gras2007-02-08 16:48:34 +00:00
9f2f3dd488
don't call mkdep with an absolute path
Ben Gras2007-02-08 16:26:20 +00:00
df9326a340
Use temporary binary directory as bootstrap
Ben Gras2007-02-08 16:18:48 +00:00
624f17ee04
Extend cdprobe probe list to c1, and reorder minors to do most-likely first.
Ben Gras2007-02-08 15:56:58 +00:00
ebde52a9bc
supply instance to 2nd at_wini instance. requires a little cooperation from at_wini.
Ben Gras2007-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 Gras2007-02-08 14:04:59 +00:00
63a271200e
Make /dev/c1* device nodes on disk and on the boot ramdisk.
Ben Gras2007-02-08 13:51:35 +00:00
3c907e6ef1
Sanity check in clock - process is supposed to be runnable when it's interrupted.
Ben Gras2007-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 Gras2007-02-07 16:22:19 +00:00
41e9fedf87
Mostly bugfixes of bugs triggered by the test set.
Ben Gras2007-02-01 17:50:02 +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 Gras2007-01-31 13:00:39 +00:00
ce5add84e8
put mfs in /sbin, where mount expects it.
Ben Gras2007-01-24 15:50:04 +00:00
e8edfe876d
. no .vimrc in standard user's dirs . install a vi hardlink to elvis
Ben Gras2007-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 Gras2007-01-22 16:44:03 +00:00
f9e4768eb4
No /usr/src.* shenanigans any more.
Ben Gras2007-01-22 15:47:40 +00:00
82ae9b9c5c
Install sources in /usr/bigsrc, not /usr/src/commands.
Ben Gras2007-01-22 15:42:40 +00:00
980b58d8d2
ramdisk can be set only once.
Ben Gras2007-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 Gras2007-01-22 15:25:41 +00:00
d954a122f7
Added register clobber warning to read_tsc.
Ben Gras2007-01-22 15:15:30 +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 Gras2007-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 Gras2007-01-16 13:57:35 +00:00
8412423248
Fsck needs more memory for bigger filesystems
Ben Gras2007-01-16 12:59:13 +00:00
bcbac65a07
Don't panic if opening a block device fails.
Ben Gras2007-01-12 17:16:51 +00:00
80e2b3ade6
Truncate s_max_size at LONG_MAX, now that off_t is signed.
Ben Gras2007-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 Gras2007-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 Gras2007-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 Gras2007-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 Gras2007-01-11 14:35:29 +00:00
f307d84cda
Zlib is now an optional package.
Ben Gras2007-01-09 17:08:31 +00:00
61b9193ced
Take arch+version specific packages List file.
Ben Gras2007-01-08 15:10:27 +00:00
7d46116e47
ctty command without parameters to disable serial console.
Philip Homburg2007-01-08 14:30:11 +00:00
dfaf30e54d
interface.h is unused (remainder from Ingmar's work)
Ben Gras2006-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 Gras2006-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 Gras2006-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 Gras2006-12-22 13:40:37 +00:00
da42185e1c
Removed verbose statements from vfs and mfs
Ben Gras2006-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 Gras2006-12-19 13:15:16 +00:00
7d012272a1
make pci driver run as root, so it can call procstat
Ben Gras2006-12-15 15:56:36 +00:00
fa0ba56bc9
Merge of VFS by Balasz Gerofi with Minix trunk.
Ben Gras2006-10-25 13:40:36 +00:00
21ed846479
More memory for these drivers
Ben Gras2006-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 Gras2006-10-25 13:38:31 +00:00
f84653d908
Default amount of memory for tests (some ran out of memory)
Ben Gras2006-10-25 13:35:03 +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 Gras2006-10-25 11:29:43 +00:00
4933f34715
Don't do make clean if flex Makefile doesn't exist.
Ben Gras2006-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 Homburg2006-10-20 15:01:32 +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 Homburg2006-10-20 14:42:48 +00:00
1ce2f75627
Additional ptrace commands for fault injection.
Philip Homburg2006-10-20 14:14:08 +00:00
3b295eb002
Don't include this in the distribution.
Ben Gras2006-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 Gras2006-10-04 13:28:38 +00:00