{
    "mode": "man",
    "parameter": "smartpqi",
    "section": "4",
    "url": "https://www.chedong.com/phpMan.php/man/smartpqi/4/json",
    "generated": "2026-10-07T14:13:33Z",
    "synopsis": "modprobe smartpqi [disabledeviceidwildcards={0|1}] [disableheartbeat={0|1}]\n[disablectrlshutdown={0|1}] [lockupaction={none|reboot|panic}]\n[exposeldfirst={0|1}] [hidevsep={0|1}]\n[disablemanagedinterrupts={0|1}] [ctrlreadytimeout={0|[30,1800]}]",
    "sections": {
        "NAME": {
            "content": "smartpqi - Microchip Smart Storage SCSI driver\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "modprobe smartpqi [disabledeviceidwildcards={0|1}] [disableheartbeat={0|1}]\n[disablectrlshutdown={0|1}] [lockupaction={none|reboot|panic}]\n[exposeldfirst={0|1}] [hidevsep={0|1}]\n[disablemanagedinterrupts={0|1}] [ctrlreadytimeout={0|[30,1800]}]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "smartpqi is a SCSI driver for Microchip Smart Storage controllers.\n",
            "subsections": [
                {
                    "name": "Supported _ioctl_() operations",
                    "content": "For  compatibility  with applications written for the cciss(4) and hpsa(4) drivers, many, but\nnot all of the ioctl(2) operations supported by the hpsa driver are  also  supported  by  the\nsmartpqi  driver.   The  data  structures used by these operations are described in the Linux\nkernel source file include/linux/ccissioctl.h.\n\nCCISSDEREGDISK\nCCISSREGNEWDISK\nCCISSREGNEWD\nThese operations all do exactly the same thing, which is to cause the  driver  to  re-\nscan  for  new  devices.  This does exactly the same thing as writing to the smartpqi-\nspecific host rescan attribute.\n\nCCISSGETPCIINFO\nThis operation returns the PCI domain, bus, device, and function and \"board  ID\"  (PCI\nsubsystem ID).\n\nCCISSGETDRIVVER\nThis operation returns the driver version in four bytes, encoded as:\n\n(majorversion << 28) | (minorversion << 24) |\n(release << 16) | revision\n\nCCISSPASSTHRU\nAllows BMIC and CISS commands to be passed through to the controller.\n"
                },
                {
                    "name": "Boot options",
                    "content": "disabledeviceidwildcards={0|1}\nDisables  support  for device ID wildcards.  The default value is 0 (wildcards are en‐\nabled).\n\ndisableheartbeat={0|1}\nDisables support for the controller's heartbeat check.  This parameter is used for de‐\nbugging purposes.  The default value is 0 (the controller's  heartbeat  check  is  en‐\nabled).\n\ndisablectrlshutdown={0|1}\nDisables support for shutting down the controller in the event of a controller lockup.\nThe default value is 0 (controller will be shut down).\n\nlockupaction={none|reboot|panic}\nSpecifies  the  action the driver takes when a controller lockup is detected.  The de‐\nfault action is none.\nparameter   action\n─────────────────────────────────────────────\nnone        take controller offline only\nreboot      reboot the system\npanic       panic the system\n\nexposeldfirst={0|1}\nThis option exposes logical devices to the OS before physical  devices.   The  default\nvalue is 0 (physical devices exposed first).\n\nhidevsep={0|1}\nThis  option  disables  exposure of the virtual SEP to the OS.  The default value is 0\n(virtual SEP is exposed).\n\ndisablemanagedinterrupts={0|1}\nDisables driver utilization of Linux kernel managed interrupts for  controllers.   The\nmanaged  interrupts feature automatically distributes interrupts to all available CPUs\nand assigns SMP affinity.  The default value is 0 (managed interrupts enabled).\n\nctrlreadytimeout={0|[30,1800]}\nThis option specifies the timeout in seconds for the driver to wait for the controller\nto be ready.  The valid range is 0 or [30, 1800].   The  default  value  is  0,  which\ncauses the driver to use a timeout of 180 seconds.\n"
                }
            ]
        },
        "FILES": {
            "content": "",
            "subsections": [
                {
                    "name": "Device nodes",
                    "content": "Disk  drives are accessed via the SCSI disk driver (sd), tape drives via the SCSI tape driver\n(st), and the RAID controller via the SCSI generic  driver  (sg),  with  device  nodes  named\n/dev/sd*, /dev/st*, and /dev/sg*, respectively.\n"
                },
                {
                    "name": "SmartPQI-specific host attribute files in /sys",
                    "content": "/sys/class/scsihost/host*/rescan\nThe  host  rescan attribute is a write-only attribute.  Writing to this attribute will\ncause the driver to scan for new, changed, or removed devices (e.g., hot-plugged  tape\ndrives,  or newly configured or deleted logical volumes) and notify the SCSI mid-layer\nof any changes detected.  Usually this action is triggered automatically by configura‐\ntion changes, so the user should not normally have to write to this  file.   Doing  so\nmay  be  useful  when hot-plugging devices such as tape drives or entire storage boxes\ncontaining pre-configured logical volumes.\n\n/sys/class/scsihost/host*/lockupaction\nThe host lockupaction attribute is a read/write attribute.  This attribute will cause\nthe driver to perform a specific action in the unlikely event that a controller lockup\nhas been detected.  See OPTIONS above for an explanation of the lockupaction values.\n\n/sys/class/scsihost/host*/driverversion\nThe driverversion attribute is read-only.  This attribute contains the smartpqi  dri‐\nver version.\n\nFor example:\n\n$ cat /sys/class/scsihost/host1/driverversion\n1.1.2-126\n\n/sys/class/scsihost/host*/firmwareversion\nThe  firmwareversion  attribute is read-only.  This attribute contains the controller\nfirmware version.\n\nFor example:\n\n$ cat /sys/class/scsihost/host1/firmwareversion\n1.29-112\n\n/sys/class/scsihost/host*/model\nThe model attribute is read-only.  This attribute contains the product  identification\nstring of the controller.\n\nFor example:\n\n$ cat /sys/class/scsihost/host1/model\n1100-16i\n\n/sys/class/scsihost/host*/serialnumber\nThe  serialnumber attribute is read-only.  This attribute contains the unique identi‐\nfication number of the controller.\n\nFor example:\n\n$ cat /sys/class/scsihost/host1/serialnumber\n6A316373777\n\n/sys/class/scsihost/host*/vendor\nThe vendor attribute is read-only.  This attribute contains the vendor  identification\nstring of the controller.\n\nFor example:\n\n$ cat /sys/class/scsihost/host1/vendor\nAdaptec\n\n/sys/class/scsihost/host*/enablestreamdetection\nThe  enablestreamdetection attribute is read-write.  This attribute enables/disables\nstream detection in the driver.  Enabling  stream  detection  can  improve  sequential\nwrite  performance  for  ioaccel-enabled volumes.  See the ssdsmartpathenabled disk\nattribute section for details on ioaccel-enabled volumes.   The  default  value  is  1\n(stream detection enabled).\n\nEnable example:\n\n$ echo 1 > /sys/class/scsihost/host1/enablestreamdetection\n\n/sys/class/scsihost/host*/enabler5writes\nThe  enabler5writes attribute is read-write.  This attribute enables/disables RAID 5\nwrite operations for ioaccel-enabled volumes.  Enabling can improve  sequential  write\nperformance.   See  the  ssdsmartpathenabled  disk attribute section for details on\nioaccel-enabled volumes.  The default value is 1 (RAID 5 writes enabled).\n\nEnable example:\n\n$ echo 1 > /sys/class/scsihost/host1/enabler5writes\n\n/sys/class/scsihost/host*/enabler6writes\nThe enabler6writes attribute is read-write.  This attribute enables/disables RAID  6\nwrite  operations  for ioaccel-enabled volumes.  Enabling can improve sequential write\nperformance.  See the ssdsmartpathenabled disk attribute  section  for  details  on\nioaccel-enabled volumes.  The default value is 1 (RAID 6 writes enabled).\n\nEnable example:\n\n$ echo 1 > /sys/class/scsihost/host1/enabler6writes\n"
                },
                {
                    "name": "SmartPQI-specific disk attribute files in /sys",
                    "content": "In the file specifications below, c stands for the number of the appropriate SCSI controller,\nb is the bus number, t the target number, and l is the logical unit number (LUN).\n\n/sys/class/scsidisk/c:b:t:l/device/raidlevel\nThe  raidlevel attribute is read-only.  This attribute contains the RAID level of the\nlogical volume.\n\nFor example:\n\n$ cat /sys/class/scsidisk/4:0:0:0/device/raidlevel\nRAID 0\n\n/sys/class/scsidisk/c:b:t:l/device/sasaddress\nThe sasaddress attribute is read-only.  This attribute contains the  SAS  address  of\nthe device.\n\nFor example:\n\n$ cat /sys/class/scsidisk/1:0:3:0/device/sasaddress\n0x5001173d028543a2\n\n/sys/class/scsidisk/c:b:t:l/device/ssdsmartpathenabled\nThe  ssdsmartpathenabled attribute is read-only.  This attribute is for ioaccel-en‐\nabled volumes.  (Ioaccel is an alternative driver submission path that allows the dri‐\nver to send I/O requests directly to backend SCSI devices,  bypassing  the  controller\nfirmware.   This  results  in an increase in performance.  This method is used for HBA\ndisks and for logical volumes comprised of SSDs.)  Contains 1 if  ioaccel  is  enabled\nfor the volume and 0 otherwise.\n\nFor example:\n\n$ cat /sys/class/scsidisk/1:0:3:0/device/ssdsmartpathenabled\n0\n\n/sys/class/scsidisk/c:b:t:l/device/lunid\nThe lunid attribute is read-only.  This attribute contains the SCSI LUN ID for the de‐\nvice.\n\nFor example:\n\n$ cat /sys/class/scsidisk/13:1:0:3/device/lunid\n0x0300004000000000\n\n/sys/class/scsidisk/c:b:t:l/device/uniqueid\nThe  uniqueid  attribute  is  read-only.   This  attribute contains a 16-byte ID that\nuniquely identifies the device within the controller.\n\nFor example:\n\n$ cat /sys/class/scsidisk/13:1:0:3/device/uniqueid\n600508B1001C6D4723A8E98D704FDB94\n\n/sys/class/scsidisk/c:b:t:l/device/pathinfo\nThe pathinfo attribute is read-only.  This attribute contains the c:b:t:l of the  de‐\nvice  along with the device type and whether the device is Active or Inactive.  If the\ndevice is an HBA device, pathinfo will also display the PORT, BOX, and BAY the device\nis plugged into.\n\nFor example:\n\n$ cat /sys/class/scsidisk/13:1:0:3/device/pathinfo\n[13:1:0:3]    Direct-Access     Active\n\n$ cat /sys/class/scsidisk/12:0:9:0/device/pathinfo\n[12:0:9:0]  Direct-Access   PORT: C1 BOX: 1 BAY: 14 Inactive\n[12:0:9:0]  Direct-Access   PORT: C0 BOX: 1 BAY: 14 Active\n\n/sys/class/scsidisk/c:b:t:l/device/raidbypasscnt\nThe raidbypasscnt attribute is read-only.  This attribute contains the number of I/O\nrequests that have gone through the ioaccel path for ioaccel-enabled volumes.  See the\nssdsmartpathenabled disk attribute section for details on ioaccel-enabled volumes.\n\nFor example:\n\n$ cat /sys/class/scsidisk/13:1:0:3/device/raidbypasscnt\n0x300\n\n/sys/class/scsidisk/c:b:t:l/device/sasncqprioenable\nThe sasncqprioenable attribute is read/write.  This attribute enables SATA NCQ pri‐\nority support.  This attribute works only when device has NCQ support  and  controller\nfirmware can handle IO with NCQ priority attribute.\n\nFor example:\n\n$ echo 1 > /sys/class/scsidisk/13:1:0:3/device/sasncqprioenable\n"
                }
            ]
        },
        "VERSIONS": {
            "content": "The smartpqi driver was added in Linux 4.9.\n",
            "subsections": []
        },
        "NOTES": {
            "content": "",
            "subsections": [
                {
                    "name": "Configuration",
                    "content": "To  configure  a  Microchip  Smart  Storage  controller, refer to the User Guide for the con‐\ntroller, which can be found by searching  for  the  specific  controller  at  https://www.mi‐\ncrochip.com/design-centers/storage.\n"
                }
            ]
        },
        "HISTORY": {
            "content": "/sys/class/scsihost/host*/version was replaced by two sysfs entries:\n\n/sys/class/scsihost/host*/driverversion\n\n/sys/class/scsihost/host*/firmwareversion\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "cciss(4), hpsa(4), sd(4), st(4), sg(4)\n\nDocumentation/ABI/testing/sysfs-bus-pci-devices-cciss in the Linux kernel source tree.\n\nLinux man-pages 6.7                          2023-10-31                                  smartpqi(4)",
            "subsections": []
        }
    },
    "summary": "smartpqi - Microchip Smart Storage SCSI driver",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "cciss",
            "section": "4",
            "url": "https://www.chedong.com/phpMan.php/man/cciss/4/json"
        },
        {
            "name": "hpsa",
            "section": "4",
            "url": "https://www.chedong.com/phpMan.php/man/hpsa/4/json"
        },
        {
            "name": "sd",
            "section": "4",
            "url": "https://www.chedong.com/phpMan.php/man/sd/4/json"
        },
        {
            "name": "st",
            "section": "4",
            "url": "https://www.chedong.com/phpMan.php/man/st/4/json"
        },
        {
            "name": "sg",
            "section": "4",
            "url": "https://www.chedong.com/phpMan.php/man/sg/4/json"
        }
    ]
}