ken [Mon, 29 Jan 2001 05:33:14 +0000 (05:33 +0000)]
Back out rev 1.102. The IBM DNES drives work fine for me, jedgar and other
folks.
My guess is that reducing the number of tags is just masking the real
problem for the PR submitter. I'll re-open the PR and see if I can work
with the submitter to diagnose the problem.
deischen [Mon, 29 Jan 2001 03:24:23 +0000 (03:24 +0000)]
_exit in libc is now __sys_exit not __sys__exit.
Add another check for thread library initialization (jdp, we
really need a way to get _thread_init called at program start
before any constructors are run).
marcel [Mon, 29 Jan 2001 01:55:54 +0000 (01:55 +0000)]
Don't hard-code alignment and data declarations valid for 64-bit
machines (duh!). This was one reason why this script broke on
i386. The other being that on i386 sections did not have the
proper alignment. This has been fixed in sys/sys/linker_set.h.
marcel [Mon, 29 Jan 2001 01:46:50 +0000 (01:46 +0000)]
o Add explicit alignment to linker set definitions. On i386, data
declarations will not be aligned by default.
o Remove the alignment work-around for alpha. Our current alpha
as(1) does not assume alignment after section switching, nor
does the ia64 as(1).
brian [Mon, 29 Jan 2001 01:35:06 +0000 (01:35 +0000)]
Only remove socket files with ``set server open''.
Only show the mask in ``show bundle'' when it's been specified.
Complain about unexpected arguments after ``set server {none,open,closed}''
Log re-open failures as warnings rather than phase messages.
Fix some markup for the ``set server'' man page description.
asmodai [Sun, 28 Jan 2001 23:21:00 +0000 (23:21 +0000)]
Add static dependency on libisc.a to get isc_movefile() on which named
now depends. This keeps named the same as before the import, that is: only
linking against libc dynamically, at a little space increase, which might
be due to the source code changes anyway. Very neglectable space
difference.
Some people might dub it a hack. It will do for now at least.
groudier [Sun, 28 Jan 2001 19:58:21 +0000 (19:58 +0000)]
A couple of chip errata work-arounds refined:
- When used on a 33MHz PCI BUS, the 53C1010-66 revision 0
requires extra clocks to be inserted in data out phase.
Revision 1 is fixed.
- The 53C1010-33 revision 1 requires internal cycles to be
disabled due to possible contentions on IO registers.
Revision 2 is fixed.
Fix:
- The probing of HVD from GPIO3 bit by the driver was reversed.
The driver could misprobe the bus mode of a 825 or 875 chip
that was not previously initialized (no BIOS for example).
jake [Sun, 28 Jan 2001 17:20:11 +0000 (17:20 +0000)]
Clear intr_nesting_level when an interrupt thread has no more
handlers and wants to exit, so it doesn't panic in exit1()
which malloc()s with M_WAITOK.
julian [Sun, 28 Jan 2001 15:37:06 +0000 (15:37 +0000)]
Add a new distribution algorythm to the 'one2many' node type.
The new method is 'flood' (in addition to the old round-robin)
in which incoming packets are sent to more than one outgoing hook.
(I'm not sure what Rogier is using this for but it seems generally useful
and isn't much extra)
Submitted by: Rogier R. Mulhuijzen (drwilco@drwilco.net )
marcel [Sun, 28 Jan 2001 06:39:56 +0000 (06:39 +0000)]
Improve kernel bootstrapping:
o Use objdump instead of gensetdefs(1) to build the linker sets.
o Allow overriding of nm and objdump in resp. genassym.sh and
gensetdefs.pl for non-native toolchains.
Reviewed by: arch
Perl improvements: Jos Backus <josb@cncdsl.com>, benno
bmilekic [Sun, 28 Jan 2001 03:41:01 +0000 (03:41 +0000)]
Move the setting of curproc to idleproc up earlier in ap_init(). The
problem is that a mutex lock, prior to this change, is acquired before
the curproc is set to idleproc, so we mess ourselves up by calling
the mutex lock routine with curproc == NULL.
Moving it up after the aps_ready spin-wait has us hopefully setting it
after idleproc is setup.
des [Sun, 28 Jan 2001 00:33:58 +0000 (00:33 +0000)]
Remove an assertion I forgot to remove in the previous commit: sbuf_len()
may now be called with an unfinished sbuf.
For consistency, copy the related comment from sbuf_delete() to sbuf_clear()
and sbuf_len().
des [Sun, 28 Jan 2001 00:13:01 +0000 (00:13 +0000)]
Add sbuf_clear() and sbuf_overflowed().
Move the helper macros from sbuf.h to sbuf.c
Use ints instead of size_ts.
Relax the requirements for sbuf_finish(): it is now possible to finish an
overflowed buffer.
Make sbuf_len() return -1 instead of 0 if the sbuf overflowed.
jhb [Sat, 27 Jan 2001 08:34:58 +0000 (08:34 +0000)]
Turn on DEVFS by default for the alpha. Aside from vinum as mentioned by
phk it should work fine. If you need vinum, then don't add this to your
kernel config until vinum catches up to DEVFS.
peter [Sat, 27 Jan 2001 06:01:48 +0000 (06:01 +0000)]
Bah, as my luck would have it, I had a kernel source tree in the window
while strlcpy() existed, before it got backed out due to an extended
bikeshed argument. Sigh. Back to the old version with the redundant
code to terminate the string. :-(
bmah [Fri, 26 Jan 2001 20:24:39 +0000 (20:24 +0000)]
Catch release notes up with security advisories 00:41, 00:76,
00:77 (mistakenly referenced as 00:78), 01:01 (listed previously but
now has an advisory number), 01:08, 01:09.
hm [Fri, 26 Jan 2001 13:12:56 +0000 (13:12 +0000)]
Add experimental support for Eicon.Diehl DIVA 2.0 and 2.02 ISA PnP cards.
Increment i4b minor revision (=step) so a buildworld or a make install in
/usr/src/sys/include is necessary to get isdnd and i4b kernel parts in sync.
jhb [Fri, 26 Jan 2001 03:18:17 +0000 (03:18 +0000)]
- Don't pass in MTX_NORECURSE, as that is only used with spin mutexes and
is going away soon anyways. Instead, don't pass MTX_RECURSE to mtx_init,
so that WITNESS will panic if the driver mutex is recursed on.
- Use MTX_DEF in mtx_init() instead of assuming that it will be 0.
brian [Fri, 26 Jan 2001 01:41:34 +0000 (01:41 +0000)]
Allow ``set server closed'' to close the diagnostic socket.
Allow ``set server open'' to re-open the diagnostic socket.
Handle SIGUSR1 by re-opening the diagnostic socket
When receiving SIGUSR2 (and in ``set server none''), don't forget the
socket details so that ``set server open'' and SIGUSR1 open it again.
Don't create the diagnostic socket as uid 0 ! It's far to dangerous.
jdp [Thu, 25 Jan 2001 18:57:13 +0000 (18:57 +0000)]
Make the "-pthread" option work again, now that libc_r has to be
linked in addition to libc rather than instead of libc.
Ideally, "-pthread" would now be equivalent to adding "-lc_r" to the
end of the link command. But it is slightly different in this
implementation. Adding "-lc_r" to the link command would produce a
"ld" command line containing this:
It would be possible to make them identical, but that doesn't fit
as nicely into GCC's way of doing things. I don't think the ordering
change will make any difference in practice.
bsd [Thu, 25 Jan 2001 17:29:07 +0000 (17:29 +0000)]
Provide a better error message when the /dev entry is non-existant.
Due to the old message, I spent way more time debugging a diskless
root problem than it should have taken.
sobomax [Thu, 25 Jan 2001 16:53:22 +0000 (16:53 +0000)]
New option `-g' to allow selecting custom text geometry in VESA_800x600 raster
text mode. For example `vidcontrol -g 100x37 VESA_800x600' will setup 100x37
text mode as opposed to default 80x25.
ume [Thu, 25 Jan 2001 13:18:26 +0000 (13:18 +0000)]
- Don't try to send RA to lo0, gifN and faithN.
- ipv6_network_interfaces has all available interfaces to work for
static configuration even if the host is end host. When rtsol is
invoked, singleness of interface is checked.