]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/log
FreeBSD/stable/8.git
14 years agoMFC r198859
thompsa [Wed, 11 Nov 2009 02:07:01 +0000 (02:07 +0000)]
MFC r198859

 Belatedly add an UPDATING message for the usb ethernet ifnet naming in r188412.

git-svn-id: svn://svn.freebsd.org/base/stable/8@199167 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r199058
thompsa [Wed, 11 Nov 2009 01:33:06 +0000 (01:33 +0000)]
MFC r199058

 Integrate lost interrupts patch from the old USB stack.

 Some EHCI chips from VIA / ATI seem to trigger interrupts before writing back
 the qTD status, or miss signalling occasionally under heavy load.  If the host
 machine is too fast, we can miss transaction completion - when we scan the
 active list the transaction still seems to be active. This generally exhibits
 itself as a umass stall that never recovers.

 We work around this behaviour by setting up this callback after any softintr
 that completes with transactions still pending, giving us another chance to
 check for completion after the writeback has taken place

Submitted by: Alexander Nedotsuko

git-svn-id: svn://svn.freebsd.org/base/stable/8@199166 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r199055
thompsa [Wed, 11 Nov 2009 01:27:58 +0000 (01:27 +0000)]
MFC r199055

 - fix refcounting error during data transfer
 - fix a memory leak on the USB backend
 - fix invalid pointer computations (in one case memory outside the allocated
   area was written in LibUSB v1.0)
 - make sure memory is always initialised, also in failing cases
 - add missing functions from v1.0.4

PR: usb/140325

git-svn-id: svn://svn.freebsd.org/base/stable/8@199165 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r198486, r199050:
mav [Tue, 10 Nov 2009 22:37:44 +0000 (22:37 +0000)]
MFC r198486, r199050:
Increase ATA command timeouts. Introduce define and kernel option
ATA_REQUEST_TIMEOUT to control it.

PR: kern/111023

git-svn-id: svn://svn.freebsd.org/base/stable/8@199158 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r198846:
delphij [Tue, 10 Nov 2009 00:41:22 +0000 (00:41 +0000)]
MFC r198846:

  Set umask to 0x077 instead of the default.  This prevents non-root user
  from reading crashinfo output, which could contain some sensitive
  information.

git-svn-id: svn://svn.freebsd.org/base/stable/8@199121 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC revision 199069:
delphij [Tue, 10 Nov 2009 00:34:25 +0000 (00:34 +0000)]
MFC revision 199069:

Initialize the whole message unit's DMA buffer to zero, this fixes a panic
during boot when ARC1200 is being used with certain motherboard models.

This commit brings the driver to the same state of vendor's 1.20.00.16
release.  Many thanks to Areca for their continued support to FreeBSD.

This instant MFC was requested by re@ (kensmith) in preparation for
8.0-RC3.

Reported by: Jirka Mikulas <jiri mikulas com>
Submitted by: Erich Chen (Areca)

git-svn-id: svn://svn.freebsd.org/base/stable/8@199120 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoComment out the sbp(4) entry for GENERIC config files that contain it.
kensmith [Mon, 9 Nov 2009 21:39:42 +0000 (21:39 +0000)]
Comment out the sbp(4) entry for GENERIC config files that contain it.
There are known issues with this driver that are beyond what can be
fixed for 8.0-RELEASE and the bugs can cause boot failure on some systems.
It's not clear if it impacts all systems and there is interest in getting
the problem fixed so for now just comment it out instead of remove it.

Commit straight to stable/8, this is an 8.0-RELEASE issue.  Head was left
alone so work on it can continue there.

Reviewed by: Primary misc. architecture maintainers (marcel, marius)

git-svn-id: svn://svn.freebsd.org/base/stable/8@199112 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoInsta-MFC of r199084,199108:
nwhitehorn [Mon, 9 Nov 2009 21:30:45 +0000 (21:30 +0000)]
Insta-MFC of r199084,199108:
   Increase the size of the OFW translations buffer to handle G5 systems
   that use many translation regions in firmware, and add bounds checking
   to prevent buffer overflows in case even the new value is exceeded.

Short MFC requested by re since the problem this fixes breaks CD boot on
most G5 systems, making them uninstallable.

Reported by: Jacob Lambert
Approved by: re (kensmith,kib)
Requested by: re

git-svn-id: svn://svn.freebsd.org/base/stable/8@199110 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoCleanup mergeinfo for libc. Part of the damage was caused by a merge from
jhb [Mon, 9 Nov 2009 18:56:47 +0000 (18:56 +0000)]
Cleanup mergeinfo for libc.  Part of the damage was caused by a merge from
a partial checkout of libc in a user branch up to head.  Don't do merges
from sparse trees!

