]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
24 years agoMerge from sys/dev/syscons/syscons.c rev 1.330.
kato [Mon, 13 Dec 1999 13:17:24 +0000 (13:17 +0000)]
Merge from sys/dev/syscons/syscons.c rev 1.330.

24 years agoMerge from sys/i386/conf/Makefile.i386 rev 1.166.
kato [Mon, 13 Dec 1999 13:15:32 +0000 (13:15 +0000)]
Merge from sys/i386/conf/Makefile.i386 rev 1.166.

24 years ago- Pull in kbd.c when sc or vt is included in the kernel, even if
yokota [Mon, 13 Dec 1999 13:01:00 +0000 (13:01 +0000)]
- Pull in kbd.c when sc or vt is included in the kernel, even if
  no keyboard driver is defined in the kernel config file.

24 years agoDocument VGLGetXY and VGLSetXY functions.
abial [Mon, 13 Dec 1999 10:48:22 +0000 (10:48 +0000)]
Document VGLGetXY and VGLSetXY functions.

Reviewed by: sos

24 years ago- Add a module event function to the ukbd driver and make the ukbd KLD
yokota [Mon, 13 Dec 1999 10:36:36 +0000 (10:36 +0000)]
- Add a module event function to the ukbd driver and make the ukbd KLD
  module work.
- Delete unnecessary #include.

24 years agoAdd DMA support for the SiS 5591 and old PIIX chipsets.
sos [Mon, 13 Dec 1999 10:19:39 +0000 (10:19 +0000)]
Add DMA support for the SiS 5591 and old PIIX chipsets.

Add a missing DELAY(1) in ata_wait.

Change the info from ad_version, so the ATA version from the disk can
be used to quantify the DAM modes valid for this drive, ie be more
selective with turning DMA on on older disks that should not support it..

Fix the probe for BIOS enabled DMA in the generic case, master/slave
was reversed in the test.

Check the return for ata_command in all cases, and print warnings if
it fails.

Call ata_dmainit with all dmamodes off when falling back to PIO mode,
that should take care of both the Promise & HPT366 controllers not
being able to handle the fallback...

Cleanup the printf's in the drivers, use the prober device name (if
possible) instead of ataN-master/slave.

24 years ago- Remember the keyboard repeat delay and rate.
yokota [Mon, 13 Dec 1999 09:31:43 +0000 (09:31 +0000)]
- Remember the keyboard repeat delay and rate.
- Add a new ioctl, KDGETREPEAT, to retrieve the keyboard repeat rate.
- Delete unnecessary #include.

24 years agoAdd a run of Linux ldconfig.
cracauer [Mon, 13 Dec 1999 08:38:22 +0000 (08:38 +0000)]
Add a run of Linux ldconfig.

24 years agoExtra capital letter in COnsole
cpiazza [Mon, 13 Dec 1999 06:08:24 +0000 (06:08 +0000)]
Extra capital letter in COnsole

24 years ago Fix a timeout deadlock that can occur when the process holding the
dillon [Mon, 13 Dec 1999 04:24:55 +0000 (04:24 +0000)]
Fix a timeout deadlock that can occur when the process holding the
    receive lock hasn't yet managed to send its own request.

PR: kern/15055
Submitted by: Ian Dowse iedowse@maths.tcd.ie

24 years agomore dma underrun fixes, using a per-channel 2nd buffer
cg [Mon, 13 Dec 1999 03:29:09 +0000 (03:29 +0000)]
more dma underrun fixes, using a per-channel 2nd buffer

Submitted by: tanimura

24 years agoFix two problems with pipe_write():
tegge [Mon, 13 Dec 1999 02:55:47 +0000 (02:55 +0000)]
Fix two problems with pipe_write():

 1. Data written beyond end of pipe buffer, causing kernel memory corruption.

    - Check that space is still valid after obtaining the pipe lock.

    - Defer the calculation of transfer size until the pipe
      lock has been obtained.

    - Update the pipe buffer pointers while holding the pipe lock.

 2. Writes of size <= PIPE_BUF not always atomic.

    - Allow an internal write to span two contiguous segments,
      so writes of size <= PIPE_BUF can be kept atomic
      when wrapping around from the end to the start of the
      pipe buffer.

