119329 Commits

Author SHA1 Message Date
sam
62bdb6710c MFC: add eapol_version config parameter
Approved by:	re (hrs)
2006-04-26 17:53:14 +00:00
pjd
3c67ff929d Don't destroy device twice. This can lead to kernel panic on reboot/shutdown.
This is not an MFC, because the code in HEAD has other changes and there is
no such problem there.

Reported and tested by:	ken
Approved by:	re (hrs)
2006-04-26 06:35:11 +00:00
delphij
215ec51f75 MFC 1.2 (tjr):
Fix a one byte off error which causes "less" to crash if you view a
large file, jump to the end, scroll backwards with "b" and try to search
backwards afterwards.

Submitted by:	Matthias Scheler
Approved by:	re (hrs)
2006-04-26 03:46:10 +00:00
delphij
c361970fa4 MFC 1.1.1.11 (sam):
correct dlt buffer alloc; this goes on the vendor branch as it
will be committed there shortly.

Approved by:	re (scottl)
2006-04-26 01:47:43 +00:00
kris
e005754042 MFC: r1.78 and r.179; fix locking assertions
Approved by:	re
2006-04-26 01:23:24 +00:00
pjd
b25d80c5c8 MFC: sys/geom/raid3/g_raid3.c 1.61
Fix storing offset of already synchronized data. Offset in entire array was
stored in metadata instead of an offset in single disk.
After reboot/crash synchronization process started from a wrong offset
skipping (not synchronizing) part of the component which can lead to data
corrutpion (when synchronization process was interrupted on initial
synchronization) or other strange situations like 'graid3 status' showing
value more than 100%.

Reported, reviewed and tested by:	ru
Reported by:	Dmitry Morozovsky <marck@rinet.ru>
Approved by:	re (hrs)
2006-04-25 22:11:10 +00:00
marius
8efed01e64 MFC: sys/sparc64/sparc64/exception.S 1.73,
sys/sparc64/sparc64/interrupt.S 1.9

- In intr_fast() fix a race which is fallout from critical sections no longer
  raising the PIL and can cause corruption of the interrupt request lists.
- In intr_fast() assert that the ir_func to be called is non-zero.
- Increment interrupt stats after calling the handlers rather than before in
  order to reduce the delay until direct and fast handlers are serviced.

Approved by:	re (hrs)
2006-04-25 19:37:03 +00:00
scottl
b82ceba934 Don't scan pages that are above the passed in high value. This is a partial
MFC of rev 1.48; the rest of that change is incomplete and not appropriate
for merging yet.

Approved by: re
2006-04-25 15:04:29 +00:00
ariff
9c393c5830 MFC (revision 1.24)
Add support for (latest) VIA VT8251 audio controller.

A slight difference of this chip from its previous siblings is that
it need a gentle "wake up" on every (full) DMA buffer completion to
avoid stalled interrupt handler.

Thanks to George Hartzell for permission on doing remote debugging.

PR:		i386/95949
Tested by:	[1] George Hartzel
          	myself (remotely)
Approved by:	re (hrs)

[1] http://lists.freebsd.org/pipermail/freebsd-multimedia/2006-April/004003.html
2006-04-25 14:41:30 +00:00
jkim
7735df0379 MFC: Multicore detection.
- Print number of physical/logical cores and more CPUID info.
- Add newer CPUID definitions for future use.
- Correct few MSR addresses while I am here.
- Fix spelling mistake.

Approved by:	re (hrs)
2006-04-24 18:24:31 +00:00
marcel
1133e83241 MFC rev. 1.14: Implement nexus_teardown_intr() properly.
Approved by: re (kensmith)
2006-04-24 17:26:46 +00:00
delphij
218dde9aca MFC revision 1.7
date: 2006/04/19 05:10:34;  author: delphij;  state: Exp;  lines: +1 -1
Make ldconfig as SERVER dependency.  This makes it possible
for some early starting services from the ports collection
to have their shared objects available before start.

Reviewed by:    freebsd-rc (dougb, brooks)
Approved by:	re (hrs)
2006-04-23 15:29:36 +00:00
alc
4af531bbbd Include opt_pmap.h for PMAP_SHPGPERPROC.
PR: 94509
Approved by: re (scottl)
2006-04-22 20:41:21 +00:00
thompsa
df03bf758e Document a limitation where the bridge may not forward a reassembled fragment,
this is becuase the new packet may be larger than the MTU.

