]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
16 years agoMerge audit_syscalls.c:1.7 from HEAD to RELENG_6:
rwatson [Thu, 8 Nov 2007 15:01:35 +0000 (15:01 +0000)]
Merge audit_syscalls.c:1.7 from HEAD to RELENG_6:

  Audit path argument when changing audit trails.

  Call NDFREE(), which while not currently strictly necessary, isn't a
  bad idea.

  Obtained from:  TrustedBSD Project

16 years agoMFC
emax [Wed, 7 Nov 2007 17:42:45 +0000 (17:42 +0000)]
MFC

Allow RFCOMM servers to bind to a ''wildcard'' RFCOMM channel
zero (0). Actual RFCOMM channel will be assigned after listen(2)
call is done on a RFCOMM socket bound to a ''wildcard'' RFCOMM
channel zero (0).

Address locking issues in ng_btsocket_rfcomm_bind()

Submitted by: Heiko Wundram (Beenic) < wundram at beenic dot net >
Approved by: re (kensmith)

16 years agoMFC: Catch up to current state of ports tree
kris [Wed, 7 Nov 2007 13:57:08 +0000 (13:57 +0000)]
MFC: Catch up to current state of ports tree

Approved by:  re (kensmith)

16 years agoMFC rev. 1.12:
kib [Wed, 7 Nov 2007 13:38:45 +0000 (13:38 +0000)]
MFC rev. 1.12:
Fix various memory leaks.

16 years agoThis delta addresses some users experiencing watchdogs under load with
jfv [Wed, 7 Nov 2007 01:33:28 +0000 (01:33 +0000)]
This delta addresses some users experiencing watchdogs under load with
the last driver version. I suspect sheduling to be at the bottom of it,
but this version fixes it by:
- Making FAST interrupt handling off by default, if you want
to use it #define EM_FAST_IRQ in the Makefile.
- Add dual locks, one for the TX subsystem, the other CORE
for things like init and interface managment.
- Add cleaner MSI/X setup code.
- If using FAST interrupts there is now a mechanism in the
watchdog routine to kick off TX cleanups if they have not
been scheduled.

I think everyone will be happier with this change.

16 years agoMFC 1.68: remove smp_rendezvous() during shutdown
njl [Tue, 6 Nov 2007 20:13:51 +0000 (20:13 +0000)]
MFC 1.68: remove smp_rendezvous() during shutdown

Approved by:    re

16 years agoMFC 1.17:
simon [Tue, 6 Nov 2007 18:22:05 +0000 (18:22 +0000)]
MFC 1.17:

  If the INDEX file cannot be opened, print the actual filename / path
  pkg_version tried to open instead of just "INDEX" to make the actual
  problem more clear (e.g. missing INDEX-8).

16 years agoMFC:
benjsc [Tue, 6 Nov 2007 04:05:38 +0000 (04:05 +0000)]
MFC:

Regen:

* Hart:         rev 652 of pcidevs.txt (2007-09-24)
* Boemler:      vendors.txt (2007-10-25)

Approved by:  mlaier (mentor)
Approved by: re (kensmith)

16 years agoMFC of un-neede singl-threading code.
julian [Tue, 6 Nov 2007 03:01:32 +0000 (03:01 +0000)]
MFC of un-neede singl-threading code.

16 years agoMFC:
ariff [Tue, 6 Nov 2007 02:08:25 +0000 (02:08 +0000)]
MFC:

  Revisions:
  1.21     src/sys/dev/sound/pci/atiixp.c
  1.4      src/sys/dev/sound/pci/atiixp.h

Add support for trimmed down version of ATI SB600 AC97 audio
controller.

URL: http://www.ipc2u.de/catalog/P/PE/36486.html
PR: kern/117813
Submitted by: Klaus Mayr

16 years agoFix locking issue in ng_btsocket_l2cap_ctloutput()
emax [Mon, 5 Nov 2007 17:51:14 +0000 (17:51 +0000)]
Fix locking issue in ng_btsocket_l2cap_ctloutput()

Submitted by: Heiko Wundram (Beenic) < wundram at beenic dot net >
Approved by: re (kensmith)

16 years agoMFC: Remove mpte optimization from pmap_enter_quick().
ups [Mon, 5 Nov 2007 16:18:00 +0000 (16:18 +0000)]
MFC:  Remove mpte optimization from pmap_enter_quick().
There is a race with the current locking scheme and removing
it should have no measurable performance impact.
This fixes page faults leading to panics in pmap_enter_quick_locked()
on amd64/i386.

Requested by: alc@

16 years agoMFC:
phk [Mon, 5 Nov 2007 12:42:26 +0000 (12:42 +0000)]
MFC:
bring if_sis driver up to -current

