Kolbu

Computers, Gadgets and Beyond!
Subscribe

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

  • Income

  • Current Poll

    Which sub-note are you getting?
    View Results
  • Cloud Nine

  • Current Reading List

    Nation

    Neeeeeeew Praaaaaaaaatchett. It's in the kiddie-series, but they're equally brilliant and I'm sure this one is too.
    Blue War: A Punktown novel (Punktown)

    I've read several books in the same universe now, great stuff. Make sure you start at the beginning though.
    Neuromancer

    I know, I know, should have read it ages ago. I've tried several times but only get to page 50 before it bores me out though. I'll keep trying, honest! :-)