118594 Commits

Author SHA1 Message Date
maxim
ffe68f436b MFC rev. 1.41: typo fix. 2006-01-08 20:28:48 +00:00
maxim
ca2d8bdf75 MFC rev. 1.8: typo fix. 2006-01-08 20:25:24 +00:00
rse
15e803bc3f MFC r1.13:
1. Add missing semicolon between "warn" and "return" to make sure
   the line continuation backslash doesn't cause "warn" to print "return".
2. Group "warn" and "return" together as the "return 1" should be
   performed only if the "kldload nfsclient" also failed (and not
   already if the "vfs.nfs" sysctl(8) check failed).
2006-01-08 09:21:53 +00:00
rse
e40bea7903 MFC r1.16:
Remove superfluous line continuation backslash.
2006-01-08 09:20:47 +00:00
rse
7292abf260 MFC r1.276:
Fix semantics in the documentation of the "jail_socket_unixiproute_only"
variable ("YES" vs. "NO") and be more precise and intuitive on what is
actually allowed/restricted by this variable ("UNIX/IP/route sockets"
vs. "TCP/IP protocols").
2006-01-08 09:17:03 +00:00
netchild
ace655aecb MFC:
The ObsoleteFiles removal/test targets
	  - check-old
	  - delete-old
	  - delete-old-libs
	and the corresponding docs.

Note:	Someone may want to have a look at the man-page and perhaps MFC
	some other parts (unrelated to ObsoleteFiles).

Tested by:	bz
2006-01-07 19:40:08 +00:00
ceri
f62c4a36d2 MFC revision 1.82:
inetd(8) requires that /etc/netconfig be present, and contain entries
  for each of udp and tcp (and their IPv6 equivalents when INET6 is
  enabled).  Note that dependency here.

  PR:             docs/90435
  Submitted by:   Dmitry Kazarov <kazarov at mcm dot ru>
  Pointed out by: Daniel Gerzo <danger at rulez dot sk>
2006-01-07 13:57:58 +00:00
davidxu
6d44b4ab34 MFC following revisions:
kern_sig.c	revision 1.319
	sys_process.c	revision 1.134

	Avoid kernel panic when attaching a process which
	may not be stopped by debugger, e.g process is dumping core.
2006-01-07 11:53:49 +00:00
ceri
ac30b2fccc MFC revision 1.364:
An i386 machine with 32MB of RAM requires a 700MB disk for auto-layout to
  succeed, whilst an i386 with 256MB of RAM requires more.  Up the amount
  of disk hinted at as a minimum requisite for auto-layout.
2006-01-06 20:10:41 +00:00
cvs2svn
3dedb6104a This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2006-01-06 20:02:45 +00:00
truckman
d53465b76e Diff reduction to HEAD:
Call fill_kinfo_proc_only() instead of fill_kinfo_proc()
        before calling fill_kinfo_thread(), because fill_kinfo_proc()
        calls both fill_kinfo_proc_only() and fill_kinfo_thread().
        This is a minor optimization and there should be no change
        in functionality.

        Leading whitespace cleanup.
2006-01-05 20:23:10 +00:00
dumbbell
a7ad441477 MFC:
revision 1.2
  Don't hold a reference to the disk vnode for each inode.

Reviewed by:	mux (mentor)
2006-01-05 19:37:39 +00:00
flz
a0b0c843bd MFC:
Add a hid blacklist quirk.

      src/sys/dev/usb/usbdevs: rev 1.240
      src/sys/dev/usb/usb_quirks.c: rev 1.45
      src/sys/dev/usb/uhid.c: rev 1.78
      src/sys/dev/usb/usb_quirks.h: rev 1.20

