122628 Commits

Author SHA1 Message Date
jhb
2eab57b4d5 Flip the switch to enable MSI by default on 6.x. This will not be MFC'd
into 6.3.
2008-01-10 21:17:12 +00:00
jhb
728519b97a MFC: More properly handle links who only have 1 valid IRQ in their bitmask. 2008-01-09 18:02:27 +00:00
kib
205222f5f0 MFC rev. 1.392:
In the vm_map_stack(), check for the specified stack region wraparound.
2008-01-09 16:08:39 +00:00
kib
ee9ecbab7b MFC rev. 1.89, 1.90:
Apply the LCONVPATH() to the (old) linux_stat() and linux_lstat() syscalls.
2008-01-09 16:07:32 +00:00
mux
857278f438 MFC route.c@1.125 and route.h@1.68:
Add a workaround for a deadlock between the rt_setgate() and rt_check()
  functions.  It is easily triggered by running routed, and, I expect, by
  running any other daemon that uses routing sockets.
2008-01-09 15:38:49 +00:00
delphij
a3d72f66d0 MFC important fixes by sos@:
Implement a workaround of the datacorruption problem on ServerWorks
HT1000 chipsets.  The HT1000 DMA engine seems to not always like 64K
transfers and sometimes barfs data all over memory leading to instant
chrash and burn.

Also fix 48bit adressing issues, apparently newer chips needs 16bit
writes and not the usual fifo thing.

HW donated by:	Travis Mikalson at TerraNovaNet
Original work:	sos
2008-01-09 08:55:51 +00:00
gabor
f36d8b111e MFC r1.5:
- This driver will first appear in FreeBSD 6.3, not 7.0
2008-01-08 15:37:39 +00:00
jhb
348d33eeac MFC: Fix a typo in regards to the ENOENT error. 2008-01-07 21:29:57 +00:00
jhb
a932ace951 MFC: Use devclass_get_count() instead of devclass_get_maxunit(). 2008-01-07 21:27:25 +00:00
gabor
7c8b2ead91 MFC r1.10:
- ipmi(4) appeared in FreeBSD 6.2, not in 6.3
2008-01-07 14:53:38 +00:00
peter
e099edc1fc MFC: rev 1.4: forward compatability with cvs-1.12 repository
Approved by: re (kensmith)
2008-01-07 09:08:53 +00:00
edwin
877445494e MFC of tzdata2007k.
Approved by:	re (ken smith)
2008-01-06 07:36:08 +00:00
edwin
8b925d5950 Update iso3166 with the data from Newsletter VI-1 2007-09-21:
Added SAINT BARTHELEMY (BL) and SAINT MARTIN (MF).

MFC of rev 1.17

Approved by: re (ken smith)
2008-01-06 07:25:43 +00:00
gabor
516114ec08 MFC
r1.62:
- Document icase variable of make search, which can be used to control
  case-sensitivity
