]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
11 years agoAdd const qualifier to the dst parameter of the ifnet if_output method.
glebius [Fri, 26 Apr 2013 12:50:32 +0000 (12:50 +0000)]
Add const qualifier to the dst parameter of the ifnet if_output method.

11 years agoDon't appease clang static analyzer after all and roll back
uqs [Fri, 26 Apr 2013 12:27:30 +0000 (12:27 +0000)]
Don't appease clang static analyzer after all and roll back
the free(3) of mntbuf ... again. There's no point in doing
useless extra work when we're about to exit.

See also r240565.

Not reading file history: uqs

11 years agoChanged ZFS TRIM sysctl from vfs.zfs.trim_disable -> vfs.zfs.trim.enabled
smh [Fri, 26 Apr 2013 11:24:20 +0000 (11:24 +0000)]
Changed ZFS TRIM sysctl from vfs.zfs.trim_disable -> vfs.zfs.trim.enabled
Enabled ZFS TRIM by default

Reviewed by: pjd (mentor)
Approved by: pjd (mentor)
MFC after: 2 weeks

11 years agoOcteon 2 (6xxx) and newer CPUs don't use the clock CPU speed for its
imp [Fri, 26 Apr 2013 05:42:35 +0000 (05:42 +0000)]
Octeon 2 (6xxx) and newer CPUs don't use the clock CPU speed for its
I/O clock. Thankfully, the simple executive provies a way to querry
the proper clock that works on all models. Move to asking for the SCLK
via this interface.

This gets the serial console working after we start init and open the
console and set the divisor (which turned the output from good to
bad). I can login on the console now.

11 years agoRemove a comment that shouldn't have gone in.
jhibbits [Fri, 26 Apr 2013 05:18:18 +0000 (05:18 +0000)]
Remove a comment that shouldn't have gone in.

X-MFC-with: r249864

11 years agoUse a thread for the processing of virtio tx descriptors rather
grehan [Fri, 26 Apr 2013 05:13:48 +0000 (05:13 +0000)]
Use a thread for the processing of virtio tx descriptors rather
than blocking the vCPU thread. This improves bulk data performance
by ~30-40% and doesn't harm req/resp time for stock netperf runs.

Future work will use a thread pool rather than a thread per tx queue.

Submitted by: Dinakar Medavaram
Reviewed by: neel, grehan
Obtained from: NetApp

11 years agoGripe if some <slot,function> tuple is specified more than once instead of
neel [Fri, 26 Apr 2013 02:24:50 +0000 (02:24 +0000)]
Gripe if some <slot,function> tuple is specified more than once instead of
silently overwriting the previous assignment.

Gripe if the emulation is not recognized instead of silently ignoring the
emulated device.

If an error is detected by pci_parse_slot() then exit from the command line
parsing loop in main().

Submitted by (initial version): Chris Torek (chris.torek@gmail.com)

11 years agoIn the case where the controller supports an sg_list LESS than our predefined
sbruno [Thu, 25 Apr 2013 23:10:34 +0000 (23:10 +0000)]
In the case where the controller supports an sg_list LESS than our predefined
and tuned value, we would advertise the unsupported value to CAM and it would
merrily destroy the controller with way too many IO operations.

This manifests itself in a Zero Memory RAID configuration for a P410 and
possibly other controllers.

Obtained from: Yahoo! Inc.
MFC after: 2 weeks

11 years agoUse the system MAKEOBJDIRPREFIX when running make targets in
brooks [Thu, 25 Apr 2013 21:19:50 +0000 (21:19 +0000)]
Use the system MAKEOBJDIRPREFIX when running make targets in
mergemaster.  This allows bootstrap verions of tools to be used.

Add a note to UPDATING about this change.

Discussed with: jhb
Sponsored by: DARPA, AFRL
MFC after: 5 days

11 years agoRemove deprecated APIs to get the total and free memory available to vmm.ko.
neel [Thu, 25 Apr 2013 20:42:21 +0000 (20:42 +0000)]
Remove deprecated APIs to get the total and free memory available to vmm.ko.

These APIs were relevant when memory for virtual machine allocation was
hard partitioned away from the rest of the system but that is no longer
the case. The sysctls that provided this information were garbage collected
a while back.