git-svn-id: svn://svn.freebsd.org/base/stable/8@199097 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r198719:
kensmith [Mon, 9 Nov 2009 18:09:10 +0000 (18:09 +0000)]
MFC r198719:
> While certain supported Symbios/LSI SCSI chips (532c89653c100053c1010)
> do support 64bit addresses, the current SCRIPTS code supports only 32bit
> addresses causing data corruption for buffer addresses >4GB. This problem
> affects 64bit machines with more than 4GB RAM or amd64 with 4GB and
> memory hole remapping.
> Work-around this problem with a bus_dma tag that requests bounce-buffers
> for addresses >4GB. This causes some overhead, but given the maximum SCSI
> bus speed of 160MB/s compared, the effect should hardly be noticeable.
> The problem was reported by Mike Watters (mike at mwatters net) who also
> verified that this fix cures the problem.
>
> Since this change is a NOOP on systems with less than 4GB RAM and fixes
> data corruption (in RAM and on disk) on systems with more than 4GB, I hope
> that this change is accepted for 8.0.

Requested by: Stefan Esser (se at freebsd dot org)[1]
Reviewed by: jhb, scottl

[1] Stefan requested this be part of 8.0 but has been unavailable to do
    the MFC since submitting the request.  We want to get 8.0-RC3 started
    so I'm doing the merges with re@ hat on.

git-svn-id: svn://svn.freebsd.org/base/stable/8@199095 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoHoist some mergeinfo up to sys/.
jhb [Mon, 9 Nov 2009 16:32:48 +0000 (16:32 +0000)]
Hoist some mergeinfo up to sys/.

git-svn-id: svn://svn.freebsd.org/base/stable/8@199088 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r198976, r198993:
ume [Mon, 9 Nov 2009 15:11:37 +0000 (15:11 +0000)]
MFC r198976, r198993:
 - Don't call LLE_FREE() after nd6_free().
 - Make nd6_llinfo_timer() does its job, again.  ln->la_expire was
   greater than time_second, in most cases.

git-svn-id: svn://svn.freebsd.org/base/stable/8@199085 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC of 198831, tzcode2009q
edwin [Mon, 9 Nov 2009 11:32:18 +0000 (11:32 +0000)]
MFC of 198831, tzcode2009q

- Cleanup unnecessary local variables in zdump.
- Fix man-page

git-svn-id: svn://svn.freebsd.org/base/stable/8@199077 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r198845:
oleg [Mon, 9 Nov 2009 10:13:24 +0000 (10:13 +0000)]
MFC r198845:
Fix two issues that can lead to exceeding configured pipe bandwidth:
- do not expire queues which are not ready to be expired.
- properly calculate available burst size.

MFC r199073:
style(9): add missing parentheses

git-svn-id: svn://svn.freebsd.org/base/stable/8@199075 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r198475:
lulf [Sun, 8 Nov 2009 17:59:55 +0000 (17:59 +0000)]
MFC r198475:

- Add support for Marvell Yukon 88E8042 device.

Submitted by:   Mario Lobo <mlobo -at- digiart.art.br>

git-svn-id: svn://svn.freebsd.org/base/stable/8@199052 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r198948 from HEAD:
rafan [Sun, 8 Nov 2009 14:28:23 +0000 (14:28 +0000)]
MFC r198948 from HEAD:

 Revert the spelling of Taiwan to be politically neutral in accordance
 with the policy published at http://www.freebsd.org/internal/i18n.html.

 Requested by: core (murray)

git-svn-id: svn://svn.freebsd.org/base/stable/8@199049 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r198983:
mav [Sun, 8 Nov 2009 14:07:58 +0000 (14:07 +0000)]
MFC r198983:
Document support for more chips.

git-svn-id: svn://svn.freebsd.org/base/stable/8@199048 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r198818:
mav [Sun, 8 Nov 2009 14:06:15 +0000 (14:06 +0000)]
MFC r198818:
Add IDs for nVidia MCP65/77/79/89 SATA conntrollers.

git-svn-id: svn://svn.freebsd.org/base/stable/8@199047 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC: r198750
brueffer [Sun, 8 Nov 2009 12:08:42 +0000 (12:08 +0000)]
MFC: r198750

Expand DESCRIPTION and add a basic EXAMPLES section.

git-svn-id: svn://svn.freebsd.org/base/stable/8@199045 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r198162:
dougb [Sat, 7 Nov 2009 22:59:04 +0000 (22:59 +0000)]
MFC r198162:

Allow $name_program to override $command in a more robust way that
will not cause the value to be null if $command is not set.

git-svn-id: svn://svn.freebsd.org/base/stable/8@199029 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r199023:
dougb [Sat, 7 Nov 2009 22:27:34 +0000 (22:27 +0000)]
MFC r199023:
Move VCS fortune to fortunes-o

MFC 199025:
Sort fortune

