Commit Graph

119316 Commits

Author SHA1 Message Date
tegge
dea3927dd2 MFC: Close a race when VOP_LOCK() on a snapshot file is attempted at the
same time as it is changed back into a normal file.  The locker would
     get the shared "snaplk" lock which would no longer be the correct lock
     for the vnode.
2006-05-13 23:49:45 +00:00
tegge
2b650394a3 MFC: Add NO_FFS_SNAPSHOT kernel option. 2006-05-13 23:40:44 +00:00
bmah
b536883ca3 Add an errata note about IOCATAREQUEST API/ABI incompatability.
Reviewed and edited by:	scottl, maxim
2006-05-13 21:20:52 +00:00
pjd
0b852a3c37 MFC: sys/kern/vfs_subr.c 1.671
vn_start_write()/vn_finished_write() is not needed here, because
vn_start_write() is always called earlier in the code path and calling
the function recursively may lead to a deadlock.

Confirmed by:	tegge
2006-05-13 14:01:35 +00:00
brooks
0f6e8e11cd MFC rev 1.14:
Be more like Windows and Linux and send our hostname in the host-name
option if none is given in the config file.  Also add #ifdefd out
support for sending a client ID based on our MAC address.

PR:		bin/94743, bin/76401
Submitted by:	Frank Behrens <frank at pinky dot sax dot de>
2006-05-13 03:42:01 +00:00
brooks
88670e3978 MFC revs 1.12-14:
1.12,14 - Use /var/run instead of /etc for temporary files
 1.13 - Fix the TIMEOUT case

PR:		bin/90518, bin/92187
2006-05-13 03:24:00 +00:00
cel
1ea7ae8052 MFC revision 1.34
add nfsclient/, nfs4client/, and rpc/ directories to the
top Makefile's rule to build a cscope database.
2006-05-13 00:29:46 +00:00
bmah
79872429a9 MFC: tzdata2006g. 2006-05-12 17:08:31 +00:00
delphij
ff89495d57 MFC Makefile,v 1.12 and btxld.c,v 1.10:
+ Include netinet/in.h for ntohl()
 * Since the return value was tested separately, cast the values to
   size_t in order to shut up compiler warnings.
 + Raise WARNS= level to 6

PR:		bin/71666
Submitted by:	Dan Lukes <dan at obluda.cz>
2006-05-12 02:28:20 +00:00
njl
3735a61184 MFC: Include defs for ACPI KTR support 2006-05-11 18:01:07 +00:00
njl
e33185d552 MFC: sync up various changes from HEAD
* Improve sysresource probing
* Use CTR for the EC logging
* Remove unused variables
* Add an AML IO port blacklist, prints warning only for now
* Fallback to the RSDT if the XSDT is invalid in APIC probe
2006-05-11 17:41:00 +00:00
ume
18c9149607 MFC 1.79: fix indent. 2006-05-11 16:32:18 +00:00
ume
e6b4fcf251 MFC 1.3: Remove the nls/*/charset files from the exclude list.
These files are required for NLS catalog support.
2006-05-11 16:20:48 +00:00
bmah
88c33ba365 MFC: Bump copyright year on the hardware notes and installation guide.
hardware/common/artheader.sgml	1.7 -> 1.8
	installation/common/artheader.sgml	1.7 -> 1.8

PR:		97134
2006-05-11 16:10:06 +00:00
ru
289808c039 MFC: 1.353: Fix "make distribution" when just NO_CRYPT is defined. 2006-05-11 15:56:47 +00:00
jmg
e9265d9ae0 MFC: v1.18 and v.120
Sprinkle a few stars where they belong.
2006-05-11 13:43:17 +00:00
wollman
b7536e5b49 Recognize the backwardness of "systemv" in 6.x as well. 2006-05-11 04:57:28 +00:00
wollman
65693ee43e Merge tzdata2006g from vendor. See HEAD for full details. 2006-05-11 04:55:10 +00:00
keramida
1f06a478ec MFC 1.28:
# Note that when -d flag is used, mountd(8) will not detach from the
# controlling terminal.
#
# PR:             docs/96660
# Submitted by:   Jeff Ito <ijk@speakeasy.net>
# MFC after:      1 week
2006-05-10 19:45:56 +00:00
wilko
c56d3a0c6a MFC: now what is the error exactly?? 2006-05-10 19:22:17 +00:00
ps
8f15f2260c MFC:
rev 1.69, 1.68
Free some memory leaks

rev 1.66
Update PCI ids to add the E200, E200i, P400, and P400i storage
controllers.  Remove the E400 since it is not a real product.
2006-05-10 19:06:35 +00:00
bmah
2fa22a5f65 Trim release notes for a post-6.1 RELENG_6. 2006-05-10 16:53:04 +00:00
bmah
40abdb9d39 Bump &release.* version number entities for a post-6.1 world. 2006-05-10 16:39:28 +00:00
bmah
361919a043 New errata notes: 6.0-RELEASE content in errata file, www/kde3
pathname typo in relnotes, dual-core CPU note.
2006-05-10 16:22:32 +00:00
maxim
894687d6cb MFC rev. 1.127: add IDs for Plan9, QNX4.X, Mac OS-X,
Linux extended partitions.
2006-05-10 15:26:46 +00:00
maxim
064c5dc39c MFC revs. 1.100 - 1.103: DragonFly 1.4.0, OpenBSD 3.9, FreeBSD 6.1 added.
Fix an URL to the "The BSD Family Tree" article.
2006-05-10 14:31:58 +00:00
maxim
dcadc82866 MFC rev. 1.1223: add acpi_ibm to the build. 2006-05-10 14:26:03 +00:00
flz
aa5f82c89d MFC: Fix quoting.
src/etc/rc.d/jail: rev 1.28 -> 1.29

Reported by:	Dirk Engling <erdgeist at erdgeist.org>
Approved by:	pjd
2006-05-10 13:05:52 +00:00
wilko
4c2e636ffc MFC: her name was Anne Frank, not Ann Frank 2006-05-10 11:43:22 +00:00
pjd
3f7387b93e MFC: sys/dev/bge/if_bgereg.h 1.47
Correct an obvious typo.
2006-05-10 07:27:42 +00:00
pjd
0303ba3815 MFC: sys/geom/eli/g_eli.c 1.22,1.23,1.24
sys/geom/eli/g_eli_crypto.c	1.3

Sync geli with HEAD.

- geli(8) provides keys on newsession time, so remove CRD_F_KEY_EXPLICIT flag
  as HW crypto drivers don't support it.

- Correct debug: we are sending child bio here, not parent bio.

- Pass BIO_GETATTR requests down.
2006-05-10 07:22:36 +00:00
pjd
5ed608104d MFC: sbin/geom/class/eli/geom_eli.c 1.10
Correct error messages.
2006-05-10 07:17:45 +00:00
pjd
94bc1342b1 MFC: sys/geom/raid3/g_raid3.c 1.60,1.62,1.63,1.66
sys/geom/raid3/g_raid3.h	1.18
	sys/geom/raid3/g_raid3_ctl.c	1.16

Sync graid3 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.

- Use G_RAID3_FOREACH_SAFE_BIO() macro instead of G_RAID3_FOREACH_BIO() in
  two places where g_io_request() is called. g_io_request() can free bio
  structure so we can't reference it after and G_RAID3_FOREACH_BIO() macro
  was doing this.

  Found by:	Coverity Prevent analysis tool (with my new models)
2006-05-10 07:15:37 +00:00
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