Commit Graph

132157 Commits

Author SHA1 Message Date
yongari
b24d36a8ee Disable TSO support.
Under certain circumtances, if TSO is active, Yukon II generates
corrupted IP packets. All corrupted IP packets I noticed were the the
last segmented packet in a TSO request. The corrupted packet resulted
in retransmission of the damaged packet which in turn decreased network
performance dramatically.
Unfortunately it seems that there is no way to workaround this bug
as TSO is completely handled in hardware. Disable TSO until we find a
working workaround or a new silicon revision that doesn't have this
hardware bug.
2007-04-25 01:17:44 +00:00
yongari
2e9eafcc02 Fix TCP header size calculation logic which is used for setting
TSO MTU.
2007-04-25 01:13:38 +00:00
markus
ec4a19fefd Utilize led_create_state in order to preserve the status of the ThinkLight
on driver attach.

PR:		kern/112044
Submitted by:	Henrik Brix Andersen <henrik@brixandersen.dk>
Approved by:	emax (mentor) (earlier version)
2007-04-24 23:09:37 +00:00
jhb
f98690eabe Fix the triple fault used as a last resort during a reboot to actually
fault.  The previous method zero'd out the page tables, invalidated the
TLB, and then entered a spin loop.  The idea was that the instruction after
the TLB invalidate would result in a page fault and the page fault and
subsequent double fault wouldn't be able to determine the physical page
for their fault handlers' first instruction.  This stopped working when
PGE (PG_G PTE/PDE bit) support was added as a TLB invalidate via %cr3
reload doesn't clear TLB entries with PG_G set.  Thus, the CPU was still
able to map the virtual address for the spin loop and happily performed
its infinite loop.

The triple fault now uses a much more deterministic sledge-hammer approach
to generate a triple fault.  First, the IDT descriptor is set to point to
an empty IDT, so any interrupts (including a double fault) will instantly
fault.  Second, we trigger a int 3 breakpoint to force an interrupt and
kick off a triple fault.

MFC after:	3 days
2007-04-24 21:17:45 +00:00
jhb
cafaaf6a39 MFi386: Attempt to reset the machine using the Reset Control register and
Fast A20 and Init register if the keyboard reset doesn't work before
resorting to a triple fault.
2007-04-24 20:06:36 +00:00
pjd
9ff5fd9d6a ZIL (ZFS Intent Log) can be safely turned on and off at run time, because
it is only used when dataset is beeing mounted to decide if log should also
be opened.
2007-04-24 19:02:51 +00:00
pjd
f57a8259ea MFp4: Now that ZFS can use FreeBSD's namecache, turn it off by default and
turn off DNLC, but don't remove DNLC yet just in case.
2007-04-24 16:59:20 +00:00
emax
ffd5021ec7 Retire /usr/share/examples/netgraph/bluetooth/rc.bluetooth.
MFC after:	1 week
2007-04-24 16:58:54 +00:00
pjd
732835bdb2 MFp4: Rearange the code so vobject is destroyed from reclaim() method like
in all other file system on FreeBSD (instead from inactive() method).

A nice side-effect of this change, except that it speedups file system
when mmaped file are often open/closed, is that it makes FreeBSD's
namecache work:)
2007-04-24 16:57:53 +00:00
pjd
e68258363d MFp4: Once page is written successfully, we should clear the dirty bits.
This fixes slow operations on mmaped files, because without this fix,
pages were written to disk multiple times.

If one is looking for even greater speed up for such operation, he should
disable ZIL (by setting vfs.zfs.zil_disable to 1 in /boot/loader.conf).
Disabling ZIL makes fsx run ~9 times faster.
2007-04-24 16:53:01 +00:00
pjd
81f4f72307 MFp4: Reduce diff against vendor. 2007-04-24 16:49:01 +00:00
pjd
c5bca60838 MFp4: We have stronger 'lock already initialized' check now, so we can
reduce diff against the vendor by removing bzero of this mutex.
2007-04-24 16:45:42 +00:00
jhb
cb7771ffbb Update comments for the 0xcf9 and 0x92 reset methods to explain what we are
actually doing and what the various bits mean.
2007-04-24 15:16:27 +00:00
simokawa
9c6071b7a1 Configuration ROM length should be unsigned.
MFC: 1 week
2007-04-24 12:15:05 +00:00
trasz
761bff4058 - Add myself as miwi's mentee.
Approved by:	miwi (mentor)
2007-04-24 12:06:59 +00:00
yar
d36c1f8546 Having finished with vlan(4) for today, touch .Dd. 2007-04-24 11:48:49 +00:00
yar
36d1315ab8 We shouldn't say that most Ethernet drivers don't support long frames,
as it's no longer true.
2007-04-24 11:40:52 +00:00
yar
3a3608ddab "Long frame" is the well-known term found in h/w documentation
from several vendors, so prefer it over other synonyms.
2007-04-24 11:35:47 +00:00
yar
f64dce605e Now that we list hardware that supports vlan(4) natively,
we don't need to repeat that for each device listed.
2007-04-24 11:22:27 +00:00
sephe
3d6a615c77 Nuke unnecessary setting of ural(4)'s security registers. ural(4) only
supports software encrypt/decrypt.

The nuked code itself is quite problematic, as pointed out by sam@ ---
wk->wk_keyix should be replaced by the loop count.

Tested with WEP/TKIP/CCMP/no-protection.

