[Bug 509006] Re: [dove] hibernation failed to resume
** Description changed: Hibernation is suspended OK but resume failed. By turning PM verbose debug enabled, it reveals that it's stuck somewhere within swsusp_arch_resume(). See attached log. (* resume_target_kernel: N is the added printk to identify where it's being stuck). + + On my asus F3JC i have the same problem...how can i help? ** Description changed: Hibernation is suspended OK but resume failed. By turning PM verbose debug enabled, it reveals that it's stuck somewhere within swsusp_arch_resume(). See attached log. (* resume_target_kernel: N is the added printk to identify where it's being stuck). - - On my asus F3JC i have the same problem...how can i help? -- [dove] hibernation failed to resume https://bugs.launchpad.net/bugs/509006 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 509006] Re: [dove] hibernation failed to resume
On my asus F3JC i have the same problem... Hybernate and pause are working...but when i wake up the laptop the screen is on low brightness and the system is a bit strange.. how can i help? -- [dove] hibernation failed to resume https://bugs.launchpad.net/bugs/509006 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 509006] Re: [dove] hibernation failed to resume
rofman, file another bug; this bug is about Dove hardware, which is ARM; your laptop is x86. -- [dove] hibernation failed to resume https://bugs.launchpad.net/bugs/509006 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
Re: [Bug 509006] Re: [dove] hibernation failed to resume
hiim working with ububntu for a few months now and would like to help... im working with pc for more 20 years. 2010/7/15 Loïc Minier l...@dooz.org rofman, file another bug; this bug is about Dove hardware, which is ARM; your laptop is x86. -- [dove] hibernation failed to resume https://bugs.launchpad.net/bugs/509006 You received this bug notification because you are a direct subscriber of the bug. Status in “linux-mvl-dove” package in Ubuntu: Confirmed Status in “linux-mvl-dove” source package in Lucid: Fix Released Bug description: Hibernation is suspended OK but resume failed. By turning PM verbose debug enabled, it reveals that it's stuck somewhere within swsusp_arch_resume(). See attached log. (* resume_target_kernel: N is the added printk to identify where it's being stuck). To unsubscribe from this bug, go to: https://bugs.launchpad.net/ubuntu/+source/linux-mvl-dove/+bug/509006/+subscribe -- namaste http://rolfman.blogspot.com/ http://soundcloud.com/rolfman http://alvor.biz/ http://nl-economie.blogspot.com/ http://rolfmangallerie.blogspot.com/ http://rolfmani-pad.blogspot.com/ ... :) -- [dove] hibernation failed to resume https://bugs.launchpad.net/bugs/509006 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 509006] Re: [dove] hibernation failed to resume
This bug was fixed in the package linux-mvl-dove - 2.6.32-206.19 --- linux-mvl-dove (2.6.32-206.19) lucid-proposed; urgency=low [ Andy Whitcroft ] * rebase to Ubuntu-2.6.32-23.37 * ehci: follow changes to echi cache handling - LP: #583414 [ Eric Miao ] * [Config]: sync with Dove LSP 5.1.1 - LP: #576257 * SAUCE: dove: avoid page table overwrite when resuming from hibernation - LP: #509006 [ Upstream Kernel Changes ] * ARM: fix highmem with VIPT cache and DMA - LP: #576257 * dove: disable the 2G user/kernel space split and enable HIGHMEM as the highmem issue fixed - LP: #576257 * ubifs: fix hang bug when doing suspend to disk and rootfs is over ubifs - LP: #576257 * Fix issue:suspend/resume,TSC cannot work - LP: #576257 * (1) Fix fail to display after resume. (2) Prepare works for KG2 Application mode - LP: #576257 * Fix bug: Not clear color key enable bit in configure process - LP: #576257 * Fix bug: read wrong register. This might cause problem in A0 chip. No effect for Y0/Y1/X0. - LP: #576257 * Fix X0 L2 way 7-4 been turned off and X0 WCO setting Wrong - LP: #576257 * Revise for X0 WCO setting - LP: #576257 * Fix suspend/resume issues with GC600 - LP: #576257 * Fix: gpio driver can't use mpp0 as interrupt pin - LP: #576257 * Fix hardware cursor issue with suspend/resume - LP: #576257 * Fixed audio recording failed after suspend/resume - LP: #576257 * Fix Power Button event reverse error - LP: #576257 * Fix GC600 driver crash when entering hibernation - LP: #576257 * dove pm: restore cp15 Marvell Auxiliary Function and PMC register - LP: #591249 * dove: fix build issues when MV_HAL_DRIVERS_SUPPORT disabled - LP: #591249 * dove: register the usb as host mode when HAL drivers disabled - LP: #591249 * Fix wrong stride issue for RGB565 on overlay - LP: #591249 * Refine alogrithm of filling yuv pitch length and do correction when input pitch value = 0. - LP: #591249 * Nand: fix PIO support for 8bit devices. - LP: #591249 * MRVL BMM module update - LP: #591249 * BMM module: remove ioremap_xxx for kernel space VA mapping - LP: #591249 * fix spi flash type to mx2513205d for AVD1 rev2 - LP: #591249 * Fix colorkey issue with PM - LP: #591249 [ Ubuntu: 2.6.32-23.37 ] * SAUCE: drm/radeon/kms/atom: fix dual-link DVI on DCE3.2/4.0 - LP: #564559 * [Config] ports -- build in dm-mod to enable LVM boot - LP: #560717 * tools -- fix perf version extraction for multi-part flavours - LP: #555130 * [Config] enforce -- ensure dm_mod is built-in for LVM - LP: #560717 * update to ubuntu-debian:7e708d33054c373faf41da23b73e8b48c342d958 - LP: #570500, #576274 * Revert (pre-stable): input: ALPS - Add signature for HP Pavilion dm3 laptops - LP: #550625 * Enable ftrace function profiler - LP: #570389 * enforce CONFIG_TMPFS_POSIX_ACL=y - LP: #575940 * Revert staging/comdi -- disable - LP: #563436 * [Config] Enable multicast routing for sparc - LP: #416266 * [Config] Add ahci.ko to virtual sub-flavour - LP: #570542 * Revert SAUCE: drm/i915: Disable FBC on 915GM and 945GM - LP: #588832 * [Config] Add atl1c to nic-modules udeb - LP: #557130 * Revert (pre-stable) iwlwifi: fix nfreed-- - LP: #575853 * Revert backlight: mbp_nvidia_bl - add five more MacBook variants - LP: #575853 * Revert (pre-stable) pata_via: Add VIA VX900 support - LP: #575853 * Revert (pre-stable) x86-32, resume: do a global tlb flush in S4 resume - LP: #575853 * Revert x86: disable IOMMUs on kernel crash - LP: #575853 * Revert sunrpc: fix peername failed on closed listener - LP: #575853 * Revert sunrpc: move the close processing after do recvfrom method - LP: #575853 * Revert (pre-stable) drm/edid: allow certain bogus edids to hit a fixup path rather than fail - LP: #575853 * Revert drm/radeon/kms: don't print error on -ERESTARTSYS. - LP: #575853 * Revert ath9k: fix lockdep warning when unloading module on stable kernels - LP: #588832 * Staging: comedi: removed depricated from COMEDI_CB_BLOCK - LP: #483343 * fat: fix buffer overflow in vfat_create_shortname() - LP: #575853 * xfs: simplify inode teardown - LP: #575853 * xfs: fix mmap_sem/iolock inversion in xfs_free_eofblocks - LP: #575853 * xfs: I/O completion handlers must use NOFS allocations - LP: #575853 * xfs: Wrapped journal record corruption on read at recovery - LP: #575853 * xfs: Fix error return for fallocate() on XFS - LP: #575853 * xfs: check for not fully initialized inodes in xfs_ireclaim - LP: #575853 * xfs: fix timestamp handling in xfs_setattr - LP: #575853 * xfs: Don't flush stale inodes - LP: #575853 * xfs: Ensure we force all busy extents in range to disk - LP: #575853 *
[Bug 509006] Re: [dove] hibernation failed to resume
** Tags added: verification-done ** Tags removed: verification-needed -- [dove] hibernation failed to resume https://bugs.launchpad.net/bugs/509006 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 509006] Re: [dove] hibernation failed to resume
Verified. This now works as it should. Thanks. -- [dove] hibernation failed to resume https://bugs.launchpad.net/bugs/509006 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 509006] Re: [dove] hibernation failed to resume
Accepted linux-mvl-dove into lucid-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance! ** Changed in: linux-mvl-dove (Ubuntu Lucid) Status: Confirmed = Fix Committed ** Tags added: verification-needed -- [dove] hibernation failed to resume https://bugs.launchpad.net/bugs/509006 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 509006] Re: [dove] hibernation failed to resume
** Branch linked: lp:ubuntu/lucid-proposed/linux-mvl-dove -- [dove] hibernation failed to resume https://bugs.launchpad.net/bugs/509006 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 509006] Re: [dove] hibernation failed to resume
note that this bug talks about a bug in the kernel for Marvell dove ARM development boards, not hardware with intel architecture -- [dove] hibernation failed to resume https://bugs.launchpad.net/bugs/509006 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 509006] Re: [dove] hibernation failed to resume
I did a clean install of the release versions of both desktop 10.4 and Mythbuntu 10.4 Suspend ( Fn + F12 ) now appears to be OK Hibernation ( Fn + F4 ) is still broken. Moon light turns on backlight stays on ( not good ). Laptop must be powered off and back on to restore to operation. This is a regression.. it was fine in 9.10 and several previous versions Equipment is three different IBM Thinkpads -- [dove] hibernation failed to resume https://bugs.launchpad.net/bugs/509006 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 509006] Re: [dove] hibernation failed to resume
OK, solved. By temporarily using a safer page table swapper_pg_dir during memory content restoration, it's now OK to resume from hibernation even with initramfs. Patch attached. A built package is available at: http://people.canonical.com/~ycmiao/lp509006/linux- image-2.6.32-204-dove_2.6.32-204.16_armel.deb. ** Patch added: 0001-UBUNTU-SAUCE-dove-avoid-page-table-overwrite-when-re.patch http://launchpadlibrarian.net/45072259/0001-UBUNTU-SAUCE-dove-avoid-page-table-overwrite-when-re.patch -- [dove] hibernation failed to resume https://bugs.launchpad.net/bugs/509006 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 509006] Re: [dove] hibernation failed to resume
Kernel tested ok so far. hibernate/resume a couple of times successfully with no reported issues in dmesg. -- [dove] hibernation failed to resume https://bugs.launchpad.net/bugs/509006 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 509006] Re: [dove] hibernation failed to resume
After several rounds of error and trial with JTAG debugging, it turned out this may be related to the page table being corrupted during hibernation resume. With explicit 'resume=/dev/sda5' in kernel command line, the resume happens earlier as the kernel is still running as swapper (or idle) process, and the page table is placed somewhere safe (PHYS == 0x_4000 if you are interested), and the content will not be overwritten during the RAM content restoration. While resume triggered by initramfs, it's actually running a user space program (i.e. /bin/resume from klibc-utils), with the page table for this specific process being potentially overwritten. This apparently affects all ARM variants, and we need a patch to avoid such overwrite. -- [dove] hibernation failed to resume https://bugs.launchpad.net/bugs/509006 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 509006] Re: [dove] hibernation failed to resume
** Tags added: armel -- [dove] hibernation failed to resume https://bugs.launchpad.net/bugs/509006 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 509006] Re: [dove] hibernation failed to resume
Bert Haskins, Are you talking about DoveDB or some other boards? Saeed, I can confirm putting resume=/dev/sda5 explicitly in the command line will do the magic. While comparing the two logs showed that difference is the time point where the resume is being performed: 1. with explicit 'resume=/dev/sda5' in command line, resuming happens in the kernel 2. without 'resume=/dev/sda5', resume is actually triggered in initramfs by writing the correct swap device to /sys/power/resume (which is /bin/resume - within klibc-utils package if anyone is interested) Yet it's really hard at this moment to deduct what's going wrong if the resume is postponed. Maybe a JTAG debugging is required. -- [dove] hibernation failed to resume https://bugs.launchpad.net/bugs/509006 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 509006] Re: [dove] hibernation failed to resume
** Changed in: linux-mvl-dove (Ubuntu Lucid) Milestone: ubuntu-10.04 = lucid-updates -- [dove] hibernation failed to resume https://bugs.launchpad.net/bugs/509006 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 509006] Re: [dove] hibernation failed to resume
04.10 total failure of resume from either suspend or hibernation. Moon light turns on backlight stays on. Laptop must be powered off and back on to restore to operation. -- [dove] hibernation failed to resume https://bugs.launchpad.net/bugs/509006 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
Re: [Bug 509006] Re: [dove] hibernation failed to resume
On Fri, Mar 12, 2010 at 3:59 AM, Tobin Davis gruemas...@gmail.com wrote: I may have some new info on this bug. While trying to hibernate with kernel 2.6.32-201.11, I saw a kernel oops while going into hibernation. Attached is the serial console output from that. Tobin, that's because you have enabled no_console_suspend on the kernel command line. Yet this is not relevant to the problem of hibernation resume being failed. -- [dove] hibernation failed to resume https://bugs.launchpad.net/bugs/509006 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 509006] Re: [dove] hibernation failed to resume
Eric, Beta2 worked for me when added resume=/dev/sda5 to the boot.scr -- [dove] hibernation failed to resume https://bugs.launchpad.net/bugs/509006 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 509006] Re: [dove] hibernation failed to resume
** Attachment added: boot log of system resuming from hibernate http://launchpadlibrarian.net/44257617/lucid_boot_log_hibe.txt -- [dove] hibernation failed to resume https://bugs.launchpad.net/bugs/509006 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 509006] Re: [dove] hibernation failed to resume
** Also affects: linux-mvl-dove (Ubuntu Lucid) Importance: High Assignee: Eric Miao (eric.y.miao) Status: Confirmed ** Changed in: linux-mvl-dove (Ubuntu Lucid) Milestone: ubuntu-10.04-beta-1 = ubuntu-10.04 -- [dove] hibernation failed to resume https://bugs.launchpad.net/bugs/509006 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 509006] Re: [dove] hibernation failed to resume
** Tags added: kernel-series-unknown -- [dove] hibernation failed to resume https://bugs.launchpad.net/bugs/509006 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 509006] Re: [dove] hibernation failed to resume
I may have some new info on this bug. While trying to hibernate with kernel 2.6.32-201.11, I saw a kernel oops while going into hibernation. Attached is the serial console output from that. ** Attachment added: dove-hibernate-oops.txt http://launchpadlibrarian.net/40819828/dove-hibernate-oops.txt -- [dove] hibernation failed to resume https://bugs.launchpad.net/bugs/509006 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 509006] Re: [dove] hibernation failed to resume
Alpha-3 is officially frozen so moving this out to -beta-1 ** Changed in: linux-mvl-dove (Ubuntu) Milestone: lucid-alpha-3 = ubuntu-10.04-beta-1 -- [dove] hibernation failed to resume https://bugs.launchpad.net/bugs/509006 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 509006] Re: [dove] hibernation failed to resume
** Changed in: linux-mvl-dove (Ubuntu) Importance: Undecided = High ** Changed in: linux-mvl-dove (Ubuntu) Status: New = Confirmed ** Changed in: linux-mvl-dove (Ubuntu) Milestone: None = lucid-alpha-3 ** Changed in: linux-mvl-dove (Ubuntu) Assignee: (unassigned) = Eric Miao (eric.y.miao) -- [dove] hibernation failed to resume https://bugs.launchpad.net/bugs/509006 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 509006] Re: [dove] hibernation failed to resume
** Attachment added: dmesg http://launchpadlibrarian.net/38015851/dmesg -- [dove] hibernation failed to resume https://bugs.launchpad.net/bugs/509006 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