suspend-to-disk using a SAS drive
I am trying to suspend-to-disk using the Suspend2 modules. I am using an SSD drive connected through a SAS bus interface. The SSD acts as a boot disk. All read and write transactions to the drive works well during normal operation. when I hibernate (suspend-to-disk).
I get the following errors:
------------------
mptbase: ioc0: ERROR – Invalid IOC facts reply, msgLength=0 offset=6
pnp: Failed to activate device 00:09.
pnp: Failed to activate device 00:0a.
------------
Immediately after these messages, Linux hangs as soon as it starts writing the image to the drive. showing the following output.
------------------
Writing Kernel and process data ...
20%...
------------------
When using KDB to trace the problem after the kernel hung.
<ps> shows a running process: Ks2io
when doing Back Trace for Ks2io wheen the kernel hangs, I get the following trace
--------------------_spin_unlock_irq+0xbthread_return+0x64
_raw_spin_lock+ox90__mutex_up_process+0x10wake_up_process+0x10suspend_bio_write_pagemutex_lock+0x2aflush_workqueue+0x51kblockd_flush+0x10do_bio_wait+0x1bsuspend_bio_write_pagesuepend_bio_write_page+0x41suspend_compress_write_page+0x137worker_rw_loopworker_rw_loop+0x133worker_rw_loopkthread+0xf5schedule_tail_0x45child_rip+0x45worker_thread
kthreadchild_rip --------------------
It seems that the problem is when suspend2 tries to write to the SSD drive.
I am not sure whether the problem is with the suspend2 module or the mpt driver? I am using kernel 2.6.21.1 x86_64 with fedora core 5 x86_64. MPT driver 3.04 Any insights/recommendations will be greatly appreciated.
Quoted 51 lines · Nevine AbouGhazaleh
I am trying to suspend-to-disk using the Suspend2 modules. I am using an SSD drive connected through a SAS bus interface. The SSD acts as a boot disk.
All read and write transactions to the drive works well during normal operation. when I hibernate (suspend-to-disk).I get the following errors:
------------------
mptbase: ioc0: ERROR ? Invalid IOC facts reply, msgLength=0 offset=6
pnp: Failed to activate device 00:09.
pnp: Failed to activate device 00:0a.
------------Immediately after these messages, Linux hangs as soon as it starts writing the image to the drive. showing the following output.
------------------
Writing Kernel and process data ...
20%...
------------------When using KDB to trace the problem after the kernel hung.
<ps> shows a running process: Ks2io
when doing Back Trace for Ks2io wheen the kernel hangs, I get the following trace
--------------------_spin_unlock_irq+0xbthread_return+0x64
_raw_spin_lock+ox90__mutex_up_process+0x10wake_up_process+0x10suspend_bio_write_pagemutex_lock+0x2aflush_workqueue+0x51kblockd_flush+0x10do_bio_wait+0x1bsuspend_bio_write_pagesuepend_bio_write_page+0x41suspend_compress_write_page+0x137worker_rw_loopworker_rw_loop+0x133worker_rw_loopkthread+0xf5schedule_tail_0x45child_rip+0x45worker_thread
kthreadchild_rip--------------------
Quoted 5 lines
It seems that the problem is when suspend2 tries to write to the SSD drive. I am not sure whether the problem is with the suspend2 module or the mpt driver? I am using kernel 2.6.21.1
x86_64with fedora core 5x86_64. MPT driver 3.04
Any insights/recommendations will be greatly appreciated.
Try latest kernel without suspend2 patch... ... if it hangs at 20% you may have a chance that driver already has some suspend/resume support.
Pavel
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html