16 years agoMFC:
phk [Mon, 5 Nov 2007 11:49:44 +0000 (11:49 +0000)]
MFC:
bus_alloc_resources() convenience API

16 years agoMFC: 1.30
keramida [Mon, 5 Nov 2007 11:26:41 +0000 (11:26 +0000)]
MFC: 1.30

  mtree should use getcwd() instead of getwd().  getcwd() is safer,
  because it includes checks for the length of the buffer it uses.

16 years agoMFC:
phk [Mon, 5 Nov 2007 11:17:39 +0000 (11:17 +0000)]
MFC:
Bring if_vr (Via Rhine) driver up to -current level.

16 years agoMFC miidevs rev 1.47 to RELENG_6
yongari [Mon, 5 Nov 2007 02:09:31 +0000 (02:09 +0000)]
MFC miidevs rev 1.47 to RELENG_6
  Add a newer RTL8211B(L) PHY.

16 years agoMFC rgephy.c rev 1.17-1.18, rgephyreg.h rev 1.3 to RELENG_6
yongari [Mon, 5 Nov 2007 02:06:27 +0000 (02:06 +0000)]
MFC rgephy.c rev 1.17-1.18, rgephyreg.h rev 1.3 to RELENG_6
rgephy.c rev 1.17, rgephyreg.h rev 1.3
  Add support for RealTek RTL8211B(L) PHY. It's based on the patch
  made by Michael Eisele and the patch was slightly modified by me.
  With this change several NVIDIA ethernet controllers(e.g. MCP61)
  works.

  RTL8211B(L) is RealTek's new gigabit PHY. The PHY has several
  features including crossover correction, polarity correction as
  well as supporting triple speed(10/100/1000bps). Data transfer
  between MAC and PHY is via RGMII for 1000baseT, MII for
  10baseT/100baseTX.
  Unfortunately, RealTek used the same model number for RTL8211B(L)
  PHY so there is no way to discriminate between RTL8211B(L) and its
  predecessors. ATM RTL8211B uses revision number 2 so checking the
  revision number seems to be only way to identify it.

rgephyreg.c rev 1.18
  Setting sc->mii_anegticks to MII_ANEGTICKS_GIGE in rgephy_attach()
  is redundant. mii_phy_add_media() already takes care of that.

16 years agoMFC rgephy.c rev 1.16 to RELENG_6
yongari [Mon, 5 Nov 2007 02:03:09 +0000 (02:03 +0000)]
MFC rgephy.c rev 1.16 to RELENG_6
  o RTL8169S/8110S integrated PHY and RTL8211B are gigabit PHYs so set
    mii_anegticks to MII_ANEGTICKS_GIGE and use it. Previously it used
    to MII_ANEGTICKS which may not be enough to wait before retrying
    autonegotiation process at 1000bps.
  o Reset autonegotation timer if media option is not IFM_AUTO or we
    got a valid link.
  o Announce link loss right after it happends.
  o Autonegiation is retried every mii_anegticks seconds.
  o Report link state changes right after setting autonegotiation.

16 years agoAdd latest firmware
kmacy [Mon, 5 Nov 2007 01:29:41 +0000 (01:29 +0000)]
Add latest firmware

16 years agoUpdate to reflect new firmware version
kmacy [Mon, 5 Nov 2007 00:55:52 +0000 (00:55 +0000)]
Update to reflect new firmware version

16 years agoMFC version 1.13, update of IP address for l.root-servers.net
dougb [Sun, 4 Nov 2007 23:59:51 +0000 (23:59 +0000)]
MFC version 1.13, update of IP address for l.root-servers.net

Approved by:    re (kensmith)

16 years agoMFC revision 1.350, move where we audit the PID to ensure that it gets
csjp [Sun, 4 Nov 2007 18:22:25 +0000 (18:22 +0000)]
MFC revision 1.350, move where we audit the PID to ensure that it gets
audited even if it's invalid.

16 years agoMFC revision 1.13
csjp [Sun, 4 Nov 2007 16:52:33 +0000 (16:52 +0000)]
MFC revision 1.13

Make sure we are incrementing read counters

16 years agoMFC: 1.19 - mdoc warning fix: delete spurious empty line.
keramida [Sun, 4 Nov 2007 15:24:44 +0000 (15:24 +0000)]
MFC: 1.19 - mdoc warning fix: delete spurious empty line.

16 years agoMFC: 1.14 - mdoc warning fix: Remove a spurious .El request.
keramida [Sun, 4 Nov 2007 15:18:40 +0000 (15:18 +0000)]
MFC: 1.14 - mdoc warning fix: Remove a spurious .El request.

16 years agoMFC minherit.2 -r 1.22-1.24
keramida [Sun, 4 Nov 2007 15:12:04 +0000 (15:12 +0000)]
MFC minherit.2 -r 1.22-1.24