Approved by:	re (hrs)
2006-04-21 10:27:22 +00:00
takawata
bf03d27372 MFC: Rev 1.89
Add psm ID's for glide point devices.

Approved by: re
2006-04-21 09:40:25 +00:00
cvs2svn
62b838be35 This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2006-04-21 07:19:23 +00:00
brooks
30e305b4eb MFC rev 1.13:
Fix ypwhich -m.  This should be MFC'ed back at least as far as RELENG_5.

Submitted by: Gil Kloepfer <gil@arlut.utexas.edu>
PR:		64445
Approved by:	re (scottl)
2006-04-21 05:14:20 +00:00
cvs2svn
66eae910d9 This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2006-04-21 04:28:44 +00:00
suz
ee8e5b637a MFC Rev 1.37
use if_allmulti(0) for disabling the multicast promiscuous mode

Approved by: re(scottl)
2006-04-20 15:43:45 +00:00
ru
41902b5ef0 MFC: 1.6: Fix a small bug.
Approved by:	re (mux)
2006-04-19 18:22:18 +00:00
sam
50c1441ff6 MFC 1.139: unbreak cabq handling
Approved by:	re (scottl)
2006-04-19 16:14:47 +00:00
jhb
e83605b8fb MFC: Drop the kqueue global mutex as soon as we are finished with it.
Approved by:	re (scottl)
2006-04-19 15:47:36 +00:00
jhb
5fdfe3a592 MFC 1.200: Fix compile w/o DDB.
Approved by:	re (scottl)
2006-04-19 15:45:29 +00:00
cperciva
6f208ec82c MFC: Correct a local information leakage bug affecting AMD FPUs.
Security:	FreeBSD-SA-06:14.fpu
Approved by:	re (scottl)
2006-04-19 07:01:30 +00:00
delphij
dfb738e5a6 MFC src/sys/nfsclient/nfs_bio.c,v 1.154
and src/sys/nfsclient/nfs_vnops.c,v 1.262 (by ps@):

 - Always return success from NFS strategy. nfs_doio(), in the
   event of an error, does the right thing, in terms of setting
   the error flags in the buf header. That fixes a crash from
   bstrategy().
 - Treat ETIMEDOUT as a "recoverable" error, causing the buffer
   to be re-dirtied. ETIMEDOUT can occur on soft mounts, when
   the number of retries are exceeded, and we don't want data loss
   in that case.

Submitted by:   Mohan Srinivasan
Approved by:	re (scottl)
2006-04-18 05:31:58 +00:00
jon
73f7f6d707 MFC 1.261 - fix a crash when an nfsv2 mount fails
Approved by:	re
2006-04-18 05:18:47 +00:00
matteo
9548ab246c Add device ID for Intel Pro/100 VE Network Connection card
Approved by:	re (scottl)
2006-04-16 15:58:19 +00:00
scottl
6f5cbcee73 Fix compile breakage.
Approved by: re (implicit)
2006-04-15 19:08:26 +00:00
delphij
6d2f312c36 MFen:
errata/article.sgml	 1.73.2.14 -> 1.73.2.15
	hardware/common/dev.sgml 1.282.2.9 -> 1.282.2.10

Obtained from:	The FreeBSD Simplified Chinese Project
Approved by:	re (hrs)
2006-04-15 14:51:36 +00:00
jkim
80e64fe036 MFC: 1.418
Fix minimal installation check.  'X' was not displayed when it was selected.

Approved by:	re (scottl)
2006-04-14 20:51:17 +00:00
jmg
1df3f8fe4c MFC: pidfile.c v1.2
use pwrite to always write at the begining of the file..  If multiple calls
to pidfile_write happen, the pidfile will have nul characters prepended
due to the cached file descriptor offset...

Approved by:	re (scottl)
2006-04-14 19:14:58 +00:00
brueffer
f3f62fbabd MFC: rev. 1.24
bce(4) does polling too.

Approved by:	re (scottl)
2006-04-14 14:17:41 +00:00
brueffer
7adc82608c MFC: rev. 1.3
s/militate/mitigate/, fits better in this context.