git-svn-id: svn://svn.freebsd.org/base/stable/8@199026 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r197797:
dougb [Sat, 7 Nov 2009 21:10:48 +0000 (21:10 +0000)]
MFC r197797:
s/Putluck Pogo/Potluck Pogo/

MFC r198921:
Grammar/formatting fix

MFC 199021:
Remove svn:executable from datfiles/gerrold.limerick

git-svn-id: svn://svn.freebsd.org/base/stable/8@199022 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC 198620:
jhb [Fri, 6 Nov 2009 20:33:40 +0000 (20:33 +0000)]
MFC 198620:
When fetching sum stats (vmstat -s) from a crash dump, fetch per-CPU counts
and sum them to form the total counts.

git-svn-id: svn://svn.freebsd.org/base/stable/8@199003 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC 198367:
jhb [Fri, 6 Nov 2009 20:23:16 +0000 (20:23 +0000)]
MFC 198367:
Set the devclass_t pointer specified in the DRIVER_MODULE() macro
sooner so it is always valid when a driver's identify routine is
called.

git-svn-id: svn://svn.freebsd.org/base/stable/8@199000 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r197070:
attilio [Fri, 6 Nov 2009 15:24:48 +0000 (15:24 +0000)]
MFC r197070:
Consolidate CPUID to CPU family/model macros for amd64 and i386 to reduce
unnecessary #ifdef's for shared code between them.

This MFC should unbreak the kernel build breakage introduced by
r198977.

Reported by: kib
Pointy hat to: me

git-svn-id: svn://svn.freebsd.org/base/stable/8@198989 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r198700:
mav [Fri, 6 Nov 2009 10:56:43 +0000 (10:56 +0000)]
MFC r198700:
Add support for different request block format used by Gen-IIe Marvell SATA.
This adds support for Marvell 6042/7042 chips and Adaptec 1430SA controller.

MFC r198718:
Allow newly added controllers to use full I/O sizes.

git-svn-id: svn://svn.freebsd.org/base/stable/8@198982 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r198407:
mav [Fri, 6 Nov 2009 10:48:44 +0000 (10:48 +0000)]
MFC r198407:
Do not differentiate 12/16 bytes ATAPI CCB formats when it is not needed.

git-svn-id: svn://svn.freebsd.org/base/stable/8@198981 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r197783:
mav [Fri, 6 Nov 2009 10:45:37 +0000 (10:45 +0000)]
MFC r197783:
- Revert r191568 partially.  Forcing AHCI mode by changing device subclass
and progif is evil.  It doesn't work reliably[1] and we should honor BIOS
configuration by the user.
- If the SATA controller is enbled but combined mode is disabled, mask off
the emulated IDE channel on the legacy IDE controller.

Pointed out by: mav[1]

git-svn-id: svn://svn.freebsd.org/base/stable/8@198980 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r198868, r198950:
attilio [Fri, 6 Nov 2009 10:15:15 +0000 (10:15 +0000)]
MFC r198868, r198950:
Opteron rev E family of processor expose a bug where acq memory barriers
can be broken, resulting in random breakages.
Printout a warning message if affecred family and model are found.

git-svn-id: svn://svn.freebsd.org/base/stable/8@198977 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r197789:
trasz [Fri, 6 Nov 2009 09:39:35 +0000 (09:39 +0000)]
MFC r197789:

Fix ACL support on sparc64.  Turns out that fuword(9) fetches 64 bits
instead of sizeof(int), and on sparc64 that resulted in fetching wrong
value for acl_maxcnt, which in turn caused __acl_get_link(2) to fail
with EINVAL.

PR: sparc64/139304
Submitted by: Dmitry Afanasiev <KOT at MATPOCKuH.Ru>

git-svn-id: svn://svn.freebsd.org/base/stable/8@198975 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC: r198543
brueffer [Fri, 6 Nov 2009 08:08:47 +0000 (08:08 +0000)]
MFC: r198543

Fix date (1) and SEE ALSO section.

git-svn-id: svn://svn.freebsd.org/base/stable/8@198974 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC: r198684
brueffer [Fri, 6 Nov 2009 06:50:45 +0000 (06:50 +0000)]
MFC: r198684

Add support for Adaptec 39320LPE adapters.

git-svn-id: svn://svn.freebsd.org/base/stable/8@198969 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r198525:
emaste [Thu, 5 Nov 2009 18:34:01 +0000 (18:34 +0000)]
MFC r198525:

  Whitespace fixup: 8 spaces -> tab

git-svn-id: svn://svn.freebsd.org/base/stable/8@198960 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoUnbreak SBus cards which have been broken (apparently) for a while.
mjacob [Thu, 5 Nov 2009 18:25:26 +0000 (18:25 +0000)]
Unbreak SBus cards which have been broken (apparently) for a while.
Most of the pieces came from Marius- correct settings for channels
and resource management. The one piece missing was that you cannot
for SBus cards replace 32 bit operations with A64 operations- not
supported. This is an MFC of r198822.

