]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
20 years agoAdd two spare elements for planned but not yet implemented stuff related
phk [Fri, 10 Sep 2004 20:49:30 +0000 (20:49 +0000)]
Add two spare elements for planned but not yet implemented stuff related
to device driver unloading.  Adding these two now and MT5'ing them will
allow us to preserve binary compatibility on RELENG_5 when these facilities
are MFC'ed.

MT5 Candiate.

20 years agoAdd mkuzip(8), non-GPL utility to compress filesystem images for use with
sobomax [Fri, 10 Sep 2004 20:17:31 +0000 (20:17 +0000)]
Add mkuzip(8), non-GPL utility to compress filesystem images for use with
geom_uzip module. This is based on utility I wrote some 3 years ago for a
hack for md(4), which functionally was close to what geom_uzip does today.

Since I don't have a time to test that it compiles/works on other arches,
stick it to i386 only. Will do it later.

Unlike original cloop util, this one embedds FreeBSD-compatible shell code
into the generated image, not Linux one. Unfortunately severe space
restriction imposed by the CLOOP format doesn't allow to put conditional
code which will work both on Linux and FreeBSD. In fact it was quite a
challenge to fit necessary FreeBSD code into 127 bytes. ;-)

20 years agoFix oversight reported by Norikatsu Shigemura for the "sym" driver
se [Fri, 10 Sep 2004 19:35:44 +0000 (19:35 +0000)]
Fix oversight reported by Norikatsu Shigemura for the "sym" driver
(which was derived from the "ncr" driver) and add a MODULE_DEPEND
on "cam".

MT5 candidate, IMHO.
MFC after: 1 week

20 years agoAdd netrate (netreceive, netsend), a tool for generating (and sinking)
rwatson [Fri, 10 Sep 2004 19:09:50 +0000 (19:09 +0000)]
Add netrate (netreceive, netsend), a tool for generating (and sinking)
UDP packets of specified size at a fixed rate.  I've been using this for
netperf-related testing.

20 years agoMake it depend on PCI as well.
mjacob [Fri, 10 Sep 2004 18:39:02 +0000 (18:39 +0000)]
Make it depend on PCI as well.

Submitted by: Stefan eSSer

20 years agoMake sym depend, as a module, on cam.
mjacob [Fri, 10 Sep 2004 17:57:33 +0000 (17:57 +0000)]
Make sym depend, as a module, on cam.

Submitted by:"Norikatsu Shigemura" <nork@FreeBSD.org>

20 years agoRemove the debugging tunable, it was not being used.
trhodes [Fri, 10 Sep 2004 15:14:50 +0000 (15:14 +0000)]
Remove the debugging tunable, it was not being used.
Enable first match by default.[1]

We should: rwatson [1]

20 years agoI found "portsdb -u" dumps core with recent INDEX file, and this is
kuriyama [Fri, 10 Sep 2004 14:45:00 +0000 (14:45 +0000)]
I found "portsdb -u" dumps core with recent INDEX file, and this is
caused by refering broken (uninitialized?) pointer which is retrieved
from __bt_new() (and from mpool_new()).

I don't know why this linp[0] is read before stored because this
should be controlled by .lower and .upper member of PAGE structure
which are correctly initialized.

But this workaround fixes the problem on my environment and this
module has #ifdef PURIFY option which initializes new and reused
memory from mpool by memset(p, 0xff, size) like as I did.

Please feel free to fix the real bug instead of my workaround.

20 years agoSync with recent English versions
den [Fri, 10 Sep 2004 13:56:41 +0000 (13:56 +0000)]
Sync with recent English versions

MFC after: 2 days

20 years agoo Initialize a local variable and make gcc happy.
maxim [Fri, 10 Sep 2004 13:42:24 +0000 (13:42 +0000)]
o Initialize a local variable and make gcc happy.

PR: bin/71485
Submitted by: Jukka A. Ukkonen

20 years agoFix a type bug which sometimes wrote unusable lock sectors on the disk.
phk [Fri, 10 Sep 2004 12:16:54 +0000 (12:16 +0000)]
Fix a type bug which sometimes wrote unusable lock sectors on the disk.

20 years agoReduce the amount of memory reported to busdma.
sos [Fri, 10 Sep 2004 10:31:37 +0000 (10:31 +0000)]
Reduce the amount of memory reported to busdma.
This made the requirements for bouncebuffers too big with PAE.
Cleanup the way size defines for transfers are implemented.