Approved by:	pjd
2006-01-05 16:46:10 +00:00
kbyanc
e0bfda5a3c MFC:
kbyanc      2005-12-28 20:36:55 UTC

      FreeBSD src repository

      Modified files:
        usr.bin/netstat      Makefile ipsec.c main.c netstat.h
      Added files:
        usr.bin/netstat      pfkey.c
      Log:
      Add support for printing IPSEC protocol stats if the kernel was
      compiled with FAST_IPSEC rather than the KAME IPSEC stack.

    Note that the output of "netstat -s -p ipsec" differs depending on
    which stack is compiled into the kernel since they each keep different
    stats.  This delta also adds the "esp", "ah", and "ipcomp" protocol
    stats, which are also available when the kernel is compiled with the
    FAST_IPSEC stack (e.g. "netstat -s -p esp").

      Submitted by:   Matt Titus <titus at nttmcl dot com>

      Revision  Changes    Path
      1.31      +2 -1      src/usr.bin/netstat/Makefile
      1.13      +266 -94   src/usr.bin/netstat/ipsec.c
      1.81      +29 -0     src/usr.bin/netstat/main.c
      1.47      +6 -0      src/usr.bin/netstat/netstat.h
      1.1       +184 -0    src/usr.bin/netstat/pfkey.c (new)
2006-01-05 03:47:24 +00:00
jkoshy
d321ee35c7 MFC r1.1340: "Refer readers to the hwpmc(4) manual page where the additional
architecture specific kernel configuration options needed for
 hwpmc are documented."
2006-01-05 03:05:38 +00:00
ariff
5498ddd993 MFC: Fix broken capabilities, causing failure during channel reset.
Its min/max speed were off by -/+ 1000.

Reported by:	[1] Ion-Mihai Tetcu <itetcu@people.tecnik93.com>
            	[2] barner

[1] http://lists.freebsd.org/mailman/htdig/freebsd-multimedia/2005-December/003189.html
[2] http://lists.freebsd.org/mailman/htdig/freebsd-multimedia/2006-January/003422.html
2006-01-05 00:29:20 +00:00
sam
9b6df8d651 parse nmount options enough to use a current mount binary; this
allows people to boot releng_6 kernels with a current user install
(for now at least)

Reviewed by:	rodrigc
2006-01-04 22:18:10 +00:00
truckman
b48afbe184 MFC cd9660_lookup.c 1.42
Original commit message:
  Log:
  Apply the same fix to a potential race in the ISDOTDOT code in
  cd9660_lookup() that was used to fix an actual race in ufs_lookup.c:1.78.
  This is not currently a hazard, but the bug would be activated by
  marking cd9660 as MPSAFE.

  Requested by:   bde
2006-01-04 19:35:24 +00:00
truckman
9846c1c6a5 MFC ext2_lookup.c 1.51
Original commit message:
  Log:
  Apply the same fix to a potential race in the ISDOTDOT code in
  ext2_lookup() that was used to fix an actual race in ufs_lookup.c:1.78.
  This is not currently a hazard, but the bug would be activated by
  marking ext2fs as MPSAFE.

  Requested by:   bde
  MFC after:      2 weeks
2006-01-04 19:32:00 +00:00
truckman
d344122606 MFC subr_witness.c 1.198 and 1.200.
Original commit messages:

  Log:
  Track all lock relationships instead of pruning direct relationships
  if an indirect relationship exists (keep both A->B->C and A->C).
  This allows witness_checkorder() to use isitmychild() instead of
  the much more expensive isitmydescendant() to check for valid lock
  ordering.

  Don't do an expensive tree walk to update the w_level values when
  the tree is updated.  Only update the w_level values when using the
  debugger to display the tree.

  Nuke the experimental "witness_watch > 1" mode that only compared
  w_level for the two locks.  This information is no longer maintained
  at run time, and the use of isitmychild() in witness_checkorder
  should bring performance close enough to the acceptable level that
  this hack is not needed.

  Report witness data structure allocation statistics under the
  debug.witness sysctl.

  Reviewed by:    jhb
  MFC after:      30 days

  Log:
  Relocate witness_levelall(), witness_leveldescendents(), and
  witness_displaydescendants() so that they are protected by
  "#ifdef DDB/#endif" to unbreak kernels not using "option DDB".

  MFC after:      3 weeks
2006-01-04 19:27:22 +00:00
brueffer
a5c69f1574 MFC: rev. 1.70
snd_es137x now works on sparc64.
2006-01-04 17:13:18 +00:00
ariff
777c4917d4 MFC: Fix another xruns counting logic, this time, for recording. 2006-01-04 00:51:01 +00:00
ariff
3c58551f23 MFC:
- Fix possible memory leak due to repetetive strdup(3) without matching
     free(3).
   - print_recsrc() should honor shortflag and give appropriate output for
     later consumption by /etc/rc.d/mixer. This will ensure that recording
     device selections survived across reboot. Output everything to stdout
     instead of stderr.
2006-01-04 00:32:14 +00:00
thompsa
793b5bfb75 MFC: document the net.link.bridge.pfil_onlyip sysctl 2006-01-03 21:55:25 +00:00
thompsa
6c8496e9b7 MFC: sync code to HEAD
- whitespace
 - add net.link.bridge.pfil_onlyip
 - use time_uptime
2006-01-03 21:47:34 +00:00
jhb
0f303e9a3c MFC: Fix a deadlock in the recently added printf to warn about spin locks
that are not in the static order list.
2006-01-03 20:43:01 +00:00
emaste
3d086f3f57 MFC kern_clock.c:1.181
In watchdog_config enable the software watchdog iff the WD_ACTIVE flag
  is set.  When watchdogd(1) is terminated intentionally it clears the
  bit, which should then disable it in the kernel.

PR:             kern/74386
Submitted by:   Alex Hoff <ahoff at sandvine dot com>
Approved by:    rwatson (mentor)
2006-01-03 16:43:33 +00:00
thompsa
d2572297a0 MFC: EtherIP support, adding gif interfaces to bridges. 2006-01-03 08:15:33 +00:00
yongari
9379cbc9e6 MFC 1.20 to RELENG_6.
Remove "nodevice snd_es137x" as it is supported now.
2006-01-03 06:35:16 +00:00
ceri
399cd6662b MFC r1.111:
Document the pfsync(4) specific maxupd parameter, with text mostly taken
  from OpenBSD's manpage.
2006-01-02 12:53:48 +00:00
sam
69d4b44077 MFC 1.26: unbreak handling of turboG channels 2006-01-01 22:33:45 +00:00
davidxu
367aa83314 MFC revision 1.236:
Add code to report zombie state.
2006-01-01 08:31:48 +00:00
brueffer
773ebaf6a6 MFC: rev. 1.8 + 1.9
Update list of supported bridges and controllers, use markup similar to
ata.4 to display them and replace an XFree86 xref with Xorg.
2005-12-31 13:55:08 +00:00
delphij
d7d50f043f MFC revision 1.10:
Suggest the user to use 'diff -urN' instead of 'diff -crN'.

Submitted by:	Jimmie James  <jimmiejaz@gmail.com>
PR:		docs/88427
2005-12-31 05:36:42 +00:00
ariff
17c7359e57 MFC: Fix LOR #174.
Tested with:	WITNESS, INVARIANTS and DIAGNOSTICS
2005-12-31 02:03:48 +00:00
brueffer
56b8420ba9 MFC:
Autogenerate hardware notes for snd_mss(4).
2005-12-30 23:07:23 +00:00
brueffer
c7966b9ee4 MFC: rev. 1.43 + 1.44
- Xref snd_mss(4).
- Remove a few items from the HARDWARE list.  This support is
  already described in the snd_mss(4) manual page.
- Xref snd_atiixp.4
2005-12-30 23:03:40 +00:00
brueffer
2825e2e82d MFC:
Add manual page for snd_mss(4) and hook it up to the build.
2005-12-30 22:59:07 +00:00
marcel
29011b371f Bump __FreeBSD_version after MFC of ELF types and constants. 2005-12-30 22:25:15 +00:00
marcel
14fe1a0c49 MFC standardization of the ELF types and update of the ELF constants:
lib/libc/gen/nlist.c:1.19
	libexec/rtld-elf/rtld.c:1.108
	libexec/rtld-elf/rtld.h:1.36
	libexec/rtld-elf/alpha/reloc.c:1.21
	libexec/rtld-elf/amd64/reloc.c:1.16
	libexec/rtld-elf/ia64/reloc.c:1.16
	libexec/rtld-elf/sparc64/reloc.c:1.11
	share/man/man5/elf.5:1.32-1.33
	sys/alpha/alpha/elf_machdep.c:1.20
	sys/amd64/amd64/elf_machdep.c:1.24
	sys/boot/common/bootstrap.h:1.42
	sys/boot/common/load_elf.c:1.33
	sys/boot/common/load_elf_obj.c:1.2
	sys/boot/common/reloc_elf.c:1.2
	sys/ia64/ia64/elf_machdep.c:1.21
	sys/kern/link_elf.c:1.87
	sys/kern/link_elf_obj.c:1.90
	sys/sparc64/sparc64/elf_machdep.c:1.20
	sys/sys/elf32.h:1.9-1.10
	sys/sys/elf64.h:1.11-1.13
	sys/sys/elf_common.h:1.16
	sys/sys/elf_generic.h:1.7
	sys/sys/imgact_elf.h:1.28
	sys/sys/linker.h:1.40
	usr.bin/elf2aout/elf2aout.c:1.10
	usr.bin/elfdump/elfdump.c:1.13
	usr.sbin/crunch/crunchide/exec_elf32.c:1.15
	usr.sbin/kldxref/ef.c:1.9
	usr.sbin/kldxref/ef.h:1.6
	usr.sbin/kldxref/ef_amd64.c:1.3
	usr.sbin/kldxref/ef_i386.c:1.3
	usr.sbin/kldxref/ef_obj.c:1.4
	usr.sbin/kldxref/ef_powerpc.c:1.3
	usr.sbin/kldxref/ef_sparc64.c:1.4-1.5
