[Bug 456659] Re: suspend/resume failure on imx51
Marked Karmic bug to "Won't Fix" as karmic is now unsupported. Since the kernel is essentially the same as Lucid, it may already be fixed, but I have no way of testing this. ** Changed in: linux-fsl-imx51 (Ubuntu Karmic) Status: Confirmed => Won't Fix ** Changed in: linux-fsl-imx51 (Ubuntu Karmic) Assignee: Bryan Wu (cooloney) => (unassigned) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/456659 Title: suspend/resume failure on imx51 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-fsl-imx51/+bug/456659/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 456659] Re: suspend/resume failure on imx51
** Branch linked: lp:ubuntu/linux-fsl-imx51 -- suspend/resume failure on imx51 https://bugs.launchpad.net/bugs/456659 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 456659] Re: suspend/resume failure on imx51
tested under uboot and works as well, closing... ** Changed in: linux-fsl-imx51 (Ubuntu Lucid) Status: In Progress => Fix Released -- suspend/resume failure on imx51 https://bugs.launchpad.net/bugs/456659 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 456659] Re: suspend/resume failure on imx51
i just did a fresh install from alpha2 and a dist-upgrade to latest packages: suspend/resume works fine here, only suspend is showing up in the panel menu (no hibernate anymore). the system wakes up properly after pressing the power button. i havent tested with uboot yet after my reinstall, it might be the fault of uboot that the power button doesnt send any event to wake up the board, i will do some tests later today using uboot. there are some graphical fragments on the black screen before the screensaver password dialog comes up, but this doesnt seem critical to me. anyway, that bug seems to have fixed itself :) -- suspend/resume failure on imx51 https://bugs.launchpad.net/bugs/456659 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 456659] Re: suspend/resume failure on imx51
I found actually suspend/resume works on my board: -- r...@babbage:~$ uname -a Linux babbage 2.6.31-602-imx51 #4-Ubuntu Mon Jan 11 17:05:57 UTC 2010 armv7l GNU/Linux r...@babbage:~$ dmesg | head Initializing cgroup subsys cpuset Initializing cgroup subsys cpu Linux version 2.6.31-602-imx51 (bui...@huito) (gcc version 4.4.3 20100108 (prerelease) (Ubuntu 4.4.2-9ubuntu3) ) #4-Ubuntu Mon Jan 11 17:05:57 UTC 2010 (Ubuntu 2.6.31-602.4-imx51) CPU: ARMv7 Processor [412fc081] revision 1 (ARMv7), cr=10c53c7f CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache Machine: Freescale MX51 Babbage Board Memory policy: ECC disabled, Data cache writeback On node 0 totalpages: 122880 free_area_init_node: node 0, pgdat c060cc24, node_mem_map c0682000 DMA zone: 128 pages used for memmap r...@babbage:~$ sudo su [sudo] password for roc: r...@babbage:/home/roc# echo 9 > /proc/sys/kernel/printk r...@babbage:/home/roc# echo mem > /sys/power/state PM: Syncing filesystems ... done. Freezing user space processes ... (elapsed 0.00 seconds) done. Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done. USB Host suspended USB Host suspended mmc0: card 8fe4 removed <6>PWR key pressed mxc_ipu mxc_ipu: Channel already disabled 9 mxc_ipu mxc_ipu: Channel already uninitialized 9 USB Host resumed USB Host resumed mmc0: new SD card at address 8fe4 mmc mmc0:8fe4: parent mmc0 should not be sleeping mmcblk0: mmc0:8fe4 SD02G 1.84 GiB mmcblk0: p1 p2 usb 1-1: reset high speed USB device using fsl-ehci and address 2 usb 1-1.2: reset full speed USB device using fsl-ehci and address 3 usb 1-1.6: reset high speed USB device using fsl-ehci and address 4 usb 1-1.2.4: reset low speed USB device using fsl-ehci and address 5 Restarting tasks ... done. -- Could you guys test on your side? Thanks, -- suspend/resume failure on imx51 https://bugs.launchpad.net/bugs/456659 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 456659] Re: suspend/resume failure on imx51
** Changed in: linux-fsl-imx51 (Ubuntu Lucid) Milestone: None => ubuntu-10.04-beta-1 -- suspend/resume failure on imx51 https://bugs.launchpad.net/bugs/456659 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 456659] Re: suspend/resume failure on imx51
right, i did notice the same when trying it in karmic, couldnt find a way to wake up the board again after suspend. looking at pauls test above it seems to be an issue with the kernel not acting on the power button press. -- suspend/resume failure on imx51 https://bugs.launchpad.net/bugs/456659 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 456659] Re: suspend/resume failure on imx51
My bad, in comment #10, I did this test when I login via SSH. I did the same thing on my board console terminal. The whole system can suspend. but can not resume. -- suspend/resume failure on imx51 https://bugs.launchpad.net/bugs/456659 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 456659] Re: suspend/resume failure on imx51
I did some investigation today. Found Bluetooth suspend operation fails: -- r...@babbage:~$ tail -f -n1 /var/log/pm-suspend.log Tue Jan 19 18:15:30 CST 2010: performing suspend Initial commandline parameters: Tue Jan 19 18:21:44 CST 2010: Running hooks for suspend. /usr/lib/pm-utils/sleep.d/000kernel-change suspend suspend:success. /usr/lib/pm-utils/sleep.d/00logging suspend suspend:Linux babbage 2.6.31-602-imx51 #4 Tue Jan 19 17:10:01 CST 2010 armv7l GNU/Linux Module Size Used by nls_iso8859_1 3916 1 nls_cp437 5580 1 binfmt_misc 8884 1 ppdev 8192 0 lp 10180 0 parport38128 2 ppdev,lp ov3640_camera 20176 0 v4l2_int_device 3564 1 ov3640_camera joydev 10648 0 uio_pdrv_genirq 3192 0 uio11568 1 uio_pdrv_genirq total used free sharedbuffers cached Mem:478344 301428 176916 0 36256 133516 -/+ buffers/cache: 131656 346688 Swap: 1397612 01397612 success. /usr/lib/pm-utils/sleep.d/00powersave suspend suspend:success. /usr/lib/pm-utils/sleep.d/01PulseAudio suspend suspend:Welcome to PulseAudio! Use "help" for usage information. >>> >>> Welcome to PulseAudio! Use "help" for usage information. >>> >>> Welcome to PulseAudio! Use "help" for usage information. >>> >>> Welcome to PulseAudio! Use "help" for usage information. >>> >>> success. /etc/pm/sleep.d/10_unattended-upgrades-hibernate suspend suspend:success. /usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend: -- -- suspend/resume failure on imx51 https://bugs.launchpad.net/bugs/456659 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 456659] Re: suspend/resume failure on imx51
Bug still present in the kernel listed in comment #8 -- suspend/resume failure on imx51 https://bugs.launchpad.net/bugs/456659 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 456659] Re: suspend/resume failure on imx51
Paul, Could you please grab my testing kernel to do the quick suspend/resume testing? http://people.canonical.com/~roc/kernel/lucid_fsl-bsp-2010-01-07/ And my kernel tree is URL: http://kernel.ubuntu.com/git?p=roc/ubuntu-lucid.git;a=shortlog;h=refs/heads/fsl-imx51 Thanks, -Bryan -- suspend/resume failure on imx51 https://bugs.launchpad.net/bugs/456659 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 456659] Re: suspend/resume failure on imx51
** Changed in: linux-fsl-imx51 (Ubuntu Lucid) Status: Confirmed => In Progress -- suspend/resume failure on imx51 https://bugs.launchpad.net/bugs/456659 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 456659] Re: suspend/resume failure on imx51
Paul, Thanks a lot. There are some suspend/resume fixing patches pending on my side. I am going to test them soon and will update the status soon. -Bryan ** Changed in: linux-fsl-imx51 (Ubuntu Lucid) Assignee: Amit Kucheria (amitk) => Bryan Wu (cooloney) ** Changed in: linux-fsl-imx51 (Ubuntu Karmic) Assignee: (unassigned) => Bryan Wu (cooloney) -- suspend/resume failure on imx51 https://bugs.launchpad.net/bugs/456659 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 456659] Re: suspend/resume failure on imx51
Tried this again with a current image and it seems to not be working again for me. Same as what I was seeing before. The system seems to suspend, but will not resume. -- suspend/resume failure on imx51 https://bugs.launchpad.net/bugs/456659 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 456659] Re: suspend/resume failure on imx51
Should also note that the test from commend #4 was done on babbage 3, not 2.5 as before, not sure if that could have made a difference for me. -- suspend/resume failure on imx51 https://bugs.launchpad.net/bugs/456659 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 456659] Re: suspend/resume failure on imx51
Something kinda new to report here, on Lucid, it seemed like it was able to get further. I tried suspending with the 20091215 image and some of the lights on the board went out (but not all as before), and got a blank screen. I was able to wake it with keyboard activity, and it brought me back to an unlock screen. I typed my password and was able to get back in. So working, kinda... however, I also noticed that the network does not automatically come back after suspend (will open a separate bug on that), and I had something in dmesg that was new, and at least seems to indicate that I didn't completely suspend: ... USB Host suspended USB Host suspended mmc: card 8fe4 removed Class driver suspend failed for cpu0 ... -- suspend/resume failure on imx51 https://bugs.launchpad.net/bugs/456659 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 456659] Re: suspend/resume failure on imx51
** Also affects: linux-fsl-imx51 (Ubuntu Karmic) Importance: Undecided Status: New ** Changed in: linux-fsl-imx51 (Ubuntu Karmic) Importance: Undecided => High ** Changed in: linux-fsl-imx51 (Ubuntu Karmic) Status: New => Confirmed ** Changed in: linux-fsl-imx51 (Ubuntu Karmic) Milestone: None => karmic-updates -- suspend/resume failure on imx51 https://bugs.launchpad.net/bugs/456659 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 456659] Re: suspend/resume failure on imx51
** Also affects: linux-fsl-imx51 (Ubuntu Lucid) Importance: High Assignee: Amit Kucheria (amitk) Status: Confirmed -- suspend/resume failure on imx51 https://bugs.launchpad.net/bugs/456659 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 456659] Re: suspend/resume failure on imx51
** Tags added: iso-testing -- suspend/resume failure on imx51 https://bugs.launchpad.net/bugs/456659 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 456659] Re: suspend/resume failure on imx51
** Changed in: linux-fsl-imx51 (Ubuntu) Importance: Undecided => High -- suspend/resume failure on imx51 https://bugs.launchpad.net/bugs/456659 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 456659] Re: suspend/resume failure on imx51
I am able to reproduce this as well. ** Changed in: linux-fsl-imx51 (Ubuntu) Status: New => Confirmed -- suspend/resume failure on imx51 https://bugs.launchpad.net/bugs/456659 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 456659] Re: suspend/resume failure on imx51
** Attachment added: "Dependencies.txt" http://launchpadlibrarian.net/34074098/Dependencies.txt ** Attachment added: "ProcMaps.txt" http://launchpadlibrarian.net/34074099/ProcMaps.txt ** Attachment added: "ProcStatus.txt" http://launchpadlibrarian.net/34074100/ProcStatus.txt ** Attachment added: "SleepLog.txt" http://launchpadlibrarian.net/34074101/SleepLog.txt -- suspend/resume failure on imx51 https://bugs.launchpad.net/bugs/456659 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 456659] Re: suspend/resume failure on imx51
I booted with no_console_suspend and was able to collect the following output: - Freezing user space processes ... (elapsed 0.00 seconds) done. Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done. USB Host suspended USB Host suspended mmc0: card 8fe4 removed <6>PWR key pressed - It seems that pressing the power button was detected, but nothing was done with it. ** Changed in: linux-fsl-imx51 (Ubuntu) Assignee: (unassigned) => Amit Kucheria (amitk) -- suspend/resume failure on imx51 https://bugs.launchpad.net/bugs/456659 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs