Commit Graph

54528 Commits

Author SHA1 Message Date
thorpej
5839453a0d Oops, supply mode bits to shmget(2). 1999-08-06 23:40:10 +00:00
thorpej
678ef99d81 Check for shmat(2) failure correctly. 1999-08-06 23:01:41 +00:00
aidan
e1438c8ef3 libexec now reaches over into ${CRYPTOPATH} for additional SUBDIRs. 1999-08-06 22:49:06 +00:00
thorpej
5c5817ee4a When allocating the entire address space of an object, map an anonymous
region first (using the data/bss protection) covering it, then overlay
the text and data regions at the appropriate offsets within the region,
and then unmap any gap between the text and data.

The previous method of maping the entire address space with the actual
file object itself is incorrect, as it may extend past the end of the
file if the section alignment is large enough.

This bug was the source of the libposix failure on the SPARC and another
similar failure (with libc!) on the Alpha (failure was accompanied by
a "uvn_io: size check fired" message on the console).
1999-08-06 22:33:49 +00:00
ragge
a7361f3acf Moved to dz_ibus.c,v 1999-08-06 18:58:28 +00:00
ragge
c7d47daa04 Moved from dz_vsbus.c,v 1999-08-06 18:58:27 +00:00
mrg
4c54af7651 +FUBAR +NFI +SNAFU 1999-08-06 13:50:31 +00:00
bouyer
fae9929734 - Add some debug printf (WDCPROBE) in _wdcreset_wait(), I've needed these
2 times in the past
- Set up timeout per xfer instead of per interrupt. This helps with
  PIO transfer (we would call timeout()/untimout() several times for a
  transfer).
- If we missed an interrupt for a PIO transfer, reset and restart it
  immedialy, don't try to recover and continue. If we missed an interrupt we
  may have lost a read/write cycle on the IDE bus. If this happens 1) we
  corrupt data and 2) we enter an interrupt loop at the end of the xfer, as
  the drive has some more data to read/write, but the host thinks the xfer is
  done.
This last change fix the (or at last some of the) 'lookup after lost interrupt'
some peoples have been experiencing.
1999-08-06 12:00:23 +00:00
leo
54f2532106 Change the way that bit's are cleared in the InterruptPending register of
the 68901. Do this now by _assigning_ ~<bit_to_clear> instead of the
previously used 'andb ~<bit_to_clear>'. The latter caused a rwm-cycle that
caused a race condition to happen when an interrupt arrived between the
Read and Modify-Write.
Anyway, this solved my hanging keyboard problem.
1999-08-06 08:27:30 +00:00
pk
e2fe2d50cf sigh, `make install' should not attempt to create additional files in
the object directory. Work around this by using `/tmp'.
1999-08-06 07:32:07 +00:00
cgd
0ef6a875b8 regen for updated pcmciadevs 1999-08-06 06:39:57 +00:00
cgd
1780131e5c add an entry for the IBM EtherJet Ethernet PC Card (cs8920 based) 1999-08-06 06:39:29 +00:00
tsarna
23001b8bf4 +IANAL, remove dupe IOW, sort 1999-08-06 01:29:38 +00:00
thorpej
2d720e5ff0 Don't truncate syscall return values on LP64 platforms. 1999-08-06 00:11:02 +00:00
augustss
3ad1ac1cf6 mpu needs needs-flag 1999-08-05 22:38:01 +00:00
thorpej
1c0e017cff Change spl calls to always raise priority, except for the ones which are
specifically supposed to lower it.
1999-08-05 21:16:55 +00:00
christos
6bac342db0 Create temp _motd file in /etc 1999-08-05 20:51:57 +00:00
thorpej
d936f02b0b Implement priority raising, and use it as appropriate. 1999-08-05 18:48:55 +00:00
thorpej
37554502cf Correct a comment. 1999-08-05 18:31:06 +00:00
thorpej
2ff657adb8 Fix the raise/lower semantics of splsoftclock()/spllowersoftclock(). 1999-08-05 18:28:01 +00:00
thorpej
1e07c3fad7 Bump version to 1.4J -- semantics of splsoftclock() changed. 1999-08-05 18:10:20 +00:00
thorpej
eb20bbc780 Change the semantics of splsoftclock() to be like other spl*() functions,
that is priority is rasied.  Add a new spllowersoftclock() to provide the
atomic drop-to-softclock semantics that the old splsoftclock() provided,
and update calls accordingly.

This fixes a problem with using the "rnd" pseudo-device from within
interrupt context to extract random data (e.g. from within the softnet
interrupt) where doing so would incorrectly unblock interrupts (causing
all sorts of lossage).

