Commit Graph

12488 Commits

Author SHA1 Message Date
Fabien Thomas
e7ef1de5be - Do not use the runtime mask when logfile is specified.
- Revert the fix on rtld path that is not necessary.

MFC after:	1 week
2010-08-03 13:46:25 +00:00
Fabien Thomas
ac708fddbf Allow file as a top source, it works with socket now.
This will allow top monitoring using socket/ssh tunnelling
of system without local symbols.

client:
pmcstat -R <ip>:<port> -T -r <symbolspath>
monitored device:
pmcstat -Sinstructions -O <ip>:<port>

- Move the file read in the event loop
- Initialize and clean log in all cases
- Preserve global stats value during top refresh
- Fix the rtld/line resolver that ignore '-r' prefix
- Support socket for '-R' (server mode)
- Display the statistics when exiting top mode
2010-08-03 09:23:53 +00:00
Fabien Thomas
46514c7783 Fix the calltree top view that incorrectly filter out some nodes.
MFC after:	1 week
2010-08-02 13:40:19 +00:00
Ulrich Spörlein
c0da74038d mdoc: make sure to pass at least one argument to quotation macros 2010-08-02 13:11:35 +00:00
Ulrich Spörlein
b6514098d6 mdoc: remove unused/empty macros 2010-08-02 13:11:27 +00:00
Joel Dahl
d4352d2928 Spelling fixes. 2010-08-01 09:37:36 +00:00
Warner Losh
d8127f0d89 Fixes a bug when installing with a ZFS on root (/) and UFS /boot
partition. Don't stamp the zfs boot-loader in this case.

Submitted by:	kris moore
2010-07-31 19:27:43 +00:00
Warner Losh
722119408b Adds the async option for journaled file systems (UFS + journaling)
Submitted by:	kris moore (kris at pcbsd org)
2010-07-31 19:25:51 +00:00
Ulrich Spörlein
32ba16b6e6 Fix a couple of typos.
PR:		docs/148891
Submitted by:	olgeni
MFC after:	1 week
2010-07-30 11:58:18 +00:00
Shteryana Shopova
5593fdda18 Connect the snmp_wlan(3) module to the build.
Sponsored by:	The FreeBSD Foundation
2010-07-26 16:26:26 +00:00
Shteryana Shopova
09cbe818f0 Bring in a SNMP module to support monitoring cloned wireless interfaces
via bsnmpd(1). The module implements a private BEGEMOT-WIRELESS-MIB.

Sponsored by:	The FreeBSD Foundation
Reviewed by:	philip@
Approved by:	philip@
2010-07-26 16:16:39 +00:00
Rick Macklem
a37175df1d Fix the include path for nfs_lock.h.
MFC after:	2 weeks
2010-07-24 22:16:14 +00:00
Simon L. B. Nielsen
12b052b9e0 Make failed open of /dev/mdctl in the bsnmpd hostres module non-fatal.
This makes it possible to use the hostres module when bsnmpd is not
running as root.

MFC after:	1 week
2010-07-24 10:04:35 +00:00
Brian Somers
318a43da85 Add a -S switch to override the default syslog pid file. This can be useful
if syslogd's -P switch or a syslogd alternative is being used.

MFC after:	3 weeks
2010-07-23 09:11:47 +00:00
Rebecca Cran
1bc5b32ccb If a size suffix isn't entered, just use the value entered. This fixes
a bug caused by r209235 where entering a number of blocks after
previously entering a size in MB/GB would result in the size of the
previous partition being used.

PR:	bin/148266
Submitted by:	jpaetzel
Approved by:	rrs (mentor)
2010-07-22 17:35:36 +00:00
Simon L. B. Nielsen
872e964d07 Add support for creating the archived log filenames using a time-stamp
instead of the traditional simple counter.

Using the time-stamp based file-names, once a log file is archived, it
will not change name until it is deleted.  This means that many backup
systems will only perform one backup of the archived log file, instead
for performing a new backup of the logfile upon each logfile rotation.

This implementation is separate from the patches in the mentioned PR,
as I wasn't aware of the existence of the PR until after I had
implemented the same functionality as the patches in the PR provide.
Unlike the PR, this new code does honor the 'log count' in
newsyslog.conf so old logfiles are deleted.  This new code does not
currently support never deleting the archived logfiles.

PR:		bin/29363
MFC after:	3 weeks
2010-07-22 11:23:18 +00:00
Xin LI
d10d35b369 Staticify local variables.
While I'm there also add a 'static' keyword for a function to make it
consistent with prototype.