16 years agoMFC: mdconfig.8 -r 1.37
keramida [Sun, 4 Nov 2007 15:07:28 +0000 (15:07 +0000)]
MFC: mdconfig.8 -r 1.37

% Add an example which shows how mdconfig(8) can be used
% to mount an ISO 9660 CD image file.
%
% PR:             112691
% Submitted by:   Warren Block, wblock at wonkity.com

16 years agoMFC documentation for recent uscanner cleanup.
luigi [Sun, 4 Nov 2007 03:54:16 +0000 (03:54 +0000)]
MFC documentation for recent uscanner cleanup.

16 years agoMFC 2007-10-05 07:26:40 UTC
luigi [Sun, 4 Nov 2007 03:28:31 +0000 (03:28 +0000)]
MFC 2007-10-05 07:26:40 UTC
Add entries for Epson multifunction scanner/printer/card readers,
with all functions supported.
More details on related topics (SANE configuration, OCR, etc.)
at http://info.iet.unipi.it/~luigi/FreeBSD/dx5050.html

16 years agoMFC revision 1.12
csjp [Sat, 3 Nov 2007 17:15:27 +0000 (17:15 +0000)]
MFC revision 1.12

- Wakeup all threads sleeping on an audit pipe instead of just one
- Wakeup threads with a consistent priority

16 years agoMFC revision 1.182
csjp [Sat, 3 Nov 2007 17:13:16 +0000 (17:13 +0000)]
MFC revision 1.182

Fix PID portion of stats in scenarios where the peer forks

16 years agoMFC revision 1.34
csjp [Sat, 3 Nov 2007 15:33:04 +0000 (15:33 +0000)]
MFC revision 1.34
Add support for processing extended (ip6) subject termids

16 years agoMFC lockf.c revision 1.17
csjp [Sat, 3 Nov 2007 15:31:38 +0000 (15:31 +0000)]
MFC lockf.c revision 1.17
MFC lockf.1 revision 1.19

16 years agoFix panic on kernel startup. This allowed me to successfully run a
wilko [Fri, 2 Nov 2007 21:40:04 +0000 (21:40 +0000)]
Fix panic on kernel startup.  This allowed me to successfully run a
6.3-PRE kernel.

Patch kindly provided by: jhb

16 years agoMFC 1.55: Fix another edge case in rman_manage_region() that could result
jhb [Fri, 2 Nov 2007 19:00:06 +0000 (19:00 +0000)]
MFC 1.55: Fix another edge case in rman_manage_region() that could result
in the the resource list getting missorted.

16 years agoMFC: Don't attach to the "IBM0057" ID.
jhb [Fri, 2 Nov 2007 18:54:50 +0000 (18:54 +0000)]
MFC: Don't attach to the "IBM0057" ID.

16 years agoMFC 1.28:
dwmalone [Fri, 2 Nov 2007 16:27:22 +0000 (16:27 +0000)]
MFC 1.28:
Make the type of the memory used by the BPF filter unsigned, so it
matches the BPF registers (which are the only thing that is assigned
to/from BPF memory). This is a pedantic change that shouldn't change
any behaviour.

PR: 115931
Submitted by: Matthew Luckie <mjl@luckie.org.nz>

16 years agoMFC 1.18: Skip requests use a minimum of 1 byte so that the
kientzle [Fri, 2 Nov 2007 08:44:11 +0000 (08:44 +0000)]
MFC 1.18: Skip requests use a minimum of 1 byte so that the
underlying I/O framework can avoid copying and so that we
avoid a 32-bit overflow issue that was causing bsdtar to
fail when skipping uncompressed tar entries that were an
exact multiple of 4GB.

16 years agoMFC revision 1.389
alc [Fri, 2 Nov 2007 06:33:20 +0000 (06:33 +0000)]
MFC revision 1.389
  Correct an error in vm_map_sync(), nee vm_map_clean(), that has existed
  since revision 1.1.  Specifically, neither traversal of the vm map checks
  whether the end of the vm map has been reached.  Consequently, the first
  traversal can wrap around and bogusly return an error.

16 years agoMFC: Reindent the read/write code of bd_realstrategy().
jhb [Thu, 1 Nov 2007 18:23:10 +0000 (18:23 +0000)]
MFC: Reindent the read/write code of bd_realstrategy().

16 years agoMFC: Slightly cleanup the 'bootdev' concept on x86.
jhb [Thu, 1 Nov 2007 18:20:37 +0000 (18:20 +0000)]
MFC: Slightly cleanup the 'bootdev' concept on x86.

