119583 Commits

Author SHA1 Message Date
pjd
54f2c508d7 MFC: sys/geom/mirror/g_mirror.c 1.81,1.82,1.83
sys/geom/mirror/g_mirror.h	1.23
	sys/geom/mirror/g_mirror_ctl.c	1.16

Sync gmirror with HEAD:

- Introduce and use delayed-destruction functionality from a pre-sync hook,
  which means that devices will be destroyed on last close.
  This fixes destruction order problems when, eg. RAID3 array is build on
  top of RAID1 arrays.

  Requested, reviewed and tested by:	ru

- Be sure to not destroy device twice. This is only possible in theory, but
  with this change there is even no theoretical race.

- Remove dead code.
- Comment possible event miss, which isn't critical, but probably can be
  fixed by replacing the event lock usage with the queue lock.
2006-05-10 07:10:03 +00:00
pjd
c21f8ac91a MFC: sys/kern/kern_shutdown.c 1.178
sys/vm/swap_pager.h		1.51
	sys/vm/swap_pager.c		1.278,1.279

On shutdown try to turn off all swap devices. This way GEOM providers are
properly closed on shutdown.

Requested by:	ru
Reviewed by:	alc
2006-05-10 07:00:09 +00:00
delphij
8070d63ced Get prepared for the upcoming 6.2-RELEASE by trimming the errata
article.  This is basically the same as
   www/en/releases/6.1R/errata.html,v 1.2.
2006-05-10 04:00:29 +00:00
scottl
fa872b0d99 Set pointer to 6.1-STABLE.
Approved by: re
2006-05-06 07:44:56 +00:00
scottl
2dafc8c4fc MFC: Unbreak 'make universe'
Approved by: re
2006-05-06 06:33:58 +00:00
scottl
9d61003f21 MFC: Cosmetic kernel print fixes.
Approved by: re
2006-05-06 06:31:50 +00:00
ceri
bd6ba582ca MFC r1.87:
Fix binary upgrades by accounting for the schg flag on /var/empty.

PR:		96711, 96780
Submitted by:	Nobuyuki Koganemaru, Martin Jackson
Approved by:	re (scottl)
2006-05-05 18:52:21 +00:00
flz
fd704b212b MFC:
- If no pidfile has been created at startup, only stop processes
  with current jid.

      src/etc/rc.subr: rev 1.53 -> 1.55

PR:		conf/93287
Submitted by:	anders
Approved by:	re (scottl)
2006-05-04 16:19:48 +00:00
flz
69ace2ef99 MFC:
- Add following global jail options, used if no jail-specific options are
  set:
   * jail_mount_enable
   * jail_devfs_ruleset
   * jail_devfs_enable
   * jail_fdescfs_enable
   * jail_procfs_enable
   * jail_fstab
   * jail_flags
  - Add a jail_interface / jail_<jid>_interface option. An ip alias will be
  created (jail_<jid>_ip) on jail_interface or jail_<jid>_interface if set.
  This is not a mandatory option.
  - Document all missing jail_* options in rc.conf(5).

      src/share/man/man5/rc.conf.5: rev 1.289 -> 1.290
      src/etc/rc.d/jail: rev 1.26 -> 1.27

Approved by:	re (scottl)
2006-05-04 16:17:48 +00:00
scottl
0f81ec8494 MFC rev 1.669. This is done only because the change has been tested for a
month, and then only because it has been heavily reviewed and recommended.

Approved by: re
2006-05-04 07:42:52 +00:00
scottl
4df119d955 MFC rev 1.2-1.4.
Approved by: re
2006-05-04 07:21:11 +00:00
maxim
6708011134 MFC rev. 1.3: repair ext2fs writes.
Approved by:	re (scottl)
2006-05-03 21:51:52 +00:00
pjd
b192452a65 MFC: sys/geom/raid3/g_raid3.c 1.65
We shouldn't lock the topology here - we will panic on assertion inside
g_raid3_bump_syncid().

Reported by:	Bradley W. Dutton <brad-fbsd-stable@duttonbros.com>
Approved by:	re (kensmith)
2006-05-02 20:41:49 +00:00
dwmalone
1e5e83baa0 MFC: 1.37
Stop dump reading off the end of its inode bitmaps when it finds an
invalid inode number in a directory entry.

Approved by:    re
2006-05-02 19:08:58 +00:00
dwmalone
6978b17358 MFC: v1.45, v1.44
Make port 37 time work on machines with 64 bit longs. Also merge a couple
of updates to comments.

Approved by:    re
2006-05-02 18:32:08 +00:00
sam
edc53be9bc MFC 1.141: honor fixed tx antenna when sending beacon frames
Approved by:	re (kensmith)
2006-05-02 17:08:34 +00:00
ariff
f0b4b9f483 MFC (revision 1.65)
Add inverted amplifier sense quirks for Sony VAIO VGN B1VP/B1XP.

Reported by:	Stan Behrens <s.behrens at kon.de>
Approved by:	re (kensmith)
2006-05-02 13:35:35 +00:00
emaste
f06fa00a32 MFC queue.3 1.39 to RELENG_6:
The removal of CIRCLEQ left four queue macro families, but one sentence
  in the man page wasn't updated.

PR:             docs/94938
Submitted by:   Ed Schouten <ed@fxq.nl>
Approved by:    re
2006-05-02 04:02:39 +00:00
maxim
aea92a9e0c MFC rev. 1.7: fix prototype for SYSCALL_MODULE(9).
Approved by:	re (kensmith)
2006-05-01 20:32:56 +00:00
maxim
4559a6cf54 MFC rev. 1.33: document SO_NOSIGPIPE.
Approved by:	re (kensmith)
2006-05-01 20:25:35 +00:00
maxim
e4da807acd MFC rev. 1.19 netflow.c: set to zero engine_type, engine_id and
pad (cisco calls it sampling_interval) fields in netflow v5 header.

MFC rev. 1.4 netflow.h: replace disappeared URLs to Cisco docs by
new ones, style.

Approved by:	re (kensmith)
2006-05-01 20:07:38 +00:00
maxim
a39c1e5c00 MFC rev. 1.59: describe what actually boot(8) -m mutes.
Approved by:	re (kensmith)
2006-05-01 20:01:13 +00:00
maxim
066d85f5e5 MFC rev. 1.95: do not double i/o stats for cd(4).
Approved by:	re (kensmith)
2006-05-01 19:55:13 +00:00
maxim
d1a1e323c2 MFC rev. 1.9: dbm_close(3) returns void.
Approved by:	re (kensmith)
2006-05-01 19:48:09 +00:00
maxim
4d1518664b MFC rev. 1.7: document /dev/fido.
Approved by:	re (kensmith)
2006-05-01 19:44:16 +00:00
maxim
b85b31836a MFC rev. 1.120: s/PsuedoRAID/PseudoRAID/.
Approved by:	re (kensmith)
2006-05-01 19:37:55 +00:00
maxim
b32f687bdd MFC rev. 1.54: be pedantic and do fts_close() when done.
Approved by:	re (kensmith)
2006-05-01 19:34:34 +00:00
maxim
98fcb88a28 MFC rev. 1.32: reset lineno to 1 for each devd config file.
Approved by:	re (kensmith)
2006-05-01 19:24:35 +00:00
maxim
3c0bf76efa MFC rev. 1.67: bridge implementation change.
MFC rev. 1.69: -mdoc sweep.
MFC rev. 1.70: note that the bridge interface need to be upped.

Approved by:	re (kensmith)
2006-05-01 19:21:54 +00:00
maxim
00403a46ca MFC rev. 1.38: note that the bridge interface need to be upped.
Approved by:	re (kensmith)
2006-05-01 19:19:16 +00:00
brueffer
6399cf2768 MFC:
Autogenerate hardware notes for rr232x(4).

Approved by:	re (hrs)
2006-05-01 08:25:09 +00:00
marcus
bf090cbba6 MFC:
Fix a file descriptor leak in cam_lookup_pass() when the ioctl to find
the passthru device fails.

Approved by:	re (scottl)
2006-05-01 00:21:47 +00:00
davidxu
7bedbff357 MFC revision 1.27:
> Clear TDF_SINTR in sleepq_resume_thread, also sleepq_catch_signal does
> not need to clear it now, this should fix panic when msleep is recursivly
> called. Patch is slightly adjusted after review.

Approved by: re (scottl)
2006-04-30 23:24:33 +00:00
scottl
284b349f5f Hook up the rr232x driver.
Approved by: re
2006-04-30 17:39:43 +00:00
scottl
9099746dba Hook up the rr232x files.
Approved by: re
2006-04-30 17:36:30 +00:00
scottl
36122f8e27 Hook up the rr232x module.
Approved by: re
2006-04-30 17:33:10 +00:00
scottl
afdda64d8f Hook up the rr232x manpage.
Approved by: re
2006-04-30 17:31:27 +00:00
scottl
4a6823441e Merge the rr232x driver to RELENG_6. This commit just add files; hooking them
up will come in a minute.