XXX 4 platforms do not have priority-raising capability: newsmips, sparc,
XXX sparc64, and VAX.  This platforms still have this bug until their
XXX spl*() functions are fixed.
1999-08-05 18:08:08 +00:00
itojun
6d8996ba49 import recent kAME fixes.
- initialize hoplimit for raw6 socket properly.
- respect SO_TIMESTAMP on udp6.
- more sanity checks.
1999-08-05 16:01:07 +00:00
minoura
e89db1c459 Make use of _C_LABEL and other macros in m68k/asm.h. 1999-08-05 15:58:17 +00:00
jdolecek
d61380b6b4 mark file system NTFS as experimental 1999-08-05 15:52:11 +00:00
jdolecek
836c862c38 add file-system NTFS, commented out and marked as experimental 1999-08-05 15:51:36 +00:00
jdolecek
7aa20c5a32 file-system NTFS: add a note NTFS is very experimental and should be used
with extreme caution
1999-08-05 15:47:07 +00:00
jdolecek
fac3e3fdcf * put new BUGS section instead of CAVEATS, which explicitely warns NTFS
is experimental and should be used with extreme caution
* give credit to christos & me for the NetBSD port
1999-08-05 15:45:01 +00:00
minoura
74431c5ae2 IPv6 options from GENERIC.v6. 1999-08-05 15:05:56 +00:00
minoura
e0a8602baf Install kernel should not require COMPAT_14. 1999-08-05 15:05:11 +00:00
minoura
e684a9ad5b Sync. 1999-08-05 15:04:38 +00:00
leo
b9869f9169 Define NOLIBHACKOPENDIR=1 so instbin is linking again. Found by Julian
Coleman.
1999-08-05 15:00:28 +00:00
minoura
4901b4afde Use of pointer to register variables. 1999-08-05 14:57:38 +00:00
briggs
3988bc1c06 Deal with the fact that ipls (specifically mac68k_clockipl) are now in an array. 1999-08-05 12:35:55 +00:00
briggs
4292c9d32b Define MAC68K_CLOCK_IPL. 1999-08-05 12:34:49 +00:00
augustss
03c29debf5 Make this file compile again. 1999-08-05 11:25:47 +00:00
sommerfeld
08e495eda4 Delete debug printfs from arp_drain() 1999-08-05 04:36:56 +00:00
sommerfeld
2aa9696fee Implement arp_drain(), which frees packets tied up in the arp cache if
mbufs are in short supply.
Create a (trivial) protocol domain for arp so that the drain routine will
be called from m_reclaim()
1999-08-05 04:04:28 +00:00
sommerfeld
b8e4538f80 Create new pool flag PR_LIMITFAIL, indicating that even PR_WAIT
allocations should fail if the pool is at its hard limit.
Document flag in pool(9).
Use it in mbuf.h for the first allocate call for M_GET, M_GETHDR, and
MCLGET, so that m_reclaim gets called even for blocking allocations.
1999-08-05 04:00:03 +00:00
hubertf
c1cd535e46 Some code cleanup to collect all the usage strings in one place.
Asked for and reviewd by Jason thorpe.
1999-08-05 02:47:09 +00:00
thorpej
428443a130 Add some more diagnostic information to the 3 different `panic("m_copym")'
calls.
1999-08-05 02:24:29 +00:00
thorpej
99584ccf61 M_HASCRC -> M_HASFCS, as suggested by Christoph Badura. 1999-08-05 02:07:38 +00:00
dbj
18221f52fc changed dma segment field "ds_read_len" to "ds_xfer_len" since it is valid for
either read or write transfers.
1999-08-05 01:50:59 +00:00
thorpej
191ab2b8e4 Since we have to go through fxp_init() to properly handle IFF_ALLMULTI
anyway, take advantage of this and greatly simplify the programming
of the multicast filter.  This solves the last reported "device timeout"
problem with this driver.
1999-08-05 01:35:40 +00:00
tsubai
d633663ab8 Add mediabay. 1999-08-05 00:31:01 +00:00
thorpej
a451d97336 Fortunes from those Unamerican Activities bumper stickers you see on
mountain bikes owned by Gen-X'ers.
1999-08-04 22:45:09 +00:00
mycroft
f85ee5e22e The old compaction test had an off-by-one error that caused it to not compact
in some cases where it could have.  Fix this, and the new version as well.
1999-08-04 22:33:20 +00:00
matt
0dc0497a97 Don't compress mbuf clusters which are referenced by multiple
mbufs since you might overwriting valuable data.  (think of
m_copy'ed data from a TCP re-transmission queue.  Since those
might be in clusters and referenced in two sockets).
1999-08-04 21:40:39 +00:00
mycroft
545d8679c0 It's now possible for sbcompress() to compact mbuf clusters, so do it.
This helps prevent mbuf cluster exhaustion when receiving lots of small
packets.
1999-08-04 21:30:12 +00:00
tron
439a6c4942 Add missing prototype for read_tekram_eeprom() to make driver compile if
"options NCR_TEKRAM_EEPROM" is specified in the kernel configuration file.
Patch supplied by Hans Hoppe in PR kern/8141.
1999-08-04 20:51:31 +00:00