Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Flood of SCSI messages filling up kernel logs
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
dystopic_utopia
n00b
n00b


Joined: 17 Sep 2019
Posts: 11

PostPosted: Wed Mar 25, 2020 2:05 pm    Post subject: [SOLVED] Flood of SCSI messages filling up kernel logs Reply with quote

I keep getting a flood of what appears to be SCSI base messages, that I haven't never had before, on previous Gentoo installations. My current running kernel:

uname -a:
Code:

Linux NULL_with_the_v0id 4.19.97-gentoo #6 SMP Fri Mar 20 19:38:23 EDT 2020 x86_64 Intel(R) Core(TM) i5-8300H CPU @ 2.30GHz GenuineIntel GNU/Linux


And a snippet of the output:

dmesg -T | tail:
Code:

[Wed Mar 25 09:29:03 2020] -- transfer complete
[Wed Mar 25 09:29:03 2020] Bulk command transfer result=0
[Wed Mar 25 09:29:03 2020] Attempting to get CSW...
[Wed Mar 25 09:29:03 2020] xfer 13 bytes
[Wed Mar 25 09:29:03 2020] Status code 0; transferred 13/13
[Wed Mar 25 09:29:03 2020] -- transfer complete
[Wed Mar 25 09:29:03 2020] Bulk status result = 0
[Wed Mar 25 09:29:03 2020] Bulk Status S 0x53425355 T 0xe39 R 0 Stat 0x0
[Wed Mar 25 09:29:03 2020] scsi cmd done, result=0x0
[Wed Mar 25 09:29:03 2020] *** thread sleeping


As the subject states, I am getting a flood of these messages in my logs. While working on my kernel configuration, I have come across these these two options:

Code:

Device Driver -->
    SCSI device support -->
        [*] Verbose SCSI error reporting (kernel size += 36k)
        [*] SCSI logging facility


Both of which, are selected in my configuration, just like I have typed it in the above code. Could either of these configurations be the culprit? If not, I would like to read some suggestions, as my prior searches haven't shed any light as to what is causing all of this output. Thanks in advance, for reading and making any suggestions.


Last edited by dystopic_utopia on Fri Mar 27, 2020 1:08 am; edited 1 time in total
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 4399
Location: Dallas area

PostPosted: Wed Mar 25, 2020 3:04 pm    Post subject: Reply with quote

What you're seeing is the verbose output

As as general rule, you shouldn't turn on debugging unless you're having a problem, as you can see the logs get filled pretty quickly.
_________________
Asus m5a99fx, FX 8320 - nouveau, oss4, rx550 for qemu passthrough
Acer laptop E5-575, i3-7100u - i965, alsa
---both---
5.0.13 zen kernel, profile 17.1 (no-pie & modified) amd64-no-multilib
gcc 8.2.0, eudev, openrc, openbox, palemoon
Back to top
View user's profile Send private message
dystopic_utopia
n00b
n00b


Joined: 17 Sep 2019
Posts: 11

PostPosted: Wed Mar 25, 2020 3:48 pm    Post subject: Reply with quote

I am not sure if I set that option myself, since I am a --verbose type of person, who thought "more information is good", or if it was set by genkernel during the initial install, which this configuration has been base off of.

I will remove that verbose option from my .config, change a few other things, recompile and reboot.
Back to top
View user's profile Send private message
molletts
n00b
n00b


Joined: 16 Feb 2013
Posts: 47

PostPosted: Thu Mar 26, 2020 11:21 am    Post subject: Reply with quote

Anon-E-moose wrote:
What you're seeing is the verbose output

I'm not sure about that. I've had that option on by default for as long as I can remember as I find the extra information to be helpful when things do go wrong and it doesn't cause extra logging when everything is working fine. I've never had that kind of verbosity, though, even with a failing disk or a dodgy SCSI cable.

The reference to "bulk command" makes me think it's related to the USB subsystem - how about the "USB Mass Storage verbose debug" option (CONFIG_USB_STORAGE_DEBUG)?
Back to top
View user's profile Send private message
dystopic_utopia
n00b
n00b


Joined: 17 Sep 2019
Posts: 11

PostPosted: Thu Mar 26, 2020 11:46 am    Post subject: Reply with quote

Sorry for the late reply, I got caught up with other things. I did change that option in my kernel, and dmesg contains the same output. CONFIG_USB_STORAGE_DEBUG is set in my kernel, so I will have to try looking into that later today, after I am off of work.
Back to top
View user's profile Send private message
dystopic_utopia
n00b
n00b


Joined: 17 Sep 2019
Posts: 11

PostPosted: Fri Mar 27, 2020 1:07 am    Post subject: Reply with quote

You have no idea how happy I am to read a typical dmesg output, for a freshly booted system. It does appear that CONFIG_USB_STORAGE_DEBUG was the cause of those messages. Thanks you Anon-E-moose and molletts for taking the time to respond to my post. I hope that if someone else may have a similar issue, that maybe this thread will help them out.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum