Home
last modified time | relevance | path

Searched full:fault (Results 1 – 25 of 1002) sorted by relevance

12345678910>>...41

/freebsd-src/sys/i386/i386/
H A Dtrap.c127 [T_PRIVINFLT] = { .ei = true, .msg = "privileged instruction fault" },
128 [T_BPTFLT] = { .ei = false, .msg = "breakpoint instruction fault" },
130 [T_PROTFLT] = { .ei = true, .msg = "general protection fault" },
132 [T_PAGEFLT] = { .ei = true, .msg = "page fault" },
133 [T_ALIGNFLT] = { .ei = true, .msg = "alignment fault" },
134 [T_DIVIDE] = { .ei = true, .msg = "integer divide fault" },
137 [T_BOUND] = { .ei = true, .msg = "FPU bounds check fault" },
139 [T_DOUBLEFLT] = { .ei = false, .msg = "double fault" },
140 [T_FPOPFLT] = { .ei = true, .msg = "FPU operand fetch fault" },
141 [T_TSSFLT] = { .ei = true, .msg = "invalid TSS fault" },
[all...]
/freebsd-src/sys/x86/include/
H A Dtrap.h46 #define T_PROTFLT 9 /* protection fault */
48 #define T_PAGEFLT 12 /* page fault */
49 #define T_ALIGNFLT 14 /* alignment fault */
51 #define T_DIVIDE 18 /* integer divide fault */
54 #define T_BOUND 21 /* bound instruction fault */
55 #define T_DNA 22 /* device not available fault */
56 #define T_DOUBLEFLT 23 /* double fault */
57 #define T_FPOPFLT 24 /* fp coprocessor operand fetch fault */
58 #define T_TSSFLT 25 /* invalid tss fault */
59 #define T_SEGNPFLT 26 /* segment not present fault */
[all …]
/freebsd-src/sys/cddl/compat/opensolaris/sys/
H A Dcpuvar_defs.h33 #define CPU_DTRACE_NOFAULT 0x0001 /* Don't fault */
35 #define CPU_DTRACE_BADADDR 0x0004 /* DTrace fault: bad address */
36 #define CPU_DTRACE_BADALIGN 0x0008 /* DTrace fault: bad alignment */
37 #define CPU_DTRACE_DIVZERO 0x0010 /* DTrace fault: divide by zero */
38 #define CPU_DTRACE_ILLOP 0x0020 /* DTrace fault: illegal operation */
39 #define CPU_DTRACE_NOSCRATCH 0x0040 /* DTrace fault: out of scratch */
40 #define CPU_DTRACE_KPRIV 0x0080 /* DTrace fault: bad kernel access */
41 #define CPU_DTRACE_UPRIV 0x0100 /* DTrace fault: bad user access */
42 #define CPU_DTRACE_TUPOFLOW 0x0200 /* DTrace fault: tuple stack overflow */
47 #define CPU_DTRACE_BADSTACK 0x1000 /* DTrace fault: bad stack */
/freebsd-src/sys/riscv/riscv/
H A Dsupport.S58 la a6, fsu_fault /* Load the fault handler */
67 SET_FAULT_HANDLER(x0, a6) /* Reset the fault handler */
79 la a6, fsu_fault /* Load the fault handler */
88 SET_FAULT_HANDLER(x0, a6) /* Reset the fault handler */
100 la a6, fsu_fault /* Load the fault handler */
105 SET_FAULT_HANDLER(x0, a1) /* Reset the fault handler */
115 la a6, fsu_fault /* Load the fault handler */
120 SET_FAULT_HANDLER(x0, a1) /* Reset the fault handler */
130 la a6, fsu_fault /* Load the fault handler */
135 SET_FAULT_HANDLER(x0, a2) /* Reset the fault handler */
[all …]
/freebsd-src/sys/amd64/amd64/
H A Dtrap.c120 [T_PRIVINFLT] = "privileged instruction fault",
122 [T_BPTFLT] = "breakpoint instruction fault",
128 [T_PROTFLT] = "general protection fault",
131 [T_PAGEFLT] = "page fault",
133 [T_ALIGNFLT] = "alignment fault",
137 [T_DIVIDE] = "integer divide fault",
140 [T_BOUND] = "FPU bounds check fault",
142 [T_DOUBLEFLT] = "double fault",
143 [T_FPOPFLT] = "FPU operand fetch fault",
144 [T_TSSFLT] = "invalid TSS fault",
[all...]
/freebsd-src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/fault/
H A Dauto_spare_001_pos.ksh23 . $STF_SUITE/tests/functional/fault/fault.cfg
27 # Testing Fault Management Agent ZED Logic - Automated Auto-Spare Test when
36 # 6. Clear the fault
69 FAULT="$TEST_BASE_DIR/file-2"
76 FAULT=$FAULT_FILE
87 log_must zinject -d $FAULT -e io -T read $TESTPOOL
92 log_must wait_vdev_state $TESTPOOL $FAULT "FAULTED" 60
103 # 6. Clear the fault
105 log_must zpool clear $TESTPOOL $FAULT
108 log_must wait_vdev_state $TESTPOOL $FAULT "ONLINE" 60
/freebsd-src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_offline/
H A Dzpool_offline_003_pos.ksh40 # 1. Force fault a vdev, and clear the fault.
41 # 2. Offline a vdev, force fault it, clear the fault, and online it.
42 # 3. Force fault a vdev, export it, then import it.
77 # Force fault disk, and clear the fault
83 # Offline a disk, force fault it, clear the fault, and online it
100 # Persistent fault
/freebsd-src/contrib/llvm-project/llvm/lib/CodeGen/
H A DFaultMaps.cpp24 const char *FaultMaps::WFMP = "Fault Maps: ";
60 LLVM_DEBUG(dbgs() << "********** Fault Map Output **********\n"); in serializeToFaultMapSection()
88 for (const auto &Fault : FFI) { in emitFunctionInfo() local
89 LLVM_DEBUG(dbgs() << WFMP << " fault type: " in emitFunctionInfo()
90 << faultTypeToString(Fault.Kind) << "\n"); in emitFunctionInfo()
91 OS.emitInt32(Fault.Kind); in emitFunctionInfo()
94 << *Fault.FaultingOffsetExpr << "\n"); in emitFunctionInfo()
95 OS.emitValue(Fault.FaultingOffsetExpr, 4); in emitFunctionInfo()
97 LLVM_DEBUG(dbgs() << WFMP << " fault handler PC offset: " in emitFunctionInfo()
98 << *Fault.HandlerOffsetExpr << "\n"); in emitFunctionInfo()
[all …]
/freebsd-src/sys/arm/arm/
H A Dtrap-v6.c102 * Domain Fault (L1 & L2):
104 * Alignment Fault:
109 * - According to manual, this is translation fault during cache maintenance
119 * Translation Fault (L1 & L2):
120 * - Standard fault mechanism is held including vm_fault().
121 * Permission Fault (L1 & L2):
123 * fault mechanism is held including vm_fault().
128 {abort_align, "Alignment Fault"},
132 {NULL, "Translation Fault (L1)"},
134 {NULL, "Translation Fault (L
[all...]
/freebsd-src/sys/x86/iommu/
H A Dintel_reg.h49 #define DMAR_CTX1_FPD 2 /* Fault Processing Disable */
111 #define DMAR_IRTE1_FPD (1ULL << 1) /* Fault Processing Disable */
128 /* Num of Fault-recording regs */
136 /* Fault-recording reg offset */
152 #define DMAR_CAP_AFL (1 << 3) /* Advanced Fault Logging */
184 #define DMAR_GCMD_SFL (1 << 29) /* Set Fault Log */
185 #define DMAR_GCMD_EAFL (1 << 28) /* Enable Advanced Fault Logging */
196 #define DMAR_GSTS_FLS (1 << 29) /* Fault Log Status */
197 #define DMAR_GSTS_AFLS (1 << 28) /* Advanced Fault Logging Status */
254 /* Fault Status register */
[all …]
H A Dintel_fault.c61 * Fault interrupt handling for DMARs. If advanced fault logging is
63 * handler flushes the fault registers into circular buffer at
67 * number of fault log registers is limited, e.g. down to one for 5400
68 * MCH. We are trying to reduce the latency for clearing the fault
76 * advanced fault logging, so the code to handle AFL is not written.
110 printf("DMAR%d: Advanced pending fault\n", unit->iommu.unit); in dmar_fault_intr_clear()
114 printf("DMAR%d: Advanced fault overflow\n", unit->iommu.unit); in dmar_fault_intr_clear()
167 * cases by clearing overflow bit even if no fault is in dmar_fault_intr()
171 * DMAR_FRCD2_F bit in the fault registe in dmar_fault_intr()
[all...]
/freebsd-src/sys/contrib/openzfs/cmd/zed/zed.d/
H A Dpool_import-led.sh4 # Turn off/on vdevs' enclosure fault LEDs when their pool's state changes.
6 # Turn a vdev's fault LED on if it becomes FAULTED, DEGRADED or UNAVAIL.
53 # file: sysfs file to set (like /sys/class/enclosure/0:0:1:0/SLOT 10/fault)
77 # 'fault' entry always causes a SES command, even if the
81 # On some enclosures if you write 1 to fault, and read it back,
97 # Fault LEDs for JBODs and NVMe drives are handled a little differently.
99 # On JBODs the fault LED is called 'fault' and on a path like this:
101 # /sys/class/enclosure/0:0:1:0/SLOT 10/fault
107 # This function returns the full path to the fault LED file for a given
113 if [ -f "$dir/fault" ] ; then
[all …]
H A Dvdev_clear-led.sh4 # Turn off/on vdevs' enclosure fault LEDs when their pool's state changes.
6 # Turn a vdev's fault LED on if it becomes FAULTED, DEGRADED or UNAVAIL.
53 # file: sysfs file to set (like /sys/class/enclosure/0:0:1:0/SLOT 10/fault)
77 # 'fault' entry always causes a SES command, even if the
81 # On some enclosures if you write 1 to fault, and read it back,
97 # Fault LEDs for JBODs and NVMe drives are handled a little differently.
99 # On JBODs the fault LED is called 'fault' and on a path like this:
101 # /sys/class/enclosure/0:0:1:0/SLOT 10/fault
107 # This function returns the full path to the fault LED file for a given
113 if [ -f "$dir/fault" ] ; then
[all …]
H A Dvdev_attach-led.sh4 # Turn off/on vdevs' enclosure fault LEDs when their pool's state changes.
6 # Turn a vdev's fault LED on if it becomes FAULTED, DEGRADED or UNAVAIL.
53 # file: sysfs file to set (like /sys/class/enclosure/0:0:1:0/SLOT 10/fault)
77 # 'fault' entry always causes a SES command, even if the
81 # On some enclosures if you write 1 to fault, and read it back,
97 # Fault LEDs for JBODs and NVMe drives are handled a little differently.
99 # On JBODs the fault LED is called 'fault' and on a path like this:
101 # /sys/class/enclosure/0:0:1:0/SLOT 10/fault
107 # This function returns the full path to the fault LED file for a given
113 if [ -f "$dir/fault" ] ; then
[all …]
H A Dstatechange-led.sh4 # Turn off/on vdevs' enclosure fault LEDs when their pool's state changes.
6 # Turn a vdev's fault LED on if it becomes FAULTED, DEGRADED or UNAVAIL.
53 # file: sysfs file to set (like /sys/class/enclosure/0:0:1:0/SLOT 10/fault)
77 # 'fault' entry always causes a SES command, even if the
81 # On some enclosures if you write 1 to fault, and read it back,
97 # Fault LEDs for JBODs and NVMe drives are handled a little differently.
99 # On JBODs the fault LED is called 'fault' and on a path like this:
101 # /sys/class/enclosure/0:0:1:0/SLOT 10/fault
107 # This function returns the full path to the fault LED file for a given
113 if [ -f "$dir/fault" ] ; then
[all …]
/freebsd-src/sys/contrib/openzfs/cmd/zpool/zpool.d/
H A Dlocate_led10 fault_led: Show value of the disk enclosure slot fault LED.
12 ses: Show disk's enc, enc device, slot, and fault/locate LED values."
53 # JBODs fault LED is called 'fault', NVMe fault LED is called
55 if [ -f "$VDEV_ENC_SYSFS_PATH/fault" ] ; then
56 val=$(cat "$VDEV_ENC_SYSFS_PATH/fault" 2>/dev/null)
H A Dencdev10 fault_led: Show value of the disk enclosure slot fault LED.
12 ses: Show disk's enc, enc device, slot, and fault/locate LED values."
53 # JBODs fault LED is called 'fault', NVMe fault LED is called
55 if [ -f "$VDEV_ENC_SYSFS_PATH/fault" ] ; then
56 val=$(cat "$VDEV_ENC_SYSFS_PATH/fault" 2>/dev/null)
H A Dses10 fault_led: Show value of the disk enclosure slot fault LED.
12 ses: Show disk's enc, enc device, slot, and fault/locate LED values."
53 # JBODs fault LED is called 'fault', NVMe fault LED is called
55 if [ -f "$VDEV_ENC_SYSFS_PATH/fault" ] ; then
56 val=$(cat "$VDEV_ENC_SYSFS_PATH/fault" 2>/dev/null)
H A Dfault_led10 fault_led: Show value of the disk enclosure slot fault LED.
12 ses: Show disk's enc, enc device, slot, and fault/locate LED values."
53 # JBODs fault LED is called 'fault', NVMe fault LED is called
55 if [ -f "$VDEV_ENC_SYSFS_PATH/fault" ] ; then
56 val=$(cat "$VDEV_ENC_SYSFS_PATH/fault" 2>/dev/null)
H A Dslot10 fault_led: Show value of the disk enclosure slot fault LED.
12 ses: Show disk's enc, enc device, slot, and fault/locate LED values."
53 # JBODs fault LED is called 'fault', NVMe fault LED is called
55 if [ -f "$VDEV_ENC_SYSFS_PATH/fault" ] ; then
56 val=$(cat "$VDEV_ENC_SYSFS_PATH/fault" 2>/dev/null)
H A Denc10 fault_led: Show value of the disk enclosure slot fault LED.
12 ses: Show disk's enc, enc device, slot, and fault/locate LED values."
53 # JBODs fault LED is called 'fault', NVMe fault LED is called
55 if [ -f "$VDEV_ENC_SYSFS_PATH/fault" ] ; then
56 val=$(cat "$VDEV_ENC_SYSFS_PATH/fault" 2>/dev/null)
/freebsd-src/sys/contrib/openzfs/cmd/zed/agents/
H A DREADME.md1 ## Fault Management Logic for ZED ##
3 The integration of Fault Management Daemon (FMD) logic from illumos
34 ### ZFS Fault Management Overview ###
36 The primary purpose with ZFS fault management is automated diagnosis
37 and isolation of VDEV faults. A fault is something we can associate
39 (e.g. offline or replace a disk). A typical ZFS fault management stack
59 algorithm which will generate a corresponding fault diagnosis when the
67 managing hot spares across all pools. When it encounters a device fault
91 _"Fault Management Daemon Programmer's Reference Manual"_.
H A Dzfs_retire.c30 * When we see a device fault or a device removal, we try to open the associated
322 * Repair this vdev if we had diagnosed a 'fault.fs.zfs.device' and
371 nvlist_t *resource, *fault; in zfs_retire_recv() local
505 fault = faults[f]; in zfs_retire_recv()
511 if (nvlist_lookup_boolean_value(fault, FM_SUSPECT_RETIRE, in zfs_retire_recv()
516 * While we subscribe to fault.fs.zfs.*, we only take action in zfs_retire_recv()
518 * failure). We also subscribe to fault.io.* events, so that in zfs_retire_recv()
521 if (fmd_nvl_class_match(hdl, fault, "fault.fs.zfs.vdev.io")) { in zfs_retire_recv()
523 } else if (fmd_nvl_class_match(hdl, fault, in zfs_retire_recv()
[all...]
/freebsd-src/usr.sbin/sesutil/
H A Dsesutil.833 .Cm fault
38 .Cm fault
74 .It Cm fault Oo Fl u Ar /dev/sesN Oc Ar disk Ns | Ns Cm all Cm on Ns | Ns Cm off
75 Change the state of the external fault LED associated with
83 .It Cm fault Fl u Ar /dev/sesN Ar sesid Cm on Ns | Ns Cm off
84 Change the state of the external fault LED associated with an element
144 Turn on the fault LED for a drive bay not associated with a device:
146 .Dl Nm Cm fault -u /dev/ses2 7 on
/freebsd-src/contrib/ofed/opensm/libvendor/
H A Dosm_pkt_randomizer.c56 * Return TRUE if the path is in a fault path, and FALSE otherwise.
57 * By in a fault path the meaning is that there is a path in the fault
59 * E.g: if there is a fault path: 0,1,4
95 "Given path is in a fault path\n"); in __osm_pkt_randomizer_is_path_in_fault_paths()
111 * to use this path as a fault path or not.
112 * Second - if the path is in the fault paths (meaning - it is equal
113 * to or includes one of the fault paths) - then it randomally chooses
167 /* Check if the path given is in one of the fault paths */ in __osm_pkt_randomizer_process_path()
187 /* update the path in the fault paths */ in __osm_pkt_randomizer_process_path()
201 OSM_LOG(p_log, OSM_LOG_VERBOSE, "%s not in fault paths\n", buf); in __osm_pkt_randomizer_process_path()
[all …]

12345678910>>...41