pst [Tue, 1 Nov 1994 01:47:22 +0000 (01:47 +0000)]
Add kernel hooks for /dev/vatio -- a minimalistic BSD audio driver emulator
created by Amancio Hasty (specificly, this, in conjunction with his sound
driver mods for dual-mode DMA will allow VAT compiled for BSD/386 1.1 to
run under FreeBSD 2.x.)
joerg [Mon, 31 Oct 1994 17:20:15 +0000 (17:20 +0000)]
Added hooks for an easy drop-in of the pcvt concole driver.
Don't panic:-), this is simple stuff just doing exactly the same as for syscons.
(files.i386 did already contain the necessary stuff.)
ats [Mon, 31 Oct 1994 01:17:24 +0000 (01:17 +0000)]
Deleted the private clean/cleandir targets in the Makefile. Delete
a hardcoded reference to the "obj" dir. So this makefile should now
work with and without an obj dir and deletes the obj dir with a
normal cleandir.
ats [Mon, 31 Oct 1994 00:42:20 +0000 (00:42 +0000)]
Delete the clean and cleandir target and let the bsd.prog.mk do the
work. Error was with the private clean/cleandir pair, the obj under
include/rpcsvc doesn't get cleaned out.
bde [Sun, 30 Oct 1994 20:55:44 +0000 (20:55 +0000)]
Print "(null)" instead of crashing for null strings. Null names are
often generated for stack traces. Now inspection of unmapped addresses
no longer panics the system.
bde [Sun, 30 Oct 1994 20:44:20 +0000 (20:44 +0000)]
Don't include isa.c! How did it link?
Otherwise clean up the includes. Don't include anything included by
param.h. Do include systm.h and cons.h to avoid satisfy -Wimplicit.
Don't include console.h or use NOKEY because these are for syscons
and we use generic consoles.
Don't follow null pointer for command "ls -lrt" - don't allow extra
args but do allow trailing blanks.
Check for invalid device numbers. strtol() failures are now checked
for in all cases, but not carefully enough. We should check for
trailing junk, allow any base in all cases (just like config) and
handle signs better . (Use strtoul not strtol and cast by assignment
to the correct type - always an integral type, PARM_ADDR is bogus.
Hex numbers > 0x7fffffff can't be entered now. 0xffffffff has to
be entered as -1.)
bde [Sun, 30 Oct 1994 20:25:21 +0000 (20:25 +0000)]
Fix selector arg to match the (missing) prototype for sdtossd().
Cosmetic.
Return from trap() if trap_fatal() returns. trap_fatal() isn't
fatal if you have ddb. Returning from trap() is usually the right
thing to do and much better than falling through.
bde [Sun, 30 Oct 1994 20:09:13 +0000 (20:09 +0000)]
locore.s:
Build a dummy frame at the top of tmpstk to help debuggers trace the stack
when the system is idle.
swtch.s: idle():
Initialize the frame pointer so that debuggers don't try to trace a bogus
stack.
Load the frame pointer, load the stack pointer and switch out the old
stack in the unique order that never leaves one of the pointers pointers
invalid so that debuggers can trace idle(). Disabling interrupts
provides sufficient validity for normal operation, but debuggers use
(trace) traps.
joerg [Sun, 30 Oct 1994 20:04:40 +0000 (20:04 +0000)]
Several minor fixes to the floppy driver:
. avoid resetting the FDC every time the last motor is going off;
instead, give it a 60-second period for possible later reactivation.
This prevents us from needing to recalibrate the FDC too often,
but still allows for an ``automagic error recovery', just in case the
controller is absolutely stuck. (Simply wait for 60 seconds, and
try it again.)
. made the floppy head settle time after a seek a constant
that might be overridden by a config option. (Well, actually the
divisor of the settle time). Pepople often reported problems with
their floppies, so i need a simply mechanism that allows them
to play with that value. (I personally cannot find any problem
on *my* drives.)
. implement the FD_DEBUG ioctl command, in case the driver
is compiled with DEBUG turned on.
. removed a bogus parameter from a printf; the remaining warnings
from gcc -Wall seem to be warnings about the %b format gcc cannot
understand
. rearrange Garett's code to fit better in the existing structure
of #define/type/function ordering.
bde [Sun, 30 Oct 1994 19:43:49 +0000 (19:43 +0000)]
Don't attempt to free null cblocks. There may be less to free than
normal due to cblock resource starvation or malloc() failing when
the device is opened.
joerg [Sun, 30 Oct 1994 19:17:39 +0000 (19:17 +0000)]
Included the command definition for FD_DEBUG.
This way, it's possible for a user to activate/deactivate floppy driver
debugging, even if (s)he doesn't like the overhead of running DDB.
Since some ppl tend to have problems with their drives, this might be
valuable for investigations.
joerg [Sun, 30 Oct 1994 18:52:01 +0000 (18:52 +0000)]
Import the fdcontrol command. It has been in 1.1.5, but obviously has been lost on its way to 2.0.
This program uses the FD_DEBUG ioctl, which will have to be commited yet.
joerg [Sun, 30 Oct 1994 18:20:58 +0000 (18:20 +0000)]
daily:
Leave a warning to the sysop if (s)he didn't yet
enable the /tmp cleanup code.
Made `core' in the cleanup template look `*.core'.
Replace `df -k' by `df -k -t local', since the stats
for kernfs, procfs etc. are not of much interest, and
the inclusion of nfs systems might hang the machine (nor is it a
`disk' statistic as the headline's telling).
weekly:
Modified the locate.updatedb part to work even if there's no
database yet; report errors other than `Permission denied' instead
of silently ignoring all of them.
Added functionality to rebuild the whatis database once a week.
wollman [Sun, 30 Oct 1994 00:21:30 +0000 (00:21 +0000)]
Delete `vax' (and `i386' and `hp300' etc.) namespace pollution.
Our one supported compiler always defines the double-underscore variant,
so always use that.
Noticed by Bruce Evans after a report by John Capo.
phk [Sat, 29 Oct 1994 10:01:40 +0000 (10:01 +0000)]
Fixed to make sysinstall work again. Notable changes:
Removed a dialog_clear() which somebody aimlessly had slammed into TellEm()
in absence of any understanding of the structure of this program. :-(
Skip through stage0 for now.
Make write_bootblocks write the disklabel using the kernel-call, and forget
about the boot-blocks for now. This is wrong, but I havn't found the real
problem yet. I will continue work on this problem.
Added a Debug-feature. There is a printf' like Debug() now which sends its
output to ttyv1 (Alt-F2), and all "discarded output" from sub-processes end
up there too. Made TellEm() put it's messages there also, so that we can
see where what happens.
Set the PATH for the shell we shouldn't start at the end :-)
set "npartitions" after the disklabel-editor returns, so that we actually
can edit all the 8 parts of the label.
ache [Fri, 28 Oct 1994 23:27:00 +0000 (23:27 +0000)]
After some thinking better place to fix appearse curses again, not
vi(1). Remove DB from curses.h and still implement it provide
this variable for programs that expect it in any case.
joerg [Fri, 28 Oct 1994 17:26:27 +0000 (17:26 +0000)]
Fixed an evil bug where rawname() could write across the boundaries of
an array. The bug became obvious in the old system where the array was only
32 characters long (now MAXPATHLEN). Dump honored its name then (:-)
and dumped its core when calling dump -w for a fstab that contained rather long
NFS file system names. Even though this is rather unlikely to happen now,
a bug is a bug:)
jkh [Fri, 28 Oct 1994 12:42:05 +0000 (12:42 +0000)]
From: fredriks@mcs.com (Lars Fredriksen)
...
It turns out that these files do not include <sys/dkbad.h> before
<sys/disklabel.h>.
Submitted by: fredriks
jkh [Fri, 28 Oct 1994 04:35:13 +0000 (04:35 +0000)]
Remove eeprom from the default list of subdirs. It gets added properly
in the sparc case anyway. Next step will be to move some of the i386
specific things, like fdformat and fdwrite, into an i386 .if clause.
wollman [Thu, 27 Oct 1994 23:16:54 +0000 (23:16 +0000)]
Convince Perl to that is is part of the system, as /usr/bin/perl (binary)
and /usr/share/perl (library). The latter was chosen as analogous to other
directories already present in /usr/share, like /usr/share/groff_font and
(particularly) /usr/share/mk.
se [Thu, 27 Oct 1994 20:12:46 +0000 (20:12 +0000)]
Change some compile time defaults, which may be overridden from the
kernel config file by options lines.
Now the default settings are FAST SCSI, max. 4 TAGS, WIDE transfers,
if supported by the hardware ...