Computers, Gadgets and Beyond!

Excessive SCSI logging under Ubuntu

March 18, 2008 By: webmaster Category: Tech Problems, Ubuntu

For some natty reason, my 64bit Ubuntu 8.04 server sometimes insists that a SCSI logging level of infinite detail is good for my health. Which means my messages, syslog and kern.log files get 50-100 lines like this per second:

Mar 18 23:52:25 home kernel: [ 8661.700076] scsi_add_timer: scmd: ffff81004da8a700, time: 7500, (ffffffff88123ed0)
Mar 18 23:52:25 home kernel: [ 8661.700117] scsi_delete_timer: scmd: ffff81004da8a000, rtn: 1

If you too are suffering from this then do the following:

1. First, stop it right now by starting a shell and typing:

sudo sysctl -w dev.scsi.logging_level=0

2. To make sure it doesn’t start up again after a reboot then edit the file /etc/sysctl.conf and add this line anywhere in the file:

dev.scsi.logging_level = 0

And you should be all set.

Leave a Reply

  • Hit me

  • Current Poll

    Which sub-note are you getting?
    View Results
  • Another Test Feed