117058 Commits

Author SHA1 Message Date
grehan
3a2c301d92 MFC machdep.c r1.90
trap.c    r1.55
     trap_subr.S r1.15

   Temporary band-aid to fix hang when a process exec's Altivec
 instructions.

    trap_subr.S:  declare a stub for the a-unavailable trap
                  that does an absolute jump to the vector-assist trap.
                  This is due to the fact that the vec-unavail trap
                  doesn't start at a 256-byte boundary, so the trick of
                  masking the bottom 8 bits of the link register to identify
                  the interrupt doesn't work, so let the vec-assist
                  case handle Altivec-disabled for the time being.

                  Note that this will be fixed in the future with a much
                  smaller vector code-stub (< 16 bytes) that will allow
                  use of strange vector offsets that are also present in
                  4xx processors, and also allow smaller differences in
                  vector codepaths on the G5.

    trap.c:       Treat altivec-unavailable/assist process traps as SIGILL.
                  Not quite correct, since altivec-assist should really
 		  be a panic,
                  but it is fine for the moment due to the above measure.

    machdep.c     Install the stub code for the altivec-unavailable trap, and
                  the standard trap code at the altivec-assist.

Approved by:	re (Ken Smith)
2005-08-08 07:02:12 +00:00
ceri
477011fe9d MFC r1.71.
Correct the description of the TAPE environment variable.
  Based on:

PR:             docs/84200
Submitted by:   Gary W. Swearingen <garys at opusnet dot com>
Approved by:	re (hrs)
2005-08-07 18:49:50 +00:00
brueffer
71ed22205c MFC: rev. 1.54
Document ITE IT8211F support.

Approved by:	re (hrs)
2005-08-07 16:02:17 +00:00
brueffer
f472ddac24 MFC: rev. 1.5
Remove Xref to non-existant usb(3) manpage.

Approved by:	re (hrs)
2005-08-07 15:49:53 +00:00
sos
d1c511cad7 MFC:
Remove stale struct ata_channel declaration
        Add support for the ITE IT8211F controller
        Dont limit all transfers to DEV_BSIZE (stale dbug code)
        Hide the loaded/unloaded message behind bootverbose

Approved by: re@
2005-08-07 11:20:28 +00:00
sos
5a4cef338d MFC:
Fix status to report status from the given array

Approved by: re@
2005-08-07 11:16:58 +00:00
sos
c890c3a5b5 MFC:
Allow the array number to be read back on atacontrol create
	Make IOCATARAIDSTATUS IOWR so status can be gotten correctly

Approved by: re@
2005-08-07 11:16:08 +00:00
roberto
468a94f083 MFC of revision 1.10:
The check for invalid characters introduced in 1.9 incorrectly
flags NIS entries as invalid.

Submitted by:   Bob Willcox <bob@immure.com>
PR:             bin/82325 (but I used the patch from Bob).
Approved by:	re (kensmith)
2005-08-07 05:56:54 +00:00
sam
ab68812eb8 sync with HEAD
Approved by:	re (kensmith)
2005-08-07 02:23:32 +00:00
csjp
8cd60ce119 MFC revision 1.61 to RELENG_6
date: 2005/07/30 20:00:13;  author: csjp;  state: Exp;  lines: +16 -4
Introduce kdevtoname, which when given the kernel address of a
cdev structure, returns the device name associated with it through
the __si_namebuf member. This un-breaks the processing of devices.

Approved by:	re (kensmith)
2005-08-06 22:26:51 +00:00
markus
80d31eb107 MFC Rev. 1.13
s/Lefler/Leffler/

Approved by:	re (hrs)
2005-08-06 14:47:16 +00:00
markus
82412193a8 MFC Rev. 1.38
- Fix spelling of 'multiplexer'
- Grammar fixes

Approved by:	re (hrs)
2005-08-06 14:45:18 +00:00
markus
afec2de64a MFC: Rev. 1.2
- Reword a sentence
- Grammar fixes
- s/CAVEAT/CAVEATS/

Approved by:	re (hrs)
2005-08-06 14:41:55 +00:00
brueffer
51d3b424ae MFC: rev. 1.11
Mention that the softc is zeroed after allocation.

Approved by:	re (hrs)
2005-08-06 07:26:42 +00:00
davidxu
56d46b186c MFC Revision 1.117:
In adjustrunqueue(), add code to handle thread migrating case for
    ULE scheduler. In original code, local run queue of threaded ksegrp
    is corrupted if adjustrunqueue() is called while thread is migrating.

Approved by:	re (kensmith)
Tested by:	delphij
2005-08-06 03:06:25 +00:00
davidxu
a3446c921f MFC Revision 1.155:
If a thread was removed from system run queue, kseq_assign
    shouldn't add it again.