Approved by: re
2006-04-30 17:11:35 +00:00
cvs2svn
6d3d85315f This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2006-04-30 16:44:42 +00:00
kensmith
be1694875d MFC:
> jhb         2006-04-06 17:17:45 UTC
>
>   FreeBSD src repository
>
>   Modified files:
>     sys/i386/i386        machdep.c
>     sys/i386/isa         npx.c
>   Log:
>   - Don't set CR0_NE and CR0_MP in npx_probe() as they are already set
>     earlier in cpu_setregs().
>   - If we know this CPU has a FPU via cpuid, then just assume the INT16
>     interface and make the npx device quiet to not clutter the dmesg.  This
>     is true for all Pentium and later CPUs and even some of the later 486dx
>     CPUs.
>
>   Reviewed by:    bde
>   Tested by:      ps
>   MFC after:      1 week
>
>   Path				Revision
>   src/sys/i386/i386/machdep.c		1.625
>   src/sys/i386/isa/npx.c		1.164

Requested by:	jhb
Approved by:	re (scottl)
2006-04-30 05:15:20 +00:00
kris
6e25448c70 MFC r1.90, r1.91:
> - Lock giant when assigning ni_vp and keep vfslocked state valid.

> - Consistently track ni_dvp and ni_vp with dvfslocked and vfslocked rather
>   than trying to optimize it into a single lock.  This adds more calls to
>   lock giant with non smpsafe filesystems but is the only way to reliably
>   hold the correct lock.
> - Remove an invalid assert in the mountedhere case in lookup and fix the
>   code to properly deal with the scenario.  We can actually have a lookup
>   that returns dp == dvp with mountedhere set with certain unmount races.

Approved by:	re (scottl)
2006-04-30 03:57:46 +00:00
kris
3f087fc7b2 MFC r1.18:
>  Bump up the NFS server dupreq cache limit to 2K (from 64). With a small
>  duplicate request cache, under heavy load a lot of non-idempotent requests
>  were getting served again, resulting in errors.

Approved by:	re (scottl)
2006-04-30 03:55:45 +00:00
pjd
7a7ed975bf MFC: sys/geom/raid3/g_raid3.c 1.64
- Don't hold the device sx lock when going to sleep.
- Prevent possible live-lock in case of memory problems by freeing
  already completed requests first.

Reported and tested by:	markus, Bradley W. Dutton <brad-fbsd-stable@duttonbros.com>
Approved by:	re (hrs)
2006-04-29 17:50:42 +00:00
nyan
dd280fe491 MFC: rev 1.909 (Fix the acpi.ko path for boot.flp).
Approved by:	re (hrs)
2006-04-29 15:22:00 +00:00
thompsa
47d6d4d8e8 MFC r1.14-16, sync to HEAD
Approved by:	re (hrs)
2006-04-29 03:29:24 +00:00
cvs2svn
c527d79620 This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2006-04-28 23:21:37 +00:00
cperciva
7bf4fa47d9 MFC: Allow L2 caches to be shared between processors by default.
Approved by:	re (scottl)
2006-04-28 06:30:19 +00:00
silby
7597bbc0f2 MFC revs 1.33, 1.34, 1.35, and 1.36.
These changes allow bfe to work on machines with > 1GB of ram.

Approved by:	re
2006-04-28 05:39:58 +00:00
keramida
6a2081b51d MFC: 1.3 and 1.4
# [1.3]
# Add more details about enabling a custom ruleset for /dev in `rc.conf',
# and add ruleset labels/numbering to the custom ruleset example.
#
# PR:		docs/90362
# Submitted by:	Roland Smith <rsmith@xs4all.nl>
# MFC after:	3 days

# [1.4]
# Expand contractions.

Approved by:	re (hrs)
2006-04-27 15:45:48 +00:00
keramida
b19ebe528c MFC:
* top.X

  revision 1.15
  Document the -C option of top(1), which has been added to the source
  and the usage message of top, but not to the manpage.

  Pointy hat to:  keramida
  Reminded by:    ru
  MFC after:      1 week

* top.c

  revision 1.18
  Bring SYNOPSIS in line with usage().
  ----------
  revision 1.19
  Re-add option -C to usage().

Approved by:	re (hrs)
2006-04-27 02:58:47 +00:00