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
KATO Takenori
f791a51afe
Synchronize with sys/i386/conf/options.i386 revision 1.55.
1997-08-09 01:58:50 +00:00
KATO Takenori
b47d57b784
Synchronize with sys/i386/i386/trap.c revisino 1.102.
1997-08-09 01:57:04 +00:00
KATO Takenori
f6601c421b
Synchronize with sys/i386/i386/machdep.c revision 1.255.
1997-08-09 01:56:34 +00:00
KATO Takenori
d10621ab26
Synchronize with sys/i386/isa/npx.c revision 1.50.
1997-08-09 01:55:51 +00:00
KATO Takenori
ebdfa6484c
Synchronize with sys/i386/isa/syscons.c revision 1.229.
1997-08-09 01:54:51 +00:00
Julian Elischer
63fe995cb4
Teach both disk drivers how to cope with a hardware watchdog
...
while dumping core.. I'm tired of getting 1/2 of a core-dump
conditional on -DHW_WDOG for now
this will migrate to 2.2 as that's where I need it.
1997-08-09 01:44:25 +00:00
John Dyson
a98421fc82
Add the code that represents most of the interface between the VM86
...
pseudo-machine and the rest of the FreeBSD kernel.
Submitted by: Jonathan Lemon <jlemon@americantv.com>
1997-08-09 01:38:03 +00:00
Julian Elischer
5230cfd2f4
Use up 4 precious bytes to give the kernel a hook to
...
support hardware watchdogs. The actual functions would be supplied in an LKM
or a linked file, but they need to hang off something.
1997-08-09 01:25:54 +00:00
John Dyson
9b9d503b21
Add VM86 to the lkm build.
1997-08-09 00:23:07 +00:00
John Dyson
b6a6d066a8
Add VM86 to the options.
1997-08-09 00:19:39 +00:00
John Dyson
48a09cf276
VM86 kernel support.
...
Work done by BSDI, Jonathan Lemon <jlemon@americantv.com>,
Mike Smith <msmith@gsoft.com.au>, Sean Eric Fagan <sef@kithrup.com>,
and probably alot of others.
Submitted by: Jnathan Lemon <jlemon@americantv.com>
1997-08-09 00:04:06 +00:00
Søren Schmidt
a1af9248eb
Yeah I'm back hacking syscons !!
...
Add support for MODEX 320x240x256color with "unchained" adressing, giving
access to all 256K on all VGA's, those with that much memory that is :)
Also make sysmouse use the right resolution in graphics modes.
1997-08-08 22:52:30 +00:00
Julian Elischer
90405c80e1
Make the scheduler quantum a tunable parameter
...
Reviewd by: John Dyson dyson@freebsd.org
1997-08-08 22:48:57 +00:00