http://bugzilla.kernel.org/show_bug.cgi?id=14668
--- Comment #10 from Maxim Levitsky <maximlevit...@gmail.com> 2009-12-28 18:49:56 --- Nope, same hang. However I think I got the idea about what happens. I enabled the debugging bits as you requested, and I see that during _resume_, while memory image is read, there are few instances of access to global lock, which is not and ordinary lock, but it lives in FACS, and thus is not saved in hibernation image (and this is correct). What happens is that during resume, ec transaction begins, hw lock is taken, but then in the middle, control is passed to resuming kernel, it tries to take that lock again... boom. On resume, vga buffer is not cleared, but is overwritten by the resuming kernel. Partially, message about taking the lock was visable. Resumed kernel have shown message 'Waiting for hardware Global Lock' I didn't capture the kernel log through. One note about how thermal monitoring & fan control work on my system. CPU is programmed to send an SMI, when temperature reaches a threshold, (40 C), this triggers the handler, and it programs the chipset to issue an SCI, which is handled by AML code, and it writes new temperature to the EC. This is the path that I think is triggered while resume image is read. Also EC could send an interrupt, and it will be handled by AML code too, and probably result in EC access. I think that the right solution is to abort EC transaction, (and release the lock) just before control is passed to resuming kernel (and then refuse to do more transactions, because this kernel is going away anyway) I think this is possible to do using new pm operations. -- Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ acpi-bugzilla mailing list acpi-bugzilla@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla