118361 Commits

Author SHA1 Message Date
jhb
102dd80729 MFC: Fix issues with various Compaq boxes such as some DL360s (and possibly
some DL380s):
- Release the pci_link acpi serial lock if a link device has no actual
  links.
- Don't panic if a _PRT entry references an invalid link on a link device
  unless we actually try to route an interrupt using that _PRT entry.
2006-01-10 21:37:18 +00:00
wilko
ff439f4567 MFC: add geom_fox.4 2006-01-10 18:08:55 +00:00
glebius
c374350f42 MFC:
Check for IFF_DRV_RUNNING in the interrupt loop.

  Reported & tested by:   Martin P. Hansen <mph lima.dyndns.dk>
2006-01-10 10:24:05 +00:00
glebius
65952b1976 MFC 1.11:
In ng_netflow_disconnect() check whether we are working with "iface"
  or with "out" hook, and clear the right pointer.

  Reported by:    Vitaliy Ovsyannikov <V.Ovsyannikov kr.ru>
2006-01-10 10:22:22 +00:00
glebius
a5c4d12c38 MFC 1.55:
When in rev. 1.47 cardbus_alloc_resources() function was moved from
  cardbus_cis.c to this file, some code was not merged and thus resource
  list entries were invalid. They didn't have a resources attached to
  them.
    However, the problem was masked for some time later, because newer
  resources list entries were added to the head of the list, and
  resource_list_find() always returned the first matching resource list
  entry. Usually the underlying driver allocated a valid resource and
  added it to the head of the list, and invalid one wasn't used.
    In rev. 1.174 of subr_bus.c the sorting of resource list entries was
  reversed demasking the problem in cardbus_alloc_resources().
    This commit fixes the problem returning back some code from
  cardbus_cis.c, pre-1.49 revisions.

  PR:                     kern/87114
  PR:                     kern/90441
  Hardware provided by:   Vasily Olekhov <olekhov yandex.ru>
  Reviewed by:            imp
2006-01-10 10:17:56 +00:00
glebius
df3c4d7b56 MFC 1.62:
Add \n to log() message.
2006-01-10 10:13:43 +00:00
glebius
801f2fea18 MFC:
Implement an upper limit for packets per second sent by node.
2006-01-10 10:11:48 +00:00
glebius
90c1b77318 MFC 1.93 - 1.97, fixing suspend/resume on some laptops.
PR:		kern/89825
2006-01-10 10:09:03 +00:00
joel
4ad0523179 MFC r1.9:
Kill empty line.
2006-01-10 08:25:15 +00:00
nyan
2e580b7030 MFC: revision 1.56
- Add EXTDOCDIR and EXTPORTSDIR.
2006-01-10 03:48:42 +00:00
nyan
82a787187e MFC: revision 1.894 and 1.895
- Request boot floppy after loading mfsroot floppy.
 - Add EXTPORTSDIR.
2006-01-10 03:47:27 +00:00
ariff
608c99952d MFC: Fix obvious capabilities (rate) violation. Should be 5500, not 4000. 2006-01-10 01:01:24 +00:00
sobomax
34c0164bb4 MFC: allow execution of ET_DYN elf binaries (aka shared libraries) when
emulating architectures that allow this (Linux so far).

To preserve kernel modules ABI, unlike the version commited into the trunk,
which adds new flag field into Brandinfo structure for this purpose, this
one checks if brand field of Brandinfo matches ELFOSABI_LINUX.

PR:		kern/87615
Submitted by:	Marcin Koziej <creep@desk.pl>
2006-01-10 00:52:07 +00:00
stefanf
beb6b60f01 MFC: refresh.c 1.11: A refresh bug.
editline.3 1.26-1.29: Man page update and cleanup.
     editrc.5: 1.19: Man page cleanup.
2006-01-09 15:14:57 +00:00
joel
380866e56d MFC:
snd_ad1816.4    1.5-1.6
snd_als4000.4   1.5-1.7
snd_cmi.4       1.6-1.7
snd_cs4281.4    1.5-1.6
snd_csa.4       1.15
snd_ds1.4       1.5-1.6
snd_emu10k1.4   1.7-1.8
snd_ess.4       1.6-1.7
snd_fm801.4     1.2-1.3
snd_gusc.4      1.13
snd_ich.4       1.7-1.8
snd_maestro.4   1.3
snd_maestro3.4  1.8
snd_neomagic.4  1.4-1.5
snd_sbc.4       1.16
snd_solo.4      1.5
snd_t4dwave.4   1.2-1.3
snd_uaudio.4    1.6
snd_via8233.4   1.3-1.4
snd_via82c686.4 1.2-1.3
snd_vibes.4     1.2-1.3
2006-01-09 12:48:39 +00:00
ariff
5fdd501b2a MFC: Add codec id support for Analog Device AD1986 AC'97 codec.
Submitted by:	UMENO Takashi <umeno at rr.iij4u.or.jp>
PR:		kern/80234
2006-01-09 02:06:42 +00:00
ariff
b687245e4f MFC: Fix locking violation, causing frantic diagnostic messages during boot.
Reported by:	[1] julian

[1] http://lists.freebsd.org/pipermail/freebsd-multimedia/2006-January/003408.html
2006-01-09 02:06:17 +00:00
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