Reviewed by:	phk
MFC after:	3 months
2010-07-20 17:42:13 +00:00
Nathan Whitehorn
e3b09b5c95 Build some powerpc-specific utilities on powerpc64 as well.
Submitted by:	Andreas Tobler
2010-07-20 07:27:36 +00:00
Andrew Thompson
eea19fce7b - Fixed automatic detection of the control serial port.
- Fixed segmentation fault when an invalid network interface was given.
- More helpful message in case of wrong PIN number.

Submitted by:	Fredrik Lindberg
2010-07-20 03:11:26 +00:00
Rick Macklem
1248463c17 Fix handling of the "-l" argument for nfsdumpstate(8).
Submitted by:	zack.kirsch at isilon.com
MFC after:	2 weeks
2010-07-20 00:32:11 +00:00
Gabor Kovesdan
ad2cd3acbb - Add Latinamerican keymaps to sysinstall's Makefile so that it can
find them [1]
- While here, also add a missing Spanish entry

PR:		bin/67365 [1]
Submitted by:	Pedro F. Giffuni <giffunip@asme.org> [1]
Approved by:	delphij (mentor)
2010-07-19 20:22:21 +00:00
Norikatsu Shigemura
33ac3bc5a2 Fix support for chrooted installs.
Approved by:	imp (mentor)
2010-07-19 16:38:45 +00:00
Rebecca Cran
7039ce193f FreeBSD 8 doesn't support kernel PPP or SLIP; remove code for configuring
and installing via such devices from sysinstall.

Reviewed by: randi
Approved by: rrs (mentor)
MFC after: 1 month
2010-07-16 20:42:20 +00:00
Warner Losh
5eb0164407 Put warnings out to stderr rather than stdout.
MFC after:	3 days
2010-07-15 22:28:19 +00:00
Benedict Reuschling
629606202c Update some release version numbers. The patch is based on the one
from the PR, but the version numbers reflect the newer ones from
http://security.freebsd.org/#sup

PR:             docs/145227
Submitted by:   Glen Barber (glen dot j dot barber at gmail dot com)
Reviewed by:    cperciva
Mentored by:    jkois
MFC after:      1 week
2010-07-14 16:01:43 +00:00
Warner Losh
9ae036550c Add support for packages.
PR:		148584
Submitted by:	John Hixon
2010-07-13 23:47:12 +00:00
Nathan Whitehorn
9b047d4a9a Enhance config to handle MACHINEs with multiple architectures:
- Passing -m to config will now print the MACHINE and MACHINE_ARCH
  given in the passed kernel configuration file and then exit.
- If an option is defined in options.MACHINE with the same name as the
  architecture of the kernel being configured, that option will be
  considered set. This allows conditional compilation based on CPU
  architecture.

Config version is now 600010.

Reviewed by:	imp
2010-07-13 04:08:08 +00:00
Maxim Konovalov
580a9482a4 o Fix typo: sepcify -> specify.
PR:		docs/148499
Submitted by:	Warren Block
MFC after:	1 week
2010-07-12 04:21:50 +00:00
Nathan Whitehorn
8a10bad25e Teach crunchide(1) about PPC ELF64. 2010-07-10 22:06:51 +00:00
Giorgos Keramidas
36dc373119 Fix reading of empty fifolog files. When we don't have anything
to inflate, skip the rest of the fifolog reader code to avoid
hitting the assert about Z_OK a bit further down.

Approved by:	phk
MFC after:	1 week
2010-07-10 11:40:31 +00:00
Randi Harper
b48aee40b9 Revert r209787 pending further discussion.
Approved by:	cperciva (mentor)
2010-07-08 21:26:26 +00:00
Jamie Gritton
c2e8cb49d9 Properly recognize a number followed by non-digits as a jail name.
Call "0" a name because zero is used to indicate no specified jid.

MFC after:	3 days
2010-07-08 19:22:52 +00:00
Randi Harper
2d7cef1612 Remove the ability to upgrade via sysinstall. This feature has been flaky
and broken for a number of years. freebsd-update now provides a reasonable
way to handle upgrades, so keeping this functionality in sysinstall only
serves to mislead users.

Approved by:	cperciva (mentor)
2010-07-08 03:28:25 +00:00
Randi Harper
e05c99755c Add support for remote logging to syslogd via an install.cfg variable.
Approved by:	cperciva (mentor)
MFC after:	3 weeks
2010-07-07 22:53:58 +00:00
Randi Harper
b05f9d9db0 Add further documentation for netDev in install.cfg to reflect the new
usage.