Approved by:	sam@ (mentor)
Noticed by:	Hans Petter Selasky <hselasky@c2i.net>
2007-04-24 11:18:55 +00:00
yar
1edfd06b2c xl(4) can support long frames on all chip revisions now. 2007-04-24 11:06:35 +00:00
yar
e9be8ccaeb de(4) ceased to support the BIG_PACKET hack. 2007-04-24 11:03:53 +00:00
kib
543a201e4b Disable nesting of BOP_BDFLUSH(). VOP_FSYNC() call in bdwrite() could
result in bdwrite() being reentered, thus causing infinite recursion.

Reported and tested by:	Peter Holm
Reviewed by:	tegge
MFC after:	2 weeks
2007-04-24 10:59:21 +00:00
yar
67b5103f29 tl(4) in fact has no signs of long frame support. 2007-04-24 10:51:48 +00:00
mav
054a6022e4 Avoid false assertion on transmit and delayed ack timeout with enabled invariants.
Replace callout_pending() by callout_active() to remove race window.

Reviewed by:	archie
Approved by:	glebius (mentor)
2007-04-24 10:50:25 +00:00
yar
d20c01926b vr(4) gained VLAN_MTU support. 2007-04-24 10:49:56 +00:00
yar
512ab0000c Add a few missing "&merged;" markers:
- arp -a -d -i foo
- ifconfig -k
- ifconfig -tunnel
- ifconfig -vlandev [w/o the useless argument]
2007-04-24 08:58:09 +00:00
phk
a38896f0e6 Bump .Dd
(which seems to have been redefined by the doc-mafia while I wasn't
paying attention :-)
2007-04-24 07:10:10 +00:00
phk
f4e7ffb595 Manpage update for extended led(4) api 2007-04-24 06:30:23 +00:00
simokawa
172f73729f If compressed length is zero, return a zero-filled block.
MFC after: 1 week
2007-04-24 06:30:06 +00:00
phk
8b888b32a2 Get endianess right.
Why would an XML library need to know about endianess anyway ??

Prodded by, long time ago:	ahze
2007-04-24 06:29:27 +00:00
jhb
fac928ecb9 Tweak printf string. 2007-04-23 22:53:01 +00:00
gshapiro
4e9f648883 Remove release note about recompiling milters. 2007-04-23 22:48:13 +00:00
gshapiro
4b613c0a52 This commit was generated by cvs2svn to compensate for changes in r168993,
which included commits to RCS files with non-trunk default branches.
2007-04-23 22:32:30 +00:00
gshapiro
f4998c8d83 For completeness, also copy over the Copyright year changes from the
sendmail.org repo on these modified files.
2007-04-23 22:32:30 +00:00
gshapiro
a9a5b9ad4b Forced commit to .mc files to force creation of new .cf files for mergemaster. 2007-04-23 22:23:54 +00:00
gshapiro
e47e836ee4 Add a new note to revoke the 20070408 note. Is is no longer necessary
to recompile milters.

MFC after:	4 days
2007-04-23 22:15:07 +00:00
gshapiro
5a96165569 Bring in sendmail.org code from the future 8.14.2 release which restores
ABI compatibility to users of the libmilter.so shared library.
2007-04-23 22:11:27 +00:00
gshapiro
aa505d3510 This commit was generated by cvs2svn to compensate for changes in r168988,
which included commits to RCS files with non-trunk default branches.
2007-04-23 22:11:27 +00:00
bmah
3094ba1201 Mostly-cosmetic fixes in low-memory warning messages:
o Fix linewrap issues.

o Fix two typos (s/Recomended/Recommended/ and s/tunning/tuning/)

o Remove a couple of extra instances of the word "of".

o Update names of kmem_size variables.

Approved by:	pjd
2007-04-23 21:52:14 +00:00
andre
27e460915a o Fix INP lock leak in the minttl case
o Remove indirection in the decision of unlocking inp
o Further annotation of locking in tcp_input()
2007-04-23 19:41:47 +00:00
des
d5a4cf1cbe Fix old locking bugs which were revealed when pseudofs was made MPSAFE.
Submitted by:	tegge
2007-04-23 19:17:01 +00:00
scottl
57f1ae0c23 Remove obsolete headers. Move kernel specific headers under #ifdefs 2007-04-23 18:01:44 +00:00
mav
008892b71a Global xmit stats calculation fix.
Approved by:	glebius (mentor)
2007-04-23 15:25:14 +00:00
rwatson
55d666f72e Add au_to_zonename.3 alias for au_token.3.
Obtained from:	TrustedBSD Project
2007-04-23 14:46:59 +00:00
rwatson
bd3cfaaef8 Audit pathnames looked up in swapon(2) and swapoff(2).
MFC after:	2 weeks
Obtained from:	TrustedBSD Project
2007-04-23 14:41:34 +00:00
pjd
f32e047ea9 Too much diff reduction. 'cmd' has to be u_long.
Reported by:	delphij
2007-04-23 13:47:49 +00:00
rwatson
62d2d15116 Rename mac*devfsdirent*() to mac*devfs*() to synchronize with SEDarwin,
where similar data structures exist to support devfs and the MAC
Framework, but are named differently.

Obtained from:	TrustedBSD Project
Sponsored by:	SPARTA, Inc.
2007-04-23 13:36:54 +00:00
rwatson
7ffc2492ae Apply variable name normalization to MAC policies: adopt global conventions
for the naming of variables associated with specific data structures.

Obtained from:	TrustedBSD Project
2007-04-23 13:15:23 +00:00
pjd
19d0863e4a Correct typo. 2007-04-23 12:53:00 +00:00