Obtained from: NetApp

11 years agomdoc: remove superfluous paragraph macro.
joel [Thu, 25 Apr 2013 20:23:22 +0000 (20:23 +0000)]
mdoc: remove superfluous paragraph macro.

11 years agoFix couple of mbuf leaks in incoming ARP processing.
glebius [Thu, 25 Apr 2013 17:38:04 +0000 (17:38 +0000)]
Fix couple of mbuf leaks in incoming ARP processing.

11 years agoMinor whitespace nit
imp [Thu, 25 Apr 2013 17:27:13 +0000 (17:27 +0000)]
Minor whitespace nit

11 years agoUse the offsets from pcb.h rather than regnum.h to store the registers
imp [Thu, 25 Apr 2013 17:23:54 +0000 (17:23 +0000)]
Use the offsets from pcb.h rather than regnum.h to store the registers
in the pcb. setjmp/longjmp in the kernel also used these values, so
continue to use them although their use isn't technically the pcb
register array (matching is all that's important for setjmp/longjmp in
the kernel). Finally, eliminate the old register names from regnum.h.

This is a lexical change only. The non-debug .o files have the same md5.

11 years agoDon't free memory that is going to be used as error string.
glebius [Thu, 25 Apr 2013 16:34:04 +0000 (16:34 +0000)]
Don't free memory that is going to be used as error string.

PR: bin/178121
Submitted by: Garrett Cooper <yaneurabeya gmail.com>

11 years agoRestore the ipNetToMedia MIB, that was broken with new ARP commit
glebius [Thu, 25 Apr 2013 16:23:22 +0000 (16:23 +0000)]
Restore the ipNetToMedia MIB, that was broken with new ARP commit
in the r186119.

Submitted by: Konstantin Kukushkin <dark rambler-co.ru>

11 years agoAdds Host Protected Area (HPA) support for ATA disks to camcontrol
smh [Thu, 25 Apr 2013 14:11:38 +0000 (14:11 +0000)]
Adds Host Protected Area (HPA) support for ATA disks to camcontrol

Reviewed by: mav
Approved by: pjd (mentor)
MFC after: 2 weeks

11 years agoIntroduce a pointer to const variable gw, which points either at the
glebius [Thu, 25 Apr 2013 12:42:09 +0000 (12:42 +0000)]
Introduce a pointer to const variable gw, which points either at the
same place as dst, or to the sockaddr in the routing table.

The const constraint of gw makes us safe from modifing routing table
accidentially. And "onstantness" of dst allows us to remove several
bandaids, when we switched it back at &ro->ro_dst, now it always
points there.

Reviewed by: rrs

11 years agoFix installworld with DB_FROM_SRC after r249807
bdrewery [Thu, 25 Apr 2013 12:05:17 +0000 (12:05 +0000)]
Fix installworld with DB_FROM_SRC after r249807

Approved by: bapt
Reported by: Tom Everett

11 years agorevert r248644 because of the regression for usdt probes
avg [Thu, 25 Apr 2013 07:04:56 +0000 (07:04 +0000)]
revert r248644 because of the regression for usdt probes

USDT probes are advertised to kernel by initialization code with
atrribute((constructor))).  It seems that on Solaris the .init-ish code
of the main object is executed before RD_PREINIT point is hit.  On
FreeBSD that is not the case.  And because on FreeBSD there is no other
well-defined point between RD_PREINIT and main() we have to parse a
DTrace script when main is hit, for time being.

A footnote: currently we actually post RD_POSTINIT event, but that's a
bug because the event is triggered by hitting r_debug_state which
happens before any init code is executed.

Reported by: markj

11 years agoRespect the enoent_ok flag if reporting error for holding an non-existing
mm [Thu, 25 Apr 2013 06:55:57 +0000 (06:55 +0000)]
Respect the enoent_ok flag if reporting error for holding an non-existing
snapshot.

Related illumos ZFS issue:
  3699 zfs hold or release of a non-existent snapshot does not output error

Reported by: Steven Hartland <smh@FreeBSD.org>
MFC after: 3 days

