Warner Losh
0446f88183
Do a bit of house cleaning and remove the old, obsolete upgrade from
...
6.0 support and bump the minimum version to 8.0. These versions have
not been tested and are believed to be broken.
2012-05-10 11:06:19 +00:00
Martin Matuska
a837775a9e
Import illumos changeset 13686:4bc0783f6064
...
2703 add mechanism to report ZFS send progress
If the zfs send command is used with the -v flag, the amount of bytes
transmitted is reported in per second updates.
References:
https://www.illumos.org/issues/2703
Obtained from: illumos (issue #2703 )
MFC after: 2 weeks
2012-05-10 10:39:45 +00:00
Andriy Gapon
3b135bc51c
cdboot, pxeldr: make use of bootargs.h instead of redefining flag constants
...
Reviewed by: jhb
MFC after: 1 month
2012-05-10 09:47:04 +00:00
David Xu
fa782a2611
Create a common function lookup() to search a chan, this eliminates
...
redundant SC_LOOKUP() calling.
2012-05-10 09:30:37 +00:00
Martin Matuska
a4392ad6af
Remove unreachable break in zfs_main.c
...
Partial import of illumos changeset 13622:e5889df1eaac
2077 lots of unreachable breaks in illumos gate
References:
https://www.illumos.org/issues/2077
PR: kern/167370
Submitted by: Marcelo Araujo <araujo@FreeBSD.org>
Obtained from: illumos (issue #2077 )
MFC after: 1 week
2012-05-10 09:10:31 +00:00
Martin Matuska
7538677f35
Add support for force unmounting ZFS filesystems during "zfs rename"
...
with the -f flag.
Reimplementation of the illumos changeset 13677:a0cbef703c12
2635 'zfs rename -f' to perform force unmount
References:
https://www.illumos.org/issues/2635
PR: kern/164447
Suggested by: Marcelo Araujo <araujo@FreeBSD.org>
Obtained from: illumos (issue #2635 )
MFC after: 1 week
2012-05-10 08:57:58 +00:00
Martin Matuska
9846ab4ed2
Import illumos changeset 13618:c6ae14a341e8 [1]:
...
2088 zdb could use a reasonable manual page
Rewrite new zdb manpage to mdoc(7)
References:
https://www.illumos.org/issues/2088
PR: kern/167467 [1]
Submitted by: Marcelo Araujo <araujo@FreeBSD.org> [1]
Reviewed by: mm
Obtained from: Illumos (issue #2088 )
MFC after: 1 week
2012-05-10 04:11:39 +00:00
Glen Barber
2fccbf04cc
General mdoc(7) and typo fixes.
...
PR: 167696
Submitted by: Nobuyuki Koganemaru (kogane!jp.freebsd.org)
MFC after: 3 days
2012-05-10 02:07:00 +00:00
Sean Bruno
daf8162d1f
Modify the binding of queues to attach to as many CPUs
...
as possible when using more than one igb(4) adapter. This
means that queues will not be bound to the same CPUs if
there are more CPUs availble.
This is only applicable to a system that has multiple interfaces.
Obtained from: Yahoo! Inc.
MFC after: 3 days
2012-05-10 00:00:28 +00:00
Eitan Adler
3dad564249
Add a few new tips and update some old ones to more modern commands
...
MFC after: 1 week
2012-05-09 22:13:56 +00:00
Eitan Adler
94fd46b06b
make it easier for users used to a VCS that allows up to be a shortcut
...
for update.
PR: bin/152856
Approved by: cperciva
MFC after: 3 days
2012-05-09 21:56:10 +00:00
Marius Strobl
e4b3eb5fe3
Use a non-tricky approach for building and installing zfsboot sharing
...
the Makefile with boot1.
Submitted by: ru
2012-05-09 19:08:54 +00:00
Adrian Chadd
a41607fc2d
Add some empty DFS methods for AR5210/AR5211 for now, if DFS is enabled
...
but these don't exist, the code panics.
I should really just add or use a DFS HAL capability before doing this,
so the methods wouldn't be needed..
2012-05-09 18:17:01 +00:00
Eitan Adler
cf0badf098
Document the -c option in --help output
...
PR: bin/167463
Submitted by: "Bryan Drewery" <bryan@shatow.net>
Approved by: cperciva
MFC after: 3 days
2012-05-09 17:32:10 +00:00
Eitan Adler
60533c20a2
Add some missing files to OLD_FILES
...
PR: conf/166460
Submitted by: Jeremy Chadwick <freebsd@jdc.parodius.com>
Reviewed by: stable@
Approved by: cperciva
MFC after: 2 weeks
2012-05-09 17:30:44 +00:00
Eitan Adler
833cabc9a1
Submitted by: gavin, pjd
...
Approved by: cperciva
MFC after: 3 days
2012-05-09 17:29:07 +00:00
Eitan Adler
9ff418da7f
Remove reference to non-existent FreeBSD Security Architecture
...
Approved by: cperciva
MFC after: 3 days
2012-05-09 17:27:49 +00:00
Eitan Adler
af23b88b5c
Clarify error that geli generates
...
when it finds corrupt data.
PR: kern/165695
Submitted by: Robert Simmons <rsimmons0@gmail.com>
Reviewed by: pjd
Approved by: cperciva
MFC after: 1 week
2012-05-09 17:26:52 +00:00
Sergey Kandaurov
b04b94d332
Revert r235194: 10.8 appears to be a developer preview.
...
Reported by: trasz
2012-05-09 16:06:20 +00:00
Sergey Kandaurov
32c5eb2487
Mac OS X 10.8 added (belatedly).
2012-05-09 15:22:39 +00:00
Andriy Gapon
76df382c3a
r235154 followup: add stddef.h for offsetof
...
MFC after: 1 month
2012-05-09 08:23:24 +00:00
Andriy Gapon
356c95812d
i386 zfsloader: rename LIBZFS to LIBZFSBOOT
...
... to avoid name clash with the other libzfs
MFC after: 1 month
2012-05-09 08:07:08 +00:00
Andriy Gapon
a45337f99f
i386 boot: consolidate MAXBDDEV definition
...
MFC after: 1 month
2012-05-09 08:05:50 +00:00
Andriy Gapon
29c8c4b0f5
btxldr: future-proof argument passing from boot1/2-ish to loader
...
Place the arguments at a fixed offset of 0x800 withing the argument area
(of size 0x1000). Allow variable size extended arguments first of which
should be a size of the extended arguments (including the size
parameter).
Consolidate all related definitions in a new i386/common/bootargs.h header.
Many thanks to jhb and bde for their guidance and reviews.
Reviewed by: jhb, bde
Approved by: jhb
MFC after: 1 month
2012-05-09 08:04:29 +00:00
Andriy Gapon
5ef10e566c
sys/boot: add common CTASSERT definition
2012-05-09 07:55:42 +00:00
Warner Losh
18cf7ddfca
Make is part of the bootstrap path, so we need to guard against this
...
not being defined. Otherwise we don't make a new make when the old
make is incompatible.
2012-05-09 04:54:50 +00:00
Pyun YongHyeon
d04835140f
Implement basic remote PHY support. Remote PHY allows the
...
controller to perform MDIO type accesses to a remote transceiver
using message pages defined through MRBE(multirate backplane
ethernet). It's used in blade systems(e.g Dell Blade m610) which
are connected to pass-through blades rather than traditional
switches.
This change directly manipulates firmware's mailboxes to control
remote PHY such that it does not use mii(4). Alternatively, as
David said, it could be implemented in brgphy(4) by creating a fake
PHY and let brgphy(4) do necessary mii accesses and bce(4) can
implement mailbox accesses based on the type of brgphy(4)'s mii
accesses. Personally, I think it would make brgphy(4) hard to
maintain since it would have to access many bce(4) registers in
brgphy(4). Given that there are users who are suffering from lack
of remote PHY support, it would be better to get working system
rather than waiting for complete/perfect implementation.
Tested by: Jan Winter ( jan.winter <> kantarmedia dot de )
Reviewed by: davidch (initial version)
MFC after: 2 weeks
2012-05-09 01:55:23 +00:00
Brooks Davis
b3a397a8de
The DDB_CTF has little or nothing to do with the debugger so move it
...
next KDTRACE_HOOKS.
2012-05-09 01:37:48 +00:00
Andrew Thompson
afceeed703
Do not reinitialise the interface if it is already running, this prevents the
...
bootp+nfs code from working as it calls init on each dhcp send and rx fails to
start in time.
2012-05-09 00:56:11 +00:00
David Christensen
ac6af58f22
- Rename sysctl "loose_rx_mtu" to "strict_rx_mtu" to match code usage.
...
Submitted by: davidch
MFC after: 1 day
2012-05-08 22:38:46 +00:00
Andrew Thompson
335181759e
The DEVICE_POLLING dereference of sc->tsec_ifp needs to be checked for null
...
first or this will panic. Condense three blocks that check sc->tsec_ifp into
one while I am here.
2012-05-08 21:09:03 +00:00
Konstantin Belousov
9a36eaa36e
Plug a leak.
...
Submitted by: Greg Bednarek <gbednarek averesystems com>
MFC after: 1 week
2012-05-08 19:47:52 +00:00
Jeremie Le Hen
d3dee93474
Always define LD_32_PRELOAD so it works for 32 bits binaries on
...
64 bits platforms. Let rtld(1) decide if it needs to honor it
or not.
While here, fix a small bug in error reporting when asprintf(3)
returns an error.
Submitted by: kib
Reviewed by: kib (mentor)
MFC after: 1 week
2012-05-08 19:43:32 +00:00
Glen Barber
9f63b42217
General mdoc(7) and typo fixes.
...
PR: 167713
Submitted by: Nobuyuki Koganemaru (kogane!jp.freebsd.org)
2012-05-08 18:56:21 +00:00
Hajimu UMEMOTO
0d7d117c7f
Add -a and -A option to the usage.
...
MFC after: 1 week
2012-05-08 15:18:35 +00:00
John W. De Boskey
3676a0d890
Use the common api helper routine instead of freeing the namei
...
buffer directly.
Approved by: rmacklem (mentor)
MFC after: 1 month
2012-05-08 03:39:44 +00:00
Adrian Chadd
78de21c070
Re-enable this particular DELAY() for now, at least until the
...
TX and RX PCU stop/drain routines have been thoroughly debugged.
It's also very likely that I should add hooks back up to the
interface glue (if_ath_pci / if_ath_ahb) to do any relevant
bus flushes that are required. A WMAC DDR flush may be required
for the AR9130 SoC.
2012-05-07 18:30:22 +00:00
Dimitry Andric
400b97c789
Revert r234656, and apply a proper fix for binutils PR 10474, which
...
caused linking clang on 32-bit PowerPC to fail with "relocation
truncated to fit: R_PPC_REL24" errors.
Original diffs (relicensed under GPLv2 with permission from author):
http://sourceware.org/git/?p=binutils.git;a=commit;h=1fd262ff7d7ea5adf4894c6b960e092e7e43e3cd
http://sourceware.org/git/?p=binutils.git;a=commit;h=053c49fbff58bd33bd0d12200ea61302f92caceb
Tested by: andreast
MFC after: 1 week
2012-05-07 17:13:36 +00:00
John Baldwin
25d56d8dcc
Display dropped transmit packets in the daily network interface output.
...
PR: conf/165956
Submitted by: Jeremy Chadwick
MFC after: 1 week
2012-05-07 15:41:31 +00:00
Andriy Gapon
05795a78d2
zfsboottest.sh: correctly check and suggest value of vfs.root.mountfrom
...
... it was missing "zfs:" prefix.
Reported by: theraven
MFC after: 10 days
2012-05-07 15:06:07 +00:00
Andriy Gapon
efeadeff78
zfsboottest.sh: gracefully handle default value of bootfs property
...
Reported by: theraven
MFC after: 10 days
2012-05-07 15:03:42 +00:00
Hans Petter Selasky
78ed0e49ff
Add missing LibUSB 1.0 API function: libusb_get_string_descriptor().
...
Reported by: Xiaofan Chen
2012-05-07 14:07:13 +00:00
Jeremie Le Hen
51a65f35df
Introduce the ${SHLIB_LDSCRIPT} variable to have an ld(1) script
...
instead of a symlink for .so files.
Reviewed by: kib, kan (previous version), dim
Approved by: kib (mentor)
Silence from: -hackers@
MFC after: 1 week
2012-05-07 09:00:30 +00:00
Pyun YongHyeon
5ff7271fdf
Restore jumbo frame configuration which was broken in r218423.
...
Submitted by: Andrey Zonov <andrey <> zonov dot org > (initial version)
Tested by: Andrey Zonov <andrey <> zonov dot org >
MFC after: 1 week
2012-05-07 04:56:26 +00:00
Juli Mallett
0c8da0be6e
Add basic SMP support for GXemul. Ideally we would have some way to override
...
some of the IPI mechanisms used by the common MIPS SMP code so we could use
the multicast IPI facilities, on GXemul as well as on several real hardware
platforms, and the ability to have multiple hard IPI types.
2012-05-07 04:36:48 +00:00
Juli Mallett
bd6c6f4249
Add a trivial driver for the GXemul Ethernet device. Probably quite buggy and
...
certainly non-optimal, but enough for basic networking use.
Requested by: rwatson
2012-05-07 04:15:46 +00:00
Stanislav Sedov
821a877924
- Bump the manpage date after kfd addition.
...
Reported by: gjb
2012-05-07 02:50:52 +00:00
Stanislav Sedov
1f3c40355d
- Document kfd(8) rc.conf variables in the manpage.
2012-05-06 21:05:58 +00:00
Stanislav Sedov
51506f39f4
- Change kfd rc script to be more conformant with rcNG conventions:
...
o change rcname to kfd;
o move mandatory options to command_args;
o add missing "shutdown" keyword;
o fix require line. Kfd doesn't really need to be started before
daemons.
Suggested by: dougb
2012-05-06 20:46:04 +00:00
Sergey Kandaurov
7c01b8a930
OpenBSD 5.1 added.
2012-05-06 19:03:36 +00:00