What: /sys/class/mic/ Date: October 2013
KernelVersion: 3.13
Contact: Sudeep Dutt <sudeep.dutt@intel.com>
Description:
The mic class directory belongs to Intel MIC devices and
provides information per MIC device. An Intel MIC device is a
PCIe form factor add-in Coprocessor card based on the Intel Many
Integrated Core (MIC) architecture that runs a Linux OS.
What: /sys/class/mic/mic<X> Date: October 2013
KernelVersion: 3.13
Contact: Sudeep Dutt <sudeep.dutt@intel.com>
Description:
The directories /sys/class/mic/mic0, /sys/class/mic/mic1 etc.,
represent MIC devices (0,1,..etc). Each directory has
information specific to that MIC device.
What: /sys/class/mic/mic<X>/family Date: October 2013
KernelVersion: 3.13
Contact: Sudeep Dutt <sudeep.dutt@intel.com>
Description:
Provides information about the Coprocessor family for an Intel
MIC device. For example - "x100"
What: /sys/class/mic/mic<X>/stepping Date: October 2013
KernelVersion: 3.13
Contact: Sudeep Dutt <sudeep.dutt@intel.com>
Description:
Provides information about the silicon stepping for an Intel
MIC device. For example - "A0"or"B0"
What: /sys/class/mic/mic<X>/state Date: October 2013
KernelVersion: 3.13
Contact: Sudeep Dutt <sudeep.dutt@intel.com>
Description: Whenread, this entry provides the current state of an Intel
MIC device in the context of the card OS. Possible values that
will be readare:
=============== =============================================== "ready" The MIC device isreadyto boot the card OS. On reading this entryafter an OSPM resume,
a "boot" has to be written to this entryif
the card was previously shutdown during OSPM
suspend. "booting" The MIC device has initiated booting a card OS. "online" The MIC device has completed boot andis online "shutting_down" The card OS is shutting down. "resetting" A reset has been initiated for the MIC device "reset_failed" The MIC device has failed toreset.
=============== ===============================================
When written, this sysfs entry triggers different state change
operations dependingupon the current state of the card OS.
Acceptable values are:
========== =================================================== "boot" Boot the card OS image specified by the combination of firmware, ramdisk, cmdline and bootmode
sysfs entries. "reset" Initiates device reset. "shutdown" Initiates card OS shutdown.
========== ===================================================
What: /sys/class/mic/mic<X>/shutdown_status Date: October 2013
KernelVersion: 3.13
Contact: Sudeep Dutt <sudeep.dutt@intel.com>
Description:
An Intel MIC device runs a Linux OS during its operation. This
OS can shutdown because of various reasons. Whenread, this entry provides the statuson why the card OS was shutdown.
Possible values are:
========== =================================================== "nop" shutdown statusisnot applicable, when the card OS is"online" "crashed" Shutdown because of a HW or SW crash. "halted" Shutdown because of a halt command. "poweroff" Shutdown because of a poweroff command. "restart" Shutdown because of a restart command.
========== ===================================================
What: /sys/class/mic/mic<X>/cmdline Date: October 2013
KernelVersion: 3.13
Contact: Sudeep Dutt <sudeep.dutt@intel.com>
Description:
An Intel MIC device runs a Linux OS during its operation. Before
booting this card OS, it is possible to pass kernel command line
options to configure various features in it, similar to
self-bootable machines. Whenread, this entry provides
information about the current kernel command line options setto
boot the card OS. This entry can be written to change the
existing kernel command line options. Typically, the user would
want toread the current command line options, append new ones or modify existing ones andthenwrite the whole kernel command line back to this entry.
What: /sys/class/mic/mic<X>/firmware Date: October 2013
KernelVersion: 3.13
Contact: Sudeep Dutt <sudeep.dutt@intel.com>
Description: Whenread, this sysfs entry provides the path name under
/lib/firmware/ where the firmware image to be booted on the
card can be found. The entry can be written to change the
firmware image location under /lib/firmware/.
What: /sys/class/mic/mic<X>/ramdisk Date: October 2013
KernelVersion: 3.13
Contact: Sudeep Dutt <sudeep.dutt@intel.com>
Description: Whenread, this sysfs entry provides the path name under
/lib/firmware/ where the ramdisk image to be used during card
OS boot can be found. The entry can be written to change
the ramdisk image location under /lib/firmware/.
What: /sys/class/mic/mic<X>/bootmode Date: October 2013
KernelVersion: 3.13
Contact: Sudeep Dutt <sudeep.dutt@intel.com>
Description: Whenread, this sysfs entry provides the current bootmode for
the card. This sysfs entry can be written with the following
valid strings:
a) linux - Boot a Linux image.
b) flash - Boot an image for flash updates.
What: /sys/class/mic/mic<X>/log_buf_addr Date: October 2013
KernelVersion: 3.13
Contact: Sudeep Dutt <sudeep.dutt@intel.com>
Description:
An Intel MIC device runs a Linux OS during its operation. For debugging purpose and early kernel boot messages, the user can access the card OS log buffer via debugfs. Whenread, this entry
provides the kernel virtual addressof the buffer where the card
OS log buffer can be read. This entryis written by the host configuration daemon toset the log buffer address. The correct
log buffer addressto be written can be found in the System.map fileof the card OS.
What: /sys/class/mic/mic<X>/log_buf_len Date: October 2013
KernelVersion: 3.13
Contact: Sudeep Dutt <sudeep.dutt@intel.com>
Description:
An Intel MIC device runs a Linux OS during its operation. For debugging purpose and early kernel boot messages, the user can access the card OS log buffer via debugfs. Whenread, this entry
provides the kernel virtual addresswhere the card OS log buffer length can be read. This entryis written by host configuration
daemon toset the log buffer lengthaddress. The correct log
buffer lengthaddressto be written can be found in the
System.map fileof the card OS.
What: /sys/class/mic/mic<X>/heartbeat_enable Date: March 2015
KernelVersion: 4.4
Contact: Ashutosh Dixit <ashutosh.dixit@intel.com>
Description:
The MIC drivers detect and inform user space about card crashes
via a heartbeat mechanism (see the description of
shutdown_status above). User space can turn off this
notification by setting heartbeat_enable to0and enable it by
setting this entryto1. If this notification is disabled it is
the responsibility of user spaceto detect card crashes via
alternative means such as a network ping. This setting is
enabled by default.
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.11 Sekunden
(vorverarbeitet am 2026-09-29)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.