20 years agoConvert sndstat_lock from a mutex to an sx lock. sndstat_read()
truckman [Fri, 10 Sep 2004 09:37:06 +0000 (09:37 +0000)]
Convert sndstat_lock from a mutex to an sx lock.  sndstat_read()
holds sndstat_lock across a call to uiomove(), which is not legal
to do with a  mutex because of the possibility that the data transfer
could sleep because of a page fault.  It is not possible to just
unlock the mutex for the uiomove() call without introducing another
locking mechanism to prevent the body of sndstat_read() from being
re-entered.  Converting sndstat_lock to an sx lock is the least
complicated change.

This is a candidate for RELENG_5.

LOR: 030
MFC after: 4 days

20 years agoRemove spare ")"
brueffer [Fri, 10 Sep 2004 07:54:05 +0000 (07:54 +0000)]
Remove spare ")"

MFC after: 3 days

20 years agoBetter fix the busdma problem exposed by ATA. With the CMD 646 for
marcel [Fri, 10 Sep 2004 07:00:28 +0000 (07:00 +0000)]
Better fix the busdma problem exposed by ATA. With the CMD 646 for
example the maximum segment size is 64K while the boundary is set
to 8K due to controller limitations. It is impossible to NOT cross
the boundary for any segment size that's larger than the boundary.
So, once we inherited the boundary from the parent tag, make sure
to reduce the maximum segment size to the boundary if it was larger.

MT5 candidate.

20 years agoFix a problem mentioned in the previous revision in a different,
ru [Fri, 10 Sep 2004 06:48:04 +0000 (06:48 +0000)]
Fix a problem mentioned in the previous revision in a different,
non-intrusive way.  This should also fix the PowerPC build that
broke due to this change.

20 years agoFix format strings to unbreak with -DDEBUG option.
kuriyama [Fri, 10 Sep 2004 05:44:17 +0000 (05:44 +0000)]
Fix format strings to unbreak with -DDEBUG option.

20 years agoThe previous commit, roughly one and a half years ago removed the
marcel [Fri, 10 Sep 2004 05:00:27 +0000 (05:00 +0000)]
The previous commit, roughly one and a half years ago removed the
branch prediction optimization for LINT, because the kernel was too
large. This commit now removes it altogether since it causes build
failures for GENERIC kernels and the various applicable trends are
such that one can expect that it these failure will cause more
problems than they're worth in the future. These trends include:
1. Alpha was demoted from tier 1 to tier 2 due to lack of active
   support. The number of people willing to fix build breakages
   is not likely to increase and those developers that do have the
   gumption to test MI changes on alpha are not likely to spend
   time fixing unexpected build failures first.
2. The kernel will only increase in size. Even though stripped-down
   kernels do link without problems now, compiler optimizations (like
   inlining) and new (non-optional) functionality will likely cause
   stripped-down kernels to break in the future as well.

So, with my asbestos suit on, get rid of potential problems before
they happen.

MT5 candidate.

20 years agoremove giant required from kqueue_close..
jmg [Fri, 10 Sep 2004 03:14:32 +0000 (03:14 +0000)]
remove giant required from kqueue_close..

Reported by: kuriyama
MFC after: 3 days

20 years ago- grammar fixes
brueffer [Fri, 10 Sep 2004 00:47:43 +0000 (00:47 +0000)]
- grammar fixes
- fix path to a source file

MFC after: 3 days

20 years agoConnect cnw.4 to the build.
brueffer [Fri, 10 Sep 2004 00:07:00 +0000 (00:07 +0000)]
Connect cnw.4 to the build.

MFC after: 5 days

20 years agoAdd a manpage for the cnw(4) driver, adopted from NetBSD.
brueffer [Thu, 9 Sep 2004 23:49:19 +0000 (23:49 +0000)]
Add a manpage for the cnw(4) driver, adopted from NetBSD.

MFC after: 5 days

20 years ago- add a HARDWARE section based on the driver README
brueffer [Thu, 9 Sep 2004 23:41:03 +0000 (23:41 +0000)]
- add a HARDWARE section based on the driver README
- capitalization fixes
- bump document date

MFC after: 3 days

20 years agoAdd the .h files to the .o dependency lists so the .h's are created before
obrien [Thu, 9 Sep 2004 20:47:58 +0000 (20:47 +0000)]
Add the .h files to the .o dependency lists so the .h's are created before
trying to build the .o's.

20 years agoAdd comments about why we're freeing subdevs (which is completely
imp [Thu, 9 Sep 2004 20:47:28 +0000 (20:47 +0000)]
Add comments about why we're freeing subdevs (which is completely
redundant at this point and should be retired).  Don't free subdevs if
we don't attach any devices.  This was leaving stale device_t's
around.  Don't touch the device if it isn't attached since the name
isn't meaningful then.  Switch from strncpy (properly used) to
strlcpy.

From a patch submitted by Peter Pentchev

20 years agoWe don't need a uhub_child_detached() routine now that we don't detach
imp [Thu, 9 Sep 2004 20:43:49 +0000 (20:43 +0000)]
We don't need a uhub_child_detached() routine now that we don't detach
device_t instances when no driver attaches.  They are left around, and
we need to remember them.

# The usbd_device_handle->subdevs[] array likely is completely bogus
# at this point, but one change at a time, since its removal will need
# to have similar code replace it extracted from newbus.

Part of the patch submitted by Peter Pentchev after an excellent
analysis of the underlying problems.

MFC After: 1 week

20 years agoTeach the stack trace code how to step across a double fault when stepping
jhb [Thu, 9 Sep 2004 20:39:31 +0000 (20:39 +0000)]
Teach the stack trace code how to step across a double fault when stepping
across frames.  Basically, if the current frame is for the
'dblfault_handler' function, then get the next %eip and %ebp values to use
from the original TSS of the thread that has the saved state when the
double fault triggered.

MFC after: 4 days

20 years agoShame on me. I screwed up product ID for the 3COM Bluetooth PC-Card.
emax [Thu, 9 Sep 2004 18:48:09 +0000 (18:48 +0000)]
Shame on me. I screwed up product ID for the 3COM Bluetooth PC-Card.
It's 0x0040 not 0x0400.

MFC after: 3 days

20 years agoFor the moment, back out my back out of green's 1.87 commit. While it
imp [Thu, 9 Sep 2004 17:49:53 +0000 (17:49 +0000)]
For the moment, back out my back out of green's 1.87 commit.  While it
produced better results for a test program I had here, it didn't
substantially change the number of crashes that I saw.  Both the old
code and the new code seemed to produce the same crashes from the usb
layer.  Since the new code also solves a close() crash, go with it
until the underlying issues wrt devices going away can be addressed.

20 years agoUse the recently introduced RES_DFLRETRY parameter instead of a well-hidden
yar [Thu, 9 Sep 2004 17:42:18 +0000 (17:42 +0000)]
Use the recently introduced RES_DFLRETRY parameter instead of a well-hidden
constant for the default number of retries.

20 years agoAdd the macro RES_DFLRETRY long-promised by resolver(5).
yar [Thu, 9 Sep 2004 17:39:47 +0000 (17:39 +0000)]
Add the macro RES_DFLRETRY long-promised by resolver(5).
It specifies the default number of retries per a name server.
This makes the code consistent with the manpage and allows to
kill another constant in res_init.c that should have been a
#define'd parameter.  (This appears to be a case when the manpage
was better than the code, so the latter was to be fixed.)

PR: bin/62139 (in the audit trail)

20 years agoImprove the description of "timeout" and "attempts" resolver
yar [Thu, 9 Sep 2004 17:19:27 +0000 (17:19 +0000)]
Improve the description of "timeout" and "attempts" resolver
options to avoid user confusion from now on.

PR: bin/62139 (inspired by)

20 years agosparc64 is not ready for PREEMPTION, so turn it off for now.
scottl [Thu, 9 Sep 2004 17:03:53 +0000 (17:03 +0000)]
sparc64 is not ready for PREEMPTION, so turn it off for now.

20 years agoRestore NetBSD SCM ID.
obrien [Thu, 9 Sep 2004 16:41:55 +0000 (16:41 +0000)]
Restore NetBSD SCM ID.

Submitted by: delphij@beastie.frontfree.net

20 years agoRelease the hold on ata_delayed_attach earlier so we can use tsleep
sos [Thu, 9 Sep 2004 13:25:46 +0000 (13:25 +0000)]
Release the hold on ata_delayed_attach earlier so we can use tsleep
in the boot probe as well.

Suggested by: gibbs

20 years agoCheck flag do_bridge always, even if kernel was compiled without
glebius [Thu, 9 Sep 2004 12:34:07 +0000 (12:34 +0000)]
Check flag do_bridge always, even if kernel was compiled without
BRIDGE support. This makes dynamic bridge.ko working.

Reviewed by: sam
Approved by: julian (mentor)
MFC after: 1 week

