joerg [Thu, 17 Aug 2000 16:27:26 +0000 (16:27 +0000)]
Implement the GDB counterpart to use hardware watchpoints in connection
with Brian's kernel support for i386 debug registers. This makes
watchpoints actually usable for real-life problems. Note: you can
only set watchpoints on 1-, 2- or 4-byte locations, gdb automatically
falls back to [sloooow] software watchpoints when attempting to use
them on variables which don't fit into this category. To circumvent
this, one can use the following hack:
watch *(int *)0x<some address>
David O'Brien is IMHO considering to get this fully integrated into the
official GDB, but as long as we've got the i386/* files sitting around
in our private FreeBSD tree here, the feature can now be tested more
extensively, so i'm committing this for the time being.
This work has been done in order to debug a tix toolkit problem, thus
it has been sponsored by teh Deutsche Post AG.
Reviewed by: bsd (not the operating system, but Brian :-)
brian [Thu, 17 Aug 2000 14:39:24 +0000 (14:39 +0000)]
Make this file look prettier
Bump the MRU by 4 bytes to make room for the MP header
Down the autoload threshold to a practical value
Don't specify the ISDN bandwidth as 65536 (ahem!)
Don't specifiy a carrier period (the default of 6 seconds is fine)
brian [Thu, 17 Aug 2000 14:14:54 +0000 (14:14 +0000)]
If we're in MP mode with a single open link, MP link level compression
isn't open and the links MRU >= our MRRU, send outbound traffic as
PROTO_IP rather than PROTO_MP. This shaves some bytes off the front
of each packet 'till the second link is brought up.
nyan [Thu, 17 Aug 2000 12:15:45 +0000 (12:15 +0000)]
- Fixed the conversion to bus_space interface.
- Added PC-98 Cbus devices support.
The original patch is submitted by chi@bd.mbn.or.jp (Chiharu Shibata)
- Removed old ed driver.
jhb [Thu, 17 Aug 2000 05:43:41 +0000 (05:43 +0000)]
Add in a hack that installs 'src/sys/${MACHINE_ARCH}/GENERIC.hints' as
/boot/device.hints in the bin dist during releases so that current snapshots
have a chance of booting up ok after installing. The real fix for this
problem is to rewrite userconfig in Forth, stick it in the loader, axe
userconfig from the kernel, and extract the hints from the booted kernel in
sysinstall similar to the way we generate /boot/kernel.conf right now. For
now, however, this will have to do.
green [Wed, 16 Aug 2000 23:31:43 +0000 (23:31 +0000)]
Allow use of the ${MAKE_SHELL} variable to specify alternate shells for
make(1) to use. Setting it to "sh" and "ksh" are the only values which
work right ATM; I wouldn't expect "csh" to get you far ;)
tegge [Wed, 16 Aug 2000 21:24:44 +0000 (21:24 +0000)]
Prepare for a cleanup of pmap module API pollution introduced by the
suggested fix in PR 12378.
Keep track of all existing pmaps independent of existing processes.
This allows for a process to temporarily connect to a different address
space without the risk of missing an update of the original address space if
the kernel grows.
pmap_pinit2() is no longer needed on the i386 platform but is left as a
stub until the alpha pmap code is updated.
cracauer [Wed, 16 Aug 2000 10:39:43 +0000 (10:39 +0000)]
From submitter:
growstackblock() sometimes relocates a stack_block considered empty
without properly relocating stack marks referencing that block.
The first call to popstackmark() with the unrelocated stack mark
as argument then causes sh to abort.
Relocating the relevant stack marks seems to solve this problem.
The patch changes the semantics of popstackmark() somewhat. It can
only be called once after a call to setstackmark(), thus cmdloop() in
main.c needs an extra call to setstackmark().
grog [Wed, 16 Aug 2000 04:31:37 +0000 (04:31 +0000)]
open_drive:
Add support for AMD RAID controllers as "disks".
Requested-by: Marius Bendiksen <mbendiks@eunet.no>
Remove potential panic when attempting to open non-existent drivers.
init_drive: Return error codes correctly. Previously it would
occasionally return 0. The error was redetected
elsewhere, but this was causing a number of confusing
error messages.
rnordier [Tue, 15 Aug 2000 17:42:24 +0000 (17:42 +0000)]
Partially revert r1.12, in which a warnx() if the device is not a
character device is changed to an errx(). This unnecessarily
compromises device independence.
sheldonh [Tue, 15 Aug 2000 15:09:34 +0000 (15:09 +0000)]
Add a sample ifconfig entry for an IPX address family address, to give
IPX folks a fighting chance of figuring this out themselves. I can't
work out how to document this carefully in rc.conf(5), but this ought
to close the PR.
PR: 17904
Reported by: John Gelnaw <jeg@hawk.circa.ufl.edu>
sheldonh [Tue, 15 Aug 2000 14:42:50 +0000 (14:42 +0000)]
Describe the process used for the gawk-3.0.6 update in
FREEBSD-upgrade and remove the config.h which should never
have existed in the contrib area. That file has been moved
into gnu/usr.bin/awk where it belongs.
brian [Tue, 15 Aug 2000 10:25:42 +0000 (10:25 +0000)]
Maintain input and output throughput averages and choose the highest
of the two when calculating the MP throughput average for the ``set
autoload'' implementation.
This makes more sense as all links I know of are full-duplex. This
also means that people may need to adjust their autoload settings
as 100% bandwidth is now the theoretical maximum rather than 200%
(but of course, halfing the current settings is probably not the
correct answer either!).
This involves a ppp version bump as we need to pass an extra
throughput array through the MP local domain socket.
sobomax [Tue, 15 Aug 2000 05:42:39 +0000 (05:42 +0000)]
Several cleanups:
- use getopt(3) to parse command line arguments instead of home-made incomplete
parser;
- be more verbose when error in command line encountered (i.e. incorrect
playing/recording device, incorrect recsrc syntax).
archie [Tue, 15 Aug 2000 01:05:50 +0000 (01:05 +0000)]
Add three more control messages to complement their opposites:
NGM_ETHER_SET_ENADDR, NGM_ETHER_GET_PROMISC, and NGM_ETHER_GET_AUTOSRC.
Alter parsing algorithm so the EN address really looks like one.
brian [Tue, 15 Aug 2000 00:59:21 +0000 (00:59 +0000)]
Calculate the average link throughput using a counter based on the
cumulative total of all active links rather than basing it on the
total of PROTO_MP traffic.
This fixes a problem whereby Cisco routers send PROTO_IP packets only
when there's only one link (hmm, what a good idea!).
onoe [Mon, 14 Aug 2000 13:45:42 +0000 (13:45 +0000)]
add dev/awi/awi_wicfg.c to support wi(4) compatible configuration interface.
add dev/awi/awi_wep.c to support WEP for awi.
add dependency for awi to crypto/rc4/rc4.c
onoe [Mon, 14 Aug 2000 13:42:38 +0000 (13:42 +0000)]
Add support for WEP functionality.
Add support for wi(4) compatible configuration interface. It enables
wicontrol(8) to configure some 802.11 specific parameters.
Some minor fixes from NetBSD.
Obtained from: NetBSD current
onoe [Mon, 14 Aug 2000 13:29:49 +0000 (13:29 +0000)]
Change the argument for SIOCG80211NWID/SIOCS80211NWID to include the
length of NWID. This breaks binary compatibility but only the awi driver
refers this ioctl; no userland tools refers it.
Add WEP stuff.
Obtained from: NetBSD current
sheldonh [Mon, 14 Aug 2000 08:48:55 +0000 (08:48 +0000)]
Add the -i option, as found in rm(1), which provides an interactive
mode in which the user is prompted for confirmation before an
existing file is replaced.
gshapiro [Mon, 14 Aug 2000 02:49:39 +0000 (02:49 +0000)]
Upon installation, create a symbolic link for /etc/aliases pointing to
/etc/mail/aliases. This should both help users as well as other MTAs which
still use a default aliases path of /etc/aliases.
markm [Sun, 13 Aug 2000 20:05:58 +0000 (20:05 +0000)]
Suidperl fixes.
1) Official patch - remove the whole effort to fork off a process
to run /bin/mail; we don't have a /bin/mail, but this brings our
code in line with mainstream Perl recommendation.
2) Make the "Can't do setuid" message a bit clearer; when our userbase
bumps into our suidperl-with-no-commit-bit, give them a good clue as
to what is going on.
nsayer [Sun, 13 Aug 2000 19:20:02 +0000 (19:20 +0000)]
This patch appears to solve the problems with recording resulting
in bogus hwptr warnings. Further comments sought on -hackers
were not forthcoming. I can only hope that calling DELAY() like
this doesn't cause any heartburn.
gshapiro [Sun, 13 Aug 2000 18:53:58 +0000 (18:53 +0000)]
Do not require a local-host-names file as this configuration file is the
default /etc/mail/sendmail.cf installed on a fresh install.
Problem noted by: Hajimu UMEMOTO <ume@mahoroba.org>
n_hibma [Sun, 13 Aug 2000 18:39:24 +0000 (18:39 +0000)]
From NetBSD:
Make it possible to move a device to its unconfigured state by
using config #0.
Add some comments.
Change error reporting in port reset function.
usbd_devinfo_vp(): search the know devs array also if the device doesn't
return product description (e.g. Kye's Genius NetScroll mouse returns
vendor, but not product); the strings returned by device are still
preferred to those in the array, though