Approved by:	re (kensmith)
Tested by:	delphij
2005-08-06 03:03:10 +00:00
mlaier
608ea247b8 MFC: pf.c, 1.35 pfvar.h, 1.12
Prevent a race condition.  As pf_send_tcp() - called for expired synproxy
  states - has to drop the lock when calling back to ip_output(), the state
  purge timeout might run and gc the state. This results in a rb-tree
  inconsistency.  With this change we flag expiring states while holding the
  lock and back off if the flag is already set.

  Reported by:	glebius

Approved by:	re (kensmith)
2005-08-06 01:52:35 +00:00
sam
9e996d9188 MFC: 1.99:
Wireless suport fixups: add a bunch of stuff that's been in the
code but not documented (e.g. wme, mac acl) and correct some
information, etc.

Approved by:	re (kensmith)
2005-08-05 21:36:01 +00:00
sam
9abfb1c348 MFC: 1.23: acm and ack are specified per-ac
Approved by:	re (kensmith)
2005-08-05 21:35:22 +00:00
thompsa
7a0ffa9c57 MFC: if_bridge.c, r1.14
>   We check that all the member interfaces have the same MTU on attach to the
>   bridge but the interface can still be changed afterwards.
>
>   This falls under the 'dont do that' category but log an warning when INVARIANTS
>   is defined.
>
>   Approved by:    mlaier (mentor)
>
>   Revision  Changes    Path
>   1.14      +8 -0      src/sys/net/if_bridge.c

Approved by:	re (kensmith), mlaier (mentor)
2005-08-05 20:33:21 +00:00
pjd
57239477c4 MFC: sbin/geom/class/Makefile 1.9
Don't try to compile geli(8) when NO_CRYPT knob if defined.

Reported by:		Alexander Polakov
Committed to HEAD by:	ru
Approved by:		re (kensmith (implicit))
2005-08-05 20:24:37 +00:00
jhb
c61006bf9d MFC: Include a SYSUNINIT to destroy the mutex in MTX_SYSINIT.
Approved by:	re (kensmith)
MFC after:	1 week
2005-08-05 20:21:46 +00:00
pjd
9d43302b98 MFC: Add regression tests (121 in total) for GEOM_ELI class.
To use them, run:

	# prove /usr/src/tools/regression/geom_eli

Sponsored by:	Wheel Sp. z o.o.
		http://www.wheel.pl
Approved by:	re (kensmith)
2005-08-05 20:04:38 +00:00
pjd
ce534181e2 MFC: Connect GEOM_ELI class to the build.
Sponsored by:	Wheel Sp. z o.o.
		http://www.wheel.pl
Approved by:	re (kensmith)
2005-08-05 20:02:46 +00:00
pjd
66799f0384 MFC: Introduce GEOM_ELI class which provides GEOM providers encryption.
For features list and usage see manual page: geli(8).

Sponsored by:	Wheel Sp. z o.o.
		http://www.wheel.pl
Approved by:	re (kensmith)
2005-08-05 19:58:14 +00:00
jhb
f555b4a10a MFC: Add extra constraints to inform the compiler that the memory being
modified is an input and output rather than just the register holding the
pointer being the input and output.

Approved by:	re (kensmith)
2005-08-05 19:46:13 +00:00
jhb
0ef1901fa9 MFC: Convert the atomic pointer operations to operate on uintptr_t rather
than void *.

Approved by:	re (kensmith)
2005-08-05 19:44:00 +00:00
pjd
5312e7b17e MFC: g_raid3.c 1.41
g_raid3.h	1.12

Use root_mount KPI for RAID3 to delay root file system mount.
Actually, one cannot setup root file system on RAID3 device, but when
other file system exist in /etc/fstab which are placed on RAID3 device,
boot process will be interrupted when these devices are missing.

Approved by:	re (kensmith)
2005-08-05 19:43:29 +00:00
pjd
1ed281aab1 MFC: pw_user.c 1.58
Change /home symbolic link, so it will point to usr/home instead of /usr/home.
Previous symlink was confusing:

	# cd /jails/virtual_system_1/home
	# realpath .
	/usr/home

...and slower.

OK'ed by:	rwatson, phk
Approved by:	re (kensmith)
2005-08-05 19:39:25 +00:00
jhb
e5a3602ce4 MFC: Add support for the hw.apic.enable_extint tunable.
Approved by:	re (kensmith)
2005-08-05 19:08:25 +00:00
jhb
ec1f68015f MFC: Various and sundry cleanups to remove old code and fix cruftiness.
Also, add locking and mark the driver as MPSAFE.

Approved by:	re (kensmith)
2005-08-05 19:07:19 +00:00
jhb
2654179517 MFC: Close a race where the last thread in a process could be harvested via
wait() before it has finished dying.

Approved by:	re (kensmith)
MFC after:	1 week
2005-08-05 19:02:56 +00:00
brian
8387d66d00 MFC: Fix a comparison that broke ``set console=vidconsole'' and even the
loader.conf line ``console="vidconsole"''.