2005-12-30 22:13:59 +00:00
ariff
2449cad335 MFC: Few codec such as Conexant CX20468-21 does have AC97_MIX_BEEP
control register, although the only usable part is the mute bit.

Noticed by:	Hans Petter Selasky <hselasky@c2i.net>
2005-12-30 20:44:37 +00:00
netchild
047daf9025 MFC snd_atiixp entry 2005-12-30 20:35:39 +00:00
ariff
ec6a9f6468 Should be "snd_atiixp" (without ".c").
Sorry Alex.
2005-12-30 20:33:06 +00:00
bz
4e607a8b76 MFC:
rev. 1.111 date: 2005/10/11 22:55:16; author: yar  sys/pci/if_sk.c
rev. 1.28  date: 2005/10/11 22:59:01; author: yar  share/man/man4/vlan.4

Mark sk(4) capable of handling extended VLAN frames.

PR: kern/79998
2005-12-30 20:13:46 +00:00
netchild
6020e1d27b MFC nearly everything of the soundsystem except recent commits and
most of the sysctl's (those which would introduce a new interface).
The spdif_enabled sysctl is still there (or more correctly: added
to another driver).

A rough overview what's there now:
 - new driver for ATI chips (snd_atiixp)
 - support for some Intel HDA chips in AC97 mode (no real HDA
   support!), this doesn't work with every mainboard and is
   subject to the wiring on the mainboard (no servicable parts
   inside)
 - MPSAFE and fixes for snd_als4000(4), snd_es137x(4),
   snd_via82c686(4), snd_via8233(4) and snd_ich(4)
 - 24bit and 32bit sound format support
 - feeder infrastructure (format, rate) has been reworked, new
   feeder (volume) has been introduced
 - lots of LOR and panic issues fixed
 - and a lot of small or not so small fixes I may have forgotten...

As noted in UPDATING: you may want to recompile mplayer (after booting
into the new world) to get all new features.

Tested by:	a lot of people
Requested by:	ariff
Submitted by:	ariff
2005-12-30 19:55:55 +00:00
cvs2svn
30ca7bc8d2 This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2005-12-30 16:45:32 +00:00
mlaier
1937d32dc3 MFC: pf.c 1.39+1.40 and pfvar.h 1.13+1.14
Move PFSTATE_EXPIRING from sync_flags to a new local_flags.  sync_flags
  has special handling when zero.  This caused no PFSYNC_ACT_DEL message and
  thus disfunction of pfflowd and state synchronisation in general.

  Discovered by:  thompsa
  Good catch by:  thompsa

and

  Only decrement the max-src-conn counter for tcp connections that reached
  "established" state.

  Similar to OpenBSD's rev. 1.499 by joel but not breaking ABI.

  Obtained from:  OpenBSD (with changes)
  Reported by:    Bruno Afonso

ok reyk@
2005-12-30 00:50:18 +00:00
cracauer
0ac73030bb I didn't remember to commit the style-fixes for my previous
commit.
2005-12-29 21:32:06 +00:00
sobomax
7d384c2f8a MFC: provide example of how to make two keyboards working at the same time
using kbdmux(4).
2005-12-29 20:15:27 +00:00
sobomax
a70814d83f MFC: mention NTFS support.
Reminded by:	pjd
2005-12-29 17:21:46 +00:00