20 years agoDo not call xl_init_locked() unconditionally when we are bringed UP. Call
glebius [Thu, 9 Sep 2004 12:16:29 +0000 (12:16 +0000)]
Do not call xl_init_locked() unconditionally when we are bringed UP. Call
it only if we weren't UP before. In some cases xl_init causes long media
re-negotiation, and ppp(8) fails to open PPPoE connection because it sets
IFF_UP every time before opening PPPoE connection.

PR: kern/69133
Patch by: mdodd
Approved by: wpaul, julian (mentor)
MFC after: 1 week

20 years agobump .Dd
alfred [Thu, 9 Sep 2004 10:54:08 +0000 (10:54 +0000)]
bump .Dd

requested by: ru

20 years agoThe disk labels generated by bsdlabel can no address more than
brooks [Thu, 9 Sep 2004 07:46:53 +0000 (07:46 +0000)]
The disk labels generated by bsdlabel can no address more than
0xffffffff sectors.  Document this limit and avoid installing bogus
labels on disks with more sectors.

Allowing the installation of labels addressing as much of the disk as
possiable may be a useful addition in some situations, but this was easy
to implement and should reduce confusion.

PR: bin/71408

20 years agoHard code witness lock order for BPF locks.
rwatson [Thu, 9 Sep 2004 05:01:37 +0000 (05:01 +0000)]
Hard code witness lock order for BPF locks.

20 years agoReformulate bpf_dettachd() to acquire the BIF_LOCK() as well as
rwatson [Thu, 9 Sep 2004 04:11:12 +0000 (04:11 +0000)]
Reformulate bpf_dettachd() to acquire the BIF_LOCK() as well as
BPFD_LOCK() when removing a descriptor from an interface descriptor
list.  Hold both over the operation, and do a better job at
maintaining the invariant that you can't find partially connected
descriptors on an active interface descriptor list.

This appears to close a race that resulted in the kernel performing
a NULL pointer dereference when BPF sessions are detached during
heavy network activity on SMP systems.

RELENG_5 candidate.

20 years agoPlug an fd leak by using autoh_freeall(3).
alfred [Thu, 9 Sep 2004 01:26:11 +0000 (01:26 +0000)]
Plug an fd leak by using autoh_freeall(3).
Refuse to run unless root.
Check in /etc, /usr/local/etc and ./ for the "autotab" configuration
file.
Add more debug statements.

20 years agoAdd/document autoreq_getxid(3), which gets the autofs request
alfred [Thu, 9 Sep 2004 01:23:27 +0000 (01:23 +0000)]
Add/document autoreq_getxid(3), which gets the autofs request
transaction id from the request, this is useful for debugging.

Fix the autoh_freeall(3) function to properly free the array of
auto handles.  Before it was freeing individual members of the list
OK, however it was then advancing the pointer and freeing the wrong
data for the whole list.

20 years agoReformulate use of linked lists in 'struct bpf_d' and 'struct bpf_if'
rwatson [Thu, 9 Sep 2004 00:19:27 +0000 (00:19 +0000)]
Reformulate use of linked lists in 'struct bpf_d' and 'struct bpf_if'
to use queue(3) list macros rather than hand-crafted lists.  While
here, move to doubly linked lists to eliminate iterating lists in
order to remove entries.  This change simplifies and clarifies the
list logic in the BPF descriptor code as a first step towards revising
the locking strategy.

RELENG_5 candidate.

Reviewed by: fenner

20 years agoCompare/set pointers using NULL not 0.
rwatson [Thu, 9 Sep 2004 00:11:50 +0000 (00:11 +0000)]
Compare/set pointers using NULL not 0.

20 years agoadd support for documented readonly option...
jmg [Wed, 8 Sep 2004 20:28:29 +0000 (20:28 +0000)]
add support for documented readonly option...
also print out the option that is unknow so that the user knows what (s)he
did wrong..

MFC after: 3 days

20 years agoRemove debug output.
alfred [Wed, 8 Sep 2004 20:08:18 +0000 (20:08 +0000)]
Remove debug output.

20 years agoFix a .Fn that should be an .Fa.
alfred [Wed, 8 Sep 2004 19:47:29 +0000 (19:47 +0000)]
Fix a .Fn that should be an .Fa.
Clear up the spelling and language when describing how to select/poll for
an autofs event.

20 years agoClean up rev 1.49 by using the temperature conversion for _PSV also and
njl [Wed, 8 Sep 2004 19:36:07 +0000 (19:36 +0000)]
Clean up rev 1.49 by using the temperature conversion for _PSV also and
wrap a long line.