11 years agoMake it possible to include this file in assembler .S sources.
imp [Thu, 25 Apr 2013 06:29:23 +0000 (06:29 +0000)]
Make it possible to include this file in assembler .S sources.

11 years agoUse the defines from pcb.h over the ones from regnum.h for this 'C'
imp [Thu, 25 Apr 2013 06:28:19 +0000 (06:28 +0000)]
Use the defines from pcb.h over the ones from regnum.h for this 'C'
code. In theory, the ones from regnum.h should be used only for
assembler code.

11 years agoRemove the Fortran directories.
rpaulo [Thu, 25 Apr 2013 06:05:43 +0000 (06:05 +0000)]
Remove the Fortran directories.

11 years agoAdd RIP-relative addressing to the instruction decoder.
grehan [Thu, 25 Apr 2013 04:56:43 +0000 (04:56 +0000)]
Add RIP-relative addressing to the instruction decoder.
Rework the guest register fetch code to allow the RIP to
be extracted from the VMCS while the kernel decoder is
functioning.

Hit by the OpenBSD local-apic code.

Submitted by: neel
Reviewed by: grehan
Obtained from: NetApp

11 years agoFix mips64 and mipsn32 bilds by using proper register names.
imp [Thu, 25 Apr 2013 04:53:01 +0000 (04:53 +0000)]
Fix mips64 and mipsn32 bilds by using proper register names.

11 years agoIntroduce kernel coredumps to ppc32 AIM. Leeched from the booke code.
jhibbits [Thu, 25 Apr 2013 00:39:43 +0000 (00:39 +0000)]
Introduce kernel coredumps to ppc32 AIM.  Leeched from the booke code.

MFC after: 2 weeks

11 years agoAdd myself as a src committer
asomers [Wed, 24 Apr 2013 23:38:04 +0000 (23:38 +0000)]
Add myself as a src committer

Approved by: ken (mentor)

11 years agoAdd myself to the committers list.
ken [Wed, 24 Apr 2013 23:32:47 +0000 (23:32 +0000)]
Add myself to the committers list.

11 years agoFix the Dvorak Programmer Keymap
eadler [Wed, 24 Apr 2013 21:41:24 +0000 (21:41 +0000)]
Fix the Dvorak Programmer Keymap

PR: conf/177572
Submitted by: Sean DuBois <sean@siobud.com>

11 years agogetdtablesize(2): Describe what this function actually does.
jilles [Wed, 24 Apr 2013 21:24:35 +0000 (21:24 +0000)]
getdtablesize(2): Describe what this function actually does.

getdtablesize() returns the limit on new file descriptors; this says nothing
about existing descriptors.

MFC after: 1 week

11 years agoMFV r249857:
mm [Wed, 24 Apr 2013 21:21:03 +0000 (21:21 +0000)]
MFV r249857:

Merge vendor bugfix for a possible deadlock related to async destroy
and improve write performance by introducing a new lock protecting
tx_open_txg.

Illumos ZFS issues:
  3642 dsl_scan_active() should not issue I/O to determine if async
       destroying is active
  3643 txg_delay should not hold the tc_lock

MFC after: 1 week

11 years agoMove hptmv and mpt drivers shutdown a bit later to the SHUTDOWN_PRI_LAST
mav [Wed, 24 Apr 2013 19:00:45 +0000 (19:00 +0000)]
Move hptmv and mpt drivers shutdown a bit later to the SHUTDOWN_PRI_LAST
stage of shutdown_post_sync.  That should allow CAM to do final cache flush
at the SHUTDOWN_PRI_DEFAULT without using polling magic.

MFC after: 3 days

11 years agoThis fixes the issue with the "randomly changing" default
rrs [Wed, 24 Apr 2013 18:30:32 +0000 (18:30 +0000)]
This fixes the issue with the "randomly changing" default
route. What it was is there are two places in ip_output.c
where we do a goto again. One place was fine, it
copies out the new address and then resets dst = ro->rt_dst;
But the other place does *not* do that, which means earlier
when we found the gateway, we have dst pointing there
aka dst = ro->rt_gateway is done.. then we do a
goto again.. bam now we clobber the default route.

The fix is just to move the again so we are always
doing dst = &ro->rt_dst; in the again loop.

PR:  174749,157796
MFC after: 1 week