Approved by:	re (kensmith)
2005-08-05 00:36:59 +00:00
sobomax
cd0631dc50 MFC: Propagate return value of the kern_execve() to the caller properly.
Approved by:	re
2005-08-04 23:25:32 +00:00
emax
c7034773d9 MFC if_an.c v1.69 to RELENG_6
Reorganize an_detach() a bit. Make sure ether_ifdetach() and if_free()
are called outside of AN_LOCK()/AN_UNLOCK. This fixes the following
WITNESS warning (produced when an(4) PCMCIA card is detached).
taskqueue_drain with the following non-sleepable locks held:
exclusive sleep mutex an0 (network driver) r = 0 (0xc59af168) locked @ /usr/src/
sys/dev/an/if_an.c:2836

Do not lock an to check gone flag. Only need to hold the lock to set
the gone flag.

Reviewed by:	imp
Approved by:	re (kemsmith)
2005-08-04 21:12:22 +00:00
brueffer
5660f0803e MFC: rev. 1.28
Mention the default value of PATH and that it may be overridden.

Approved by:	re (hrs)
2005-08-04 19:58:48 +00:00
pjd
02707895b1 MFC: ggatec.8 1.6
Update manual page after ggate rewrite.

Approved by:	re (hrs)
2005-08-04 18:05:33 +00:00
jmg
6361159f78 MFC: v1.45 intro.2, v1.40 help.common
fix a couple documentation nits

Approved by:	re (hrs)
2005-08-04 17:53:40 +00:00
anholt
117221bef4 MFC: r300 DRM support. Supports all current non-PCIE Radeons, as far as the
developers know.

Approved by:	re (kensmith)
2005-08-04 17:31:02 +00:00
jhb
c429bc012d MFC: Fix a typo in the name of a dmamap for a bus_dmamap_sync().
Approved by:	re (kensmith)
2005-08-04 16:44:17 +00:00
jhb
28b017aabc MFC: Fix a bug in pmap_protect() in the PAE case where it could look up the
wrong vm_page_t associated with a pte.

Approved by:	re (kensmith)
2005-08-04 16:41:25 +00:00
nectar
4cb10a2e72 Disable hyperthreading by default for 6.x.
Approved by:	re
2005-08-04 15:17:06 +00:00
kensmith
b1c07723dd Almost ready for BETA2 builds...
Approved by:	re (implicit)
2005-08-01 18:14:48 +00:00
cvs2svn
1947b07479 This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2005-08-01 17:50:20 +00:00
rwatson
a4a77db603 Merge memstat.c:1.6, memstat_internal.h:1.6, memstat_malloc.c:1.5,
memstat_uma.c:1.9 from HEAD to RELENG_6:

 Correct two libmemstat(3) bugs:

  - Move memory_type_list flushing logic from memstat_mtl_free() to
    _memstat_mtl_empty(), a libmemstat-internal function that can
    be called from other parts of the library.  Invoke
    _memstat_mtl_empty() from memstat_mtl_free(), which also frees
    the containing list structure.

    Invoke _memstat_mtl_empty() instead of memstat_mtl_free() in
    various error cases in memstat_malloc.c and memstat_uma.c, which
    previously resulted in the list being freed prematurely.

  - Reverse the order of updating the mt_kegfree and mt_free fields
    of the memory_type in memstat_uma.c, otherwise keg free items
    won't be counted properly for non-secondary zones.

Merged to RELENG_6 earlier than the proposed MFC after date so that it
can make BETA2.

Approved by:	re (kensmith)
2005-08-01 17:14:51 +00:00
csjp
012dd88ba4 Synch with HEAD, this brings in net.bpf.stats.
MFC revision 1.155 (bpf.c)
MFC revision 1.30 (bpfdesc.h)

Approved by:	re@ (kensmith)
2005-07-31 00:48:18 +00:00
csjp
f087bcb30a MFC revision 1.24
date: 2005/07/30 15:53:40;  author: csjp;  state: Exp;  lines: +2 -1
Add missing parenthesis around error handling code upon attaching
mlx devices. This fixes an issue where mlx device drives fail to be
detected at system boot.

Approved by:	re@ (scottl)
2005-07-31 00:41:53 +00:00
mux
e1c2a59068 MFC r1.241:
date: 2005/07/29 22:40:06;  author: mux;  state: Exp;  lines: +1 -0
  Add a new PCI id for fxp(4) cards found on ICH7-based systems.

  Submitted by:   Martin Nilsson <martin@gneto.com>

Approved by:	re@ (kensmith)
2005-07-30 21:45:32 +00:00
hrs
e9ae3443f3 MFC: Document IODATA USB-RSAQ3 USB-Serial Adapter as a supported device.
Approved by:	re (scottl)
2005-07-30 09:35:38 +00:00
hrs
f80092159f MFC: Fix typos and use consistent section names in manual pages:
s/SYSCTLS/SYSCTL VARIABLES/
 s/TUNABLES/LOADER TUNABLES/
 s/CAVEAT/CAVEATS/
 s/DESCIPTION/DESCRIPTION/

Approved by:	re (scottl)
2005-07-30 09:34:58 +00:00