Home
last modified time | relevance | path

Searched full:defect (Results 1 – 25 of 96) sorted by relevance

1234

/illumos-gate/usr/src/cmd/fm/dicts/
H A DSMF.dict29 defect.sunos.smf.svc.disabled=0
30 defect.sunos.smf.svc.temporarily_disabled=1
31 defect.sunos.smf.svc.invalid_restarter=2
32 defect.sunos.smf.svc.restarter_absent=3
33 defect.sunos.smf.svc.uninitialized=4
34 defect.sunos.smf.svc.restarter_dead=5
35 defect.sunos.smf.svc.administrative_request=6
36 defect.sunos.smf.svc.fault_threshold_reached=7
37 defect.sunos.smf.svc.method_fail=8
38 defect.sunos.smf.svc.none=9
[all …]
H A DSUNOS.dict30 defect.sunos.eft.undiagnosable_problem=1
31 defect.Deprecated defect.io.pci.driver fault.io.pci.bus fault.io.pci.device=2
32 defect.Deprecated fault.io.pci.bus fault.io.pci.device=3
33 defect.Deprecated defect.io.pci.driver fault.io.pci.device=4
34 defect.Deprecated defect.io.pci.driver fault.io.pci.bus=5
35 defect.Deprecated fault.io.pci.device=6
36 defect.Deprecated fault.io.pci.bus=7
37 defect.Deprecated defect.io.pci.driver=8
38 defect.sunos.zones.upgrade=9
41 defect.sunos.smf.svc.maintenance=12
[all …]
H A DSUNOS.po44 # keys: defect.sunos.eft.undiagnosable_problem
47 msgstr "Defect"
60 # keys: defect.Deprecated defect.io.pci.driver fault.io.pci.bus fault.io.pci.device
76 # keys: defect.Deprecated fault.io.pci.bus fault.io.pci.device
92 # keys: defect.Deprecated defect.io.pci.driver fault.io.pci.device
108 # keys: defect.Deprecated defect.io.pci.driver fault.io.pci.bus
124 # keys: defect.Deprecated fault.io.pci.device
140 # keys: defect.Deprecated fault.io.pci.bus
156 # keys: defect.Deprecated defect.io.pci.driver
172 # keys: defect.sunos.zones.upgrade
[all …]
H A DSMF.po28 # keys: defect.sunos.smf.svc.disabled
44 # keys: defect.sunos.smf.svc.temporarily_disabled
60 # keys: defect.sunos.smf.svc.invalid_restarter
76 # keys: defect.sunos.smf.svc.restarter_absent
92 # keys: defect.sunos.smf.svc.uninitialized
108 # keys: defect.sunos.smf.svc.restarter_dead
124 # keys: defect.sunos.smf.svc.administrative_request
140 # keys: defect.sunos.smf.svc.fault_threshold_reached
156 # keys: defect.sunos.smf.svc.method_fail
172 # keys: defect.sunos.smf.svc.none
[all …]
H A DFMD.po37 # keys: defect.sunos.fmd.nosub
40 msgstr "Defect"
53 # keys: defect.sunos.fmd.nodiagcode
56 msgstr "Defect"
69 # keys: defect.sunos.fmd.module
72 msgstr "Defect"
85 # keys: defect.sunos.fmd.config
88 msgstr "Defect"
H A DFMD.dict29 defect.sunos.fmd.nosub=0
30 defect.sunos.fmd.nodiagcode=1
31 defect.sunos.fmd.module=2
32 defect.sunos.fmd.config=3
H A DPCI.dict29 defect.io.pci.driver=0
31 defect.io.pci.driver fault.io.pci.bus=2
33 defect.io.pci.driver fault.io.pci.device=4
35 defect.io.pci.driver fault.io.pci.bus fault.io.pci.device=6
/illumos-gate/usr/src/cmd/format/
H A Dmenu_defect.c28 * This file contains functions to implement the defect menu commands.
39 * This is the working defect list. All the commands here operate on
41 * change their mind at any time without having mangled the current defect
106 * manufacturer's defect list from the current disk.
120 err_print("manufacturer's defect list.\n"); in d_original()
141 fmt_print("Extracting manufacturer's defect list..."); in d_original()
166 * entire defect list from the current disk.
179 err_print("current defect list.\n"); in d_extract()
189 "Cannot extract defect list from an unformatted disk. Continue"))) in d_extract()
209 fmt_print("Extracting defect list..."); in d_extract()
[all …]
H A Ddefect.c27 * This file contains routines that manipulate the defect list.
56 * the disk uses bad-144 defect mapping.
62 * This routine reads the defect list off the disk. It also reads in the
63 * bad block table if the disk is a BAD144 type. The defect list is
96 fmt_print("Defect list BAD\n"); in read_list()
106 fmt_print("Defect list BAD\n"); in read_list()
112 fmt_print("No defect list found\n"); in read_list()
117 * Loop for each copy of the defect list until we get a good one. in read_list()
201 * This routine either checks or calculates the checksum for a defect
232 * This routine prints a single defect to stdout in a readable format.
[all …]
H A Ddefect.h34 * This file contains definitions related to the defect list.
41 * This is the structure of the header of a defect list. It is always
42 * the first sector on a track containing a defect list.
52 * This is the structure of a defect. Defects are stored on the disk
53 * as an array of these structures following the defect header.
64 * This is the internal representation of a defect list. We store
76 * This defines the number of copies of the defect list kept on the disk.
82 * These defines are the flags for the defect list.
92 #define DEFECT_MAGIC 0x89898989 /* magic no for defect lists */
94 /* defect list */
[all …]
H A Danalyze.c34 #include "defect.h"
42 * are set from a command in the defect menu.
54 int scan_restore_defects = 1; /* restore defect list after writing */
66 * analysis error was caused by a media defect or some other problem.
68 int media_error; /* error was caused by defect */
106 * parameters. It is called from several commands in the defect menu,
122 * Check to be sure we aren't correcting without a defect list in do_scan()
123 * if the controller can correct the defect. in do_scan()
127 err_print("Current Defect List must be initialized "); in do_scan()
183 * we mark the defect list and/or label dirty so it will get rewritten. in do_scan()
[all …]
H A Dinit_menus.c81 { "defect - defect list management",
195 * This declaration is for the defect menu. It is used to manipulate
196 * the defect list for a disk.
205 { "primary - extract manufacturer's defect list",
213 { "delete - delete a defect from working list",
215 { "print - display defect list",
217 { "dump - dump defect list to file",
227 { "create - recreates maufacturer's defect list on disk",
H A Dmenu_command.c842 * There must be a current defect list. Except for in c_format()
843 * unformatted SCSI disks. For them the defect list in c_format()
852 err_print("Current Defect List must be initialized.\n"); in c_format()
1113 * Mark the defect list dirty so it will be rewritten when we are in c_format()
1116 * Note: no defect lists for embedded scsi drives. in c_format()
1157 * If the defect list or label is dirty, write them out again. in c_format()
1158 * Note, for SCSI we have to wait til now to load defect list in c_format()
1166 err_print("Warning: unable to reload defect list\n"); in c_format()
1200 * If the defect list or label is dirty, write them out again. in c_format()
1255 err_print("or disk supports automatic defect management.\n"); in c_repair()
[all …]
H A Dglobal.h69 #include "defect.h"
116 extern struct defect_list cur_list; /* current disk's defect list */
172 #define CF_DEFECTS 0x0002 /* disk has manuf. defect list */
174 #define CF_SMD_DEFS 0x0008 /* ctlr does smd defect handling */
189 * The flag prevents reading or writing a defect list on the disk
199 * Do not require confirmation to extract defect lists on SCSI
H A Dmain.c370 * Kill off any defect lists still lying around. in init_globals()
491 * Read the defect list, if we have one. in init_globals()
511 fmt_print(", defect list found"); in init_globals()
513 fmt_print(", no defect list found"); in init_globals()
532 Ready to get manufacturer's defect list from unformatted drive.\n\ in init_globals()
538 "Extracting manufacturer's defect list..."); in init_globals()
541 * Extract manufacturer's defect list. in init_globals()
550 fmt_print(", no defect list found]"); in init_globals()
552 fmt_print(", defect list found]"); in init_globals()
H A Dctlr_scsi.c59 /* format defect header bits */
125 SCMD_READ_DEFECT_LIST, "read defect list",
154 * READ DEFECT DATA commands is optional as per SCSI-2 spec.
380 * upon the defect list the user extracted. If they in scsi_format()
382 * the P (manufacturer's defect) list. Otherwise, we in scsi_format()
452 * clear defect header and try basecase format in scsi_format()
471 * source of defect information is not specified. in scsi_format()
517 * send down a defect list in the data phase) and the in scsi_raw_format()
519 * complete G list), and a defect list header with in scsi_raw_format()
520 * a defect list length of zero. in scsi_raw_format()
[all …]
/illumos-gate/usr/src/lib/fm/libfmd_msg/common/
H A Dfmd_msg_test.out25 code TEST-8000-08 item 0 = <<Defect>>
32 SUNW-MSG-ID: TEST-8000-08, TYPE: Defect, VER: 1, SEVERITY: Minor
41 code TEST-8000-08 item 0 = <<Defect>>
48 SUNW-MSG-ID: TEST-8000-08, TYPE: Defect, VER: 1, SEVERITY: Minor
57 SUNW-MSG-ID: TEST-8000-08, TYPE: Defect, VER: 1, SEVERITY: Minor
66 code TEST-8000-08 item 0 = <<Defect>>
73 SUNW-MSG-ID: TEST-8000-08, TYPE: Defect, VER: 1, SEVERITY: Minor
82 code TEST-8000-08 item 0 = <<Defect>>
89 SUNW-MSG-ID: TEST-8000-08, TYPE: Defect, VER: 1, SEVERITY: Minor
98 SUNW-MSG-ID: TEST-8000-08, TYPE: Defect, VER: 1, SEVERITY: Minor
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_protocol.h51 * The FMD_FLT_* events still use defect.sunos.* for now: a future registry
52 * putback should define all fmd events and convert these to defect.fm.fmd.*
54 #define FMD_FLT_NOSUB "defect.sunos.fmd.nosub"
55 #define FMD_FLT_NODC "defect.sunos.fmd.nodiagcode"
56 #define FMD_FLT_MOD "defect.sunos.fmd.module"
57 #define FMD_FLT_CONF "defect.sunos.fmd.config"
/illumos-gate/usr/src/cmd/fm/modules/common/sw-diag-response/subsidiary/smf/
H A Dsmf_diag.c29 * We model service instances in maintenance state as a defect diagnosis
32 * a corresponding defect.
121 nvlist_t *attr, *svcfmri, *defect; in swde_smf_recv() local
183 * associated serialization data. Create a defect and add it to in swde_smf_recv()
196 defect = fmd_nvl_create_defect(hdl, SW_SMF_MAINT_DEFECT, in swde_smf_recv()
199 (void) nvlist_add_string(defect, "reason-short", rsn); in swde_smf_recv()
201 (void) nvlist_add_string(defect, "reason-long", rsnl); in swde_smf_recv()
203 (void) nvlist_add_string(defect, "svc-string", svcname); in swde_smf_recv()
204 fmd_case_add_suspect(hdl, cp, defect); in swde_smf_recv()
H A Dsmf_response.c207 * Add the UUID of an SMF maintenance defect case to our cache and
307 * defect. Return the defect to the caller in the second argument,
308 * and the defect resource element in the third arg.
339 * maintenane defect we diagnose. Close the case (the resource was already
347 nvlist_t *defect, *rsrc; in swrp_smf_cacheuuid() local
355 if (!suspect_is_maint_defect(hdl, nvl, &defect, &rsrc)) in swrp_smf_cacheuuid()
428 nvlist_t *defect, *rsrc; in swrp_fmd2smf() local
442 if (!suspect_is_maint_defect(hdl, nvl, &defect, &rsrc)) in swrp_fmd2smf()
517 * Subscribe to the defect class diagnosed for maintenance events. in swrp_smf_init()
/illumos-gate/usr/src/cmd/fm/modules/common/sw-diag-response/subsidiary/panic/
H A Dpanic_diag.c29 * We model a system panic as a defect diagnosis in FMA. When a system
200 nvlist_t *defect, *rsrc; in swde_panic_solve() local
205 * Attribute members to include in event-specific defect in swde_panic_solve()
226 * repeated panic diagnoses (all using the same defect class) in swde_panic_solve()
250 defect = fmd_nvl_create_defect(hdl, SW_SUNOS_PANIC_DEFECT, in swde_panic_solve()
254 (void) nvlist_add_boolean_value(defect, "savecore-succcess", in swde_panic_solve()
283 (void) nvlist_add_string(defect, "dump-dir", dumpdir); in swde_panic_solve()
284 (void) nvlist_add_string_array(defect, "dump-files", arr, in swde_panic_solve()
290 (void) nvlist_add_string(defect, "failure-reason", rsn); in swde_panic_solve()
299 (void) nvlist_add_nvpair(defect, nvp); in swde_panic_solve()
[all …]
/illumos-gate/usr/src/man/man8/
H A Dformat.8221 \fBdefect\fR
224 Retrieve and print defect lists. This option is supported only on \fBSCSI\fR
225 devices. \fBIDE\fR disks perform automatic defect management. Upon using the
226 \fBdefect\fR option on an \fBIDE\fR disk, you receive the message:
230 Controller does not support defect management
231 or disk supports automatic defect management.
434 list by default. However, if only Primary list is extracted in defect menu
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Dfme.h39 #define UNDIAG_DEFECT_CHKPT "defect.sunos.eft.undiag.checkpoint"
40 #define UNDIAG_DEFECT_FME "defect.sunos.eft.unexpected_telemetry"
41 #define UNDIAG_DEFECT_LIMIT "defect.sunos.eft.undiag.limit"
42 #define UNDIAG_DEFECT_UNKNOWN "defect.sunos.eft.undiag.unknown"
/illumos-gate/usr/src/uts/common/sys/scsi/impl/
H A Dcommands.h564 #define FPB_CMPLT 0x08 /* full defect list provided */
565 #define FPB_DATA 0x10 /* defect list data provided */
571 #define DLD_MAN_DEF_LIST 0x10 /* manufacturer's defect list */
572 #define DLD_GROWN_DEF_LIST 0x08 /* grown defect list */
583 * Disk defect list - used by format command.
591 struct scsi_bfi_defect { /* defect in bytes from index format */
604 * Defect list returned by READ_DEFECT_LIST command.
606 struct scsi_defect_hdr { /* For getting defect list size */
623 * Defect list format used by reassign block command (logical block format).
625 * This defect list is limited to 1 defect, as that is the only way we use it.
[all …]
/illumos-gate/usr/src/cmd/fm/modules/common/io-retire/
H A Dio-retire.conf29 subscribe defect.io.*
30 subscribe defect.ultraSPARC-II.memory.nodiag

1234