20 years agoUse atomic ops in pmap_clear_ptes() to prevent SMP races that could
alc [Wed, 8 Sep 2004 18:58:29 +0000 (18:58 +0000)]
Use atomic ops in pmap_clear_ptes() to prevent SMP races that could
result in the loss of an accessed or modified bit from the pte.

In collaboration with: tegge@

MT5 candidate

20 years agoDo not compile in zlib.c. Add a dependency on module instead.
fjoe [Wed, 8 Sep 2004 17:27:31 +0000 (17:27 +0000)]
Do not compile in zlib.c. Add a dependency on module instead.

20 years agoShow current status of mirror device directly.
pjd [Wed, 8 Sep 2004 16:37:22 +0000 (16:37 +0000)]
Show current status of mirror device directly.

Suggested by: Krzysztof CiepĀ³ucha <kris@home.pl>

20 years agoMake the output more suitable for use in a frameset.
des [Wed, 8 Sep 2004 16:04:38 +0000 (16:04 +0000)]
Make the output more suitable for use in a frameset.

20 years agoReduce the size of struct defid's defid_dirclust, defid_dirofs and
tjr [Wed, 8 Sep 2004 13:03:19 +0000 (13:03 +0000)]
Reduce the size of struct defid's defid_dirclust, defid_dirofs and
(disabled) defid_gen members from u_long to u_int32_t so that alignment
requirements don't cause the structure to become larger than struct fid
on LP64 platforms. This fixes NFS exports of msdos filesystems on at
least amd64.

PR: 71173

20 years agoBack out v1.24. v1.40 of sys/sparc64/sparc64/bus_machdep.c fixes the
kensmith [Wed, 8 Sep 2004 12:52:45 +0000 (12:52 +0000)]
Back out v1.24.  v1.40 of sys/sparc64/sparc64/bus_machdep.c fixes the
problem this hack was put in place for.

MFC to be done if the fix to bus_machdep.c is MFC-ed.

