Skip to contentSkip to conversation

New: dmesg spam: "scsi host5: __pm_runtime_resume() returns 1" (DVD writer)

Bug 20112 [email protected] 1 participant 4 messages Oct 11, 2010 – May 12, 2012 SCSI

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=20112

           Summary: dmesg spam: "scsi host5: __pm_runtime_resume() returns
                    1" (DVD writer)
           Product: SCSI Drivers
           Version: 2.5
    Kernel Version: Linux version 2.6.36-rc7-blueyed-00145-g50c6dc9
                    (root@base) (gcc version 4.4.5 (Ubuntu/Linaro
                    4.4.4-14ubuntu5) ) #2 SMP PREEMPT Mon Oct 11 21:53:45
                    CEST 2010
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Other
        AssignedTo: [email protected]
        ReportedBy: [email protected]
        Regression: No

The system log gets spammed via dmesg with several of the following errors per second:

Oct 11 22:53:39 base kernel: [ 2147.766956] scsi host5: __pm_runtime_resume()!
Oct 11 22:53:39 base kernel: [ 2147.766962] scsi host5: __pm_runtime_resume()

returns 1!

Apparently this refers to my DVD drive, according to the /proc files:

Quoted 1 line

From /proc/scsi/scsi:

Host: scsi5 Channel: 00 Id: 01 Lun: 00
Vendor: HL-DT-ST Model: DVDRAM GSA-4163B Rev: A100
Type: CD-ROM ANSI SCSI revision: 05

% cat /proc/scsi/sg/devices
[...]
5 0 1 0 5 1 1 0 1

% cat /proc/scsi/sg/device_strs
[...]
HL-DT-ST DVDRAM GSA-4163B A100

This might be caused by CONFIG_PM_DEBUG=y, and might actually be expected. In this case, please excuse this report then - but consider making it less verbose.

My /proc/config.gz unzipped: http://pastebin.com/knXt8nmw
lspci -vvv: http://pastebin.com/iMWbaUPC

Might this be related to the writer failing to detect rewritable media? (which might be a regression I still would have to investigate deeper into)

(This might be related to https://bugzilla.kernel.org/show_bug.cgi?id=19712 - where only a "__pm_runtime_resume()!" is posted repeatedly.)

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
#1 lore raw

[Bug 20112] dmesg spam: "scsi host5: __pm_runtime_resume() returns 1" (DVD writer)

https://bugzilla.kernel.org/show_bug.cgi?id=20112

--- Comment #1 from Daniel Hahler <[email protected]> 2010-10-21 18:31:24 --- This is related to CONFIG_PM_VERBOSE=y, unsetting it does not cause this message spam.

Is this intentional?
Does it indicate some bug or broken hardware?

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
#2 lore raw

[Bug 20112] dmesg spam: "scsi host5: __pm_runtime_resume() returns 1" (DVD writer)

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=20112

Nix <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #2 from Nix <[email protected]> 2010-10-31 20:48:55 --- I can confirm this logspam. In my case it relates to SCSI host 3, "CDDVDW SH-S223F", a DVD writer. (The writer contains no media.)

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
#3 lore raw

[Bug 20112] dmesg spam: "scsi host5: __pm_runtime_resume() returns 1" (DVD writer)

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=20112

Alan <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
     Kernel Version|Linux version               |2.6.36-rc7- ubuntu i686
                   |2.6.36-rc7-blueyed-00145-g5 |
                   |0c6dc9 (root@base) (gcc     |
                   |version 4.4.5               |
                   |(Ubuntu/Linaro              |
                   |4.4.4-14ubuntu5) ) #2 SMP   |
                   |PREEMPT Mon Oct 11 21:53:45 |
                   |CEST 2010                   |
         Resolution|                            |OBSOLETE
Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.