I am currently working with kernel 2.4.32. And I need to enable debug printing for scsi. The scsi_logging_level utilities seem to have not been in the kernel yet. How can I see the installed log levels without this utility, and if necessary, set my own?

  • This version of the kernel is about 16? Necrophilia is not a disease! (If absolutely nothing, read the source of the driver) - 0andriy
  • And what will the reading driver give me? Well, I saw the line SCSI_LOG_MLQUEUE(3, printk("Leaving scsi_do_cmd()\n")); I learned that the line will be displayed if SCSI_LOG_MLQUEUE is set to a value greater than 3. But then I asked about how to set this value in the environment from the console. - Alexey
  • Read more source. Not sure, though, that you will like what you find (no, I am not a necro, there is no desire to look at versions below 2.6.12) - 0andriy
  • one
    I found it. Suddenly, someone will need (God forbid). Usage: echo "scsi log token #N"> / proc / scsi / scsi where token is one of [error, scan, mlqueue, mlcomplete, llqueue, llcomplete, hlqueue, hlcomplete] - Alexey

0