20 years agoMerge from NetBSD:
tjr [Wed, 8 Sep 2004 11:25:41 +0000 (11:25 +0000)]
Merge from NetBSD:
Fix a problem in previous: we can't blindly assume that we have
wincnt entries available at the offset the file has been found. If the dos
directory entry is not preceded by appropriate number of long name
entries (happens e.g. when the filesystem is corrupted, or when
the filename complies to DOS rules and doesn't use any long name entry),
we would overwrite random directory entries.

There are still some problems, the whole thing has to be revisited and solved
right.

Submitted by: Xin LI

20 years agoMerge from NetBSD:
tjr [Wed, 8 Sep 2004 10:57:09 +0000 (10:57 +0000)]
Merge from NetBSD:
Fix a panic that occurred when trying to traverse a corrupt msdosfs
filesystem.  With this particular corruption, the code in pcbmap()
would compute an offset into an array that was way out of bounds,
so check the bounds before trying to access and return an error if
the offset would be out of bounds.

Submitted by: Xin LI

20 years agosync with private code:
alfred [Wed, 8 Sep 2004 08:44:14 +0000 (08:44 +0000)]
sync with private code:

fix a 5.x'ism that 4.x needs protection from.
make this code compile standalone.

20 years agoFixed sound-related hints. (Yes, this is ambiguous but matches reality.)
ru [Wed, 8 Sep 2004 08:42:36 +0000 (08:42 +0000)]
Fixed sound-related hints.  (Yes, this is ambiguous but matches reality.)

Reviewed by: matk, cg (an earlier version)
MT5 after: 3 days

20 years agoUpdate sound-related manpages to account for the recent change in
ru [Wed, 8 Sep 2004 08:28:02 +0000 (08:28 +0000)]
Update sound-related manpages to account for the recent change in
device and module naming.  The following files were repo-copied:

csa.4 -> snd_csa.4
gusc.4 -> snd_gusc.4
maestro3.4 -> snd_maestro3.4
sbc.4 -> snd_sbc.4
uaudio.4 -> snd_uaudio.4

The pcm(4) manpage wasn't renamed to sound(4) as there are nearby
plans to rename "device sound" to "device snd", to address the
ambiguity in naming, so pcm.4 is linked to sound.4 for the moment.
(We also mumble something about the future plans in the manpage.)

Removed links from pcm.4 to als4000.4 and emu10k1.4 -- they now
have their own snd_*.4 manpages.

Fixes for recent snd_*.4 manpages: added missing "device sound"
to the SYNOPSIS, fixed hints (they are still "hint.pcm.<unit>"
in most cases).

MT5 after: 3 days

20 years agoFix/clean up return values checking.
pjd [Wed, 8 Sep 2004 07:57:14 +0000 (07:57 +0000)]
Fix/clean up return values checking.

20 years agoBack out 1.88.
imp [Wed, 8 Sep 2004 07:13:39 +0000 (07:13 +0000)]
Back out 1.88.

The reference counts are there to block detach until the sleepers in
read/write/ioctl have gotten out, not to prevent the open device from
going away.  Restore the old behavior so that we have a chance to wake
up sleepers when the usb device goes away, so they can properly return
EIO back to the caller when this happens.

Otherwise, we have a guarnateed panic waiting to happen when a device
detaches with an active read channel.

This should be merged to 5 asap.

20 years agoCorrect a typo in a comment.
ru [Wed, 8 Sep 2004 06:05:19 +0000 (06:05 +0000)]
Correct a typo in a comment.

Submitted by: Xin LI

20 years agoFix a problem with tag->boundary inheritence that has existed since day one
scottl [Wed, 8 Sep 2004 04:54:19 +0000 (04:54 +0000)]
Fix a problem with tag->boundary inheritence that has existed since day one
and was propagated to nearly every platform.  The boundary of the child needs
to consider the boundary of the parent and pick the minimum of the two, not
the maximum.  However, if either is 0 then pick the appropriate one.
This bug was exposed by a recent change to ATA, which should now be fixed by
this change.  The alignment and maxsegsz tag attributes likely also need
a similar review in the near future.

This is a MT5 candidate.

Reviewed by: marcel
Submitted by: sos (in part)

20 years agoRe-add ifi_epoch, to struct if_data, this time replacing ifi_unused
brooks [Wed, 8 Sep 2004 04:50:55 +0000 (04:50 +0000)]
Re-add ifi_epoch, to struct if_data, this time replacing ifi_unused
to avoid ABI changes.  It is set to the last time the interface
counters were zeroed, currently the time if_attach() was called.  It is
intentended to be a valid value for RFC2233's ifCounterDiscontinuityTime
and to make it easier for applications to verify that the interface they
find at a given index is the one that was there last time they looked.

Due to space constraints ifi_epoch is a time_t rather then a struct
timeval.  SNMP would prefer higher precision, but this unlikely to be
useful in practice.

20 years agoSync the busdma code with i386. The most tangible upshot is that
marcel [Wed, 8 Sep 2004 02:55:04 +0000 (02:55 +0000)]
Sync the busdma code with i386. The most tangible upshot is that
the alignment and boundary constraints are being respected, which
fixes the reported ATA problems with SiI chips.
I consider the busdma implementation worrisome nonetheless. Not
only is there too much MI code duplicated in MD files, there's a
lot of questionable code. I smell a wholesale, cross-platform
overhaul coming...

MT5 candidate.

20 years agoRemove vinum from the list. I no longer have the time and energy to
grog [Wed, 8 Sep 2004 02:08:33 +0000 (02:08 +0000)]
Remove vinum from the list.  I no longer have the time and energy to
even review changes.

20 years agoWe don't need device counts anymore. Also remove device.hints entries
brueffer [Wed, 8 Sep 2004 00:30:30 +0000 (00:30 +0000)]
We don't need device counts anymore.  Also remove device.hints entries
for ie1, to be in line with the other manpages.

MFC after: 3 days

20 years agoWe don't need device counts anymore
brueffer [Wed, 8 Sep 2004 00:28:53 +0000 (00:28 +0000)]
We don't need device counts anymore

MFC after: 3 days

20 years agoFix a cut-n-paste glitch with SCHED_4BSD.
scottl [Tue, 7 Sep 2004 22:44:55 +0000 (22:44 +0000)]
Fix a cut-n-paste glitch with SCHED_4BSD.

20 years agoSwitch the default scheduler to 4BSD to match what will go into RELENG_5 soon.
scottl [Tue, 7 Sep 2004 22:37:43 +0000 (22:37 +0000)]
Switch the default scheduler to 4BSD to match what will go into RELENG_5 soon.
It can be switched back once 5.3 is tested and released.  Also turn on
PREEMPTION as many of the stability problems with it have been fixed.

MT5: 3 days.

20 years ago- Remove listing for NCR5380/NCR53400 and UltraStor 14F/24F/3F4;
simon [Tue, 7 Sep 2004 20:14:35 +0000 (20:14 +0000)]
- Remove listing for NCR5380/NCR53400 and UltraStor 14F/24F/3F4;
  the drivers were removed over 5 years ago.
- Note that WD7000 is supported by the wds(4) driver and move it
  to the generic SCSI section, since it was converted to CAM some time ago.
- Remove section about non-CAM drivers, since there are none left in
  the section.
- Autogenerate device listing for ct(4).

MFC after: 2 days

20 years agonew version of cryptotest (w/ only code from me)
sam [Tue, 7 Sep 2004 18:35:00 +0000 (18:35 +0000)]
new version of cryptotest (w/ only code from me)

Reviewed by: imp

20 years agoDon't change the state of the system in acpi_tz_establish(). Before, we
njl [Tue, 7 Sep 2004 17:02:08 +0000 (17:02 +0000)]
Don't change the state of the system in acpi_tz_establish().  Before, we
would turn off all fans when initializing a zone.  However, the HP Omnibook
500 generates a notify saying the zone needs to be re-evaluated whenever
its fan is switched on or off.  This produced an infinite loop.  Also, note
that running _SCP can generate the same notify.

Since we need to make sure old fan references are turned off when getting
new ones, run acpi_tz_monitor() first.  This will turn off any unneeded
fans.  Then, check for new settings.  After that, run acpi_tz_monitor()
again to turn on/off any fans referenced by the new settings.

Tested by: brooks

20 years agoInstead of trusting _STA from power resources, cache the first value
njl [Tue, 7 Sep 2004 16:58:12 +0000 (16:58 +0000)]
Instead of trusting _STA from power resources, cache the first value
returned and then infer the state from calls to _ON/_OFF.  This works
around a problem in systems that don't correctly report the state (i.e.
the HP Omnibook 500 reports "on" for its fan always after it has been
turned on once).

