Regression: 2.6.20 fails to suspend because of libata and a Sil0680 controller

Bug #76431 reported by Erik Andrén
6
Affects Status Importance Assigned to Milestone
linux-source-2.6.20 (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Binary package hint: linux-source-2.6.20

Regression from 2.6.19.
The 2.6.20-2 fails to suspend to ram due to the following error message in the kernel log:

ata8: suspend failed, device 0 still active
[ 433.895514] pci_device_suspend(): ata_pci_device_suspend+0x0/0x40 [libata]() returns -16
[ 433.895539] suspend_device(): pci_device_suspend+0x0/0x60() returns -16
[ 433.895753] Could not suspend device 0000:06:00.0: error -16

Where the 0000:06:00.0 is the following entity:

06:00.0 RAID bus controller: Silicon Image, Inc. PCI0680 Ultra ATA-133 Host Controller (rev 02)
        Subsystem: Silicon Image, Inc. Winic W-680 (Silicon Image 680 based)
        Flags: bus master, medium devsel, latency 32, IRQ 20
        I/O ports at 1018 [size=8]
        I/O ports at 1024 [size=4]
        I/O ports at 1010 [size=8]
        I/O ports at 1020 [size=4]
        I/O ports at 1000 [size=16]
        Memory at 50004800 (32-bit, non-prefetchable) [size=256]
        Expansion ROM at 50800000 [disabled] [size=512K]
        Capabilities: [60] Power Management version 2

The PCI IDE addin card in question is a Sunix 3700 IDE-raid card.

Revision history for this message
Ben Collins (ben-collins) wrote :

Please reconfirm with 2.6.20-3.

Changed in linux-source-2.6.20:
status: Unconfirmed → Needs Info
Revision history for this message
Cristian Aravena Romero (caravena) wrote :

Thanks for reporting this bug. To make any progress with it, some more information will be needed. Please add (by commenting on the bug) to the bug report the output of the following commands: 'uname -a' 'sudo lspci -vvn' 'sudo dmidecode'. It would also be helpful if you could try to hibernate/suspend and after that fails, restart your system and attach /var/log/kern.log.0 as well. Thanks again for your contribution.

Tim Gardner (timg-tpi)
Changed in linux-source-2.6.20:
assignee: nobody → timg-tpi
Revision history for this message
lyakh (g-liakhovetski) wrote :

Hi, I am not using Ubuntu, but this might help in narrowing down / fixing this bug: I got the same message and failing suspend-to-RAM on a ppc embedded target with the pata_sil680 driver:

pata_sil680 0000:00:0c.0: suspend
ata1: suspend failed, device 0 still active
pci_device_suspend(): ata_pci_device_suspend+0x0/0x74() returns -16
suspend_device(): pci_device_suspend+0x0/0xac() returns -16
Could not suspend device 0000:00:0c.0: error -16

Kernel post 2.6.20 from powerpc.git. I posted a bunch of emails to all possible lists, see, e.g., http://lkml.org/lkml/2007/3/1/344, no replies so far... Here's the original patch, I think, that has introduced this test: http://marc.theaimsgroup.com/?t=115012763500002&r=1&w=2

Good luck
Guennadi

Revision history for this message
Tim Gardner (timg-tpi) wrote :

No response from the original reporter.

Changed in linux-source-2.6.20:
assignee: timg-tpi → ubuntu-kernel-acpi
importance: Undecided → Low
status: Needs Info → Rejected
Revision history for this message
lyakh (g-liakhovetski) wrote :

It IS a real bug and it has been fixed here:
http://lkml.org/lkml/2007/3/2/64 and is in 2.6.20.2

Revision history for this message
Erik Andrén (erik-andren) wrote :

Sorry, I seem to have missed the activity on this bug.
I tried to suspend on the latest feisty kernel and this time it actually worked.
That is, until I tried to resume. The machine never returns out of the S3 State. Instead both the HDD and Power LEDs flashes with a steady light and all fans max out. Additionally the machine didn't restore itself on a normal power cycle. I actually needed to pull the cord out to make it boot again.

Revision history for this message
Erik Andrén (erik-andren) wrote :

uname -a: Linux Arcturus 2.6.20-12-generic #2 SMP Sun Mar 18 03:07:14 UTC 2007 i686 GNU/Linux

Revision history for this message
Erik Andrén (erik-andren) wrote :

I checked the kernel log but nothing interesting came out of it.

Tim Gardner (timg-tpi)
Changed in linux-source-2.6.20:
status: Rejected → Confirmed
Revision history for this message
Erik Andrén (erik-andren) wrote :

I don't have this hardware anymore and am therefore closing this bug. Anyway, the fix is commited and is pushed in later versions of ubuntu

Changed in linux-source-2.6.20:
status: Confirmed → Rejected
Curtis Hovey (sinzui)
Changed in linux-source-2.6.20 (Ubuntu):
assignee: Registry Administrators (registry) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.