git-svn-id: svn://svn.freebsd.org/base/stable/8@198959 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r198518:
emaste [Thu, 5 Nov 2009 13:54:35 +0000 (13:54 +0000)]
MFC r198518:

  Add link for callout_schedule(9).

git-svn-id: svn://svn.freebsd.org/base/stable/8@198949 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r196511:
netchild [Thu, 5 Nov 2009 08:31:42 +0000 (08:31 +0000)]
MFC r196511:
  - Update config to doxygen 1.5.2 (I use this with 1.5.9).
  - Add linprocfs and linsysfs to the linuxulator dox.
  - Take the generated includes from the .m files from a subdirectory
    instead of putting everything into $(.OBJDIR). This imporves the
    human readbility of the source directory contents a lot, if you do not
    create a separate OBJDIR.
  - Assume UTF-8 encoding for every input file.
  - Strip the source and dest path from the output, we are not interested
    in the absolute location on the machine where the docs are created,
    relative the the root of the FreeBSD source is what interests us.
  - Exclude .svn directories.
  - Switch to alphabetic index.
  - Use one line per INCLUDE_PATH member in the common dox-config.
  - Bump the __FreeBSD__ version to 9. [here in the MFC: to 8]
  - Switch from hardcoded .m files to an run-time generated one. Takes
    a little bit more time to get started with actual work, but at least
    is more future-proof. If you generate dox for all subsystems, the
    time to find all .m files in the source is magnitutes lower than
    producing the docs.
  - Make the *DEST_PATH overidable from the environment. This allows to
    produce the output directly in the docroot of a webserver.
  - Fix the path when telling the user where he can find the API docs.

git-svn-id: svn://svn.freebsd.org/base/stable/8@198946 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r197437:
emaste [Thu, 5 Nov 2009 02:27:56 +0000 (02:27 +0000)]
MFC r197437:

  Use %zu for size_t, not %zd.

git-svn-id: svn://svn.freebsd.org/base/stable/8@198935 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC 198554:
jhb [Wed, 4 Nov 2009 20:49:14 +0000 (20:49 +0000)]
MFC 198554:
Fix some problems with effective mmap() offsets > 32 bits.  This was
partially fixed on amd64 earlier.  Rather than forcing linux_mmap_common()
to use a 32-bit offset, have it accept a 64-bit file offset.  This offset
is then passed to the real mmap() call.  Rather than inventing a structure
to hold the normal linux_mmap args that has a 64-bit offset, just pass
each of the arguments individually to linux_mmap_common() since that more
closes matches the existing style of various kern_foo() functions.

git-svn-id: svn://svn.freebsd.org/base/stable/8@198925 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r197586:
yongari [Wed, 4 Nov 2009 18:31:43 +0000 (18:31 +0000)]
MFC r197586:
  It seems some 82559ER controllers do not support Rx checksum
  offloading. Datasheet said nothing about the limitation of 82559ER
  except WOL. Explicitly disable Rx checksum offloading for
  controllers that is known to lack the capability.

  PR: kern/138135
  Tested by: Gooderum, Mark < mgooderum <> websense dot com >

git-svn-id: svn://svn.freebsd.org/base/stable/8@198919 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC 197772:
jhb [Wed, 4 Nov 2009 16:58:26 +0000 (16:58 +0000)]
MFC 197772:
When the timeout backoff hits the maximum value, leave it capped at the
maximum value rather than setting it to the result of a boolean expression
that is always true.

git-svn-id: svn://svn.freebsd.org/base/stable/8@198907 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC 198586: Include the output of the ddb(4) capture buffer.
jhb [Wed, 4 Nov 2009 16:05:09 +0000 (16:05 +0000)]
MFC 198586: Include the output of the ddb(4) capture buffer.

git-svn-id: svn://svn.freebsd.org/base/stable/8@198902 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC 198585:
jhb [Wed, 4 Nov 2009 16:03:47 +0000 (16:03 +0000)]
MFC 198585:
When extracting the capture buffer from a crashdump, only read the valid
portion of the capture buffer.

git-svn-id: svn://svn.freebsd.org/base/stable/8@198900 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC: r198542
brueffer [Wed, 4 Nov 2009 13:40:04 +0000 (13:40 +0000)]
MFC: r198542

Initialize f_rabuf in the raw device case. A subsequent close()
later on would try to free it, leading to a crash.

git-svn-id: svn://svn.freebsd.org/base/stable/8@198888 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC: r198539
brueffer [Wed, 4 Nov 2009 13:30:32 +0000 (13:30 +0000)]
MFC: r198539

