Resume from suspend fails on new FireWire stack (TSB43AB22/A IEEE-1394a-2000 Controller)

Bug #732641 reported by Jasa Bartelj
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Since upgrade to 10.10/kernel 2.6.35 kernel doesn't complete resume from suspend.

$ uname -a
Linux sendell 2.6.35-27-generic #48-Ubuntu SMP Tue Feb 22 20:25:46 UTC 2011 x86_64 GNU/Linux

Xorg vty is blank, I can change to other vtys but when i return to the one with Xorg, switching no longer works.
Only manual reset remedies this situation.

Tried https://wiki.ubuntu.com/DebuggingKernelSuspend#%22resume-trace%22%20debugging%20procedure%20for%20finding%20buggy%20drivers

[ 0.714873] PM: Resume from disk failed.
[ 0.714886] registered taskstats version 1
[ 0.715167] Magic number: 0:608:476
[ 0.715170] hash matches /build/buildd/linux-2.6.35/drivers/base/power/main.c:545
[ 0.715213] pci 0000:03:05.0: hash matches
[ 0.715281] rtc_cmos 00:05: setting system clock to 1980-09-08 10:27:51 UTC (337256871)

$ lspci | grep 03:05
03:05.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link)

$ dmesg|grep fire
[ 0.380065] pci 0000:03:05.0: reg 10: [mem 0xfdeff000-0xfdeff7ff]
[ 0.380071] pci 0000:03:05.0: reg 14: [mem 0xfdef8000-0xfdefbfff]
[ 0.380105] pci 0000:03:05.0: supports D1 D2
[ 0.380107] pci 0000:03:05.0: PME# supported from D0 D1 D2 D3hot
[ 0.380111] pci 0000:03:05.0: PME# disabled
[ 0.715213] pci 0000:03:05.0: hash matches
[ 0.893472] firewire_ohci 0000:03:05.0: PCI INT A -> Link[APC4] -> GSI 19 (level, low) -> IRQ 19
[ 0.950061] firewire_ohci: Added fw-ohci device 0000:03:05.0, OHCI v1.10, 4 IR + 8 IT contexts, quirks 0x2

$ lsmod|grep fire
firewire_ohci 24839 0
firewire_core 54327 1 firewire_ohci
crc_itu_t 1739 1 firewire_core

$sudo modprobe -r firewire_core firewire_ohci

And then resuming from suspend works.

I've browsed
https://ieee1394.wiki.kernel.org/index.php/Source_Repositories
to see if any recent fixes were made and this one sticks out:
http://git.kernel.org/?p=linux/kernel/git/ieee1394/linux1394-2.6.git;a=commit;h=dd23736e092035b71df1117482b71fdfb5634239

I'll shortly try http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.38-rc8-natty/
to see if the mentioned commit or perhaps another one helped with this issue.

Revision history for this message
Jasa Bartelj (jbartelj) wrote :

$ uname -a
Linux sendell 2.6.38-020638rc8-generic #201103081151 SMP Tue Mar 8 11:57:03 UTC 2011 x86_64 GNU/Linux

[ 1.141974] PM: Hibernation image not present or could not be loaded.
[ 1.141987] registered taskstats version 1
[ 1.142288] Magic number: 0:117:476
[ 1.142291] hash matches /home/kernel-ppa/COD/linux/drivers/base/power/main.c:514
[ 1.142352] pci 0000:03:05.0: hash matches
[ 1.142423] rtc_cmos 00:05: setting system clock to 2024-03-02 10:27:54 UTC (1709375274)

Bug is not patched upstream.

Revision history for this message
Stefan Richter (stefan-r-ubz) wrote :
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Hi Jasa,

Please be sure to confirm this issue exists with the latest development release of Ubuntu. ISO CD images are available from http://cdimage.ubuntu.com/daily/current/ . However, note you can only test Suspend, not Hibernate, when using a LiveCD. If the issue remains, run the following command from a Terminal (Applications->Accessories->Terminal) it will automatically gather and attach updated debug information to this report.

apport-collect -p linux 732641

Also, please be sure to take a look at https://wiki.ubuntu.com/DebuggingKernelSuspendHibernateResume . If you can provide any additional information outlined there it would be much appreciated.

Additionally, if you could try to reproduce this with the upstream mainline kernel that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Thanks in advance.

    [This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kernel-suspend
tags: added: needs-kernel-logs
tags: added: needs-upstream-testing
tags: added: kj-triage
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Hello,
I will close this bug as it's really old, please feel free to open a new one if you're still experiencing this issue with a newer release.
Thanks.

Changed in linux (Ubuntu):
status: Incomplete → Invalid
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.