jdp [Sun, 21 Feb 1999 19:58:36 +0000 (19:58 +0000)]
Fix bug: If gdb couldn't find the dynamic linker's "r_debug_state"
symbol, it aborted with "virtual memory exhausted." Now it warns
about the problem and proceeds.
n_hibma [Sun, 21 Feb 1999 16:36:30 +0000 (16:36 +0000)]
Device unload code is broken, disabled. Requires a bit of redesign on the
part of the uhub driver to be able to fix it. Modules should not be
unloaded as they unload partially. Not easy to fix either.
n_hibma [Sun, 21 Feb 1999 16:20:19 +0000 (16:20 +0000)]
make ums look like a Mouse Systems or Sysmouse mouse. Remove PS/2 interf.
Supplied by MAEKAWA Masahide <bishop@rr.iij4u.or.jp>. Thanks!
USB Mouse now supports up to 7 buttons and X,Y,Z (wheel) directions.
jdp [Sat, 20 Feb 1999 23:52:34 +0000 (23:52 +0000)]
If you merge this into -stable, please increment __FreeBSD_version
in "src/sys/sys/param.h".
Fix the ELF image activator so that it can handle dynamic linkers
which are executables linked at a fixed address. This improves
compliance with the ABI spec, and it opens the door to possibly
better dynamic linker performance in the future. I've experimented
a bit with a fixed-address dynamic linker, and it works fine. But
I don't have any measurements yet to determine whether it's
worthwhile.
Also, remove a few calculations that were never used for anything.
I will increment __FreeBSD_version, since this adds a new capability
to the kernel that the dynamic linker might some day rely upon.
dfr [Sat, 20 Feb 1999 21:22:00 +0000 (21:22 +0000)]
A correction to the code which attempts to prevent the same module
being loaded twice. It used rindex() to strip the pathname but failed
to account for the fact that rindex() will return a pointer to the '/',
not the first character of the filename.
julian [Sat, 20 Feb 1999 11:18:00 +0000 (11:18 +0000)]
World, I'd like you to meet the first FreeBSD token Ring driver.
This is for various Olicom cards. An IBM driver is following.
This patch also adds support to tcpdump to decode packets on tokenring.
Congratulations to the proud father.. (below)
brian [Sat, 20 Feb 1999 01:12:45 +0000 (01:12 +0000)]
Handle empty PAP & CHAP packets (containing only an FSM header).
Some CHAP implementations send no welcome message with their
SUCCESS/FAILURE packets. This was being mis-identified as
a truncated packet by the new authentication code :-(
n_hibma [Fri, 19 Feb 1999 22:48:28 +0000 (22:48 +0000)]
1) In polling mode (during boot) the callout_handle wasn't
initialised (PR1).
Thanks to "Louis A. Mamakos" <louie@TransSys.COM> for his patient
testing of my mods.
2) Removed some debugging output (PR1)
luoqi [Fri, 19 Feb 1999 19:34:49 +0000 (19:34 +0000)]
Introduce machine-dependent macro pgtok() to convert page count to number
of kilobytes. Its definition for each architecture could be optimized to
avoid potential numerical overflows.
phk [Fri, 19 Feb 1999 13:41:35 +0000 (13:41 +0000)]
Since ifru_flags is a short, we can fit in a copy of the flags
before they got changed. This can help eliminate much of the
gymnastics drivers do in their ioctl routines to figure this out.
jdp [Fri, 19 Feb 1999 01:30:43 +0000 (01:30 +0000)]
On the i386, load the ELF dynamic linker where an mmap(0, ...) would
put it, just like on the Alpha. It was wrong to load it at the
fixed address 0x08000000. That should only be done if the dynamic
linker is an executable (not a shared object) with a specific load
address encoded in the object file itself.
This fixes the recent breakage in the Linux emulator.
n_hibma [Thu, 18 Feb 1999 21:17:16 +0000 (21:17 +0000)]
Change to a proper numbering scheme for the ugen device. It requires
a unit and endpoint number. This is combined into a minor number.
The naming of the devices in /dev is now /dev/ugen<unit>.<endpoint>
dillon [Thu, 18 Feb 1999 19:57:33 +0000 (19:57 +0000)]
Limit number of simultanious asynchronous swap pager I/Os that can
be in progress at any given moment.
Add two swap tuneables to sysctl:
vm.swap_async_max: 4
vm.swap_cluster_max: 16
Recommended values are a cluster size of 8 or 16 pages. async_max is
about right for 1-4 swap devices. Reduce to 2 if swap is eating too much
bandwidth, or even 1 if swap is both eating too much bandwidth and sitting
on a slow network (10BaseT).
The defaults work well across a broad range of configurations and should
normally be left alone.
ken [Thu, 18 Feb 1999 18:08:39 +0000 (18:08 +0000)]
Fix sync rate and transfer rate printouts in xpt_announce_periph().
Sync rates like 4.032MHz were getting printed as 4.32MHz.
Also, add a quirk entry for the 18G Quantum Atlas III. Like most other
recent Quantum drives, it bogusly reports queue full. Thanks to Andre
Albsmeier <andre.albsmeier@mchp.siemens.de> for the Atlas III inquiry
information.
fenner [Thu, 18 Feb 1999 16:54:24 +0000 (16:54 +0000)]
Make .Os behave as defined (unrecognized arguments displayed as given).
Add a warning for unknown BSD versions.
Make ".Os FreeBSD" work without a warning (fix bug in previous commit).
luoqi [Wed, 17 Feb 1999 21:03:14 +0000 (21:03 +0000)]
Initialize procsig0.ps_refcnt to 1 (instead of 2), this would silence
complaints about ps_refcnt greater than two when we try to fork() a
kthread from proc0 with RFSIGSHARE flag set.
Noticed by: Tor Egge <tegge@fast.no>
Reviewed by: Richard Seaman, Jr. <dick@tar.com>
bde [Wed, 17 Feb 1999 13:48:07 +0000 (13:48 +0000)]
Use `${CC} ${CFLAGS} ${LDFLAGS} -nostdlib -Wl...' instead of
`ld ... <fudged ${LDFLAGS}>' to invoke the linker. This gets the
flags and standard library paths right without complications.
Unfortunately, it doesn't help for the X11 library paths -- cc
only appends /aout for standard library paths.
Unlock vnode before messing with map to avoid deadlock between map and
vnode ( e.g. with exec_map and underlying program binary vnode ). Solves
a deadlock that most often occurs during a large -j# buildworld reported
by three people.
imp [Wed, 17 Feb 1999 05:32:40 +0000 (05:32 +0000)]
Catch up with the past week:
Add better text for the ppbus changes
Add note about libdevstat changing forcing a recompile of some
things in the tree as well as ports that use devstat.
Thanks to those people that used HEADS UP in their message. Large,
rabid mammals to those that wanted to beat the /etc/rc* horse with the
phrase "heads up" in the subject line.
brian [Tue, 16 Feb 1999 00:16:56 +0000 (00:16 +0000)]
Wait by default for one second after the login script
is complete before checking carrier. If it's there,
the device supports carrier. If it's not it doesn't.
Add the ``set cd'' command for deciding how soon to check
for carrier, and for deciding if carrier is REQUIRED.
The default has changed: Pre 2.0 versions of ppp waited
for 1 second. Version 2 didn't wait, but this causes
problems with some (few?) modems that don't assert carrier
immediately on reporting CONNECT. The one second delay
is back now and can be removed with ``set cd 0''.
Bump the ppp version number in case this needs to be changed
again....
n_hibma [Mon, 15 Feb 1999 21:41:43 +0000 (21:41 +0000)]
Applied patch from MAEKAWA Masahide <bishop@rr.iij4u.or.jp>. (PR2)
Seems to solve a problem with a mouse not responding to movements in the
X direction. Problem description is still rather vague and solution is
not exactly clear. Problem might be a compiler optimisation.
bde [Mon, 15 Feb 1999 14:15:28 +0000 (14:15 +0000)]
Fixed bitrot in usage message and disordering of options in previous commit.
I'm not sure why we have `mvstat -z'. `sysctl vm.zone' gives more
information. OTOH, `sysctl vm.zone' shouldn't return ASCII data,
and reporting of memory use should be integrated, at least as an
option.