11 years agoFix N32/N64 ABIs to use proper registers after recent changes.
imp [Wed, 24 Apr 2013 18:00:28 +0000 (18:00 +0000)]
Fix N32/N64 ABIs to use proper registers after recent changes.

Pointy Hat to: imp

11 years agoWhen rebooting (exiting) from the BTX loader, make sure to restore the
dim [Wed, 24 Apr 2013 17:20:45 +0000 (17:20 +0000)]
When rebooting (exiting) from the BTX loader, make sure to restore the
GDT from the correct segment, otherwise a triple fault would be caused.
In some virtual environments (VMware, VirtualBox, etc) this could lead
to a unhandled error or hang in the guest emulation software.

Thanks to avg and jhb for a few hints in the right direction.

Noticed by: Jeremy Chadwick <jdc@koitsu.org> (and many others)
MFC after: 1 week

11 years agoFix for duplicate sample rate detection after recent patches.
hselasky [Wed, 24 Apr 2013 16:52:03 +0000 (16:52 +0000)]
Fix for duplicate sample rate detection after recent patches.

11 years agoFix the USB audio feedback endpoint algorithm. There should not
hselasky [Wed, 24 Apr 2013 16:22:53 +0000 (16:22 +0000)]
Fix the USB audio feedback endpoint algorithm. There should not
be any need to bias the returned value.

Reported by: Craig Leres <leres@ee.lbl.gov>

11 years agoBase the calculation of maxmbufmem in part on kmem_map size
andre [Wed, 24 Apr 2013 13:54:55 +0000 (13:54 +0000)]
Base the calculation of maxmbufmem in part on kmem_map size
instead of kernel_map size to prevent kernel memory exhaustion
by mbufs and a subsequent panic on physical page allocation
failure.

On architectures without a direct map all mbuf memory (except
for jumbo mbufs larger than PAGE_SIZE) comes from kmem_map.
It is the limiting factor hence.

For architectures with a direct map using the size of kmem_map
is a good proxy of available kernel memory as well.  If it is
much smaller the mbuf limit may be sub-optimal but remains
reasonable, while avoiding panics under exhaustion.

The overall mbuf memory limit calculation may be reconsidered
again later, however due to the many different mbuf sizes and
different backing KVM maps it is a tricky subject.

Found by: pho's new network stress test
Pointed out by: alc (kmem_map instead of kernel_map)
Tested by: pho

11 years agoMerge updated "no such identity file" patch.
des [Wed, 24 Apr 2013 12:36:37 +0000 (12:36 +0000)]
Merge updated "no such identity file" patch.

PR: bin/178060

11 years agoRemove unused variable.
ae [Wed, 24 Apr 2013 10:24:01 +0000 (10:24 +0000)]
Remove unused variable.

MFC after: 1 week

11 years agoFix playback for Focusrite Scarlett 2i2 USB recording interface.
hselasky [Wed, 24 Apr 2013 06:05:33 +0000 (06:05 +0000)]
Fix playback for Focusrite Scarlett 2i2 USB recording interface.

Submitted by: Ed Maste, emaste @

11 years agoFix copy/paste error.
dteske [Wed, 24 Apr 2013 03:15:55 +0000 (03:15 +0000)]
Fix copy/paste error.

11 years agoHandle the IRQ for the reset button.
rpaulo [Wed, 24 Apr 2013 01:36:35 +0000 (01:36 +0000)]
Handle the IRQ for the reset button.

11 years agowiigpio depends on options WII.
rpaulo [Wed, 24 Apr 2013 01:20:10 +0000 (01:20 +0000)]
wiigpio depends on options WII.

11 years agoiso639: Add Standard Moroccan Tamazight.
eadler [Wed, 24 Apr 2013 00:41:36 +0000 (00:41 +0000)]
iso639: Add Standard Moroccan Tamazight.

See http://www.loc.gov/standards/iso639-2/php/code_changes.php

Obtained from: DragonflyBSD (commit 2d64ea1d0ec1beacc8f4e22353b7eb84c6f2b3f0)

11 years agoAdd missing include.
dteske [Tue, 23 Apr 2013 22:55:59 +0000 (22:55 +0000)]
Add missing include.