PR: 15235
Reviewed by: Matt Dillon <dillon@FreeBSD.org>

24 years agoexplain that ioflags can be used to give read-ahead hints to the underlying
alfred [Mon, 13 Dec 1999 02:28:53 +0000 (02:28 +0000)]
explain that ioflags can be used to give read-ahead hints to the underlying
filesystem.

24 years agoThe current code incorrectly assumes that all vlans
jkh [Mon, 13 Dec 1999 01:57:00 +0000 (01:57 +0000)]
The current code incorrectly assumes that all vlans
are configured, and/or associated with a parent device.  If you
receive a frame for a VLAN that's not in the list, you walk off
the end of the list.  Boom.

Submitted by: C. Stephen Gunn <csg@waterspout.com>
PR: 15291

24 years agosys/net/if_vlan.c fails to maintain the IFF_RUNNING flag on the
jkh [Mon, 13 Dec 1999 01:38:14 +0000 (01:38 +0000)]
sys/net/if_vlan.c fails to maintain the IFF_RUNNING flag on the
vlan interfaces it manages.  This prevents the interface from
actually sending or receiving data.

Submitted by: C. Stephen Gunn <csg@waterspout.com>
PR: 15290

24 years agoKeep fortunes short, so motd won't scroll outside the screen.
dcs [Mon, 13 Dec 1999 01:05:15 +0000 (01:05 +0000)]
Keep fortunes short, so motd won't scroll outside the screen.

24 years agoExercise sufficient editorial license and further shorten motd.
dcs [Mon, 13 Dec 1999 00:58:53 +0000 (00:58 +0000)]
Exercise sufficient editorial license and further shorten motd.

Stolen from: jkh

24 years agoAlways set INP_IPV4 flag for IPv4 pcb entries, because netstat needs it
shin [Mon, 13 Dec 1999 00:39:20 +0000 (00:39 +0000)]
Always set INP_IPV4 flag for IPv4 pcb entries, because netstat needs it
to print out protocol specific pcb info.

A patch submitted by guido@gvr.org, and asmodai@wxs.nl also reported
the problem.
Thanks and sorry for your troubles.

Submitted by: guido@gvr.org
Reviewed by: shin

24 years agoAdd colldef to the list of tools. It's needed on older systems.
marcel [Sun, 12 Dec 1999 22:24:08 +0000 (22:24 +0000)]
Add colldef to the list of tools. It's needed on older systems.

