Tracing driver modules

By default, the driver prints minimal kernel trace messages to the system log at /var/log/messages. The minimal information includes notification that a device is recognized or taken offline and also the most serious of error conditions. If a more verbose trace is wanted, the variable /sys/bus/scsi/drivers/lin_tape/lin_tape_debug must contain the value 1. This procedure can be accomplished in one of two ways -
  • Add the following line to /etc/modprobe.conf, /etc/modprobe.conf.local, or /etc/modprobe.d/lin_tape.conf.
    options lin_tape lin_tape_debug=1
    Then reinstall lin_tape. This action causes the lin_tape_debug variable to be set every time lin_tape is loaded.
  • Issue the following command from the shell.
    echo 1 > /sys/bus/scsi/drivers/lin_tape/lin_tape_debug
    This action causes the lin_tape_debug variable to be set only until lin_tape is uninstalled or until the variable is set back to 0.