20 years agoMark bundle as unused in case we're compiled with NORADIUS.
phk [Tue, 7 Sep 2004 15:48:27 +0000 (15:48 +0000)]
Mark bundle as unused in case we're compiled with NORADIUS.

20 years ago[[ Forced commit due to fumble with the file used to commit with.
imp [Tue, 7 Sep 2004 15:27:10 +0000 (15:27 +0000)]
[[ Forced commit due to fumble with the file used to commit with.
   cvsgNMRSs vs cvsg4JFe3 :-( ]]

When recursing, print the target name as well as the subdirectory.
This changes the output a little, but appears to break no scripts.
These changes should make the debugging of build problems easier, as
well as explain why it appears things build 4 times (they don't,
really, since there's obj, depend, all and install).

I've been running these changes, or variations on them, for about 2
years.

Reviewed by: arch@ (des, markm, koshy, marcel, scottl)

20 years agoAlthough 'Unanimous Consent' appears to be a well defined and used in
imp [Tue, 7 Sep 2004 15:19:40 +0000 (15:19 +0000)]
Although 'Unanimous Consent' appears to be a well defined and used in
the US Senate, Canadian Parliament and Australian Senate, it was
causing some confusion.  After some consultation with Mark Murray,
change this to 'without objection' since often times a plain-speaking
term is preferable to a regionally used term.

Also, clarify that this procedure is to be used when for more mundane
matters that need a sanity check, but don't need the whole, ponderous
voting proceedure that more difficult issues require.  Core members
that read email in any given 48 hour period are trusted enough to know
the difference and to provide the sanity check as necessary.

Reviewed by: markm

20 years agoDocument the following knobs: CD_EXTRA_BITS, EXTRA_SRC, HTTP_PROXY
ru [Tue, 7 Sep 2004 14:26:02 +0000 (14:26 +0000)]
Document the following knobs: CD_EXTRA_BITS, EXTRA_SRC, HTTP_PROXY
and FTP_PROXY.  Removed bitrot (BOOT_CONFIG).

PR: misc/71465
Submitted by: Jon Passki <cykyc@yahoo.com>

20 years agoImprove markup and language.
dd [Tue, 7 Sep 2004 13:22:28 +0000 (13:22 +0000)]
Improve markup and language.

20 years agoCreate simple function init_va_filerev() for initializing a va_filerev
phk [Tue, 7 Sep 2004 09:17:05 +0000 (09:17 +0000)]
Create simple function init_va_filerev() for initializing a va_filerev
field.

Replace three instances of longhaired initialization va_filerev fields.

Added XXX comment wondering why we don't use random bits instead of
uptime of the system for this purpose.

20 years agoExplicitly pass vnode to nfs_doio() and mountpoint to nfs_asyncio().
phk [Tue, 7 Sep 2004 08:56:43 +0000 (08:56 +0000)]
Explicitly pass vnode to nfs_doio() and mountpoint to nfs_asyncio().

20 years agoExplicitly pass vnode to smbfs_doio() function.
phk [Tue, 7 Sep 2004 08:53:28 +0000 (08:53 +0000)]
Explicitly pass vnode to smbfs_doio() function.

20 years agoExplicitly pass the vnode to the nw_doio() function.
phk [Tue, 7 Sep 2004 08:53:03 +0000 (08:53 +0000)]
Explicitly pass the vnode to the nw_doio() function.

20 years agoDo the small amount of tweaking to support PAE for at least initiator mode.
mjacob [Tue, 7 Sep 2004 08:04:09 +0000 (08:04 +0000)]
Do the small amount of tweaking to support PAE for at least initiator mode.
I was unable to test this as the PAE kernel crashed with a "cannot copy
LDT" before coming up. When this gets a bit more testing, I'll fix the PAE
conf file to allow isp devices.

PR: 59728

20 years agoUse bioq_takefirst()
phk [Tue, 7 Sep 2004 07:54:45 +0000 (07:54 +0000)]
Use bioq_takefirst()

20 years agoadd KASSERTS
phk [Tue, 7 Sep 2004 07:32:40 +0000 (07:32 +0000)]
add KASSERTS

20 years agoMake the alpha timecounter preferable to the i8254.
phk [Tue, 7 Sep 2004 07:06:36 +0000 (07:06 +0000)]
Make the alpha timecounter preferable to the i8254.

20 years agofix typo
julian [Tue, 7 Sep 2004 07:04:47 +0000 (07:04 +0000)]
fix typo

MFC after: 2 days

20 years agoMake debug printf less threatenning and make it only print out once.
julian [Tue, 7 Sep 2004 06:38:22 +0000 (06:38 +0000)]
Make debug printf less threatenning and make it only print out once.

MFC after: 2 days

20 years agoGive libthr a choice (per system) of scope_system or scope_thread
julian [Tue, 7 Sep 2004 06:33:39 +0000 (06:33 +0000)]
Give libthr a choice (per system) of scope_system  or scope_thread
scheduling.

MFC after: 4 days

20 years agoFix the NOSUID build: make sure we have the kldload(2) prototype.
marcel [Tue, 7 Sep 2004 06:28:00 +0000 (06:28 +0000)]
Fix the NOSUID build: make sure we have the kldload(2) prototype.

20 years agoFix markup of HARDWARE section.
des [Tue, 7 Sep 2004 05:23:28 +0000 (05:23 +0000)]
Fix markup of HARDWARE section.

Submitted by: brueffer

20 years agoAdd uvscom(4)
brueffer [Tue, 7 Sep 2004 00:29:21 +0000 (00:29 +0000)]
Add uvscom(4)

20 years agoBuild with -DNOINET6...
brian [Mon, 6 Sep 2004 23:54:54 +0000 (23:54 +0000)]
Build with -DNOINET6...

20 years agodocument the recent change to debug.witness.*
jmg [Mon, 6 Sep 2004 23:37:17 +0000 (23:37 +0000)]
document the recent change to debug.witness.*
fix spelling of debug.witness.kdb

MFC after: 5 days

20 years agomake witness it's own sysctl branch instead of using _ to do this. I have
jmg [Mon, 6 Sep 2004 23:27:28 +0000 (23:27 +0000)]
make witness it's own sysctl branch instead of using _ to do this.  I have
left the old tunables in to give people a few days to transition their
loader.conf and sysctl.conf's over to the new names..

MFC after: 5 days

20 years ago- move list of supported devices into a HARDWARE section
brueffer [Mon, 6 Sep 2004 22:00:50 +0000 (22:00 +0000)]
- move list of supported devices into a HARDWARE section
- fix a device name
- various language fixes
- bump document date

MFC after: 3 days

20 years agoRemove layer intermixing. Device driver should pass the frame should
glebius [Mon, 6 Sep 2004 21:14:32 +0000 (21:14 +0000)]
Remove layer intermixing. Device driver should pass the frame should
pass frame to ether_input(), and do not play with bridge itself.

Reviewed by: sam, andre
Approved by: julian (mentor)
MFC after: 1 week

20 years agoAdd a missing splx().
simokawa [Mon, 6 Sep 2004 20:42:34 +0000 (20:42 +0000)]
Add a missing splx().