Close a stream file descriptor leak.

git-svn-id: svn://svn.freebsd.org/base/stable/8@198886 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC: r198537
brueffer [Wed, 4 Nov 2009 13:06:09 +0000 (13:06 +0000)]
MFC: r198537

Close a file descriptor leak in an error case.

git-svn-id: svn://svn.freebsd.org/base/stable/8@198884 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC: r198546
brueffer [Wed, 4 Nov 2009 12:35:35 +0000 (12:35 +0000)]
MFC: r198546

Remove spurious `)`

git-svn-id: svn://svn.freebsd.org/base/stable/8@198881 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC of r198825: tzdata2009q
edwin [Wed, 4 Nov 2009 10:46:55 +0000 (10:46 +0000)]
MFC of r198825: tzdata2009q

- New region: Asia/Novokuznetsk
- Kemerovo oblast' (Kemerovo region) in Russia will change current
  time zone on 29 March 2010
- Add historical data for Hongkong 1941 - 1980
- Syria will go to winter time in the last weekend of October 2009.

git-svn-id: svn://svn.freebsd.org/base/stable/8@198878 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r198775
thompsa [Wed, 4 Nov 2009 01:50:25 +0000 (01:50 +0000)]
MFC r198775

 Fix a corner case where usbd_transfer_drain() can return too early if the
 callback has dropped the mutex, leading to a panic.

Submitted by: HPS

git-svn-id: svn://svn.freebsd.org/base/stable/8@198869 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r198581:
rpaulo [Tue, 3 Nov 2009 23:26:31 +0000 (23:26 +0000)]
MFC r198581:
 Update the route's sequence number upon receiving a RANN.

git-svn-id: svn://svn.freebsd.org/base/stable/8@198864 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r197334,r197433:
mlaier [Tue, 3 Nov 2009 21:57:00 +0000 (21:57 +0000)]
MFC r197334,r197433:
    Extract svn and git version info from git-svn repos.

git-svn-id: svn://svn.freebsd.org/base/stable/8@198863 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r197524
alc [Mon, 2 Nov 2009 18:44:01 +0000 (18:44 +0000)]
MFC r197524
  Make malloc(3) superpage aware.

git-svn-id: svn://svn.freebsd.org/base/stable/8@198815 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r197011:
emaste [Mon, 2 Nov 2009 16:54:23 +0000 (16:54 +0000)]
MFC r197011:

  Increase AAC_CMD_TIMEOUT from 30s to 120s to help avoid spurious
  "COMMAND 0x........ TIMEOUT AFTER .. SECONDS" messages.  Any commands
  that get truly stuck will still trigger the warning and the hardware
  health check, just a little bit later.

git-svn-id: svn://svn.freebsd.org/base/stable/8@198809 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r197082:
emaste [Mon, 2 Nov 2009 16:46:06 +0000 (16:46 +0000)]
MFC r197082:

If the pxe client is told to use / as the root path, honour that rather
of trying to mount /pxeroot instead.

PR: i386/106493
Submitted by: Andrey Russev

git-svn-id: svn://svn.freebsd.org/base/stable/8@198806 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r197692:
emaste [Mon, 2 Nov 2009 16:32:32 +0000 (16:32 +0000)]
MFC r197692:

  In fill_kinfo_thread, copy the thread's name into struct kinfo_proc even
  if it is empty.  Otherwise the previous thread's name would remain in the
  struct and then be reported for this thread.

Submitted by: Ryan Stone

git-svn-id: svn://svn.freebsd.org/base/stable/8@198805 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r198029:
emaste [Mon, 2 Nov 2009 16:27:34 +0000 (16:27 +0000)]
MFC r198029:

  Correct typo: thetime -> the time

PR: docs/139447
Submitted by: Guido Falsi  mad at madpilot dot net

git-svn-id: svn://svn.freebsd.org/base/stable/8@198802 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r198541:
emaste [Mon, 2 Nov 2009 16:22:59 +0000 (16:22 +0000)]
MFC r198541:

  Do first controller time sync after 1 minute, as in Adaptec's vendor
  driver.

git-svn-id: svn://svn.freebsd.org/base/stable/8@198799 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC 198696
rnoland [Mon, 2 Nov 2009 16:02:16 +0000 (16:02 +0000)]
MFC 198696

    Cleanup in r600_blit

     - Don't bother to assign vb until we know we have enough space
     - Add variables for sx2, sy2, dx2, dy2 so that these aren't
       calculated over and over, also reduce chance of errors.
     - Use switch to assign color/format

git-svn-id: svn://svn.freebsd.org/base/stable/8@198797 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC 198695
rnoland [Mon, 2 Nov 2009 15:59:55 +0000 (15:59 +0000)]
MFC 198695