24 years agoArgh, fix a stupid typo. :-(
peter [Sun, 12 Dec 1999 21:36:19 +0000 (21:36 +0000)]
Argh, fix a stupid typo. :-(

24 years agoo Add gensetdefs to the list of tools.
marcel [Sun, 12 Dec 1999 21:24:07 +0000 (21:24 +0000)]
o  Add gensetdefs to the list of tools.
o  Don't set CFLAGS in the bootstrap env. It is very likely to be
   overridden my any CFLAGS setting in /etc/make.conf. Setting it
   here is almost useless. So far, it doesn't seem necessary.

24 years agoMove mlx, ncp and nwfs to the common area, they build on the Alpha and
peter [Sun, 12 Dec 1999 21:17:08 +0000 (21:17 +0000)]
Move mlx, ncp and nwfs to the common area, they build on the Alpha and
are marked cross-platform in conf/files..

24 years agoAllow it to be compiled as cross-tool.
marcel [Sun, 12 Dec 1999 21:16:46 +0000 (21:16 +0000)]
Allow it to be compiled as cross-tool.

24 years agoZap unused CFLAGS += -DNCP
peter [Sun, 12 Dec 1999 21:15:51 +0000 (21:15 +0000)]
Zap unused CFLAGS += -DNCP

24 years agoFix pointer problem for the Alpha
peter [Sun, 12 Dec 1999 21:10:53 +0000 (21:10 +0000)]
Fix pointer problem for the Alpha

24 years agoNote that Tekram controllers are supported again.
jkh [Sun, 12 Dec 1999 21:06:44 +0000 (21:06 +0000)]
Note that Tekram controllers are supported again.

PR: 15090
Reported by: Ilmar S. Habibulin <ilmar@ints.ru>

24 years agoMove mlx from x86-only to generic. It builds on the Alpha and is in the
peter [Sun, 12 Dec 1999 21:00:42 +0000 (21:00 +0000)]
Move mlx from x86-only to generic.  It builds on the Alpha and is in the
common conf/files for the main kernel..

24 years agotime_t is an int on the Alpha, not long.
peter [Sun, 12 Dec 1999 20:59:29 +0000 (20:59 +0000)]
time_t is an int on the Alpha, not long.

24 years agoMove amr from x86-specific to generic. (it's in the generic conf/files
peter [Sun, 12 Dec 1999 20:55:49 +0000 (20:55 +0000)]
Move amr from x86-specific to generic.  (it's in the generic conf/files
in the main kernel and builds fine on the alpha here...)

24 years agoDon't waste time creating amr.h since it (and NAMR) aren't used.
peter [Sun, 12 Dec 1999 20:54:53 +0000 (20:54 +0000)]
Don't waste time creating amr.h since it (and NAMR) aren't used.

24 years agoFix a printf format problem on the Alpha, where size_t == unsigned long,
peter [Sun, 12 Dec 1999 20:53:31 +0000 (20:53 +0000)]
Fix a printf format problem on the Alpha, where size_t == unsigned long,
not unsigned int as on the x86.

24 years agoFix joy and put it back in the MI section. (yes, it works on Alpha)
peter [Sun, 12 Dec 1999 20:42:58 +0000 (20:42 +0000)]
Fix joy and put it back in the MI section.  (yes, it works on Alpha)

24 years agoMake this kld'able (#include "joy.h" no longer required as there are no
peter [Sun, 12 Dec 1999 20:39:35 +0000 (20:39 +0000)]
Make this kld'able  (#include "joy.h" no longer required as there are no
references to NJOY any more after newbusification)

24 years agoChange "atapi" (the old one) from "present but broken" to "not present".
peter [Sun, 12 Dec 1999 20:35:47 +0000 (20:35 +0000)]
Change "atapi" (the old one) from "present but broken" to "not present".

24 years agoRemove a whole bunch of "CFLAGS+= -DFSNAME" cruft. It hasn't been
peter [Sun, 12 Dec 1999 20:34:11 +0000 (20:34 +0000)]
Remove a whole bunch of "CFLAGS+= -DFSNAME" cruft.  It hasn't been
needed for ages, but keeps getting cut/pasted into new Makefiles.
(Once apon a time it was used to activate mount arguments in
 <sys/mount.h>, but that was killed with extreme prejudice long ago)

24 years agosd->da, wd->ad
cpiazza [Sun, 12 Dec 1999 19:12:45 +0000 (19:12 +0000)]
sd->da, wd->ad

24 years agoLook for disk devices rather than bdevs.
phk [Sun, 12 Dec 1999 17:43:12 +0000 (17:43 +0000)]
Look for disk devices rather than bdevs.

Approved by: grog

24 years agoBring these more into line with other modules that have .h files generated
peter [Sun, 12 Dec 1999 16:47:33 +0000 (16:47 +0000)]
Bring these more into line with other modules that have .h files generated
on the fly.

24 years agoUse the -c and -h args of vnode_if.sh to generate only the .h file that
peter [Sun, 12 Dec 1999 16:45:58 +0000 (16:45 +0000)]
Use the -c and -h args of vnode_if.sh to generate only the .h file that
we use.  The .c half is statically compiled into the kernel.  It's kinda
silly to generate a .h file on the fly that has inlines to call the
.c stuff when the .c code is fixed.

Also, zap the special treatment for VFS_KLD modules.  This treatment
applies to lots of things, not just VFS's.

24 years ago Make the cvs-supfile cover the entire repository - add the doc hierarchy.
dillon [Sun, 12 Dec 1999 16:44:26 +0000 (16:44 +0000)]
Make the cvs-supfile cover the entire repository - add the doc hierarchy.

Approved by: jkh

24 years agoUse a seperate -c and -h mode. The vnode_if.c file is compiled only into
peter [Sun, 12 Dec 1999 16:43:05 +0000 (16:43 +0000)]
Use a seperate -c and -h mode.  The vnode_if.c file is compiled only into
the kernel while the vnode_if.h header is a bunch of inlines to call the
code that is in the kernel. Generating the .h file on the fly is kinda
bogus because it has to match the one compiled into the kernel.

IMHO we should have kern/vnode_if.c and sys/vnode_if.h committed in the
tree but that's another battle.

24 years agoPut on asbestos suit and put a splcam() around the 'Mounting root from..'
peter [Sun, 12 Dec 1999 16:34:43 +0000 (16:34 +0000)]
Put on asbestos suit and put a splcam() around the 'Mounting root from..'
message to stop it splitting.  Every single scsi machine I've seen seems
to reliably collide with this and it's rather annoying.

24 years agoThe sysctl mod_xx hack is no longer required now that we have totally
peter [Sun, 12 Dec 1999 16:30:34 +0000 (16:30 +0000)]
The sysctl mod_xx hack is no longer required now that we have totally
dynamic sysctl registration.

24 years agoRemove some horrible #if 0'd code that has no hope of working now. It
peter [Sun, 12 Dec 1999 14:47:23 +0000 (14:47 +0000)]
Remove some horrible #if 0'd code that has no hope of working now.  It
used to edit the old-style isa_devtab config tables to insert a mapping
for a pci device into the isa tables so that the wdc driver could probe
it later.  This has been #if 0'd since April.

24 years agoTurn on warnings for the wd* driver with a loud pointer to ata*. This
peter [Sun, 12 Dec 1999 14:31:40 +0000 (14:31 +0000)]
Turn on warnings for the wd* driver with a loud pointer to ata*.  This
doesn't break builds, but is difficult to miss..

24 years agoReplace the svr4_sys_getdents64() routine with a port of linux_getdents() --
newton [Sun, 12 Dec 1999 11:25:33 +0000 (11:25 +0000)]
Replace the svr4_sys_getdents64() routine with a port of linux_getdents() --
differences between the VFS interface between FreeBSD and NetBSD make
it easier to pick up the Linux one than to continue development with the
NetBSD port.

This patch fixes a bug which caused duplicate filenames to be seen by
callers to svr4_sys_getdents64(), leading to malformed directory listings
from Solaris client programs.

Obtained from: The Linuxulator, with a pointer from marcel

24 years agoAvoid excessive redundancy in svr4_sys_getmsg() and svr4_sys_putmsg():
newton [Sun, 12 Dec 1999 10:28:30 +0000 (10:28 +0000)]
Avoid excessive redundancy in svr4_sys_getmsg() and svr4_sys_putmsg():
Only look up the provided descriptor in fd_ofiles[] once.

Submitted by: Ville-Pertti Keinone <will@iki.fi>

24 years agofd_revoke() shouldn't panic if the descriptor provided is not a file or
newton [Sun, 12 Dec 1999 10:27:04 +0000 (10:27 +0000)]
fd_revoke() shouldn't panic if the descriptor provided is not a file or
socket.  Return EINVAL instead.

Submitted by: Ville-Pertti Keinone <will@iki.fi>

24 years ago Add blurb on massive improvements to NFS
dillon [Sun, 12 Dec 1999 09:53:11 +0000 (09:53 +0000)]
Add blurb on massive improvements to NFS

Reviewed by: jkh

24 years agoAdd a 'warning' option for the files* files. This is intended to enable
peter [Sun, 12 Dec 1999 09:38:48 +0000 (09:38 +0000)]
Add a 'warning' option for the files* files.  This is intended to enable
giving a dire warning about certain drivers going away in the future.

24 years ago-Wall fixes.
billf [Sun, 12 Dec 1999 07:25:14 +0000 (07:25 +0000)]
-Wall fixes.

24 years ago Fix a number of server-side issues related to aborting badly formed
dillon [Sun, 12 Dec 1999 07:06:39 +0000 (07:06 +0000)]
Fix a number of server-side issues related to aborting badly formed
    NFS packets, mainly initializing structure pointers to NULL which
    are conditionally freed prior to return.

PR: kern/15249
Submitted by: Ian Dowse <iedowse@maths.tcd.ie>

24 years ago-Wall fixes.
billf [Sun, 12 Dec 1999 06:40:28 +0000 (06:40 +0000)]
-Wall fixes.

24 years ago-Wall fixes.
billf [Sun, 12 Dec 1999 06:30:46 +0000 (06:30 +0000)]
-Wall fixes.

24 years ago-Wall fixes.
billf [Sun, 12 Dec 1999 06:17:25 +0000 (06:17 +0000)]
-Wall fixes.

24 years ago Synopsis of problem being fixed: Dan Nelson originally reported that
dillon [Sun, 12 Dec 1999 06:09:57 +0000 (06:09 +0000)]
Synopsis of problem being fixed:  Dan Nelson originally reported that
    blocks of zeros could wind up in a file written to over NFS by a client.
    The problem only occurs a few times per several gigabytes of data.   This
    problem turned out to be bug #3 below.

    bug #1:

        B_CLUSTEROK must be cleared when an NFS buffer is reverted from
        stage 2 (ready for commit rpc) to stage 1 (ready for write).
        Reversions can occur when a dirty NFS buffer is redirtied with new
        data.

        Otherwise the VFS/BIO system may end up thinking that a stage 1
        NFS buffer is clusterable.  Stage 1 NFS buffers are not clusterable.

    bug #2:

        B_CLUSTEROK was inappropriately set for a 'short' NFS buffer (short
        buffers only occur near the EOF of the file).  Change to only set
        when the buffer is a full biosize (usually 8K).  This bug has no
        effect but should be fixed in -current anyway.  It need not be
        backported.

    bug #3:

        B_NEEDCOMMIT was inappropriately set in nfs_flush() (which is
typically only called by the update daemon).  nfs_flush()
        does a multi-pass loop but due to the lack of vnode locking it
        is possible for new buffers to be added to the dirtyblkhd list
        while a flush operation is going on.  This may result in nfs_flush()
        setting B_NEEDCOMMIT on a buffer which has *NOT* yet gone through its
        stage 1 write, causing only the commit rpc to be made and thus
        causing the contents of the buffer to be thrown away (never sent to
        the server).

    The patch also contains some cleanup, which only applies to the commit
    into -current.

Reviewed by: dg, julian
Originally Reported by: Dan Nelson <dnelson@emsphone.com>

24 years agoBump local version number to 1.3.4.
bp [Sun, 12 Dec 1999 05:53:02 +0000 (05:53 +0000)]
Bump local version number to 1.3.4.

24 years agoThis is Bosko Milekic's mbuf allocation waiting code. Basically, this
green [Sun, 12 Dec 1999 05:52:51 +0000 (05:52 +0000)]
This is Bosko Milekic's mbuf allocation waiting code.  Basically, this
means that running out of mbuf space isn't a panic anymore, and code
which runs out of network memory will sleep to wait for it.

Submitted by: Bosko Milekic <bmilekic@dsuper.net>
Reviewed by: green, wollman

24 years agoUpdate to version 1.3.4 of ncplib. Cleanup header files.
bp [Sun, 12 Dec 1999 05:50:07 +0000 (05:50 +0000)]
Update to version 1.3.4 of ncplib. Cleanup header files.

24 years agoI shouldn't have incremented PART_OFF; it was wrong and broke label
jkh [Sun, 12 Dec 1999 04:58:02 +0000 (04:58 +0000)]
I shouldn't have incremented PART_OFF; it was wrong and broke label
display to boot.  Also fix some various warning fluff while I'm in
here cleaning up.

24 years agoWhen booting verbose, indicate if we are using manual termination
gibbs [Sun, 12 Dec 1999 04:54:14 +0000 (04:54 +0000)]
When booting verbose, indicate if we are using manual termination
settings for U2 cards.

Don't assume that all aic7859 cards are 2930CUs.

24 years agoMove the wakeup_one() prototype from proc.h to systm.h. It now hangs
green [Sun, 12 Dec 1999 04:21:27 +0000 (04:21 +0000)]
Move the wakeup_one() prototype from proc.h to systm.h.  It now hangs
out with it's sibling, wakeup().

24 years agoBuild a.out tools if MACHINE_ARCH == i386 and MACHINE == pc98.
nyan [Sun, 12 Dec 1999 03:54:58 +0000 (03:54 +0000)]
Build a.out tools if MACHINE_ARCH == i386 and MACHINE == pc98.
The boot2 for pc98 is still a.out program.

I made the original patch, and many problems were fixed by Marcel Moolenaar.

24 years ago Remove accidental pollution unrelated to previous commit. The issue
dillon [Sun, 12 Dec 1999 03:28:14 +0000 (03:28 +0000)]
Remove accidental pollution unrelated to previous commit.  The issue
    here is real but has not yet been discussed with Eivind.

24 years ago-Wall fixes.
billf [Sun, 12 Dec 1999 03:22:37 +0000 (03:22 +0000)]
-Wall fixes.

24 years ago Add MAP_NOSYNC feature to mmap(), and MADV_NOSYNC and MADV_AUTOSYNC to
dillon [Sun, 12 Dec 1999 03:19:33 +0000 (03:19 +0000)]
Add MAP_NOSYNC feature to mmap(), and MADV_NOSYNC and MADV_AUTOSYNC to
    madvise().

    This feature prevents the update daemon from gratuitously flushing
    dirty pages associated with a mapped file-backed region of memory.  The
    system pager will still page the memory as necessary and the VM system
    will still be fully coherent with the filesystem.  Modifications made
    by other means to the same area of memory, for example by write(), are
    unaffected.  The feature works on a page-granularity basis.

    MAP_NOSYNC allows one to use mmap() to share memory between processes
    without incuring any significant filesystem overhead, putting it in
    the same performance category as SysV Shared memory and anonymous memory.

Reviewed by: julian, alc, dg

24 years ago-Wall fixes.
billf [Sun, 12 Dec 1999 03:04:17 +0000 (03:04 +0000)]
-Wall fixes.

24 years agoFinally give mk_cmds(1) a man page.
chris [Sun, 12 Dec 1999 02:43:07 +0000 (02:43 +0000)]
Finally give mk_cmds(1) a man page.

PR: docs/4691
Submitted by: Jeroen Ruigrok/Asmodai <asmodai@wxs.nl>

24 years agomake sb dependant on sbc
cg [Sun, 12 Dec 1999 02:30:19 +0000 (02:30 +0000)]
make sb dependant on sbc
add support for non-pnp cards to sbc
move card identification to sbc
channel-swapping code is in sb now instead of dsp
vibra16x support is still broken, but will be fixed soon

note: sbc is now compulsory for sb cards

for pnp cards use:
device sbc0

for non-pnp cards eg:
device sbc0 at isa? port 0x240 irq 5 drq 3 flags 0x15
(hints as oldpcm)

both in addition to:
device pcm0

Reviewed by: tanimura,dfr
Said he liked it: peter

24 years ago-Wall cleanup.
billf [Sun, 12 Dec 1999 02:29:54 +0000 (02:29 +0000)]
-Wall cleanup.

24 years agomove channel-swapping support to the hardware driver since it knows the card
cg [Sun, 12 Dec 1999 02:18:58 +0000 (02:18 +0000)]
move channel-swapping support to the hardware driver since it knows the card
state best

24 years agoincrease buffer size, reduce number of channels allocated since we only use
cg [Sun, 12 Dec 1999 02:16:14 +0000 (02:16 +0000)]
increase buffer size, reduce number of channels allocated since we only use
1 at the moment

24 years agoSuport multiple ``ifconfig_*?="DHCP"'' configurations.
obrien [Sun, 12 Dec 1999 01:58:30 +0000 (01:58 +0000)]
Suport multiple ``ifconfig_*?="DHCP"'' configurations.

Currently we have a problem in that `dhclient' bails when configuring the
second interface as port 68 is already in use (by the `dhclient' started
for the first interface).

PR: 14810
Submitted by: n_hibma

24 years agoDo not add routes for localhost to the `dhclient' controlled interface.
obrien [Sun, 12 Dec 1999 01:04:36 +0000 (01:04 +0000)]
Do not add routes for localhost to the `dhclient' controlled interface.
Doing so is bogus if the loop-back interface was not configured.

Typically ``network_interfaces="auto"'' will return the list of
interfaces such that "lo0" is not first.  Thus there are times when
`dhclient' configs an interface before "lo0" is configured.

Under BSD4.4, there's no need to add the above route, as it will be
automatically generated by the kernel.

PR: conf/14098, misc/15183
Submitted by: luoqi (true identification of the problem)

24 years agoQuirk all Pioneer changers as changers up front, instead of waiting for the
ken [Sat, 11 Dec 1999 23:00:44 +0000 (23:00 +0000)]
Quirk all Pioneer changers as changers up front, instead of waiting for the
second LUN to show up.

mjacob's change (which is correct) in rev 1.21 of cam_periph.c to elminiate
infinite retries of the SCSI busy status bit seems to have broken probing
of Pioneer changers that aren't already quirked.

The right way to fix this is probably to change things around so we can
guarantee 100% sequential probing of LUN-based changers even if they aren't
quirked.  This should fix things for now, though.

24 years agoTrim to 24 lines. Yeah, I know, looks ugly.
dcs [Sat, 11 Dec 1999 22:31:50 +0000 (22:31 +0000)]
Trim to 24 lines. Yeah, I know, looks ugly.

24 years agoAdd reference to hier(7). This gets motd just over 25 lines. I'm
dcs [Sat, 11 Dec 1999 21:43:38 +0000 (21:43 +0000)]
Add reference to hier(7). This gets motd just over 25 lines. I'm
don't like it, but I think this can greatly ease the learning curve
of Linux-immigrants.

Approved by: jkh

24 years agoreactivate cvs subdir build
peter [Sat, 11 Dec 1999 17:32:07 +0000 (17:32 +0000)]
reactivate cvs subdir build

24 years agoDon't add MACHINE_ARCH to MAKEOBJDIRPREFIX when not cross-building.
marcel [Sat, 11 Dec 1999 17:05:36 +0000 (17:05 +0000)]
Don't add MACHINE_ARCH to MAKEOBJDIRPREFIX when not cross-building.
This should fix make release.

Reported by: jhay, phk

24 years agoLock reporting and assertion changes.
eivind [Sat, 11 Dec 1999 16:13:02 +0000 (16:13 +0000)]
Lock reporting and assertion changes.
* lockstatus() and VOP_ISLOCKED() gets a new process argument and a new
  return value: LK_EXCLOTHER, when the lock is held exclusively by another
  process.
* The ASSERT_VOP_(UN)LOCKED family is extended to use what this gives them
* Extend the vnode_if.src format to allow more exact specification than
  locked/unlocked.

This commit should not do any semantic changes unless you are using
DEBUG_VFS_LOCKS.

Discussed with: grog, mch, peter, phk
Reviewed by: peter

24 years agoUpdate files generated by configure.
peter [Sat, 11 Dec 1999 15:12:37 +0000 (15:12 +0000)]
Update files generated by configure.

24 years agoSomething went wrong with an earlier commit and these files ended up
jdp [Sat, 11 Dec 1999 15:12:31 +0000 (15:12 +0000)]
Something went wrong with an earlier commit and these files ended up
empty.  Fix that with help from grog.

24 years agoUnmangle cvs's MD5* calls.
peter [Sat, 11 Dec 1999 15:10:02 +0000 (15:10 +0000)]
Unmangle cvs's MD5* calls.

24 years agoTake a shot at using mkstemp() since we have a __warn_references() on
peter [Sat, 11 Dec 1999 14:58:02 +0000 (14:58 +0000)]
Take a shot at using mkstemp() since we have a __warn_references() on
the other temporary file creation functions..

24 years agoWhile comparing this with OpenBSD (ie: trying to figure out what mkstemps()
peter [Sat, 11 Dec 1999 14:48:24 +0000 (14:48 +0000)]
While comparing this with OpenBSD (ie: trying to figure out what mkstemps()
is good for... :-)), I discovered that part of the change when mkstemps()
was brought in was missed - it was missing the termination case to make
sure it doesn't walk into the suffix.  This isn't the same code OpenBSD
has, I think this is a little better as we terminate the loop in a better
spot.

24 years agoCheck in correct versions of files. Somehow null files got committed
grog [Sat, 11 Dec 1999 14:27:12 +0000 (14:27 +0000)]
Check in correct versions of files.  Somehow null files got committed
last time.

There's a possibility that there are still things wrong with the
commit.  I wasn't able to build the version I committed, and I won't
be for another few days.  If any committer finds further omissions,
the original source archive is on freefall:~grog/picobsd.tar.gz.  Feel
free to correct.

Reported-by: "Louis A. Mamakos" <louie@TransSys.COM>
24 years agoInstall include files with mode 444.
marcel [Sat, 11 Dec 1999 13:38:04 +0000 (13:38 +0000)]
Install include files with mode 444.

24 years agoMerge error. rcs_lockfile is freed after unlock.
peter [Sat, 11 Dec 1999 13:19:17 +0000 (13:19 +0000)]
Merge error. rcs_lockfile is freed after unlock.

24 years agoUpdate for 1.10.7 update.
peter [Sat, 11 Dec 1999 13:11:47 +0000 (13:11 +0000)]
Update for 1.10.7 update.

24 years agoMerge cyclic changes from 1.10.7 into our mainline. I did this seperately
peter [Sat, 11 Dec 1999 13:00:18 +0000 (13:00 +0000)]
Merge cyclic changes from 1.10.7 into our mainline.  I did this seperately
as cvs update -j had kittens over the whole thing and I ended up merging
it by hand.

24 years agoMerge cyclic changes for 1.10.7 only our mainline.
peter [Sat, 11 Dec 1999 12:50:10 +0000 (12:50 +0000)]
Merge cyclic changes for 1.10.7 only our mainline.

24 years agoRevert to vendor version. Sigh, this left the vendor branch because
peter [Sat, 11 Dec 1999 12:42:49 +0000 (12:42 +0000)]
Revert to vendor version.  Sigh, this left the vendor branch because
of a fix for a y2k non-problem. :-(

24 years agoThis commit was generated by cvs2svn to compensate for changes in r54427,
peter [Sat, 11 Dec 1999 12:24:21 +0000 (12:24 +0000)]
This commit was generated by cvs2svn to compensate for changes in r54427,
which included commits to RCS files with non-trunk default branches.

24 years agoImport cvs-1.10.7. There are a number of nasty bugs that have been fixed.
peter [Sat, 11 Dec 1999 12:24:21 +0000 (12:24 +0000)]
Import cvs-1.10.7.  There are a number of nasty bugs that have been fixed.

Obtained from:  cyclic.com

24 years agoTurn off cvs for a moment pending import of a newer version..
peter [Sat, 11 Dec 1999 12:12:54 +0000 (12:12 +0000)]
Turn off cvs for a moment pending import of a newer version..

24 years agoReclaim UPAGES_HOLE (8k) that was chopped out of process address space.
peter [Sat, 11 Dec 1999 10:54:06 +0000 (10:54 +0000)]
Reclaim UPAGES_HOLE (8k) that was chopped out of process address space.
The UPAGES have not been there since Jan '96, but the hole was preserved
for BSD/OS binary compatability.  This has been fixed other ways (%ebx
now has a pointer to PS_STRINGS), and the stack is nowhere near where
it used to be so this hack isn't required anymore.

24 years agoDon't simulate a pseudo address-space beyond VM_MAXUSER_ADDRESS that
peter [Sat, 11 Dec 1999 10:21:34 +0000 (10:21 +0000)]
Don't simulate a pseudo address-space beyond VM_MAXUSER_ADDRESS that
maps onto the upages.  We used to use this extensively, particularly
for ps and gdb.  Both of these have been "fixed".  ps gets the p_stats
via eproc along with all the other stats, and gdb uses the regs, fpregs
etc files.

Once apon a time the UPAGES were mapped here, but that changed back
in January '96.  This essentially kills my revisions 1.16 and 1.17.
The 2-page "hole" above the stack can be reclaimed now.

24 years agoAllow kernel accesses to a small region of the user stack which is used
dfr [Sat, 11 Dec 1999 09:58:06 +0000 (09:58 +0000)]
Allow kernel accesses to a small region of the user stack which is used
by the Linux emulator (and other emulators) for syscall argument
translation. The x86 port currently seems to allow unrestricted kernel
accesses to user memory.

Reviewed by: alc, gallatin

24 years agobktr driver 2.06 changelog
roger [Sat, 11 Dec 1999 07:33:36 +0000 (07:33 +0000)]
bktr driver 2.06 changelog

24 years agoAccording to RFC 793, a reset should be honored if the sequence number
jlemon [Sat, 11 Dec 1999 04:05:52 +0000 (04:05 +0000)]
According to RFC 793, a reset should be honored if the sequence number
is within the receive window.  Follow this behavior, instead of only
allowing resets at last_ack_sent.

Pointed out by: jayanth@yahoo-inc.com