r1.63:
- Document PORT_DBDIR
r1.64:
- Remove incomplete sentence fragment
2008-01-04 13:32:32 +00:00
gabor
09d62cb671 MFC r1.7
- This driver has already appeared in 6.2
2008-01-04 13:02:42 +00:00
gabor
0a6eb0ee84 MFC r1.4
- This driver will first appear in 6.3, not 7.0
2008-01-04 13:02:04 +00:00
gabor
24c1ebf535 MFC r1.13
- This driver will first appear in 6.3, not 7.0
2008-01-04 13:01:38 +00:00
gabor
6fb5dc7d6b MFC r1.3
- This driver will first appear in 6.3, not 7.0
2008-01-04 13:01:04 +00:00
gabor
38e3df22fd MFC r1.8
- This driver will first appear in 6.3, not 7.0
2008-01-04 13:00:16 +00:00
gabor
59d84169b9 MFC r1.9
- This driver will first appear in 6.3, not 7.0
2008-01-04 12:59:56 +00:00
gabor
bc238eeab8 MFC r1.2
- This driver will first appear in 6.3, not 7.0
2008-01-04 12:59:34 +00:00
obrien
02ad23dc69 MFC: rev. 1.76: 'netstat -A -p tcp' prints the Tcpcb pointer in the 1st col 2008-01-04 03:21:21 +00:00
obrien
a4fd89d56e MFC: rev 1.149: Fix a broken DIAGNOSTICS/INVARIANTS check to handle a
block range that spans two block maps.
2008-01-01 03:01:03 +00:00
delphij
d601e7228f MFC: Happy new year 2008! 2007-12-31 22:12:07 +00:00
mav
2ad5643261 MFC rev. 1.87
Fix incorrectly placed bracket in pppoe_find_svc().
2007-12-29 17:38:24 +00:00
mav
833592a55b MFC rev. 1.22
Increase control channel xmit queue to 128 packets.
Previous value 16 was too small for real LAC as temporal activity
spike cound easily overflow queue demanding tunnel disconnection due
to possible state inconsistency.
2007-12-29 17:35:32 +00:00
thompsa
7392d1f08e MFC r1.8
Fix a panic where if the mbuf was consumed by the filter for requeueing
  (dummynet), ipsec_filter() would return the empty error code and the ipsec
  code would continue to forward/deference the null mbuf.

Approved by:	re (gnn)
2007-12-29 17:29:11 +00:00
kensmith
042d378f71 MFC v1.117:
> Plug a memory leak.  Once any given package (e.g. perl) was installed
> we would leak a saved screen for every other package we tried to install
> that listed perl as one of its dependencies.  When installing things
> like gnome and kde that wound up being a LOT of leaked memory.

While here clean up some whitespace nits that are differences between
this branch and the others.
2007-12-29 06:20:30 +00:00
kensmith
65751d9f72 MFC v1.78 and v1.79:
Remove process limits for datasize and stacksize which are unlimited
during a "normal login" (thanks to /etc/login.conf) but not when
sysinstall is running as part of an installation.  Fixups for error
messages and a comment that became untrue.
2007-12-29 06:19:18 +00:00
imp
c93f2e4d9e MFC: Update to 2008.
Approved by: re@ (kensmith)
2007-12-26 16:49:12 +00:00
sobomax
506200b520 MFC: properly handle BZ_STREAM_END/Z_STREAM_END. 2007-12-26 10:34:27 +00:00
kensmith
5da6270a6c MFC v1.116:
> For the INDEX file to be used on disc1 of the 7.0-RELEASE the longest
> "build dependencies" field is 5,108 characters which overflows the
> length of the junk buffer by a teeny bit.  This whole section needs
> much more error checking but for now just completely ignore stuff
> we have no interest in instead of copying it to someplace we don't
> use in the process.

Approved by:    re (bmah)
2007-12-24 06:42:35 +00:00
dougb
1cada22fa6 MFC version 1.55, safety belt for the (unlikely) disappearance of
the temproot before a -r run.
2007-12-24 05:50:46 +00:00
marius
ea8bce89a3 MFC: 1.8
In openprom_ioctl() ensure appropriate permissions and that data isn't
NULL and doesn't point to a NULL pointer before dereferencing it.
2007-12-23 11:28:59 +00:00
rwatson
604dd5cfc9 Merge in_pcb.c:1.198 from HEAD to RELENG_6:
When IPSEC fails to allocate policy state for an inpcb, and MAC is in use,
  free the MAC label on the inpcb before freeing the inpcb.

  Submitted by:   tanyong <tanyong at ercist dot iscas dot ac dot cn>,
                  zhouzhouyi

Approved by:	re (kensmith)
2007-12-22 20:06:54 +00:00
rwatson
827acf97ed Merge mac_posix_sem.c:1.12 from HEAD to RELENG_6:
Fix a MAC label leak for POSIX semaphores, in which per-policy labels
  would be properly disposed of, but the global label structure for the
  semaphore wouldn't be freed.

  Reported by:    tanyong <tanyong at ercist dot iscas dot ac dot cn>,
                  zhouzhouyi