11 years agoFix declarations to slightly increase WARNS level.
jkim [Tue, 23 Apr 2013 19:42:45 +0000 (19:42 +0000)]
Fix declarations to slightly increase WARNS level.

11 years agoClean up generated files added in r233250.
jkim [Tue, 23 Apr 2013 19:29:49 +0000 (19:29 +0000)]
Clean up generated files added in r233250.

11 years agoPull in r180121 from upstream llvm trunk:
dim [Tue, 23 Apr 2013 18:58:39 +0000 (18:58 +0000)]
Pull in r180121 from upstream llvm trunk:

  LoopVectorizer: Fix 15830. When scalarizing and unrolling stores make
  sure that the order in which the elements are scalarized is the same
  as the original order.
  This fixes a miscompilation in FreeBSD's regex library.

This should fix lib/libc/regex/regcomp.c at -O3 with clang 3.3 r178860
on CPUs with SSE.  Before this change, the vectorizer could incorrectly
rearrange the second loop in computejumps(), leading to possibly invalid
entries in the re_gets::charjump table.

The net result was that for example "sed s/@CC@/foo/" failed to work
correctly, leading to trouble with many configure scripts.

11 years agoFix white spaces.
jkim [Tue, 23 Apr 2013 18:30:33 +0000 (18:30 +0000)]
Fix white spaces.

11 years agoReturn a lun count of 1 and a lun id of 0 when CAM attempts a REPORT_LUNS
sbruno [Tue, 23 Apr 2013 18:29:51 +0000 (18:29 +0000)]
Return a lun count of 1 and a lun id of 0 when CAM attempts a REPORT_LUNS
command on a disk device.  This quieseces some noise on the console that
recently appeared.

Obtained from: Yahoo! Inc.
MFC after: 2 weeks

11 years agoTeach the virtio block device to deal with direct as well as indirect
neel [Tue, 23 Apr 2013 16:40:39 +0000 (16:40 +0000)]
Teach the virtio block device to deal with direct as well as indirect
descriptors. Prior to this change the device would only work with guests
that chose to use indirect descriptors.

Modify the device reset callback to actually reset the device state.

Submitted by: Tycho Nightingale (tycho.nightingale@pluribusnetworks.com)

11 years agoRevert r249800 as
eadler [Tue, 23 Apr 2013 16:33:25 +0000 (16:33 +0000)]
Revert r249800 as
 - it is incorrect:  In the 'back' case you want to reuse the previous
 mbuf.
- it was not reviewed by wireless@

Requested by: jhb, adrian

11 years agoLiterally follow POSIX:
kib [Tue, 23 Apr 2013 16:08:24 +0000 (16:08 +0000)]
Literally follow POSIX:
If the bs= expr operand is specified and no conversions other than sync,
noerror, or notrunc are requested, the data returned from each input
block shall be written as a separate output block.

In particular, when both bs=size and conv=sparce were specified, the
resulted file was fully filled, instead of sparce.

PR: standards/177742
Submitted by: Matthew Rezny <mrezny@hexaneinc.com>
MFC after: 2 weeks

11 years agoConvert libc/stdio from K&R to ANSI C
emaste [Tue, 23 Apr 2013 14:36:44 +0000 (14:36 +0000)]
Convert libc/stdio from K&R to ANSI C

And add '__restrict' where it appeared in the header prototypes

11 years agoWhen doing RFC3042 limited transmit on the first on second
andre [Tue, 23 Apr 2013 14:06:32 +0000 (14:06 +0000)]
When doing RFC3042 limited transmit on the first on second
duplicate ACK make sure we actually have new data to send.
This prevents us from sending unneccessary pure ACKs.

Reported by: Matt Miller <matt@matthewjmiller.net>
Tested by: Matt Miller <matt@matthewjmiller.net>
MFC after: 2 weeks

11 years agoRenumber clauses to reduce diffs to other versions
emaste [Tue, 23 Apr 2013 13:33:13 +0000 (13:33 +0000)]
Renumber clauses to reduce diffs to other versions

NetBSD, OpenBSD, and Android's Bionic all number the clauses 1 through 3,
so follow suit to make comparison easier.