16 years agoMFC e1000phy.c rev 1.19, e1000phyreg.h rev. 1.5 to RELENG_6
yongari [Thu, 1 Nov 2007 04:27:30 +0000 (04:27 +0000)]
MFC e1000phy.c rev 1.19, e1000phyreg.h rev. 1.5 to RELENG_6

  Add 88E1116/88E1116R PHY support code that takes the PHY out of
  power-down mode.

16 years agoMFC: etc/rc.d/ppp,v1.14 and etc/defaults/rc.conf,v1.319
emax [Wed, 31 Oct 2007 18:53:07 +0000 (18:53 +0000)]
MFC: etc/rc.d/ppp,v1.14 and etc/defaults/rc.conf,v1.319

Teach /etc/rc.d/ppp to start multiple instances of ppp.

ppp_profile variable can now contain multiple profiles.
Overrides for ppp mode and nat can go into ppp_$profile_mode
and ppp_$profile_nat variables respectively. If those are
not specified, defaults from ppp_mode and ppp_nat are used.

MFC: etc/rc.d/ppp v1.15

Teach /etc/rc.d/ppp how to start/stop individual instances
of ppp. This is an extension of previous commit.

Submitted by: Yuri Kurenkov < y dot kurenkov at init dot ru >
Reviewed by: mtm
Approved by: re (kensmith)

16 years agoMFC: Print IRQs in decimal rather than hex.
jhb [Wed, 31 Oct 2007 16:17:41 +0000 (16:17 +0000)]
MFC: Print IRQs in decimal rather than hex.

16 years agoMFC: Actually support the new HT capability type from HT 2.00b.
jhb [Wed, 31 Oct 2007 16:16:19 +0000 (16:16 +0000)]
MFC: Actually support the new HT capability type from HT 2.00b.

16 years agoMFC: Don't destroy an ACPI device_t for a PCI device if the ACPI device_t
jhb [Wed, 31 Oct 2007 16:11:01 +0000 (16:11 +0000)]
MFC: Don't destroy an ACPI device_t for a PCI device if the ACPI device_t
is already attached to a driver.