A bit of cleanup work on radeon_freelist_get()

 * Fix the main loop to search all buffers before sleeping.
 * Remove dead code

git-svn-id: svn://svn.freebsd.org/base/stable/8@198795 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC 198692
rnoland [Mon, 2 Nov 2009 15:57:03 +0000 (15:57 +0000)]
MFC 198692

Use system specified memory barriers rather than rolling our own.

git-svn-id: svn://svn.freebsd.org/base/stable/8@198794 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC 198691
rnoland [Mon, 2 Nov 2009 15:53:32 +0000 (15:53 +0000)]
MFC 198691

Fix blitter support for RS880 chips

git-svn-id: svn://svn.freebsd.org/base/stable/8@198792 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC: Allow KMOD with hypens and dots.
fjoe [Mon, 2 Nov 2009 09:47:15 +0000 (09:47 +0000)]
MFC: Allow KMOD with hypens and dots.

git-svn-id: svn://svn.freebsd.org/base/stable/8@198783 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r197163
alc [Sun, 1 Nov 2009 20:24:17 +0000 (20:24 +0000)]
MFC r197163
  Add the FBSD_1.2 namespace.

Reminded by: kib

git-svn-id: svn://svn.freebsd.org/base/stable/8@198773 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r197331, r197394
alc [Sun, 1 Nov 2009 19:22:07 +0000 (19:22 +0000)]
MFC r197331, r197394
  Add getpagesizes(3).

git-svn-id: svn://svn.freebsd.org/base/stable/8@198772 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r197393
alc [Sun, 1 Nov 2009 18:48:06 +0000 (18:48 +0000)]
MFC r197393
  Add FreeBSD 7.2 and 7.3.

git-svn-id: svn://svn.freebsd.org/base/stable/8@198771 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC 197450: number of cleanups in i386 and amd64 pci md code
avg [Sun, 1 Nov 2009 18:39:26 +0000 (18:39 +0000)]
MFC 197450: number of cleanups in i386 and amd64 pci md code

git-svn-id: svn://svn.freebsd.org/base/stable/8@198769 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC 198272, 198288: fix watchdogd(8) reference
avg [Sun, 1 Nov 2009 18:16:55 +0000 (18:16 +0000)]
MFC 198272, 198288: fix watchdogd(8) reference

git-svn-id: svn://svn.freebsd.org/base/stable/8@198766 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC 198279: fix sorting of some amd* entries in some makefiles
avg [Sun, 1 Nov 2009 18:10:38 +0000 (18:10 +0000)]
MFC 198279: fix sorting of some amd* entries in some makefiles

git-svn-id: svn://svn.freebsd.org/base/stable/8@198765 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC 198279: fix sorting of some amd* entries in some makefiles
avg [Sun, 1 Nov 2009 17:56:45 +0000 (17:56 +0000)]
MFC 198279: fix sorting of some amd* entries in some makefiles

git-svn-id: svn://svn.freebsd.org/base/stable/8@198763 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC 198271: add amdtemp to i386 NOTES
avg [Sun, 1 Nov 2009 17:53:33 +0000 (17:53 +0000)]
MFC 198271: add amdtemp to i386 NOTES

git-svn-id: svn://svn.freebsd.org/base/stable/8@198761 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC 197647: cpufunc.h: unify/correct style of c extension names
avg [Sun, 1 Nov 2009 17:45:37 +0000 (17:45 +0000)]
MFC 197647: cpufunc.h: unify/correct style of c extension names

git-svn-id: svn://svn.freebsd.org/base/stable/8@198760 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC 197658: print machine in kernel boot version string
avg [Sun, 1 Nov 2009 17:40:05 +0000 (17:40 +0000)]
MFC 197658: print machine in kernel boot version string

PR: kern/126926

git-svn-id: svn://svn.freebsd.org/base/stable/8@198758 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC 197641: print_caddr_t: drop incorrect __unused from parameter
avg [Sun, 1 Nov 2009 17:36:36 +0000 (17:36 +0000)]
MFC 197641: print_caddr_t: drop incorrect __unused from parameter

git-svn-id: svn://svn.freebsd.org/base/stable/8@198756 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r197128,197325: add support for smbus controller found in AMD SB700
avg [Sun, 1 Nov 2009 11:34:13 +0000 (11:34 +0000)]
MFC r197128,197325: add support for smbus controller found in AMD SB700

git-svn-id: svn://svn.freebsd.org/base/stable/8@198749 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC: r198609
brueffer [Sun, 1 Nov 2009 10:56:03 +0000 (10:56 +0000)]
MFC: r198609

Revert part of r198363, there is no "device cam", it is
included in "device scbus".

git-svn-id: svn://svn.freebsd.org/base/stable/8@198746 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC various commits back to stable/8:
ed [Sun, 1 Nov 2009 10:30:30 +0000 (10:30 +0000)]
MFC various commits back to stable/8:

SVN r197174:
  Make sure we never place the cursor outside the screen.

  For some vague reason, it may be possible that scp->cursor_pos exceeds
  scp->ysize * scp->xsize. This means that teken_set_cursor() may get
  called with an invalid position. Just ignore the old cursor position in
  this case.

  Reported by:  Paul B. Mahol <onemda gmail com>

SVN r198213:
  Make lock devices work properly.

  It turned out I did add the code to use the init state devices to set
  the termios structure when opening the device, but it seems I totally
  forgot to add the bits required to force the actual locking of flags
  through the lock state devices.

  Reported by: ru

SVN r198215, r198217:
  Fix a typo in the jail(8) manpage.

  Submitted by: Jille Timmermans <jille quis cx>

SVN r198216:
  Fix qouting in a comment, to make it look more consistent

  Submitted by: Jille Timmermans <jille quis cx>

SVN r198223:
  Properly set the low watermarks when reducing the baud rate.

  Now that buffers are deallocated lazily, we should not use
  tty*q_getsize() to obtain the buffer size to calculate the low
  watermarks. Doing this may cause the watermark to be placed outside the
  typical buffer size.

  This caused some regressions after my previous commit to the TTY code,
  which allows pseudo-devices to resize the buffers as well.

  Reported by:  yongari, dougb

git-svn-id: svn://svn.freebsd.org/base/stable/8@198745 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC rev. 198623:
mav [Sun, 1 Nov 2009 10:01:39 +0000 (10:01 +0000)]
MFC rev. 198623:
Add missing ATA kernel options dependencies.

git-svn-id: svn://svn.freebsd.org/base/stable/8@198744 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC 197240,197241,197242,197243,197293,197294,197407:
sson [Sat, 31 Oct 2009 21:22:18 +0000 (21:22 +0000)]
MFC 197240,197241,197242,197243,197293,197294,197407:

Add EVFILT_USER filter and EV_DISPATCH/EV_RECEIPT flags to kevent(2).

Approved by: rwatson (mentor)

git-svn-id: svn://svn.freebsd.org/base/stable/8@198732 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r197317
alc [Sat, 31 Oct 2009 19:02:08 +0000 (19:02 +0000)]
MFC r197317
  When superpages are enabled, add the 2 or 4MB page size to the array of
  supported page sizes.

git-svn-id: svn://svn.freebsd.org/base/stable/8@198729 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r197316
alc [Sat, 31 Oct 2009 18:54:26 +0000 (18:54 +0000)]
MFC r197316
  Add a new sysctl for reporting all of the supported page sizes.

git-svn-id: svn://svn.freebsd.org/base/stable/8@198728 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r198472
alc [Sat, 31 Oct 2009 18:18:32 +0000 (18:18 +0000)]
MFC r198472
  Eliminate an unnecessary check from vm_fault_prefault().

git-svn-id: svn://svn.freebsd.org/base/stable/8@198726 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r196891 to stable/8:
antoine [Sat, 31 Oct 2009 12:26:40 +0000 (12:26 +0000)]
MFC r196891 to stable/8:
  Change w_notrunning and w_stillcold from pointer to array so that sizeof
  returns what is expected.

  PR: kern/138557
  Discussed with: brucec@
  MFC after: 1 month

git-svn-id: svn://svn.freebsd.org/base/stable/8@198715 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC: r198356
brueffer [Sat, 31 Oct 2009 11:08:04 +0000 (11:08 +0000)]
MFC: r198356

Fix a memory leak in an error case.

git-svn-id: svn://svn.freebsd.org/base/stable/8@198711 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC: r198327
brueffer [Sat, 31 Oct 2009 10:59:53 +0000 (10:59 +0000)]
MFC: r198327

Add a missing free() call.

git-svn-id: svn://svn.freebsd.org/base/stable/8@198710 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFCs of r197764, r197765, r197766, r197847:
edwin [Sat, 31 Oct 2009 06:35:40 +0000 (06:35 +0000)]
MFCs of r197764, r197765, r197766, r197847:

Modified locale(1) to be able to show the altmon_X fields and the
[cxX]_fmt's.  Also modify the "-k list" option to display only
fields with a certain prefix.

Add the comment "(FreeBSD only)" to the altmonth_x keywords

git-svn-id: svn://svn.freebsd.org/base/stable/8@198704 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r198230, r198242, r198260, r198346, r198369, r198384:
rpaulo [Fri, 30 Oct 2009 19:59:50 +0000 (19:59 +0000)]
MFC r198230, r198242, r198260, r198346, r198369, r198384:

    More mesh fixes to comply with latest draft.