Acked-by: imp@
11 years agoFix installkernel requiring users/groups defined in CHECK_UIDS
bdrewery [Tue, 23 Apr 2013 13:07:58 +0000 (13:07 +0000)]
Fix installkernel requiring users/groups defined in CHECK_UIDS
and CHECK_GIDS to exist since r152680. This is only needed for
installworld. The documented procedure of running mergemaster -p
to check for missing users is only needed for installworld, not
for installkernel. This fixes auditdistd incorrectly being
required for installkernel.

PR: misc/174405
Approved by: bapt

11 years agoConstify where appropriate.
eadler [Tue, 23 Apr 2013 13:03:17 +0000 (13:03 +0000)]
Constify where appropriate.

Reported by: emaste
Approved by: cperciva (mentor)
MFC After: 3 days

11 years agoCleanups to touch.c
eadler [Tue, 23 Apr 2013 13:03:14 +0000 (13:03 +0000)]
Cleanups to touch.c
- use const where appropriate
- use static where appropriate
- use explicit checks checks for error conditions

Reviewed by: sbruno
Approved by: cperciva (mentor)
Obtained by: DragonFlyBSD

11 years ago- Add the __dead2 attribute since it is a function that never returns
eadler [Tue, 23 Apr 2013 13:03:11 +0000 (13:03 +0000)]
- Add the __dead2 attribute since it is a function that never returns
- Add an empty line in usage() according to style(9)

PR: bin/177076
Submitted by: Fernando <fernando.apesteguia@gmail.com>
Approved by: cperciva (mentor)

11 years agoAdd support for Intel C600/X79 Series Chipset KT Controller.
eadler [Tue, 23 Apr 2013 13:03:08 +0000 (13:03 +0000)]
Add support for Intel C600/X79 Series Chipset KT Controller.

PR: kern/177072
Submitted by: Kurt Lidl <lidl@pix.net>

11 years ago- sl_find does not modify 'name'
eadler [Tue, 23 Apr 2013 13:03:03 +0000 (13:03 +0000)]
- sl_find does not modify 'name'
- make the prototype of sl_find match NetBSD

Reviewed by: jilles
Approved by: cperciva (mentor)
MFC After: 3 days

11 years agoSwitch from K&R prototypes to modern C
eadler [Tue, 23 Apr 2013 13:03:01 +0000 (13:03 +0000)]
Switch from K&R prototypes to modern C

Reviewed by: jilles
Approved by: cperciva (mentor)
MFC After: 3 days

11 years agoAvoid warning about uninitalized variable
eadler [Tue, 23 Apr 2013 13:02:57 +0000 (13:02 +0000)]
Avoid warning about uninitalized variable

PR: kern/176712
Submitted by: Hiren Panchasara <hiren.panchasara@gmail.com> (earlier vesion)
Approved by: cperciva (mentor)

11 years agoRemove always-true conditions from if statement.
eadler [Tue, 23 Apr 2013 13:02:55 +0000 (13:02 +0000)]
Remove always-true conditions from if statement.

PR: kern/176712
Submitted by: Hiren Panchasara <hiren.panchasara@gmail.com>
Approved by: cperciva (mentor)

11 years agoMake temp, temp1 the same type that they will later be used for.
eadler [Tue, 23 Apr 2013 13:02:51 +0000 (13:02 +0000)]
Make temp, temp1 the same type that they will later be used for.

PR: kern/176712
Submitted by: Hiren Panchasara <hiren.panchasara@gmail.com>
Reviewed by: jmg (earlier version)
Approved by: cperciva (mentor)

11 years agoRemove tautological compare.
eadler [Tue, 23 Apr 2013 13:02:48 +0000 (13:02 +0000)]
Remove tautological compare.

PR: kern/176712
Submitted by: Hiren Panchasara <hiren.panchasara@gmail.com>
Approved by: cperciva (mentor)

11 years agoAdd support for runtime switching of sample rate for
hselasky [Tue, 23 Apr 2013 10:48:14 +0000 (10:48 +0000)]
Add support for runtime switching of sample rate for
USB audio devices. Previously the highest sample
rate was unconditionally selected.

Requested by: Craig Leres <leres@ee.lbl.gov>

