Commit graph

22531 commits

Author SHA1 Message Date
Julian Elischer 515dd2fa3f ping called printf() from a signal handler..
this is a NO-NO

re-arange to just set a "please die immediatly" flag in the signal handler
and handle this in the normal thread.

also handle ping -f better on slow links by backing off a bit when
we get a ENOBUFFS from the sendto().
1997-07-09 19:40:43 +00:00
Andrey A. Chernov 7ed3c9e661 Back out 'conflicts' with IRQs, remove intr_registered() decl 1997-07-09 18:08:15 +00:00
Andrey A. Chernov c6d372f6f3 Back out changes for 'conflicts' with IRQ, remove intr_registered() 1997-07-09 18:06:25 +00:00
Andrey A. Chernov d80e841377 Back out my changes with 'conflicts' keyword for IRQs,
sounddriver fixed now.
1997-07-09 17:58:16 +00:00
KATO Takenori 9e0e115560 Synchronize with sys/i386/isa/syscons.c revision up to 1.222. 1997-07-09 14:43:19 +00:00
Brian Somers b73937137c Don't allow CONS_HISTORY ioctl to alter history pointers
while in "scroll mode" (return EBUSY).
Suggested by:	Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
1997-07-09 14:10:19 +00:00
Jordan K. Hubbard 0206d3bdb0 Move ports distribution copying for ftp dist into the correct place. 1997-07-09 12:45:17 +00:00
Steve Passe 9e3d5ec0b6 Screwed up again, gotta remember to turn off those debugs! 1997-07-09 05:00:47 +00:00
Steve Passe 17ebd4d085 General cleanup of APIC code.
stop_cpus()/restart_cpus() STILL not working!
1997-07-08 23:46:00 +00:00
Steve Passe afade3007a Minor cleanup of APIC code. 1997-07-08 23:42:02 +00:00
Steve Passe e94543eef4 added #define IPI_LEVEL 1997-07-08 23:39:02 +00:00
Steve Passe ad2e8ff493 General cleanup of APIC code.
stop_cpus/restart_cpus STILL not working!
1997-07-08 23:32:58 +00:00
Steve Passe a8988a70ce Reordered call to apic_initialize and setting invltlb_ok. 1997-07-08 23:25:40 +00:00
Dima Ruban d8ae132815 Fixed buffer overflow.
Reviewed by:	Warner
1997-07-08 21:03:16 +00:00
Adam David ccb277de1a execve of interpreter files
reword for grammar/clarity
1997-07-08 18:27:38 +00:00
Andrey A. Chernov 29a4cf6d4d Remove 'conflicts' keyword from SB family devices, it is not
needed now. Uncomment awe0 device
1997-07-08 15:39:29 +00:00
Andrey A. Chernov 5fe7f59b19 Don't pass configured information back to ISA for this subdevices,
it cause conflicts
1997-07-08 15:35:28 +00:00
Brian Somers 5d20d6843c Remove useless comparison.
Suggested by:	Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
1997-07-08 13:38:58 +00:00
Andrey A. Chernov 3f31fb330d Move logwtmp(shutdown) call before any real action in death(). 1997-07-08 11:51:11 +00:00
Philippe Charnier 64dacdb6b2 Use err(3), remove unused variables. 1997-07-08 11:05:59 +00:00
Philippe Charnier a5bf6586d9 Use err(3) instead of local redefinition. 1997-07-08 11:04:19 +00:00
Philippe Charnier c1e6594288 Use err(3). 1997-07-08 11:02:48 +00:00
Philippe Charnier 3ef01b84a1 Use err(3). Add prototypes. 1997-07-08 11:01:35 +00:00
Philippe Charnier f589c9aafa Add usage(), use err(3). 1997-07-08 10:59:50 +00:00
Paul Traina 1abc99e08a iso codes need to be in bin distribution for tzsetup 1997-07-08 00:46:32 +00:00
Julian Elischer 57af792293 Don't add an item to the multicast linked list if it's already
on the list.
1997-07-07 17:36:06 +00:00
Steve Passe 791d2c2871 ifdef a TEST_CPUSTOP debug properly.
Submitted by:	 Kenneth Merry <ken@plutotech.com>
1997-07-07 16:34:22 +00:00
Brian Somers b43f9ca153 YAMF2.2: Handle indirect results of "kbdcontrol -h X"
where X < 25.
1997-07-07 13:42:42 +00:00
KATO Takenori f29c83010d Enables scmouse.
Submitted by:	H. Nokubi <h-nokubi@nmit.tmg.nec.co.jp>
             	T. Yamamoto <t-yamamt@ics.es.osaka-u.ac.jp>
             	M. Jinbo <karl@marcer.nagaokaut.ac.jp>