16 years agoMFC to RELENG_6 dhclient RFC3442 support (the classless static route
emaste [Wed, 31 Oct 2007 14:30:20 +0000 (14:30 +0000)]
MFC to RELENG_6 dhclient RFC3442 support (the classless static route
option)

dhclient.conf 1.2

  Add a $FreeBSD$ tag missing after the original import.  Note that this
  file isn't actually installed; the one in src/etc is.

clparse.c 1.3
dhclient-script 1.15
dhclient.c 1.21
dhclient.conf 1.3
dhcp.h 1.3
tables.c 1.4

  Implement RFC3442, the Classless Static Route option.

  The original DHCP specification includes a route option but it
  supports only class-based routes.  RFC3442 adds support for
  specifying the netmask width for each static route.  A variable
  length encoding is used to minimize the size of this option.

  PR:             bin/99534
  Submitted by:   Andrey V. Elsukov <bu7cher@yandex.ru>
  Reviewed by:    brooks

dhclient-script 1.16

  The minimum size of an RFC3442 destination descriptor is five bytes,
  so correct test to -ge 5.  Without this change an RFC3442 encoded
  default route would be ignored.

16 years agoMFC:
phk [Wed, 31 Oct 2007 13:06:17 +0000 (13:06 +0000)]
MFC:
recognize AMD GeodeLX companion chip CS5536

16 years agoMFi386: revision 1.616.2.9
nyan [Wed, 31 Oct 2007 11:53:17 +0000 (11:53 +0000)]
MFi386: revision 1.616.2.9

  Don't abuse tf_err to pass the faulting virtual address to signal handlers.

16 years agoMFC:
phk [Wed, 31 Oct 2007 08:42:18 +0000 (08:42 +0000)]
MFC:
GeodeLX and advantech watchdogs
Soekris NET5501 recognition and /dev/led/error

16 years agoMFC (revision 1.74):
ariff [Wed, 31 Oct 2007 04:00:07 +0000 (04:00 +0000)]
MFC (revision 1.74):

Remap and virtualize mixer controls for HP nx6110 with
AD1981B AC97 codec, unifying master volume control.

  * Remap "phout" --> SOUND_MIXER_VOLUME (internal speakers)
  * Virtual "vol" --> { "phout", "ogain" (headphone) }

Tested by: Frederic Chardon

16 years agoMFC (revision 1.11):
ariff [Wed, 31 Oct 2007 03:59:24 +0000 (03:59 +0000)]
MFC (revision 1.11):

Enable headphone jack-sense for HP nx6100 with AD1981B AC'97 codec,
automuting internal speakers.

Tested by: Frederic Chardon

16 years agoMFC r1.180
thompsa [Wed, 31 Oct 2007 01:36:06 +0000 (01:36 +0000)]
MFC r1.180
 Do not attempt to load the kernel module when checking if an interface exists.

16 years agoMFC: Revision 1.117 of route.c as well as the fixes to close a race when
jhb [Tue, 30 Oct 2007 18:07:55 +0000 (18:07 +0000)]
MFC: Revision 1.117 of route.c as well as the fixes to close a race when
trying to lookup a gateway route in rt_check().

16 years agoMFC: Update copyright attribution.
jhb [Tue, 30 Oct 2007 18:01:44 +0000 (18:01 +0000)]
MFC: Update copyright attribution.

16 years agoMFC pccarddevs v1.130
remko [Tue, 30 Oct 2007 10:21:03 +0000 (10:21 +0000)]
MFC pccarddevs v1.130
MFC pccard_cis_quirks.c v1.17

  Bring in some new Sierra Wireless drivers running under pccard.

  (AC710/AC750/AC850/A550/A555/A710/A750)

  PR: kern/110190
  Submitted by: Pascal Vizeli<pvizeli at yahoo dot de>
  Approved by: imp (mentor)

  MFC After: 1 week

Approved by: re (kensmith)
Approved by: imp (mentor)

16 years ago- Bump __FreeBSD_version for ctype ABI forward compatibility restored
rafan [Tue, 30 Oct 2007 04:44:10 +0000 (04:44 +0000)]
- Bump __FreeBSD_version for ctype ABI forward compatibility restored

Approved by: re (kensmith)

16 years agoMFC: Disable the coretemp on pc98.
nyan [Tue, 30 Oct 2007 02:56:31 +0000 (02:56 +0000)]
MFC: Disable the coretemp on pc98.

16 years agoRestore ctype(3) ABI forward compatibility in 6.x world. This was broken
rafan [Tue, 30 Oct 2007 01:30:42 +0000 (01:30 +0000)]
Restore ctype(3) ABI forward compatibility in 6.x world. This was broken
with last ctype(3) single-byte and multi-byte separation for fixing
operating on UTF-8 locale. To be specific, we introduced a new symbol in
libc. And this symbol is referred via inline functions here. So, you can
not run a binary built with this version of libc on an older system. To
restore the compatibility, make these functions built as non-inlined
form (see lib/libc/nomarco.c) and MFC rev 1.32 which drops the usage of
that symbol in question for __isctype(). As this may impact performance,
I only intend to fix in 6.x, but not 7 (not yet released) and 8 (it's HEAD).

Discussed on: cvs-src
Requested by: scottl
Reviewed by: ache, delphij
Approved by: re (kensmith)

16 years agoMFC: consolidate parsing of nfs root mount options in one place
sam [Tue, 30 Oct 2007 00:49:41 +0000 (00:49 +0000)]
MFC: consolidate parsing of nfs root mount options in one place
  and handle all options; this enables things like TCP mounts

16 years agounbreak build on arm: sade is like sysinstall, it cannot be built on an
sam [Mon, 29 Oct 2007 22:53:45 +0000 (22:53 +0000)]
unbreak build on arm: sade is like sysinstall, it cannot be built on an
architecture where libdisk is not supported

16 years agoMFC: remove some no-longer-needed _FREEFALL_CONFIG hacks.
peter [Mon, 29 Oct 2007 21:47:56 +0000 (21:47 +0000)]
MFC: remove some no-longer-needed _FREEFALL_CONFIG hacks.

16 years agoMFC to RELENG_6 part of kern_intr.c revision 1.142:
emaste [Mon, 29 Oct 2007 21:10:03 +0000 (21:10 +0000)]
MFC to RELENG_6 part of kern_intr.c revision 1.142:

  - Don't do the interrupt storm protection stuff for software interrupt
    handlers.

16 years agoMFC 1.62: Fix reading of files that use pax 'size' attribute
kientzle [Mon, 29 Oct 2007 03:29:21 +0000 (03:29 +0000)]
MFC 1.62:    Fix reading of files that use pax 'size' attribute
to store size.  In particular, the pax 'size' attribute is required
for any file over 8G.

This seems to fix tar -cf - | tar -xf - when there are files
over 8G in the heirarchy being copied.

16 years agoMFC: ng_ppp(4) MPSAFE.
bmah [Sun, 28 Oct 2007 21:44:01 +0000 (21:44 +0000)]
MFC:  ng_ppp(4) MPSAFE.

16 years agoMFC: 1.31
mtm [Sun, 28 Oct 2007 21:13:23 +0000 (21:13 +0000)]
MFC: 1.31
Allow adding a user(s) to additional groups in batch mode as well.

Submitted by: Eygene Ryabinkin <rea-fbsd@codelabs.ru>
      (modulo minor changes)

16 years agoMFC 1.166: make dev.ath.N.ledpin have an immediate effect
sam [Sun, 28 Oct 2007 18:14:57 +0000 (18:14 +0000)]
MFC 1.166: make dev.ath.N.ledpin have an immediate effect

16 years agoMFC from 1.113: correct reason code returned when a sta tries to
sam [Sun, 28 Oct 2007 18:04:15 +0000 (18:04 +0000)]
MFC from 1.113: correct reason code returned when a sta tries to
associate to an ap operating with WPA/RSN but without a WPA/RSN ie

16 years agoMFC ng_base.c rev 1.136-1.137, netgraph.h rev 1.69, ng_socket.c rev 1.83
mav [Sun, 28 Oct 2007 17:52:08 +0000 (17:52 +0000)]
MFC ng_base.c rev 1.136-1.137, netgraph.h rev 1.69, ng_socket.c rev 1.83

Implement new apply callback mechanism to handle item forwarding.
When item forwarded, refence counter is incremented, when item
processed, counter decremented. When counter reaches zero,
apply handler is getting called.
It allows to report connect() call status only when it is really completed.

Reviewed by: julian
Approved by: re (kensmith)

16 years agoMFC from 1.110: check xrates is not null before deref
sam [Sun, 28 Oct 2007 17:48:21 +0000 (17:48 +0000)]
MFC from 1.110: check xrates is not null before deref

16 years agoMFC 1.87: Close longstanding race dropping inactive stations; grab
sam [Sun, 28 Oct 2007 17:46:39 +0000 (17:46 +0000)]
MFC 1.87: Close longstanding race dropping inactive stations; grab
a reference to the node before starting the work, otherwise the
node may go away before a reference is made in ieee80211_send_mgmt.

16 years agoMFC: 1.50 (partial)
marius [Sun, 28 Oct 2007 16:13:38 +0000 (16:13 +0000)]
MFC: 1.50 (partial)

Let pcib_write_ivar() return 0 instead of ENOENT when setting
PCIB_IVAR_BUS.

16 years agoMFC: SA-07:08.openssl, coretemp(4), em(4) 6.6.6, awk 1 May 2007
bmah [Sun, 28 Oct 2007 04:43:28 +0000 (04:43 +0000)]
MFC:  SA-07:08.openssl, coretemp(4), em(4) 6.6.6, awk 1 May 2007
update, tzdata2007h.

16 years agoMFC version 1.27:
dougb [Sun, 28 Oct 2007 00:30:18 +0000 (00:30 +0000)]
MFC version 1.27:
1. Determine the location of the rndc* binaries relative to $command
2. Make the stop routine work more like rc.subr's, but try rndc first
3. Allow the rndc.key file to be owned by root OR the named_uid user

16 years agoFix kernel memory leakage when policy routing is used with NAT.
darrenr [Sat, 27 Oct 2007 16:54:25 +0000 (16:54 +0000)]
Fix kernel memory leakage when policy routing is used with NAT.
(Already fixed in -HEAD)

PR: kern/100098
Submitted by: Daniel Larsson <Daniel.Larsson@servicefactory.com>
Reviewed by: darrenr
Approved by: darrenr
Obtained from: Daniel Larsson <Daniel.Larsson@servicefactory.com>

16 years agoMFC ata-chipset.c (1.199), ata-pci.h (1.78):
simon [Sat, 27 Oct 2007 10:51:33 +0000 (10:51 +0000)]
MFC ata-chipset.c (1.199), ata-pci.h (1.78):

  Add PCI IDs for Intel ICH9.

Tested by: pav

16 years agoUpdate to version 3.60.04.006. This adds support newer SAS controllers. This
scottl [Fri, 26 Oct 2007 23:51:46 +0000 (23:51 +0000)]
Update to version 3.60.04.006.  This adds support newer SAS controllers.  This
is a partial MFC of what went into HEAD/RELENG_7; the locking changes that
constitude the other part do not apply to RELENG_6.

Many thanks to 3Ware/AMCC for their continued support of FreeBSD.

Submitted by: Manjunath Ranganathaiah
Approved by: re

16 years agoMFC: Add a -z flag to nfsstat which zeros the NFS statistics after
jhb [Fri, 26 Oct 2007 22:06:55 +0000 (22:06 +0000)]
MFC: Add a -z flag to nfsstat which zeros the NFS statistics after
displaying them.

16 years agoMFC: (revision 1.45)
ariff [Fri, 26 Oct 2007 20:48:18 +0000 (20:48 +0000)]
MFC: (revision 1.45)

- Gigabyte G33-S2H fixup, due to the present of multiple competing
  codecs. Codec at address 0 seems purely digital, or perhaps an HDMI
  interface. Let the driver skip it and continue scanning the codecs
  starting with address 2 (Realtek ALC885).
  * Due to possibilities of future similar cases, put enough logic
    in hdac_scan_codecs() to force codec scanning starting from
    XX address via tunable "hint.pcm.%d.codec_index".

  Reported / Tested by: Toomas Pelberg <toomasp@gmx.net>

- Trivial headphone / speaker automute fixup for Fujitsu-Siemens
  AMILO Si 1848 laptop.

  Reported / Tested by: Ed <ed@bsd.it>

- Trivial headphone / speaker automute fixup for Fujitsu-Siemens
  Lifebook S7020D laptop.

  Reported / Tested by: Jaromir Dvoracek <jarek@ataxo.com>

- Some smart vendor trying to create interplanetary wormhole by
  screwing pci config space during their BIOS update. The side effects
  of their failure attempt includes mutilated hardware id, broken
  speaker automuting and loosing the entire analog CD connectivity,
  thus causing enough collateral damages to collapse the entire
  universe.  Move along with it.

  Please exercise extra cautious when applying BIOS updates.

  Reported / Tested by: Pietro Cerutti <gahr@gahr.ch>
                        - assembled laptop, based on the MSI-1034
                          (662) which is now becoming MSI-034A.

- Fix no sound issues (on headphones) for Lenovo ThinkCentre A55 due
  to global automute table entry which is not applicable for
  non-laptops.

  Reported / Tested by: Piotr Smyrak <piotr.smyrak@heron.pl>

- Speaker mute control for HP DC7700 since the front headphone jack
  does not generate any interesting unsolicited signal/response.

  Reported / Tested by: tyop @ irc.freenode.net

16 years agoNote deprecation of rc.d/nfslocking.
mtm [Fri, 26 Oct 2007 17:22:30 +0000 (17:22 +0000)]
Note deprecation of rc.d/nfslocking.

16 years agoMFC: eval.c 1.54, sh.1 1.125
stefanf [Fri, 26 Oct 2007 10:23:27 +0000 (10:23 +0000)]
MFC: eval.c 1.54, sh.1 1.125

The exit status of a case statement where none of the patterns is matched
is supposed to be 0, not the status of the previous command.

16 years agoBump __FreeBSDversion for wide and single byte ctype separation
delphij [Thu, 25 Oct 2007 19:52:22 +0000 (19:52 +0000)]
Bump __FreeBSDversion for wide and single byte ctype separation
MFC.  While the change does not break backward binary
compatibility, it will potentially cause programs compiled on
a new world not to run on older RELENG_6 systems, so we have
to make it possible to distungish between old and new states.

16 years agoMFC: rev. 1.14
mtm [Thu, 25 Oct 2007 18:02:10 +0000 (18:02 +0000)]
MFC: rev. 1.14
Check if /sbin/nextboot exists before running it.

PR:             93466
Submitted by:   Mats Palmgren

16 years agoMFC: rev. 1.6 and 1.7
mtm [Thu, 25 Oct 2007 17:20:22 +0000 (17:20 +0000)]
MFC: rev. 1.6 and 1.7

revision 1.6
date: 2007/05/17 11:33:08;  author: mtm;  state: Exp;  lines: +3 -3
o Use the --detach option to kdc(8) instead of using the shell
  background operator '&'.

  PR: conf/102722

o No need to include $kerberos5_server_flags in $command_args as
  rc.subr(8) will take care of this.

revision 1.7
Partial backout of rev. 1.6, but instead of putting kerberos5_server_flags
back in command_args, put it where rc.subr(8) expects it: kerberos5_flags.

16 years agoMFC: Clear the flags in the persistent keyboard data for ukbd0 when
jhb [Thu, 25 Oct 2007 16:56:15 +0000 (16:56 +0000)]
MFC: Clear the flags in the persistent keyboard data for ukbd0 when
init_keyboard() or kbd_register() fails.

16 years agoPartial MFC of rev. 1.18:
mtm [Thu, 25 Oct 2007 16:48:16 +0000 (16:48 +0000)]
Partial MFC of rev. 1.18:
The mountd daemon creates a pidfile so use it.

16 years agoMFC:
mtm [Thu, 25 Oct 2007 14:58:33 +0000 (14:58 +0000)]
MFC:
    rc.d/var rc.d/tmp:
    Remove unnecessary subshell constructs.

    rc.d/clean rc.d/initrandom:
    Remove unnecessary semi-colon at the end of a command line.

16 years agoMFC:
mtm [Thu, 25 Oct 2007 14:36:12 +0000 (14:36 +0000)]
MFC:
  Eliminate global symbols starting with an underscore from rc.d
  scripts, except for mdconfig* and jail.  Such symbols are reserved
  for the rc.subr internals.  Most scripts can be fixed by just
  declaring _foo symbols as local: few scripts actually need them to
  be global.

16 years agoMFC:
mtm [Thu, 25 Oct 2007 14:04:19 +0000 (14:04 +0000)]
MFC:
  o Implement the stop_boot subroutine [1]. This subroutine can be used by
    scripts in rc.d to stop rc(8) from booting into multi-user mode when
    a critical or severe error condition is encountered.

  o Modify scripts in etc/rc.d that already implemented this functionality
    independently.

  o Document it.

  [1] - This subroutine was implemented in FreeBSD in rc.d/fsck. I moved it
        to rc.subr(8). Our version differs slightly in that it takes an
        optional argument to stop the boot even if "autoboot" is not set.

  Obtained from: NetBSD

16 years ago- The breakage of ctype(3) is fixed now. Update the entry.
rafan [Thu, 25 Oct 2007 12:49:21 +0000 (12:49 +0000)]
- The breakage of ctype(3) is fixed now. Update the entry.

16 years agoMFC lib/Makefile rev. 1.221
rafan [Thu, 25 Oct 2007 12:45:39 +0000 (12:45 +0000)]
MFC lib/Makefile rev. 1.221

  Make sure libc is installed before all other shared libraries. Other
  libraries might depend on versioned symbols from libc.

This fixes breakage introduced by ctype(3) MFC.

Discussed with: delphij, ru
Approved by: re (kensmith)

16 years ago- Add a note about ctype(3) breakage. A proper fix is being working on,
rafan [Thu, 25 Oct 2007 06:45:29 +0000 (06:45 +0000)]
- Add a note about ctype(3) breakage. A proper fix is being working on,
  should be committed soon. Before that, advice users not to upgrade
  world. Also add instructions about how to recover from it.

Discussed with: delphij

16 years agoTemporary fix for polling.
simokawa [Thu, 25 Oct 2007 06:10:19 +0000 (06:10 +0000)]
Temporary fix for polling.
- fwohci_arcv() has a problem if the number of packets to be processed
  is limited.
- RELENG_7 and -current already have a same workaround.

Reported by: ikob
PR: kern/85434

16 years agoMFC: syscons.c rev. 1.453 and syscons.h rev. 1.88
simokawa [Thu, 25 Oct 2007 06:09:15 +0000 (06:09 +0000)]
MFC: syscons.c rev. 1.453 and syscons.h rev. 1.88

Serialize output routine of terminal emulator (te_puts()) by a lock.

16 years agoMFC of 1.11
edwin [Thu, 25 Oct 2007 03:52:42 +0000 (03:52 +0000)]
MFC of 1.11

Teach makewhatis.c to treat .SS with the same severity as .SH.

At least one port (net-mgmt/net-snmp) creates man-pages which are
in the format:

.SH NAME
The Net-SNMP agent \- The snmp agent responds to SNMP queries from manag
ement stations.

.PP
.SS "Modules"

At this moment, makewhatis determines the end of the .SH NAME section
as where it finds .SH again, but there is none here, is it "terminated"
by the .SS.

PR: bin/116706
Submitted by: edwin@

16 years agoMFC revisions 1.13 of NETWORKING and 1.37 of resolv:
dougb [Wed, 24 Oct 2007 21:36:09 +0000 (21:36 +0000)]
MFC revisions 1.13 of NETWORKING and 1.37 of resolv:
1. Make resolv order deterministic by REQUIRE'ing it in NETWORKING,
and having resolv REQUIRE netif.
2. Tighten up the code and fix whitespace in resolv

16 years agoMFC if_lagg.c r1.20, if_lagg.h r1.11
thompsa [Wed, 24 Oct 2007 21:19:02 +0000 (21:19 +0000)]
MFC if_lagg.c r1.20, if_lagg.h r1.11

  Fix two panics in lagg. Updating a pointer with shared locking and a double
  mbuf free.

16 years agoMFC r1.181
thompsa [Wed, 24 Oct 2007 21:15:54 +0000 (21:15 +0000)]
MFC r1.181
  Check for multicast destination on bpf injected packets.

16 years agoBring all files up to date with HEAD, which includes:
dougb [Wed, 24 Oct 2007 21:09:34 +0000 (21:09 +0000)]
Bring all files up to date with HEAD, which includes:
1. Misc. typo fixes
2. Lots of duplicate removal in the limerick file
3. Some updates to freebsd-tips

And most recently:
MFC fortunes 1.242: The original version of "The Guy in the Glass" with
proper attribution. See also http://www.theguyintheglass.com/

MFC fortunes 1.243, fortunes-o.real 1.23, and limerick 1.12:
Fix a few small typos and remove a duplicate