11 years agoAdd convenience wrapper functions to run callbacks in the context of the
hselasky [Tue, 23 Apr 2013 10:42:15 +0000 (10:42 +0000)]
Add convenience wrapper functions to run callbacks in the context of the
USB explore thread.

11 years agoAdd an option for the GE FES based packet engines. Its board IDs
imp [Tue, 23 Apr 2013 09:40:42 +0000 (09:40 +0000)]
Add an option for the GE FES based packet engines. Its board IDs
overlap with the standard ones, so kernels for this family of boards
need the option OCTEON_VENDOR_GEFES.

11 years agoUpdate trapframe to be consistent with the changes made to regnum.h. This
imp [Tue, 23 Apr 2013 09:38:18 +0000 (09:38 +0000)]
Update trapframe to be consistent with the changes made to regnum.h. This
should fix the booting problems people have been seeing.

11 years agoFix error check.
mckusick [Tue, 23 Apr 2013 06:37:50 +0000 (06:37 +0000)]
Fix error check.

Submitted by: Andrey Chernov (ache@)
MFC after: 3 days

11 years agoThe zfs synctask code restructuring introduced a new bug that makes it
mm [Tue, 23 Apr 2013 06:28:35 +0000 (06:28 +0000)]
The zfs synctask code restructuring introduced a new bug that makes it
impossible to set quota and reservation on pools lower than version 22.
Problem has been reported and a solution discussed with vendor.

Illumos ZFS issues:
  3739 cannot set zfs quota or reservation on pool version < 22

Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reported by: Steve Wills <swills@FreeBSD.org>
MFC after: 3 days

11 years agoAdd descriptive comment.
hselasky [Tue, 23 Apr 2013 06:26:54 +0000 (06:26 +0000)]
Add descriptive comment.

11 years agoPrevent device.subr from auto-loading in the nameservers module.
dteske [Tue, 23 Apr 2013 00:10:33 +0000 (00:10 +0000)]
Prevent device.subr from auto-loading in the nameservers module.
This module doesn't need device support (but device.subr is loaded
indirectly through media/tcpip.subr which contains resolv stuff).

11 years agoPreserve debugFile preference across the exec boundary.
dteske [Mon, 22 Apr 2013 21:19:44 +0000 (21:19 +0000)]
Preserve debugFile preference across the exec boundary.

11 years agoPartially uncommit r249779. The changes to share/common.subr were good
dteske [Mon, 22 Apr 2013 21:11:27 +0000 (21:11 +0000)]
Partially uncommit r249779. The changes to share/common.subr were good
while the remaining changes were part of a much larger ``secret sauce''
involved in an up-coming commit that I'm still laboring on.

11 years agoFix "-D file" to automagically enable debugging if not explicitly disabled.
dteske [Mon, 22 Apr 2013 21:03:44 +0000 (21:03 +0000)]
Fix "-D file" to automagically enable debugging if not explicitly disabled.

11 years agoUpdate description of process status output.
joel [Mon, 22 Apr 2013 20:14:57 +0000 (20:14 +0000)]
Update description of process status output.

PR: 143850
Submitted by: Slaven Rezic <slaven@rezic.de>

11 years agoMFP4 223084, 227821:
brooks [Mon, 22 Apr 2013 19:02:37 +0000 (19:02 +0000)]
MFP4 223084, 227821:

Partially implement generic_bs_*_8() for MIPS platforms.

This is known to work with TARGET_ARCH=mips64 with FreeBSD/BERI.
Assuming that other definitions in cpufunc.h are correct it will
work on non-o64 ABI systems except sibyte. On sibyte and o32 systems
generic_bs_*_8() will remain panic() implementations.

Sponsored by: DARPA, AFRL
Reviewed by: imp, jmallett (older versions)

11 years agoUpdate arswitch to the new API.
adrian [Mon, 22 Apr 2013 18:58:12 +0000 (18:58 +0000)]
Update arswitch to the new API.

11 years agoSplit BeagleBone DTS to generic AM335x part and Beagle-bone specific
gonzo [Mon, 22 Apr 2013 18:53:36 +0000 (18:53 +0000)]
Split BeagleBone DTS to generic AM335x part and Beagle-bone specific

