]>
Zhao Yanbai Git Server - minix.git/log
Ben Gras [Thu, 7 May 2009 09:57:43 +0000 (09:57 +0000)]
turn off scary looking debug messages.
Ben Gras [Wed, 6 May 2009 15:38:32 +0000 (15:38 +0000)]
ignore errors of pipe read (can happen with shutdown now,
now that all fd's are closed neatly in vfs), change messaging
in unexpected restarts
Ben Gras [Wed, 29 Apr 2009 16:59:18 +0000 (16:59 +0000)]
cleanup of vfs shutdown logic; makes clean unmounts easier (but
needs checking if fp_wd or fp_rd is NULL before use)
Ben Gras [Mon, 27 Apr 2009 16:13:51 +0000 (16:13 +0000)]
- delete unused .h files
- slight code cleanup
- neater exit procedure: exit when unmount
message received and kill signal (from RS 'down' or
reboot/shutdown) received (speed up unmount, but don't
confuse VFS by exiting before/during unmount msg)
Ben Gras [Mon, 27 Apr 2009 16:11:38 +0000 (16:11 +0000)]
spurious debug
Ben Gras [Mon, 27 Apr 2009 14:23:57 +0000 (14:23 +0000)]
lose -s flag for umount.
Ben Gras [Mon, 27 Apr 2009 14:07:47 +0000 (14:07 +0000)]
process restarts are pretty rare/serious.
Ben Gras [Mon, 27 Apr 2009 12:59:49 +0000 (12:59 +0000)]
minor fixes to install script - allow 8kB blocksize (necessary for
large filesystems)
Ben Gras [Mon, 27 Apr 2009 12:02:31 +0000 (12:02 +0000)]
When we receive a PROC_EVENT message from PM, exit nicely; avoids
annoying graceful RS timeout on unmount.
Ben Gras [Mon, 27 Apr 2009 11:53:11 +0000 (11:53 +0000)]
bad dma fallback to pio mode
Ben Gras [Thu, 23 Apr 2009 15:21:03 +0000 (15:21 +0000)]
some more vm bits.
Ben Gras [Thu, 23 Apr 2009 15:11:16 +0000 (15:11 +0000)]
set global flag for kernel pages, so tlb entries for kernel aren't thrown
away on cr3 reload. minor optimization.
Arun Thomas [Wed, 22 Apr 2009 20:02:39 +0000 (20:02 +0000)]
Move queue.h to include/sys so that it can be used elsewhere. Pull in
FreeBSD's r179210 queue.h.
Arun Thomas [Wed, 22 Apr 2009 16:53:46 +0000 (16:53 +0000)]
Disable IOMMU warnings.
Arun Thomas [Wed, 22 Apr 2009 12:42:37 +0000 (12:42 +0000)]
Make the rtl8139 and orinoco drivers handle the system shutdown case
like other drivers. Also, some minor cleanups.
Ben Gras [Wed, 22 Apr 2009 12:39:29 +0000 (12:39 +0000)]
mark pages whose refcount were >1 and drop to 1 and are
read/write writable in the pagetable right away instead of waiting for
a pagefault. minor optimization.
some a sanity check of SLAB-allocated pointers.
vm gets its own _exit and __exit like PM, so the stock (library) panic works.
Ben Gras [Fri, 17 Apr 2009 13:46:37 +0000 (13:46 +0000)]
- enable ipc warnings by default
- ipc checking code in kernel didn't properly catch the
sendrec() to self case; added special case check
- triggered by PM using stock panic() - needs its own _exit()
reported by Joren l'Ami.
Ben Gras [Tue, 14 Apr 2009 14:16:24 +0000 (14:16 +0000)]
clarify not found error message a bit.
Ben Gras [Mon, 6 Apr 2009 09:39:42 +0000 (09:39 +0000)]
don't flush output for SIGWINCH. found by Joren l'Ami.
Ben Gras [Thu, 2 Apr 2009 16:43:35 +0000 (16:43 +0000)]
unnecessary debugging message
Ben Gras [Thu, 2 Apr 2009 15:24:44 +0000 (15:24 +0000)]
moved type and constants for random data to include file;
added consistency check in random; added source of randomness
internal to random using timing; only retrieve random bins that are full.
Ben Gras [Thu, 2 Apr 2009 11:56:50 +0000 (11:56 +0000)]
print who the message is from.
Ben Gras [Thu, 2 Apr 2009 11:44:26 +0000 (11:44 +0000)]
don't make susp_count negative.
Ben Gras [Thu, 2 Apr 2009 11:38:23 +0000 (11:38 +0000)]
trace fix contributed by Joren l'Ami
Ben Gras [Tue, 31 Mar 2009 14:26:24 +0000 (14:26 +0000)]
increment nph when printing physical regions; suggested by Guanqun Lu
Ben Gras [Tue, 31 Mar 2009 14:23:33 +0000 (14:23 +0000)]
change DmaMode checks from DEV_WRITE to DEV_WRITE_S
Arun Thomas [Mon, 30 Mar 2009 17:07:39 +0000 (17:07 +0000)]
Tweak 64-bit integer type declarations; Fixes GCC sysutil build
breakage.
Ben Gras [Thu, 26 Mar 2009 16:11:27 +0000 (16:11 +0000)]
suppress more mostly-harmless messages.
Ben Gras [Thu, 26 Mar 2009 15:56:08 +0000 (15:56 +0000)]
suppress these noisy, alarming messages.
Ben Gras [Thu, 26 Mar 2009 15:54:09 +0000 (15:54 +0000)]
no 'small minix' option
Ben Gras [Thu, 26 Mar 2009 15:23:07 +0000 (15:23 +0000)]
don't need to explicitly enable lance any more.
Ben Gras [Thu, 26 Mar 2009 15:22:08 +0000 (15:22 +0000)]
ignore linmem.
don't disable the driver by default.
Ben Gras [Thu, 26 Mar 2009 13:19:14 +0000 (13:19 +0000)]
SizeMB isn't used any more.
Ben Gras [Tue, 24 Mar 2009 16:08:10 +0000 (16:08 +0000)]
don't execute hlt in real mode.
workaround for getting minix under qemu kvm.
Ameya, ape800 at few.vu.nl.
Ben Gras [Tue, 24 Mar 2009 15:41:51 +0000 (15:41 +0000)]
more inodes than default for /usr on cd.
Ben Gras [Tue, 24 Mar 2009 15:41:18 +0000 (15:41 +0000)]
workaround for qemu writing the configuration byte on the AUX port pre-0.10.
Ben Gras [Thu, 19 Mar 2009 14:14:57 +0000 (14:14 +0000)]
make USRMB settable
Ben Gras [Thu, 19 Mar 2009 13:48:19 +0000 (13:48 +0000)]
multiple ram disks; also make release process use this
so temporary partitions aren't needed any more.
Arun Thomas [Tue, 17 Mar 2009 07:38:35 +0000 (07:38 +0000)]
Increase ARG_MAX
Arun Thomas [Fri, 6 Mar 2009 17:45:22 +0000 (17:45 +0000)]
Update setup's NIC selection dialog
Arun Thomas [Fri, 6 Mar 2009 16:56:46 +0000 (16:56 +0000)]
Define 64 bit integer types when compiling with GCC
Ben Gras [Wed, 4 Mar 2009 17:44:34 +0000 (17:44 +0000)]
Ben Gras [Wed, 4 Mar 2009 17:38:27 +0000 (17:38 +0000)]
fix error check
Ben Gras [Thu, 19 Feb 2009 17:14:36 +0000 (17:14 +0000)]
only assign value if request went ok.
Ben Gras [Tue, 17 Feb 2009 13:01:25 +0000 (13:01 +0000)]
Check for firstdatazone overflow.
Ben Gras [Tue, 17 Feb 2009 12:09:59 +0000 (12:09 +0000)]
help debugging cause of these sometimes odd calls.
Ben Gras [Tue, 17 Feb 2009 09:50:02 +0000 (09:50 +0000)]
Checking wrong inode pointer for refcount in mount (!)
Ben Gras [Mon, 16 Feb 2009 13:20:10 +0000 (13:20 +0000)]
A serial ata pci card we have.
Ben Gras [Mon, 16 Feb 2009 10:01:22 +0000 (10:01 +0000)]
We don't install the bzip2 manual, much less four copies of it, and
it's quite big.
Ben Gras [Thu, 12 Feb 2009 12:28:28 +0000 (12:28 +0000)]
let at_wini see ata raid controllers
Ben Gras [Thu, 12 Feb 2009 12:26:08 +0000 (12:26 +0000)]
let drivers allocate memory at 64k physical boundary.
Ben Gras [Fri, 6 Feb 2009 16:31:28 +0000 (16:31 +0000)]
Don't declare the cprof buf if CPROFILE isn't on.
Ben Gras [Fri, 6 Feb 2009 16:29:00 +0000 (16:29 +0000)]
stingy stack.
Ben Gras [Fri, 6 Feb 2009 16:28:35 +0000 (16:28 +0000)]
readclock easily runs out of stack with so little of it.
Ben Gras [Thu, 5 Feb 2009 16:30:20 +0000 (16:30 +0000)]
check for devices that would need more blocks than 32
bits allow..
Ben Gras [Thu, 5 Feb 2009 13:00:03 +0000 (13:00 +0000)]
fix compiler warning; missing memory range check
Ben Gras [Wed, 4 Feb 2009 17:30:01 +0000 (17:30 +0000)]
simplified the code a little, corrected some hasty statements.
Ben Gras [Wed, 4 Feb 2009 17:04:16 +0000 (17:04 +0000)]
Added a separate keymap for escaped scancodes. This makes the code
a little cleaner (escaped scancodes are less of a special case) and
lets us be completely flexible when assigning meaning to them.
Future: a tool and ioctl to load the escaped keymap.
Ben Gras [Wed, 4 Feb 2009 16:55:30 +0000 (16:55 +0000)]
the escaped keymap is usually the same as the original.
Ben Gras [Thu, 29 Jan 2009 15:13:54 +0000 (15:13 +0000)]
disable interrupts if necessary in kernel debug code to dump all process
stacks.
Ben Gras [Thu, 29 Jan 2009 15:06:40 +0000 (15:06 +0000)]
If serial debugging in the boot monitor / kernel is enabled, don't touch
the serial line in use for it (mostly so that input isn't eaten by tty).
Ben Gras [Thu, 29 Jan 2009 14:41:44 +0000 (14:41 +0000)]
use library panic, doesn't need its own any more.
Ben Gras [Tue, 27 Jan 2009 12:54:33 +0000 (12:54 +0000)]
moved stacktrace to sysctl, as vmctl is very privileged so can't
be used outside VM. IS code cleanup. added stacktrace feature to IS.
Ben Gras [Mon, 26 Jan 2009 17:43:59 +0000 (17:43 +0000)]
. new kernel call sysctl for generic unprivileged system operations;
now used for printing diagnostic messages through the kernel message
buffer. this lets processes print diagnostics without sending messages
to tty and log directly, simplifying the message protocol a lot and
reducing difficulties with deadlocks and other situations in which
diagnostics are blackholed (e.g. grants don't work). this makes
DIAGNOSTICS(_S), ASYN_DIAGNOSTICS and DIAG_REPL obsolete, although tty
and log still accept the codes for 'old' binaries. This also simplifies
diagnostics in several servers and drivers - only tty needs its own
kputc() now.
. simplifications in vfs, and some effort to get the vnode references
right (consistent) even during shutdown. m_mounted_on is now NULL
for root filesystems (!) (the original and new root), a less awkward
special case than 'm_mounted_on == m_root_node'. root now has exactly
one reference, to root, if no files are open, just like all other
filesystems. m_driver_e is unused.
Ben Gras [Mon, 26 Jan 2009 13:02:41 +0000 (13:02 +0000)]
don't hang on disappearing filesystem.
Ben Gras [Thu, 22 Jan 2009 17:09:45 +0000 (17:09 +0000)]
prototype
Ben Gras [Thu, 22 Jan 2009 13:05:20 +0000 (13:05 +0000)]
must be unsigned for base+limit check to to work
Ben Gras [Tue, 20 Jan 2009 15:49:42 +0000 (15:49 +0000)]
package list sanity check
Ben Gras [Tue, 20 Jan 2009 15:47:00 +0000 (15:47 +0000)]
minor cleanup, extra check
Ben Gras [Tue, 20 Jan 2009 13:57:24 +0000 (13:57 +0000)]
reduce kernel buffer size.
Ben Gras [Tue, 20 Jan 2009 13:43:18 +0000 (13:43 +0000)]
sanity check function
Ben Gras [Tue, 20 Jan 2009 13:43:00 +0000 (13:43 +0000)]
mostly harmless sanity checks.
Ben Gras [Thu, 15 Jan 2009 14:42:40 +0000 (14:42 +0000)]
simplification suggested by Mark Farnsworth
Ben Gras [Wed, 14 Jan 2009 08:56:20 +0000 (08:56 +0000)]
make bootinfo valid immediately
Ben Gras [Wed, 14 Jan 2009 08:55:48 +0000 (08:55 +0000)]
RS needs a bit more memory
Ben Gras [Wed, 14 Jan 2009 08:54:17 +0000 (08:54 +0000)]
don't print if we're already printing to serial.
Ben Gras [Wed, 14 Jan 2009 08:52:50 +0000 (08:52 +0000)]
debug twiddle.
Ben Gras [Wed, 14 Jan 2009 08:38:37 +0000 (08:38 +0000)]
sometime this will be a new release.
Ben Gras [Mon, 12 Jan 2009 22:14:43 +0000 (22:14 +0000)]
compile fix for new lock timings
Ben Gras [Sun, 11 Jan 2009 23:47:03 +0000 (23:47 +0000)]
don't produce kernel output if serial debug is on.
Ben Gras [Sun, 11 Jan 2009 23:45:29 +0000 (23:45 +0000)]
use #include name for servarname
Ben Gras [Fri, 9 Jan 2009 21:47:04 +0000 (21:47 +0000)]
debug msg
Ben Gras [Fri, 9 Jan 2009 21:45:27 +0000 (21:45 +0000)]
cprofile not conditional
Ben Gras [Fri, 9 Jan 2009 21:44:52 +0000 (21:44 +0000)]
cprofile not conditional
Ben Gras [Fri, 9 Jan 2009 21:42:36 +0000 (21:42 +0000)]
cprofile always on
Ben Gras [Fri, 9 Jan 2009 21:40:29 +0000 (21:40 +0000)]
cprofile always on; data type and definitions to include file
Ben Gras [Fri, 9 Jan 2009 21:11:23 +0000 (21:11 +0000)]
CPROFILE wants this
Ben Gras [Fri, 9 Jan 2009 20:58:35 +0000 (20:58 +0000)]
don't always time that
Ben Gras [Fri, 9 Jan 2009 17:47:38 +0000 (17:47 +0000)]
profbuf syscall
Ben Gras [Fri, 9 Jan 2009 17:47:18 +0000 (17:47 +0000)]
bigger ramdisk for bigger binaries
Ben Gras [Fri, 9 Jan 2009 16:44:47 +0000 (16:44 +0000)]
profiling reminder
Ben Gras [Fri, 9 Jan 2009 16:39:31 +0000 (16:39 +0000)]
timing library from kernel into library
Ben Gras [Fri, 9 Jan 2009 16:35:25 +0000 (16:35 +0000)]
no longer in kernel
Ben Gras [Fri, 9 Jan 2009 16:15:15 +0000 (16:15 +0000)]
timing measurement code out of kernel and into library
(so other components can use it too)
Ben Gras [Sun, 21 Dec 2008 04:33:50 +0000 (04:33 +0000)]
actually build and install zoneinfo.
Ben Gras [Sun, 21 Dec 2008 04:26:41 +0000 (04:26 +0000)]
forget about bad block testing.
Ben Gras [Sun, 21 Dec 2008 04:01:01 +0000 (04:01 +0000)]
stopgap measure against elvis going nuts when files that are too large
are opened.
Ben Gras [Sun, 21 Dec 2008 03:53:25 +0000 (03:53 +0000)]
don't ignore the fact that scancodes are escaped.
if not understood explicitly, print diagnostic and
ignore scancode.
Ben Gras [Sun, 21 Dec 2008 03:46:42 +0000 (03:46 +0000)]
don't check senda() buffer if size is 0.
Ben Gras [Fri, 19 Dec 2008 15:46:29 +0000 (15:46 +0000)]
make space for first code and data pages if so configured.