will [Sun, 14 May 2000 22:24:28 +0000 (22:24 +0000)]
Add loud debugging facility (-dl option) which allows programmers/developers
to override @-prefixed commands in Makefiles. It is especially useful for
debugging ports and/or complex Makefiles in such a manner that is basically
a last resort, but is quite effective if the output is well-handled.
dillon [Sun, 14 May 2000 18:46:40 +0000 (18:46 +0000)]
Fixed bug in madvise() / MADV_WILLNEED. When the request is offset
from the base of the first map_entry the call to pmap_object_init_pt()
uses the wrong start VA. MFC to follow.
dillon [Sun, 14 May 2000 17:15:58 +0000 (17:15 +0000)]
Zero out the uio structure prior to initializing it. A garbage (uninitialized)
proc pointer is believed to have been the cause of panics related to vnconfig
on top of intr-optioned NFS mounts.
archie [Sun, 14 May 2000 02:18:43 +0000 (02:18 +0000)]
Move code to handle BPF and bridging for incoming Ethernet packets out
of the individual drivers and into the common routine ether_input().
Also, remove the (incomplete) hack for matching ethernet headers
in the ip_fw code.
The good news: net result of 1016 lines removed, and this should make
bridging now work with *all* Ethernet drivers.
The bad news: it's nearly impossible to test every driver, especially
for bridging, and I was unable to get much testing help on the mailing
lists.
obrien [Sat, 13 May 2000 17:51:22 +0000 (17:51 +0000)]
Merge in rev 1.2 (ld was kinly looking up the Linux /etc/ld.so.conf so teach
it about the FreeBSD equivalent) This version of that patch selects the
Linux code only if the case is Linux. This puts the Linux code on par with
the FreeBSD code.
nsayer [Sat, 13 May 2000 15:58:36 +0000 (15:58 +0000)]
Add -i (insecure) flag to rexecd, which allows uid == 0 logins
(presuming that the user in question is not in /etc/ftpusers and
does not have a null password).
dfr [Sat, 13 May 2000 15:40:46 +0000 (15:40 +0000)]
Only probe network settings on the first open of the network device.
The alpha firmware takes a seriously long time to open the network device
the first time.
hoek [Sat, 13 May 2000 12:58:18 +0000 (12:58 +0000)]
Finally remove the restriction introduced from NetBSD in r.1.3 that
pkg_delete be run as root. Now honours -f and checks ownership of
${PKG_DBDIR} before errx()'ing.
Requested by: bin/5718, myself, bin/18373 (in order)
peter [Sat, 13 May 2000 07:43:00 +0000 (07:43 +0000)]
Make /dev/[k]mem work after last commit. Transfers were being double
counted due to break/continue changes that were missed. There are
still too many diffs relative to the i386 version.
msmith [Sat, 13 May 2000 05:38:25 +0000 (05:38 +0000)]
Fix a leak where a scratch buffer was not freed when reading from the
/dev/?random devices. This appears to have been missed when the code
was brought across from the i386. (This should fix the "world build
hangs with everything waiting on 'temp' problem.)
Also add some iovec fixup code in the error path which seems to have
been similarly fixed.
There are a number of other differences between the i386 and alpha
version which have not been examined. This code should still be
considered suspect.
obrien [Sat, 13 May 2000 03:15:37 +0000 (03:15 +0000)]
Add {kernel,module}-{depend,clean,cleandepend,tags,install,reinstall}
targets. The {depend,clean,cleandepend,tags,install,reinstall} targets
are composits of the {kernel,module}-* targets (based on NO_MODULES).
obrien [Sat, 13 May 2000 02:45:11 +0000 (02:45 +0000)]
The loader was written so that if /kernel was missing /kernel.old would
be booted. Due to a bug, this wasn't happening.
There is still a lesser bug in that the loader decides which file to boot
after the 10sec count down. This means the bootfile listed in the count
down in is wrong in the case where the loader will boot /kernel.old.
peter [Fri, 12 May 2000 22:43:20 +0000 (22:43 +0000)]
Fix the real problem that broke the Alpha loader this last week. It
was not the fault of the module code, nor FICL. The malloc code requires
sbrk() to return addresses that were at least 16 byte aligned. If the
Alpha loader happened to be 8 byte but not 16 byte aligned in length, then
you would get a zfree() panic at startup.
Incidently, this affected the i386 loader as well, and explains why
the static heap changed things and why jlemon had trouble when the bss
was not ending at a multiple of 8 bytes.
My fix is to 16 byte align it on all arches, even though the x86 version
only required 8 byte alignment (struct MemNode is smaller there). We could
page align it if we wanted to be paranoid, but it isn't presently necessary.
peter [Fri, 12 May 2000 21:51:20 +0000 (21:51 +0000)]
Stop libficl from using floating point registers - this was cauing
dictDelete() to fault early on the Alpha and was the original cause of
the Alpha ficl failures.
peter [Fri, 12 May 2000 21:48:54 +0000 (21:48 +0000)]
We compile expressly on the alpha with -mno-fp-regs - so do not use them
explicitly here. This was the original cause of instruction faults on
the Alpha in loader. (not this code, but the same problem in libficl.a)
chris [Fri, 12 May 2000 20:52:50 +0000 (20:52 +0000)]
Null commit:
The log entry for the previous commit marked an item
relating to filling in [mca]time data for socket structures
as related to FIFOs. The change is actually related
to sockets.
hoek [Fri, 12 May 2000 18:10:17 +0000 (18:10 +0000)]
Backout previous commit to this file: it dies in buildworld environment.
I probably forgot to put an ${.OBJDIR} somewhere. I'll redo the change
later when I get a chance to test that thesis.
jlemon [Fri, 12 May 2000 16:48:59 +0000 (16:48 +0000)]
This driver attempts to cache mbufs, and re-use them as headers instead
of using the MGETHDR macro all the time. When an mbuf is reused as a
header, initialize csum_flags to zero as well, so the delayed_checksum
call woks properly.