After adding a second HDD my computer, running Kubuntu 13.04, no longer suspends to RAM. As soon as the machine powers down it starts right back up again! If I disconnect the second HDD suspend works again.
Here's the output of dmesg from the suspend to the unwanted resume:
1 [26759.388371] PM: Syncing filesystems ... done.
2 [26759.573752] Freezing user space processes ... (elapsed 0.01 seconds) done.
3 [26759.588178] Freezing remaining freezable tasks ... (elapsed 1.95 seconds) done.
4 [26761.540139] Suspending console(s) (use no_console_suspend to debug)
5 [26761.540532] sd 2:0:0:0: [sdb] Synchronizing SCSI cache
6 [26761.540591] sd 0:0:0:0: [sda] Synchronizing SCSI cache
7 [26761.540624] sd 2:0:0:0: [sdb] Stopping disk
8 [26761.540786] sd 0:0:0:0: [sda] Stopping disk
9 [26761.547110] i8042 kbd 00:08: System wakeup enabled by ACPI
10 [26761.547188] serial 00:07: disabled
11 [26761.547192] serial 00:07: System wakeup disabled by ACPI
12 [26791.840021] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
13 [26791.840023] ata3.00: failed command: STANDBY IMMEDIATE
14 [26791.840029] ata3.00: cmd e0/00:00:00:00:00/00:00:00:00:00/a0 tag 0
15 [26791.840029] res 40/00:00:00:00:00/00:00:00:00:00/40 Emask 0x4 (timeout)
16 [26791.840031] ata3.00: status: { DRDY }
17 [26791.840036] ata3: hard resetting link
18 [26791.840037] ata3: nv: skipping hardreset on occupied port
19 [26792.308023] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
20 [26792.324252] ata3.00: configured for UDMA/133
21 [26792.324255] ata3.00: device reported invalid CHS sector 0
22 [26792.324265] ata3: EH complete
23 [26792.324270] sd 2:0:0:0: [sdb] START_STOP FAILED
24 [26792.324272] sd 2:0:0:0: [sdb]
25 [26792.324274] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
26 [26792.324276] sd 2:0:0:0: [sdb]
27 [26792.324279] Sense Key : Aborted Command [current] [descriptor]
28 [26792.324281] sd 2:0:0:0: [sdb]
29 [26792.324283] Add. Sense: No additional sense information
30 [26792.324292] dpm_run_callback(): scsi_bus_suspend+0x0/0x40 returns 134217730
31 [26792.324296] PM: Device 2:0:0:0 failed to suspend async: error 134217730
32 [26792.324365] PM: Some devices failed to suspend
33 [26792.324470] ohci_hcd 0000:00:0b.0: setting latency timer to 64
34 [26792.324474] ehci-pci 0000:00:0b.1: setting latency timer to 64
35 [26792.324520] pci 0000:00:0f.0: setting latency timer to 64
36 [26792.325282] serial 00:07: activated
37 [26792.325335] i8042 kbd 00:08: System wakeup disabled by ACPI
38 [26792.340090] pata_amd 0000:00:0d.0: setting latency timer to 64
39 [26792.340139] snd_hda_intel 0000:00:0f.1: setting latency timer to 64
40 [26792.340145] sata_nv 0000:00:0e.2: setting latency timer to 64
41 [26792.340352] sata_nv 0000:00:0e.1: setting latency timer to 64
42 [26792.340714] ata2: port disabled--ignoring
43 [26792.796044] ata4: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
44 [26792.804214] ata4.00: ACPI cmd ef/03:46:00:00:00:a0 (SET FEATURES) filtered out
45 [26792.820213] ata4.00: configured for UDMA/100
46 [26792.840329] ata1.00: ACPI cmd ef/03:45:00:00:00:a0 (SET FEATURES) filtered out
47 [26792.840332] ata1.00: ACPI cmd ef/03:0c:00:00:00:a0 (SET FEATURES) filtered out
48 [26792.896047] firewire_core 0000:02:07.0: rediscovered device fw0
49 [26793.010637] ata1: nv_mode_filter: 0x3f39f&0x3f39f->0x3f39f, BIOS=0x3f000 (0xc6000000) ACPI=0x3f01f (20:600:0x13)
50 [26793.064020] ata8: SATA link down (SStatus 0 SControl 300)
51 [26793.064022] ata6: SATA link down (SStatus 0 SControl 300)
52 [26793.064039] ata5: SATA link down (SStatus 0 SControl 300)
53 [26793.064141] ata7: SATA link down (SStatus 0 SControl 300)
54 [26793.530547] ata1.00: configured for UDMA/100
55 [26793.530595] sd 0:0:0:0: [sda] Starting disk
56 [26799.264071] PM: resume of devices complete after 6939.702 msecs
57 [26799.264418] Restarting tasks ... done.
58 [26803.243753] forcedeth 0000:00:11.0: irq 41 for MSI/MSI-X
59 [26803.243796] forcedeth 0000:00:11.0 eth0: MSI enabled
60 [26803.244017] forcedeth 0000:00:11.0 eth0: no link during initialization
61 [26803.244486] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
62 [26803.246440] forcedeth 0000:00:12.0: irq 42 for MSI/MSI-X
63 [26803.246473] forcedeth 0000:00:12.0 eth1: MSI enabled
The HDD was taken from a Windows computer that could suspend to RAM successfully.
Why does suspend to RAM no longer work when this drive is installed?
Here's the output of dmesg from the suspend to the unwanted resume:
1 [26759.388371] PM: Syncing filesystems ... done.
2 [26759.573752] Freezing user space processes ... (elapsed 0.01 seconds) done.
3 [26759.588178] Freezing remaining freezable tasks ... (elapsed 1.95 seconds) done.
4 [26761.540139] Suspending console(s) (use no_console_suspend to debug)
5 [26761.540532] sd 2:0:0:0: [sdb] Synchronizing SCSI cache
6 [26761.540591] sd 0:0:0:0: [sda] Synchronizing SCSI cache
7 [26761.540624] sd 2:0:0:0: [sdb] Stopping disk
8 [26761.540786] sd 0:0:0:0: [sda] Stopping disk
9 [26761.547110] i8042 kbd 00:08: System wakeup enabled by ACPI
10 [26761.547188] serial 00:07: disabled
11 [26761.547192] serial 00:07: System wakeup disabled by ACPI
12 [26791.840021] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
13 [26791.840023] ata3.00: failed command: STANDBY IMMEDIATE
14 [26791.840029] ata3.00: cmd e0/00:00:00:00:00/00:00:00:00:00/a0 tag 0
15 [26791.840029] res 40/00:00:00:00:00/00:00:00:00:00/40 Emask 0x4 (timeout)
16 [26791.840031] ata3.00: status: { DRDY }
17 [26791.840036] ata3: hard resetting link
18 [26791.840037] ata3: nv: skipping hardreset on occupied port
19 [26792.308023] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
20 [26792.324252] ata3.00: configured for UDMA/133
21 [26792.324255] ata3.00: device reported invalid CHS sector 0
22 [26792.324265] ata3: EH complete
23 [26792.324270] sd 2:0:0:0: [sdb] START_STOP FAILED
24 [26792.324272] sd 2:0:0:0: [sdb]
25 [26792.324274] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
26 [26792.324276] sd 2:0:0:0: [sdb]
27 [26792.324279] Sense Key : Aborted Command [current] [descriptor]
28 [26792.324281] sd 2:0:0:0: [sdb]
29 [26792.324283] Add. Sense: No additional sense information
30 [26792.324292] dpm_run_callback(): scsi_bus_suspend+0x0/0x40 returns 134217730
31 [26792.324296] PM: Device 2:0:0:0 failed to suspend async: error 134217730
32 [26792.324365] PM: Some devices failed to suspend
33 [26792.324470] ohci_hcd 0000:00:0b.0: setting latency timer to 64
34 [26792.324474] ehci-pci 0000:00:0b.1: setting latency timer to 64
35 [26792.324520] pci 0000:00:0f.0: setting latency timer to 64
36 [26792.325282] serial 00:07: activated
37 [26792.325335] i8042 kbd 00:08: System wakeup disabled by ACPI
38 [26792.340090] pata_amd 0000:00:0d.0: setting latency timer to 64
39 [26792.340139] snd_hda_intel 0000:00:0f.1: setting latency timer to 64
40 [26792.340145] sata_nv 0000:00:0e.2: setting latency timer to 64
41 [26792.340352] sata_nv 0000:00:0e.1: setting latency timer to 64
42 [26792.340714] ata2: port disabled--ignoring
43 [26792.796044] ata4: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
44 [26792.804214] ata4.00: ACPI cmd ef/03:46:00:00:00:a0 (SET FEATURES) filtered out
45 [26792.820213] ata4.00: configured for UDMA/100
46 [26792.840329] ata1.00: ACPI cmd ef/03:45:00:00:00:a0 (SET FEATURES) filtered out
47 [26792.840332] ata1.00: ACPI cmd ef/03:0c:00:00:00:a0 (SET FEATURES) filtered out
48 [26792.896047] firewire_core 0000:02:07.0: rediscovered device fw0
49 [26793.010637] ata1: nv_mode_filter: 0x3f39f&0x3f39f->0x3f39f, BIOS=0x3f000 (0xc6000000) ACPI=0x3f01f (20:600:0x13)
50 [26793.064020] ata8: SATA link down (SStatus 0 SControl 300)
51 [26793.064022] ata6: SATA link down (SStatus 0 SControl 300)
52 [26793.064039] ata5: SATA link down (SStatus 0 SControl 300)
53 [26793.064141] ata7: SATA link down (SStatus 0 SControl 300)
54 [26793.530547] ata1.00: configured for UDMA/100
55 [26793.530595] sd 0:0:0:0: [sda] Starting disk
56 [26799.264071] PM: resume of devices complete after 6939.702 msecs
57 [26799.264418] Restarting tasks ... done.
58 [26803.243753] forcedeth 0000:00:11.0: irq 41 for MSI/MSI-X
59 [26803.243796] forcedeth 0000:00:11.0 eth0: MSI enabled
60 [26803.244017] forcedeth 0000:00:11.0 eth0: no link during initialization
61 [26803.244486] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
62 [26803.246440] forcedeth 0000:00:12.0: irq 42 for MSI/MSI-X
63 [26803.246473] forcedeth 0000:00:12.0 eth1: MSI enabled
The HDD was taken from a Windows computer that could suspend to RAM successfully.
Why does suspend to RAM no longer work when this drive is installed?
Comment