git-svn-id: svn://svn.freebsd.org/base/stable/8@198699 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r198490
rafan [Fri, 30 Oct 2009 17:28:35 +0000 (17:28 +0000)]
MFC r198490

 Pull upstream patch to fix ee(1) crash when received SIGWINCH:

   modify _nc_wgetch() to check for a -1 in the fifo, e.g., after a
   SIGWINCH, and discard that value, to avoid confusing application
   (patch by Eygene Ryabinkin, FreeBSD bin/136223).

PR: 136223
Submitted by: Eygene Ryabinkin
Obtained from: ncurses-5.7-20091024 snapshot

git-svn-id: svn://svn.freebsd.org/base/stable/8@198693 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r197950
rnoland [Fri, 30 Oct 2009 16:43:28 +0000 (16:43 +0000)]
MFC r197950

Add pci id's for Intel G41 chipset

git-svn-id: svn://svn.freebsd.org/base/stable/8@198689 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r197951
rnoland [Fri, 30 Oct 2009 16:37:58 +0000 (16:37 +0000)]
MFC r197951

Add support for Intel G41 chipset

git-svn-id: svn://svn.freebsd.org/base/stable/8@198687 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r196470-196471,197154-197155,197603-197606
rnoland [Fri, 30 Oct 2009 16:32:35 +0000 (16:32 +0000)]
MFC r196470-196471,197154-197155,197603-197606

Sync radeon drm support

This adds kernel support for r6/7xx 3D.

git-svn-id: svn://svn.freebsd.org/base/stable/8@198685 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r196466
rnoland [Fri, 30 Oct 2009 16:14:17 +0000 (16:14 +0000)]
MFC r196466

Add a read only sysctl tracking the hw.drm.msi tunable.

git-svn-id: svn://svn.freebsd.org/base/stable/8@198682 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r196465
rnoland [Fri, 30 Oct 2009 16:12:28 +0000 (16:12 +0000)]
MFC r196465

Clean up the handling of device minors

git-svn-id: svn://svn.freebsd.org/base/stable/8@198681 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r196464
rnoland [Fri, 30 Oct 2009 16:06:32 +0000 (16:06 +0000)]
MFC r196464

Clean up the locking in drm_alloc_resource()

git-svn-id: svn://svn.freebsd.org/base/stable/8@198679 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r198097
rnoland [Fri, 30 Oct 2009 15:45:00 +0000 (15:45 +0000)]
MFC r198097

Set the active flag in the PMBR when we install bootcode on a GPT
partitioned disk.  Some BIOS require this to be set before they will
boot the device.

git-svn-id: svn://svn.freebsd.org/base/stable/8@198676 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC rev. 197621:
mav [Fri, 30 Oct 2009 13:02:08 +0000 (13:02 +0000)]
MFC rev. 197621:
Fix bug, when RADIUS client gave up after single sendto() error, do not
trying backup servers.

PR: kern/103764, misc/139214

git-svn-id: svn://svn.freebsd.org/base/stable/8@198674 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC rev. 197086:
mav [Fri, 30 Oct 2009 12:57:28 +0000 (12:57 +0000)]
MFC rev. 197086:
Add simple embedded RADIUS server support to libradius, by extending existing
API, keeping backward compatibility.

First consumer for this functionality is going to become forthcoming MPD-5.4,
supporting CoA and DR of RFC 3576: Dynamic Authorization Extensions to RADIUS.

git-svn-id: svn://svn.freebsd.org/base/stable/8@198672 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r198373
thompsa [Thu, 29 Oct 2009 23:28:48 +0000 (23:28 +0000)]
MFC r198373

 Allow dumping the USB mouse reports via 'sysctl -b dev.ums.N.parseinfo',
 previously only available via bootverbose.

PR: usb/137191

git-svn-id: svn://svn.freebsd.org/base/stable/8@198664 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r198258
thompsa [Thu, 29 Oct 2009 23:28:21 +0000 (23:28 +0000)]
MFC r198258

 Add opt_gdb.h which is now needed by ucom.

git-svn-id: svn://svn.freebsd.org/base/stable/8@198663 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r198257
thompsa [Thu, 29 Oct 2009 23:27:40 +0000 (23:27 +0000)]
MFC r198257

 Add support for newer WinChipHead CH341 chips, previously in the uch341 driver.

git-svn-id: svn://svn.freebsd.org/base/stable/8@198662 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r198153
thompsa [Thu, 29 Oct 2009 23:27:00 +0000 (23:27 +0000)]
MFC r198153

 Correct offset calcluation for the NCM implementation.

git-svn-id: svn://svn.freebsd.org/base/stable/8@198661 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r198152
thompsa [Thu, 29 Oct 2009 23:26:29 +0000 (23:26 +0000)]
MFC r198152

 Only poll ukbd if KDB is active.

git-svn-id: svn://svn.freebsd.org/base/stable/8@198660 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f