Approved by:	re (scottl)
2006-04-14 14:17:03 +00:00
sobomax
7ebc2143de MFC: When enabling A20 put upper limit on amount of time we wait for the
keyboard controller to get ready (65K x ISA access time, visually around
1 second). If we have wait more than that amount it's likely that the
hardware is a legacy-free one and simply doesn't have keyboard controller
and doesn't require enabling A20 at all.

This makes cdboot/pxeldr working for MacBook Pro with Boot Camp and
other legacy-free i386 hardware like IBM Netvista S40.

Approved by:	re (scottl)
2006-04-14 03:47:51 +00:00
gad
56f52286ad MFC 1.76: Implement the correct fix for the bug introduced in 1.73.
This time we avoid the seg-fault while still keeping the column
headers in uppercase.  And the original bug wrt specifying a new
column header for an aliased `-o' option remains fixed.

Approved by:	re (scottl)
2006-04-14 02:47:30 +00:00
ps
557bcabe67 MFC: rev 1.3, fix DEVICE_POLLING support (compile tested only)
Approved by:	re
2006-04-13 22:41:33 +00:00
jhb
9bc5483374 MFC: Activate ithread_destroy() (but rename it to ithread_destroy2() for
ABI reasons) and call it from intr_event_destroy().
Only in 6: Add API and ABI compat shims for ithread_destroy() to call
intr_event_destroy().

Approved by:	re (scottl)
Tested by:	Artem Ignatiev <zazubrik@mail.ru>
2006-04-13 17:31:01 +00:00
brueffer
18e65e9e51 MFC: rev. 1.28
Document that VIS_CSTYLE encodes space (040) as '\s'.

Approved by:	re (hrs)
2006-04-13 08:49:58 +00:00
brueffer
40db818425 MFC: rev. 1.16
Add bce(4).

Approved by:	re (hrs)
2006-04-13 08:49:12 +00:00
brueffer
221610f014 Autogenerate hardware notes for bce(4) and mfi(4).
Approved by:	re (hrs)
2006-04-13 08:47:27 +00:00
pjd
7de50cd211 MFC: sbin/geom/core/geom.c 1.26
Fix an off-by-one error causing geom(8) utilities to fail or crash in random
situations.

Approved by:	re (scottl)
2006-04-13 06:36:26 +00:00
gshapiro
df1e676bbf Forced commit to bump the $FreeBSD$ version so mergemaster merges
/etc/mail/freebsd.cf and /etc/mail/freebsd.submit.cf.

PR:		conf/95634
Submitted by:	Rostislav Krasny
Approved by:	re (scottl)
Obtained from:	keramida
2006-04-13 04:08:22 +00:00
cvs2svn
e2462b434a This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2006-04-12 21:22:45 +00:00
ps
51d6b64768 MFC rev 1.40: Fix the PHY support for the 5780.
Approved by:	re
2006-04-12 18:38:59 +00:00
ps
fe4b347428 MFC: Add bce
Approved by:	re
2006-04-12 17:45:27 +00:00
sam
430ed388b5 MFC 1.3: adapt PacketGetAdapterNames to 0.4.8 calling convention
Approved by:	re (scottl)
2006-04-12 17:21:08 +00:00
cvs2svn
332c81bc90 This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2006-04-10 20:12:18 +00:00
mlaier
4157cdd5a3 Stopgap fix to avoid "mutex ipw0 recursed" panics in msleep for recursive
ioctl paths.  Instead of using a recursive mutex we use conditional locking
and keep track of the recursion on the stack.

Reported and tested by:	Ulrich Spoerlein
Approved by:		re (scottl)
2006-04-10 18:27:00 +00:00
kensmith
7e163b6986 Drop the languages we'll build docs for as part of the release down to
just English due to a ISO size crisis for disc2.  This is being done
after consultation with the doceng folks, who basically agreed that
of the two evils this is less evil than going with the -lite versions
of gnome/kde.  We are only doing this on RELENG_5/RELENG_6.  On HEAD
we plan to adjust sysinstall so there will be no packages at all on
disc1/disc2 and we can have an arbitrary number of dedicated package
discs but that seems like too much of a change for RELENG_5/RELENG_6
particularly at this stage in the release.

Discussed with:	re@, doceng@
Approved by:	re (scottl)
2006-04-09 04:22:44 +00:00
scottl
2bb259b17a Belatedly move forward to 6.1-RC.
Approved by: re
2006-04-08 14:42:23 +00:00