| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
netDev option in install.cfg.
Submitted by: randi
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
the length by evaluating the value from the copy, cbuf instead. This
fixes a crash caused by previous commit (use-after-free)
Submitted by: Dimitry Andric <dimitry andric com>
Pointy hat to: delphij
|
| |
|
|
|
|
|
|
|
|
|
|
| |
drops and re-grabs the softc mutex in the middle, resulting in kernel
trap 12. This may happen when a lot of traffic is being hammered on
one bge(4) interface while the system is shutting down.
Reported by: Alexander Sack <pisymbol gmail com>
PR: kern/134548
MFC After: 2 weeks
|
|
|
|
|
|
|
|
|
| |
sysctl requests to avoid wiring too much user memory. Only grab this
lock if the user's old buffer is larger than a page as a tradeoff to
allow more concurrency for common small requests.
- Just use a shared lock on the sysctl tree for user sysctl requests now.
MFC after: 1 week
|
|
|
|
|
|
|
|
|
| |
- Remove vga0 and the disabled uart2/uart3 hints from both platforms.
- Remove hints for ISA adv0, bt0, aha0, aic0, ed0, cs0, sn0, ie0, fe0, and
le0 from i386. All these hints were marked 'disabled' and thus already
did not work "out of the box".
Discussed with: imp
|
|
|
|
|
|
|
| |
flavors as exported in FreeBSD-CURRENT. This allows it to use a
slightly modified mountd.c instead of a different utility.
Approved by: kib (mentor)
|
|
|
|
|
|
| |
db_print_inpcb().
MFC after: 1 month
|
|
|
|
|
|
|
| |
that they are the names used in FreeBSD-CURRENT. Also shuffled a
few entries around, so that they under the correct comment.
Approved by: kib (mentor)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
With the arrival of 128+ cores it is necessary to handle more than that.
One of the first thing to change is the support for cpumask_t that needs
to handle more than 32 bits masking (which happens now). Some places,
however, still assume that cpumask_t is a 32 bits mask.
Fix that situation by using always correctly cpumask_t when needed.
While here, remove the part under STOP_NMI for the Xen support as it
is broken in any case.
Additively make ipi_nmi_pending as static.
Reviewed by: jhb, kmacy
Tested by: Giovanni Trematerra <giovanni dot trematerra at gmail dot com>
|
|
|
|
|
| |
Submitted by: Iain Hibbert < plunky -at- rya-online -dot- net >
MFC after: 1 week
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- make mftb() shared, rewrite in C, provide complementary mttb()
- adjust SMP startup per the above, additional comments, minor naming
changes
- eliminate redundant TB defines, other minor cosmetics
Reviewed by: marcel, nwhitehorn
Obtained from: Freescale, Semihalf
|
|
|
|
| |
but not change it
|
|
|
|
|
|
|
| |
frames we should expect to process (old code was trying to handle frames
we should never see--like ACK)
Reviewed by: thompsa, cbzimmer
|
|
|
|
| |
Implement simple machine check support.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
chipset-specific code to attach chipset-specific data.
- Use chipset-specific data in the acard and promise chipsets rather than
changing the ivars of ATA PCI devices. ivars are reserved for use by the
parent bus driver and are _not_ available for use by devices directly.
This fixes a panic during sysctl -a with certain Promise controllers with
ACPI enabled.
Reviewed by: mav
Tested by: Magnus Kling (kingfon @ gmail) (on 7)
MFC after: 3 days
|
|
|
|
|
|
|
| |
Reviewed by: scottl
Found with: Coverity Prevent(tm)
CID: 821
MFC after: 2 weeks
|
|
|
|
| |
with LINT, so the tinderbox didn't pick this up.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
error due to copyout failure or short buffer.
The later breaks the usermode iterators of the sysctl results that pack
arbitrary number of variable-sized structures. Iterator expects that
kernel filled exactly oldlen bytes, and tries to interpret half-filled
or garbage structure at the end of the buffer. In particular,
kinfo_getfile(3) segfaulted.
Reported and tested by: pho
MFC after: 3 weeks
|
|
|
|
|
| |
Found with: Coverity Prevent(tm)
CID: 1167
|
|
|
|
|
|
|
|
|
|
|
| |
During bootup, if /etc/rc.d/savecore detects a core dump file
on the dump device, the core file will be saved, and the crashinfo
script will be run to generate a human-readable report.
This will make it easier for end-users to provide feedback to
developers about kernel crashes.
Reviewed by: jhb
|
|
|
|
|
|
| |
loopback route
to the interface address.
|
|
|
|
| |
buf_ring on transmit
|
|
|
|
|
|
|
|
|
|
|
|
| |
fget_unlocked().
- Save old file descriptor tables created on expansion until
the entire descriptor table is freed so that pointers may be
followed without regard for expanders.
- Mark the file zone as NOFREE so we may attempt to reference
potentially freed files.
- Convert several fget_locked() users to fget_unlocked(). This
requires us to manage reference counts explicitly but reduces
locking overhead in the common case.
|
|
|
|
|
|
|
|
|
|
| |
new platform module. These are probed in early boot, and have the
responsibility of determining the layout of physical memory, determining
the CPU timebase frequency, and handling the zoo of SMP mechanisms
found on PowerPC.
Reviewed by: marcel, raj
Book-E parts by: raj
|
|
|
|
|
|
| |
Approved by: scottl
MFC after: 2 weeks
Coverity ID: 3863
|
|
|
|
|
|
|
| |
of sys/nfsclient/nfs_bio.c) to track the change recently committed
by acl for nfs_bio.c.
Approved by: kib (mentor)
|
| |
|
|
|
|
| |
Reviewed by: imp
|
| |
|
|
|
|
|
|
| |
name
Reviewed by: imp
|
| |
|
|
|
|
| |
Submitted by: Hans Petter Selasky
|
|
|
|
| |
Submitted by: Hans Petter Selasky
|
|
|
|
| |
Submitted by: Hans Petter Selasky
|
|
|
|
| |
Submitted by: Hans Petter Selasky
|
|
|
|
| |
Submitted by: Hans Petter Selasky
|
|
|
|
|
|
| |
Add umass quirks for Alcor AU6390, Cypress PATA 6830XX and MPMan MPF400.
Submitted by: Hans Petter Selasky
|
|
|
|
|
|
| |
way usb drivers work.
Submitted by: Hans Petter Selasky
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- For CPUs that only support MCE (the machine check exception) but not MCA
(i.e. Pentium), all this does is print out the value of the machine check
registers and then panic when a machine check exception occurs.
- For CPUs that support MCA (the machine check architecture), the support is
a bit more involved.
- First, there is limited support for decoding the CPU-independent MCA
error codes in the kernel, and the kernel uses this to output a short
description of any machine check events that occur.
- When a machine check exception occurs, all of the MCx banks on the
current CPU are scanned and any events are reported to the console
before panic'ing.
- To catch events for correctable errors, a periodic timer kicks off a
task which scans the MCx banks on all CPUs. The frequency of these
checks is controlled via the "hw.mca.interval" sysctl.
- Userland can request an immediate scan of the MCx banks by writing
a non-zero value to "hw.mca.force_scan".
- If any correctable events are encountered, the appropriate details
are stored in a 'struct mca_record' (defined in <machine/mca.h>).
The "hw.mca.count" is a count of such records and each record may
be queried via the "hw.mca.records" tree by specifying the record
index (0 .. count - 1) as the next name in the MIB similar to using
PIDs with the kern.proc.* sysctls. The idea is to export machine
check events to userland for more detailed processing.
- The periodic timer and hw.mca sysctls are only present if the CPU
supports MCA.
Discussed with: emaste (briefly)
MFC after: 1 month
|
|
|
|
|
|
| |
direct dispatch policy for specific protocols (NETISR_USB). We leave
the additional 'flags' argument to netisr_register() for the time being,
even though it is no longer required.
|
| |
|
|
|
|
|
|
| |
USB implementation.
Garbage collect legacy USB ethernet framework now that it is unused.
|
|
|
|
| |
Suggested by: sam, imp
|
|
|
|
|
|
| |
NULL or change it. We initialize it before we set if_ioctl. It can
therefore never be NULL, and most other drivers don't bother with this
sanity check.
|
|
|
|
|
| |
the engine to catch up. This prevents a machine check exception from
illegal memory requests with a BCM4318.
|
| |
|
| |
|
|
|
|
|
|
| |
Found with: Coverity Prevent(tm)
CID: 371
MFC after: 2 weeks
|