1997-07-07 12:47:36 +00:00
Steve Passe f055ec14b3 Opps, forgot to turn off the debugs... 1997-07-07 00:38:58 +00:00
Steve Passe 9746742be0 stop_cpus(), currently BROKEN! (turned off in smptests.h by default).
restart_cpus(), currently BROKEN! (turned off in smptests.h by default).
1997-07-07 00:06:51 +00:00
Steve Passe a9f5bd327a Preliminary support for Xspuriousint.
Preliminary support for stopcpus()/restartcpus().
1997-07-06 23:59:31 +00:00
Steve Passe 586f21e1cc Added some (temporary) macros for debugging.
New strategy for handling the TPR (Task Priority Register).
Test code to sync CPUs.
1997-07-06 23:50:12 +00:00
Steve Passe 69f0a823b2 Additional debugging functions and macros.
"spurious INTerrupt" support.
1997-07-06 23:40:15 +00:00
Steve Passe b956b5370c First cut at code for handling "spurious INTerrupts".
First cut at code for handling CPU stop/restart.

Notes:
	not working properly yet.
1997-07-06 23:32:38 +00:00
Steve Passe e154505673 #ifdef out debug for now... 1997-07-06 23:25:46 +00:00
Steve Passe 01bd6212ca Added a hook for a "spurious INTerrupt handler". 1997-07-06 22:11:26 +00:00
Peter Wemm e48f3cfbfc Rework previous commit.. I was confused by the number of diffs in the PR
and forgot what I was trying to do originally and accidently zapped
a feature. :-]  The problem is that we are converting a counted buffer in
a malloc pool into a null terminated C-style string.  I was calling realloc
originally to shrink the buffer to the desired size.  If realloc failed, we
still returned the valid buffer - the only thing wrong was it was a tad
too large.  The previous commit disabled this.

This commit now handles the three cases..
1: the buffer is exactly right for the null byte to terminate the
string (we don't call realloc).
2: it's got h.left = 0, so we must expand it to make room. If realloc
fails here, it's fatal.
3: if there's too much room, we realloc to shrink it - a failed realloc
is not fatal, we use the original buffer which is still valid.
1997-07-06 08:42:37 +00:00
Peter Wemm 2b3b4e02a9 Update description of rand_args to not suggest "-s"..
Pointed out by: bde
1997-07-06 08:28:34 +00:00
Peter Wemm 3c55a3f243 Fix off-by-one error
PR: 3451
Submitted by: Tim Vanderhoek <ac199@hwcn.org>
1997-07-06 07:54:56 +00:00
John Hay 85d2c81156 Major IPXrouted rework.
In rt_change() remember to update the interface pointer otherwise we will
send the RIP packets to the wrong interface(s) in future.

Update the hash generator and increase the size of the hash tables.

Only use the network and host parts when comparing IPX interface addresses.

Immediately broadscast RIP and SAP changes.

Change the alarm code to use the setitimer() call and only set a flag in
the alarm signal handler. This gets rid of possible race conditions.

Remove the host routing table. IPX RIP cannot do host routes, only net routes.

Make the delay between broadcast packets 50ms. It seems that some Netware
4.x servers is very slow and don't have much input buffering.

Handle received messages about networks and services that go down, better.

Add tracing of RIP and SAP changes. It gets sysloged with a level of
LOG_DEBUG.
1997-07-06 07:38:36 +00:00
Peter Wemm 0c3af3413e fix rndcontrol invocation.. rndcontrol has the irq after a -s switch, not
just the next argument.  We really need to be able to tag drivers with
their randomness "suitability" so that this can be more automatic.  It
would be nice if all suitable drivers registered their irq automatically,
but still allowed them to be turned on/off etc.
1997-07-06 07:19:14 +00:00
Bruce Evans aac7bd5670 This commit was generated by cvs2svn to compensate for changes in r27241,
which included commits to RCS files with non-trunk default branches.
1997-07-06 06:54:14 +00:00
Bruce Evans c44252b6e8 Finish importing Lite2's src/usr.bin, except for ex, diff, grep, mail,
pascal and vmstat.sparc.  All changed files on the vendor branch should
already have been imported.
1997-07-06 06:54:14 +00:00
Bruce Evans 616fc29f94 Import from Lite2 again to fix up mis-importing of Lite2's bdes.
This leaves a bogus rev.1.1.1.2.
1997-07-06 06:27:25 +00:00
Bruce Evans badf3436d6 Removed mis-imported files. 1997-07-06 06:15:35 +00:00
Bruce Evans 53cea921a3 Import Lite2's src/usr.bin/bdes. This was too hard to check at home
since bdes is not on the export cdrom.
1997-07-06 06:06:57 +00:00
Bruce Evans 9e09cb6d9b Import Lite2's src/usr.bin/tn3270. mset/3270.5 is still on the vendor
branch and importing it just changes the formatting.
1997-07-06 05:25:43 +00:00
Bruce Evans 7f9acd9490 This commit was generated by cvs2svn to compensate for changes in r27235,
which included commits to RCS files with non-trunk default branches.
1997-07-06 05:25:43 +00:00
Bruce Evans 0886891cb5 Import Lite2's src/usr.bin/telnet. The README is still on the vendor
branch and importing it gives some anachronisms.  tn3270.c is still on
the vendor branch and importing it just changes a memcpy to memmove.
1997-07-06 05:14:28 +00:00