Approved by:	re (kensmith)
2007-12-22 15:08:09 +00:00
rwatson
7c5b9ca5c3 Merge in6_pcb.c:1.86 from HEAD to RELENG_6:
Fix leaking MAC labels for IPv6 inpcbs by adding missing MAC label
  destroy call; this transpired because the inpcb alloc path for IPv4/IPv6
  is the same code, but IPv6 has a separate free path.  The results was
  that as new IPv6 TCP connections were created, kernel memory would
  gradually leak.

  Reported by:    tanyong <tanyong at ercist dot iscas dot ac dot cn>,
                  zhouzhouyi

Approved by:	re (kensmith)
2007-12-22 15:06:51 +00:00
thompsa
88ff3b6258 MFC r1.25
- Use the macro to check the port status has it will also test if its
    administratively down (!IFF_UP)
  - Use the same parameters to lagg_link_active() to get the backup port as in
    the output path, this didnt actually matter in practice as sc_primary is
    always the first on the port list.

Approved by:    re (kensmith)
2007-12-21 05:34:35 +00:00
thompsa
ee69dc2d3d MFC r1.108
When the bridge has an address and a packet comes in for it then drop it if
 the link has been marked discarding by Spanning Tree.

Approved by:    re (kensmith)
2007-12-21 05:30:47 +00:00
jhb
a060ae4172 Regen. 2007-12-19 23:04:12 +00:00
jhb
db917ba399 MFC: Add freebsd32 compat wrappers for msgctl() and __semctl(). 2007-12-19 23:03:50 +00:00
jhb
f3b20660fb MFC: Move several data structure definitions out of freebsd32_misc.c and
into freebsd32.h and freebsd32_ipc.h.
2007-12-19 23:03:02 +00:00
rpaulo
ece9e318c4 MFC revision 1.679:
Disallow the legacy USB circuit to generate an SMI# via an ICH
  register (MacBooks only).
  This allows MacBooks to boot in SMP mode without any trick and
  solves
  the timer problems with HZ=1000.

Approved by:	     re (kensmith), njl (mentor)
2007-12-19 21:01:35 +00:00
rpaulo
92c0685d25 MFC revision 1.662 and 1.663:
Disallow the legacy USB circuit to generate an SMI# via an ICH
  register (MacBooks only).
  This allows MacBooks to boot in SMP mode without any trick and
  solves the timer problems with HZ=1000.

Approved by:	re (kensmith), njl (mentor)
2007-12-19 20:59:46 +00:00
obrien
484e8e7316 gdbserver came back.
Reminded by:	John Hein <jhein@timing.com>
2007-12-19 17:08:34 +00:00
peter
90d9d97245 MFC: scale TCPTV_MIN with hz, not a fixed number of ticks. Otherwise
machines with hz=1000 drop connections in a matter of a few seconds on a
fast link (eg: ethernet).  With this change, it drops them in the same
time as a machine with hz=100 would.
2007-12-18 03:39:17 +00:00
jhb
b3ccb0a3dc MFC: Only pass paths to directories or config files that exist for ldconfig
for 32-bit binaries.
2007-12-18 01:34:46 +00:00
jhb
439521b27c MFC: Only attach to a GPT partition if it has the GPT_ENT_TYPE_FREEBSD
type.
2007-12-18 01:32:55 +00:00
jhb
db94b9c1b5 MFC: Update posix_openpt(3) to handle 512 ptys.
Approved by:	re (gnn)
2007-12-18 00:36:21 +00:00
kensmith
a0c02ee0c6 Initial pass at shifting packages around for 6.3-REL layout. There
is a lot of space left on disc3 that we can put to use by adding back
in lots of the packages we've been slowly ejecting through the years.
We'll decide exactly which ones a little bit later.

Note: not an MFC.  The handling of what packages go where is often
done on a release-by-release basis and 6.3's release cycle is leading
7.0's at the moment.
2007-12-17 23:54:20 +00:00