Writing Device Drivers
Previous Next

Kernel Logging and Printing Functions

The kernel logging and printing functions are:

cmn_err(), vcmn_err()

Display an error message

ddi_report_dev()

Announce a device

strlog()

Submit messages to the log driver

ddi_dev_report_fault()

Report a hardware failure

scsi_errmsg()

Display a SCSI request sense message

scsi_log()

Display a SCSI-device-related message

scsi_vu_errmsg()

Display a SCSI request sense message

Previous Next