11 years agoMinor update about rc.conf.
joel [Mon, 22 Apr 2013 18:31:39 +0000 (18:31 +0000)]
Minor update about rc.conf.

11 years agoPass more variables to bsd.prog.mk and
sjg [Mon, 22 Apr 2013 18:11:29 +0000 (18:11 +0000)]
Pass more variables to bsd.prog.mk and
only append to already defined variables.

Submitted by: Garrett Cooper

11 years agoPoint users towards nisdomainname and rc.conf.
joel [Mon, 22 Apr 2013 17:55:12 +0000 (17:55 +0000)]
Point users towards nisdomainname and rc.conf.

PR: 144630
Submitted by: Stefan Krueger <stadtkind2@gmx.de>,
Fel <wtfcrap@mail.ru>

11 years agoMinor clarificiation.
joel [Mon, 22 Apr 2013 17:38:26 +0000 (17:38 +0000)]
Minor clarificiation.

PR: 177455

11 years ago- Some BIOSes use an Extended IRQ resource descriptor in _PRS for a link
jhb [Mon, 22 Apr 2013 15:51:06 +0000 (15:51 +0000)]
- Some BIOSes use an Extended IRQ resource descriptor in _PRS for a link
  that uses non-ISA IRQs but use a plain IRQ resource in _CRS.  However,
  a non-ISA IRQ can't fit into a plain IRQ resource.  If we encounter a
  link like this, build the resource buffer from _PRS instead of _CRS.
- Set the correct size of the end tag in a resource buffer.

Tested by: Benjamin Lee <ben@b1c1l1.com>
MFC after: 2 weeks

11 years agoUse a higher TTL (128) for DHCP packets. This matches the ISC DHCP client.
jhb [Mon, 22 Apr 2013 15:02:32 +0000 (15:02 +0000)]
Use a higher TTL (128) for DHCP packets.  This matches the ISC DHCP client.

PR: bin/170279
MFC after: 1 week

11 years agoBuild uart_dev_lpc.c on arm only. This fixes pc98 build.
nyan [Mon, 22 Apr 2013 13:02:41 +0000 (13:02 +0000)]
Build uart_dev_lpc.c on arm only.  This fixes pc98 build.

11 years agoKeep up with negative addrlen check removal in r249649.
pluknet [Mon, 22 Apr 2013 09:18:50 +0000 (09:18 +0000)]
Keep up with negative addrlen check removal in r249649.

11 years agoPanic if UMA_ZONE_PCPU is created at early stages of boot, when mp_ncpus
glebius [Mon, 22 Apr 2013 09:02:23 +0000 (09:02 +0000)]
Panic if UMA_ZONE_PCPU is created at early stages of boot, when mp_ncpus
isn't yet initialized. Otherwise we will panic at first allocation later.

Sponsored by: Nginx, Inc.

11 years agoInitialize GIC_PMRR register on ARM GIC.
dmarion [Mon, 22 Apr 2013 08:28:53 +0000 (08:28 +0000)]
Initialize GIC_PMRR register on ARM GIC.

Provided by: Thomas Skibo

11 years agoClarify to the user the amount of time required to load the menus for
dteske [Mon, 22 Apr 2013 06:30:29 +0000 (06:30 +0000)]
Clarify to the user the amount of time required to load the menus for
each view in the details dialog.

11 years agoNew helper functions for common widgets.
dteske [Mon, 22 Apr 2013 06:28:45 +0000 (06:28 +0000)]
New helper functions for common widgets.

11 years agoProper fix for copy/paste error (first attempt r249756).
dteske [Mon, 22 Apr 2013 06:27:14 +0000 (06:27 +0000)]
Proper fix for copy/paste error (first attempt r249756).

11 years agoFix a copy/paste error.
dteske [Mon, 22 Apr 2013 06:20:34 +0000 (06:20 +0000)]
Fix a copy/paste error.

11 years agoUpdate comment for accuracy.
dteske [Mon, 22 Apr 2013 06:13:30 +0000 (06:13 +0000)]
Update comment for accuracy.

11 years agoStyle nit (to be consistent across project).
dteske [Mon, 22 Apr 2013 06:12:22 +0000 (06:12 +0000)]
Style nit (to be consistent across project).