Andrey A. Chernov
fd2e6bbaa6
Map CSTATUS to ^T by default or it never noticed by novice users
...
Reviewed by: bde
1997-08-15 22:43:22 +00:00
Justin T. Gibbs
b6e49ed332
Remove the bus settle delay after reset code. It could cause an infinite
...
loop.
Perform a "-Wall" cleanup which actually exposed two real bugs having to
do with operator precedence.
1997-08-15 19:27:43 +00:00
KATO Takenori
f5a5311ee8
Added DIAGNOSTIC routine to test inconsistency of vnode when cnp
...
points `.'.
Obtained from: NetBSD
1997-08-15 02:36:28 +00:00
KATO Takenori
a03a24c901
Deleted unused code which adjust UN_UNLOCK flag.
1997-08-15 02:35:00 +00:00
Steve Passe
b5cdece0a9
The promised "better fix" for "Trap 9 When Boot SMP" problem.
...
We now tsleep() in kthread_init() between start_init()
and prepare_usermode() while waiting for ALL the idle_loop()
processes to come online.
Debugged & tested by: "Thomas D. Dean" <tomdean@ix.netcom.com>
Reviewed by: David Greenman <dg@root.com>
1997-08-15 02:34:32 +00:00
Steve Passe
3905c09afb
The promised "better fix" for "Trap 9 When Boot SMP" problem.
...
We now tsleep() in kthread_init() between start_init()
and prepare_usermode() while waiting for ALL the idle_loop()
processes to come online.
Debugged & tested by: "Thomas D. Dean" <tomdean@ix.netcom.com>
Reviewed by: David Greenman <dg@root.com>
1997-08-15 02:33:30 +00:00
Mike Smith
ab4c624ba4
Add support for the new Parallel-Port Bus and devices thereon.
...
Submitted by: Nicolas Souchu <Nicolas.Souchu@prism.uvsq.fr>
1997-08-14 14:03:27 +00:00
Mike Smith
676465394a
ISA Parallel-Port Bus chipset driver.
...
Submitted by: Nicolas Souchu <Nicolas.Souchu@prism.uvsq.fr>
1997-08-14 14:01:36 +00:00
Mike Smith
1b16a0ddb8
Add parallel-Port Bus drivers.
...
Submitted by: Nicolas Souchu <Nicolas.Souchu@prism.uvsq.fr>
1997-08-14 13:59:24 +00:00
Mike Smith
ed3815224c
New directory and drivers for Parallel Port Bus devices.
...
Submitted by: Nicolas Souchu <Nicolas.Souchu@prism.uvsq.fr>
1997-08-14 13:57:45 +00:00
KATO Takenori
fb35546309
Fixed locking violation of vnode operation. VOP_READ, VOP_WRITE and
...
VOP_BMAP require locked vnode, and they will keep lock on exit.
1997-08-14 13:44:19 +00:00
Andrey A. Chernov
cd9f713d45
setitimer: if it_value == 0 clear it_interval now
...
non-zero it_interval values have no sense if it_value == 0 but
checked by itimerfix which may cause EINVAL return
1997-08-14 08:15:12 +00:00
Daniel O'Callaghan
26bb051a7b
Add the NetVin 5000 series NE2000 PCI card vendor and device IDs.
1997-08-14 07:53:07 +00:00
KATO Takenori
5842d4e5b2
If the user doesn't have read permission, union_copyup should not copy
...
a file to upper layer.
Reviewed by: Naofumi Honda <honda@Kururu.math.sci.hokudai.ac.jp>
1997-08-14 03:57:46 +00:00
KATO Takenori
3dc942bbe9
Backed out part of previous change. The example of -b mount in
...
manpage works again.
1997-08-14 03:52:27 +00:00
Steve Passe
22e5e9b058
Cheap TEMPORARY fix for "Trap 9 When Boot SMP" problem.
...
This is on the top of my list for a correct fix.
Submitted by: "Thomas D. Dean" <tomdean@ix.netcom.com>
1997-08-13 23:05:33 +00:00
Jordan K. Hubbard
56ed81f738
Reserve major 81 for rocketport driver.
1997-08-13 21:01:30 +00:00
Julian Elischer
3d0a7bc3b8
add a diagnostic to catch some common cases of tsleep being
...
called from the wrong place.
1997-08-13 19:29:33 +00:00
Andrey A. Chernov
76aab1da0f
Bypass itimerfix 100000000 limit in nanosleep1 using loop through timeouts
1997-08-13 17:55:11 +00:00
Justin T. Gibbs
083bc8b2cc
Add a spin lock that prevents the sequencer from attempting to add an
...
entry to the QOUTFIFO when it is full. This should eliminate the
"Timed out while idle" problems that many have reported.
In truth, this is somewhat of a hack. Although are interrupt latency is
low enough that we should be able to always service the queue in time,
since each entry must be passed up to the higher SCSI layer for what can
be a large amount of processing (perhaps even resulting in a new command
being queued) with interrupts disabled, we need this mechanism to avoid
overflow. In the future, these additional tasks will be offloaded to a
software interrupt handler which should make this hack unnecessary.
1997-08-13 17:02:47 +00:00
Andrey A. Chernov
6e5334121f
SUNIT: exchange up/down states too
1997-08-13 14:57:14 +00:00
KATO Takenori
4a05b623d6
Synchronize with sys/i386/isa/isa.c revision 1.100.
1997-08-13 11:00:49 +00:00
KATO Takenori
4018397ff3
Synchronize with sys/i386/i386/trap.c revision 1.104.
1997-08-13 11:00:09 +00:00
Steve Price
1393383a2e
Add parentheses because == has higher precedence than &.
...
PR: i386/4225
Submitted by: Frank MacLachlan <fpm@n2.net>
1997-08-13 02:40:06 +00:00
John Dyson
0b6e0f74f9
Back out a part of the disk scheduling "improvements" :-(. Let me know
...
how the system works now!!!
1997-08-12 19:07:42 +00:00
KATO Takenori
f8fc96b551
Fixed vnode corruption by undefined case in union_lookup(). When
...
uerror == 0 && lerror == EACCES, lowervp == NULLVP and union_allocvp
doesn't find existing union node and new union node is created.
Sicne it is dificult to cover all the case, union_lookup always
returns when union_lookup1() returns EACCES.
Submitted by: Naofumi Honda <honda@Kururu.math.sci.hokudai.ac.jp>
Obtained from: NetBSD/pc98
1997-08-12 07:18:59 +00:00
Sean Eric Fagan
66ad7973ce
Check permissions for fp regs as well as normal regs.
1997-08-12 05:23:51 +00:00
Kenjiro Cho
2c060c765a
Fix a traceroute problem in the CISCO HDLC mode. (cisco routers not
...
returning ICMP_TIMXCEED)
use CISCO_UNICAST instead of CISCO_MULTICAST to send normal packets.
this is needed for packets to get processed by a cisco router,
but doesn't matter if a packet is just forwarded.
Reviewed by:itojun@itojun.org
1997-08-12 05:22:54 +00:00
Sean Eric Fagan
49356a1f4a
Fix procfs security hole -- check permissions on meaningful I/Os (namely,
...
reading/writing of mem and regs). Also have to check for the requesting
process being group KMEM -- this is a bit of a hack, but ps et al need it.
Reviewed by: davidg
1997-08-12 04:34:30 +00:00
Brian Somers
4fe071a9f7
Fix file descriptor leak.
...
Submitted by: Charles Mott <cmott@srv.net>
Identified by: Gordon Burditt
1997-08-11 22:05:10 +00:00
KATO Takenori
7fb359d245
Synchronize with sys/i386/i386/userconfig.c revision 1.87.
1997-08-11 14:41:18 +00:00
Jordan K. Hubbard
74875cc69f
Make the CLI mode message a little less intimidating.
...
Suggested by: Richard Underwood <ru@atticus.com>
1997-08-11 09:44:57 +00:00
Stefan Eßer
81473b0cdd
Fix problem in the DC390_DefaultEEprom subroutine, which could lead
...
to spurious wites outside an alloccated array in the case of generic
AMD SCSI cards.
PR: kern/4217
Submitted by: Erik H. Moe <ehm@cris.com>
1997-08-11 08:49:08 +00:00
Steve Passe
a5e8237d2a
Oops, fix breakage to UP kernel.
1997-08-10 21:18:01 +00:00
Steve Passe
e7802310d2
Added trap specific lock calls: get_fpu_lock, etc.
...
All resolve to the GIANT_LOCK at this time, it is purely a logical partitioning.
1997-08-10 20:59:07 +00:00
Steve Passe
cb02d4da35
Cheap fix for kern/4255.
...
If the problem is seen this fix suggests a compile-time work-around then panics.
1997-08-10 19:32:38 +00:00
Søren Schmidt
3c3549f6e7
Ops the arguments to copyin was in the wrong order..
...
This has survived since the first version, sigh.
1997-08-10 18:15:20 +00:00
Joerg Wunsch
16e2a68bff
Implement the LCP fail_counter: if an option has been NAK'ed for more
...
than max_failures attempts, we are going to REJ it, to prevent endless
NAK loops.
(This is actually part of a larger local set of modifications i'm
running with, but the remainder (PAP & CHAP) ain't ready for prime-
time yet.)
1997-08-10 14:28:16 +00:00
KATO Takenori
66319037c9
Synchronize with sys/i386/i386/trap.c revision 1.103.
1997-08-10 10:53:49 +00:00
KATO Takenori
7f3fec01f8
Synchronize with sys/i386/isa/syscons.c revision 1.230.
1997-08-10 10:52:17 +00:00
Poul-Henning Kamp
2d4fbd8761
Fix the VLSI chipset name from "Eagle" to "Eagle II".
1997-08-10 09:33:21 +00:00
John Dyson
1c5ff0a712
The "cutsie" register parameter passing that I had mistakenly used breaks
...
profiling. Since it doesn't really improve perf much, I have backed it
out.
1997-08-10 00:12:13 +00:00
Steve Passe
7acc960834
Some fixes towards making "default configs" work again.
...
Still not fixed, no idea why.
Debug help from: "Thomas D. Dean" <tomdean@ix.netcom.com>
1997-08-09 23:01:03 +00:00
Steve Passe
8a5da00284
Minor conditionalization of XXX_MPLOCK on PEND_INTS.
1997-08-09 22:52:59 +00:00
Steve Passe
6354231eaa
Added 'lock' instruction before 3 places that update ipending.
...
This may or may not fix the "high IO freezes SMP kernel" problem.
1997-08-09 19:40:28 +00:00
Søren Schmidt
8bce501fd0
Fix the checks for screenborder for the mousepointer.
1997-08-09 19:24:03 +00:00
John Dyson
c0ecffb96b
Modify the scheduling policy to take into account disk I/O waits
...
as chargeable CPU usage. This should mitigate the problem of processes
doing disk I/O hogging the CPU. Various users have reported the
problem, and test code shows that the problem should now be gone.
1997-08-09 10:13:32 +00:00
KATO Takenori
2f987f4d24
Synchronize with sys/i386/isa/wd.c revision 1.135.
1997-08-09 06:41:36 +00:00
KATO Takenori
f8550fdd1c
Disabled SW_VGA_MODEX when PC98 is defined.
1997-08-09 06:41:06 +00:00
John Dyson
a62e455e42
A couple of missing doscmd header files. Messed up again. Now can
...
compile the kernel!!!
Submitted by: Jonathan Lemon <jlemon@americantv.com>
1997-08-09 04:55:05 +00:00