Approved by:	cperciva (mentor)
MFC after:	3 days
2010-07-07 20:06:48 +00:00
Rebecca Cran
2544a9be98 Increase the default and minimum partition sizes.
Bump / to 1GB, /var to 4GB and /tmp to 1GB.

A 512MB root partition is now too small to hold two kernels, so to
prevent installkernel failing 1GB is a better default. Likewise,
applications are storing more data in /var so 4GB is more reasonable
on a modern machine.

The previous minimum partition sizes were too small to hold a minimal
installation, and have been adjusted accordingly.

Discussed with: rwatson, simon
Approved by: rrs (mentor)
MFC after: 1 week
2010-07-07 12:44:19 +00:00
Warner Losh
7ec5a4bd22 Further simplification. 2010-07-07 00:03:06 +00:00
Warner Losh
e330ab14ff These files should have been added/deleted in r209751 2010-07-06 23:31:52 +00:00
Warner Losh
202d71e3bf A few patches from Ed Maste by way of Kris Moore
1. Change detect-vmware to detect-emulation
2. improve laptop detection
3. better, network descriptions
2010-07-06 23:29:55 +00:00
Rebecca Cran
b3e006b958 Simplify the wording of the console configuration dialogs since we now
only have a single video console driver.

Approved by: rrs (mentor)
MFC after: 1 month
2010-07-06 22:33:22 +00:00
Jung-uk Kim
a88e22b7ad Merge ACPICA 20100702. 2010-07-06 20:57:28 +00:00
Bernhard Schmidt
5d766a09da - Introduce IEEE80211_KEY_NOREPLAY, a per-key flag to ignore replay
violations.
- Use SIOCGIFMEDIA to determine VAP's opmode, cache it and set
  IEEE80211_KEY_NOREPLAY for AHDEMO and IBSS.

Approved by:	rpaulo (mentor)
2010-07-01 20:50:12 +00:00
Warner Losh
445b5e2b79 Properly inherit variables from src/usr.sbin/Makefile.inc for
subdirectories of pc-sysinstall.  Back out explicit setting in
pc-sysinstall/pc-sysinstall/Makefile.
2010-06-27 17:14:04 +00:00
Warner Losh
73d3a33a3f Update pc-sysinstall to output list of FTP mirrors as well as some
installation information.  Export architecture to install.

PR:		148184
Submitted by:	John Hixson
2010-06-27 17:04:03 +00:00
Warner Losh
adf5b4bcd6 Spell iXsystems, Inc properly
Submitted by:	delphij@
2010-06-27 16:46:11 +00:00
Warner Losh
cab5ea2e17 We need to install the shell scripts as executables rather than as
data files in the backend* trees.

Submitted by:	John Hixon
2010-06-25 22:35:19 +00:00
Warner Losh
4f4b032c2b Fix a stray PC-BSDism, on FreeBSD, we install these things into /usr/share 2010-06-24 22:47:50 +00:00
Warner Losh
b75ba9b10d Makefile overlooked in r2095137 2010-06-24 22:33:03 +00:00
Warner Losh
71d06a52a6 Remove the license files that svn made me remove at the last second, doh! 2010-06-24 22:29:36 +00:00
Warner Losh
4bbc5bd8e0 Bring in Kris Moore's pc-sysinstall shell script from PC-BSD. This
shell script is the back end logic necessary for an installer.  It
contains both query routines to allow a front-end installer to present
reasonable choices to the user and also action routines which allow
the front end installer to put a FreeBSD distribution onto a disk.  It
supports installing onto the usual suspects, as well as advanced
features like Mirroring, ZFS, Encryprion and GPT labels.

While this is only the back-end of the installer, it can do unattended
scripted installations.  In PC-BSD's world view, all installations are
scripted and all the front-end does is write the script.  As such, it
is useful in its own right.

This has been extensively tested over the past several releases of
PC-BSD.  However, differences between that environment and FreeBSD
suggest there will be a period of shake-out while those differences
are discovered and corrected.

A text-based front-end is in the works.  For the GUI-based front-end,
you can use the PC-BSD distribution.

Kris' BSDcan paper on pc-sysinstall is linked off his talk on the
BSDcan site:
	http://www.bsdcan.org/2010/schedule/events/173.en.html

The man page is written by Josh Paetzel, and I wrote the Makefiles for
the FreeBSD integration.  Kris wrote the rest.

This represents version r7010 in the PC-BSD repo.
http://svn.pcbsd.org/pcbsd/current/pc-sysinstall

Submitted by:	kris@
Sponsored by:	iX Systems
2010-06-24 22:21:47 +00:00