Yoshinobu Inoue [Thu, 13 Jan 2000 15:27:50 +0000 (15:27 +0000)]
fix wrong name which is hidden by wrong ifdef.
Sorry for build failure. There was a mistake when I moved the patch
from my build check machine to commit machine.
Yoshinobu Inoue [Thu, 13 Jan 2000 14:52:53 +0000 (14:52 +0000)]
Change struct sockaddr_storage member name, because following change
is very likely to become consensus as recent ietf/ipng mailing list
discussion. Also recent KAME repository and other KAME patched BSDs
also applied it.
s/__ss_family/ss_family/
s/__ss_len/ss_len/
Makeworld is confirmed, and no application should be affected by this change
yet.
Kirk McKusick [Thu, 13 Jan 2000 07:20:01 +0000 (07:20 +0000)]
Because cylinder group blocks are now written in background,
it is no longer sufficient to get a lock on a buffer to know
that its write has been completed. We have to first get the
lock on the buffer, then check to see if it is doing a
background write. If it is doing background write, we have
to wait for the background write to finish, then check to see
if that fullfilled our dependency, and if not to start another
write. Luckily the explanation is longer than the fix.
Kirk McKusick [Thu, 13 Jan 2000 07:17:39 +0000 (07:17 +0000)]
A panic occurs during an fsync when a dirty block associated with
a vnode has not been written (which would clear certain of its
dependencies). The problems arises because fsync with MNT_NOWAIT
no longer pushes all the dirty blocks associated with a vnode. It
skips those that require rollbacks, since they will just get instantly
dirty again. Such skipped blocks are marked so that they will not be
skipped a second time (otherwise circular dependencies would never
clear). So, we fsync twice to ensure that everything will be written
at least once.
Warner Losh [Thu, 13 Jan 2000 06:32:33 +0000 (06:32 +0000)]
Stop the recurring feeling of deja vu
Stop the recurring feeling of deja vu
Stop the recurring feeling of deja vu
Stop the recurring feeling of deja vu
and debounce the eject messages. We now mark the socket empty in the
interrupt handler, rather than after we've disabled the socket which
happens "much later".
Warner Losh [Thu, 13 Jan 2000 00:29:06 +0000 (00:29 +0000)]
o Remove entry that has 'any' for the interrupt and 'auto' for config.
We don't have that yet.
o Uncomment FLASH cards so when the ata flash patches go into the tree
they will work.
Bill Paul [Wed, 12 Jan 2000 22:24:05 +0000 (22:24 +0000)]
Reintroduce the dc_coal() workaround routine for coalescing outbound
packets into a single buffer, and set the DC_TX_COALESCE flag for the
Davicom DM9102 chip. I thought I had escaped this problem, but... This
chip appears to silently corrupt or discard transmitted frames when
using scatter/gather DMA (i.e. DMAing each packet fragment in place
with a separate descriptor). The only way to insure reliable transmission
is to coalesce transmitted packets into a single cluster buffer. (There
may also be an alignment constraint here, but mbuf cluster buffers are
naturally aligned on 2K boundaries, which seems to be good enough.)
The DM9102 driver for Linux written by Davicom also uses this workaround.
Unfortunately, the Davicom datasheet has no errata section describing
this or any other apparently known defect.
Brian Somers [Wed, 12 Jan 2000 21:53:46 +0000 (21:53 +0000)]
As we parse the interface list, ignore sockaddr_dl's that
don't have an interface index that's the same as the if_msghdr
interface index.
This prevents the occasional perror("SIOCGIFFLAGS") from appearing
at boot time.
While I'm there:
Make a couple of error messages more useful.
Add a missing include.
Add some braces to silence gccs dumb complaints.
Add some consts
Ansify decls
Add copyright to pmap_check.h (well, you could say it's been rewritten)
Bill Paul [Wed, 12 Jan 2000 17:46:40 +0000 (17:46 +0000)]
Apply the same netisr mechanism to transmissions as well. In order to
drive the transmitter, we have to check the interface's send queue in the
TX end of frame handler (i.e. the usb bulk out callback) and push out new
transmissions if the queue has packets in it and the transmitter is
ready. But the txeof handler is also called from a USB callback running
at splusb() too.
Sheldon Hearn [Wed, 12 Jan 2000 14:41:00 +0000 (14:41 +0000)]
Add selected manual pages transcribed from the HTML documentation.
Those pages which have not been transcribed are referenced as
gracefully as possible.
There is no perfect section for the ntp_* files, which document
configuration options for the NTP suite, so I'm putting them in
the same section as the pages for the utilities themselves.
Marcel Moolenaar [Wed, 12 Jan 2000 14:33:00 +0000 (14:33 +0000)]
Add gross hack to work around bogus dependency information created
by gnu/usr.bin/cc/cc_tools/Makefile. This bug is painfully visible
when making buildworld with -DNOCLEAN. This work around is beyond
dirty...
Peter Wemm [Wed, 12 Jan 2000 14:20:12 +0000 (14:20 +0000)]
Fix a bungle with the CAM static wiring tables. Write CAMCONF_UNSPEC
instead of -2. This (I believe) caused static wirings to not match.
This should fix Bill Pechter's problem but we'll see.
Problem discovered by: Bill Pechter <pechter@shell.monmouth.com>
Jason Evans [Wed, 12 Jan 2000 09:28:58 +0000 (09:28 +0000)]
Track libc's three-tier symbol naming. libc_r must currently implement
the _libc_*() entry points and add *() weak aliases. This will all
change for the better when libc_r becomes libpthread.
Jason Evans [Wed, 12 Jan 2000 09:23:48 +0000 (09:23 +0000)]
Add three-tier symbol naming in support of POSIX thread cancellation
points. For library functions, the pattern is __sleep() <--
_libc_sleep() <-- sleep(). The arrows represent weak aliases. For
system calls, the pattern is _read() <-- _libc_read() <-- read().
Matthew N. Dodd [Wed, 12 Jan 2000 05:27:08 +0000 (05:27 +0000)]
Fix the performance problems I caused by setting ifq_maxlen to 8.
Use IFQ_MAXLEN instead. This seemed like a good idea at the time since
most 3c509s have all of 2k for their TX fifo. My intention was to revisit
ifq_maxlen and auto-scale it or something.
Peter Wemm [Tue, 11 Jan 2000 14:54:09 +0000 (14:54 +0000)]
Aiee! I committed the wrong conf/files. Replace the changes for newppbus
with the intended changes.
Drop db_aout.c from files, let db_kld.c do the work.
Kazutaka YOKOTA [Tue, 11 Jan 2000 14:54:01 +0000 (14:54 +0000)]
Add a new mechanism, cndbctl(), to tell the console driver that
ddb is entered. Don't refer to `in_Debugger' to see if we
are in the debugger. (The variable used to be static in Debugger()
and wasn't updated if ddb is entered via traps and panic anyway.)
- Don't refer to `in_Debugger'.
- Add `db_active' to i386/i386/db_interface.d (as in
alpha/alpha/db_interface.c).
- Remove cnpollc() stub from ddb/db_input.c.
- Add the dbctl function to syscons, pcvt, and sio. (The function for
pcvt and sio is noop at the moment.)
Jointly developed by: bde and me
(The final version was tweaked by me and not reviewed by bde. Thus,
if there is any error in this commit, that is entirely of mine, not
his.)
Peter Wemm [Tue, 11 Jan 2000 13:25:12 +0000 (13:25 +0000)]
Fix a typo in the db_kld.c file - it's kld support not raw a.out support.
Always use db_kld.c for symbol table support as the base kernel maintains
this information.
Brian Feldman [Tue, 11 Jan 2000 12:51:56 +0000 (12:51 +0000)]
This is the second half of unbreaking the world build. Add a -DNOHTML
corollary for -DNOINFO and -DNOMAN. I'll fix this properly (add
specific HTML doc magic) in the .mk files later; right now, just
unbreak the world.
Brian Feldman [Tue, 11 Jan 2000 12:37:57 +0000 (12:37 +0000)]
*draws his sword*
I smite thee, vile buildworld breakage!
The story is that these were added to beforeinstall improperly. In our
beforeinstall, a full mtree has not been populated. Since the tree is
not populated, we explode from missing directories on doc install. It
should not be done in beforeinstall (includes) anyway.