€•Œsphinx.addnodes”Œdocument”“”)�”}”(Œ rawsource”Œ”Œchildren”]”(Œ translations”Œ LanguagesNode”“”)�”}”(hhh]”(hŒ pending_xref”“”)�”}”(hhh]”Œdocutils.nodes”ŒText”“”ŒChinese (Simplified)”…”�”}”Œparent”hsbaŒ attributes”}”(Œids”]”Œclasses”]”Œnames”]”Œdupnames”]”Œbackrefs”]”Œ refdomain”Œstd”Œreftype”Œdoc”Œ reftarget”Œ /translations/zh_CN/power/swsusp”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)�”}”(hhh]”hŒChinese (Traditional)”…”�”}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ /translations/zh_TW/power/swsusp”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒItalian”…”�”}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ /translations/it_IT/power/swsusp”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒJapanese”…”�”}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ /translations/ja_JP/power/swsusp”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒKorean”…”�”}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ /translations/ko_KR/power/swsusp”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒPortuguese (Brazilian)”…”�”}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ /translations/pt_BR/power/swsusp”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒSpanish”…”�”}”hh–sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ /translations/sp_SP/power/swsusp”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubeh}”(h]”h ]”h"]”h$]”h&]”Œcurrent_language”ŒEnglish”uh1h hhŒ _document”hŒsource”NŒline”NubhŒsection”“”)�”}”(hhh]”(hŒtitle”“”)�”}”(hŒ Swap suspend”h]”hŒ Swap suspend”…”�”}”(hh¼h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhh·h²hh³Œ:/var/lib/git/docbuild/linux/Documentation/power/swsusp.rst”h´KubhŒ paragraph”“”)�”}”(hŒSome warnings, first.”h]”hŒSome warnings, first.”…”�”}”(hhÍh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khh·h²hubhŒwarning”“”)�”}”(hXP**BIG FAT WARNING** If you touch anything on disk between suspend and resume... ...kiss your data goodbye. If you do resume from initrd after your filesystems are mounted... ...bye bye root partition. [this is actually same case as above] If you have unsupported ( ) devices using DMA, you may have some problems. If your disk driver does not support suspend... (IDE does), it may cause some problems, too. If you change kernel command line between suspend and resume, it may do something wrong. If you change your hardware while system is suspended... well, it was not good idea; but it will probably only crash. ( ) suspend/resume support is needed to make it safe. If you have any filesystems on USB devices mounted before software suspend, they won't be accessible after resume and you may lose data, as though you have unplugged the USB devices with mounted filesystems on them; see the FAQ below for details. (This is not true for more traditional power states like "standby", which normally don't turn USB off.)”h]”(hÌ)�”}”(hŒ**BIG FAT WARNING**”h]”hŒstrong”“”)�”}”(hhãh]”hŒBIG FAT WARNING”…”�”}”(hhçh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1håhháubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K hhÝubhŒdefinition_list”“”)�”}”(hhh]”(hŒdefinition_list_item”“”)�”}”(hŒWIf you touch anything on disk between suspend and resume... ...kiss your data goodbye. ”h]”(hŒterm”“”)�”}”(hŒ;If you touch anything on disk between suspend and resume...”h]”hŒ;If you touch anything on disk between suspend and resume...”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´K hjubhŒ definition”“”)�”}”(hhh]”hÌ)�”}”(hŒ...kiss your data goodbye.”h]”hŒ...kiss your data goodbye.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K hjubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÿh³hÊh´K hhüubj)�”}”(hŒ�If you do resume from initrd after your filesystems are mounted... ...bye bye root partition. [this is actually same case as above] ”h]”(j)�”}”(hŒBIf you do resume from initrd after your filesystems are mounted...”h]”hŒBIf you do resume from initrd after your filesystems are mounted...”…”�”}”(hj8h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´Khj4ubj)�”}”(hhh]”(hŒ block_quote”“”)�”}”(hŒ...bye bye root partition. ”h]”hÌ)�”}”(hŒ...bye bye root partition.”h]”hŒ...bye bye root partition.”…”�”}”(hjOh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KhjKubah}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÊh´KhjFubhÌ)�”}”(hŒ%[this is actually same case as above]”h]”hŒ%[this is actually same case as above]”…”�”}”(hjch²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KhjFubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhj4ubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÿh³hÊh´Khhüubeh}”(h]”h ]”h"]”h$]”h&]”uh1húhhÝubhÌ)�”}”(hXvIf you have unsupported ( ) devices using DMA, you may have some problems. If your disk driver does not support suspend... (IDE does), it may cause some problems, too. If you change kernel command line between suspend and resume, it may do something wrong. If you change your hardware while system is suspended... well, it was not good idea; but it will probably only crash.”h]”hXvIf you have unsupported ( ) devices using DMA, you may have some problems. If your disk driver does not support suspend... (IDE does), it may cause some problems, too. If you change kernel command line between suspend and resume, it may do something wrong. If you change your hardware while system is suspended... well, it was not good idea; but it will probably only crash.”…”�”}”(hjƒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KhhÝubhÌ)�”}”(hŒ5( ) suspend/resume support is needed to make it safe.”h]”hŒ5( ) suspend/resume support is needed to make it safe.”…”�”}”(hj‘h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KhhÝubhÌ)�”}”(hX_If you have any filesystems on USB devices mounted before software suspend, they won't be accessible after resume and you may lose data, as though you have unplugged the USB devices with mounted filesystems on them; see the FAQ below for details. (This is not true for more traditional power states like "standby", which normally don't turn USB off.)”h]”hXgIf you have any filesystems on USB devices mounted before software suspend, they won’t be accessible after resume and you may lose data, as though you have unplugged the USB devices with mounted filesystems on them; see the FAQ below for details. (This is not true for more traditional power states like “standbyâ€�, which normally don’t turn USB off.)”…”�”}”(hjŸh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KhhÝubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÛhh·h²hh³hÊh´Nubhû)�”}”(hhh]”(j)�”}”(hŒ�Swap partition: You need to append resume=/dev/your_swap_partition to kernel command line or specify it using /sys/power/resume. ”h]”(j)�”}”(hŒSwap partition:”h]”hŒSwap partition:”…”�”}”(hjºh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´K$hj¶ubj)�”}”(hhh]”hÌ)�”}”(hŒpYou need to append resume=/dev/your_swap_partition to kernel command line or specify it using /sys/power/resume.”h]”hŒpYou need to append resume=/dev/your_swap_partition to kernel command line or specify it using /sys/power/resume.”…”�”}”(hjËh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K#hjÈubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj¶ubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÿh³hÊh´K$hj³ubj)�”}”(hŒ§Swap file: If using a swapfile you can also specify a resume offset using resume_offset= on the kernel command line or specify it in /sys/power/resume_offset. ”h]”(j)�”}”(hŒ Swap file:”h]”hŒ Swap file:”…”�”}”(hjéh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´K)hjåubj)�”}”(hhh]”hÌ)�”}”(hŒ›If using a swapfile you can also specify a resume offset using resume_offset= on the kernel command line or specify it in /sys/power/resume_offset.”h]”hŒ›If using a swapfile you can also specify a resume offset using resume_offset= on the kernel command line or specify it in /sys/power/resume_offset.”…”�”}”(hjúh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K'hj÷ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjåubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÿh³hÊh´K)hj³h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1húhh·h²hh³hÊh´NubhÌ)�”}”(hŒ%After preparing then you suspend by::”h]”hŒ$After preparing then you suspend by:”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K+hh·h²hubhŒ literal_block”“”)�”}”(hŒ=echo shutdown > /sys/power/disk; echo disk > /sys/power/state”h]”hŒ=echo shutdown > /sys/power/disk; echo disk > /sys/power/state”…”�”}”hj*sbah}”(h]”h ]”h"]”h$]”h&]”Œ xml:space”Œpreserve”uh1j(h³hÊh´K-hh·h²hubhŒ bullet_list”“”)�”}”(hhh]”(hŒ list_item”“”)�”}”(hŒˆIf you feel ACPI works pretty well on your system, you might try:: echo platform > /sys/power/disk; echo disk > /sys/power/state ”h]”(hÌ)�”}”(hŒBIf you feel ACPI works pretty well on your system, you might try::”h]”hŒAIf you feel ACPI works pretty well on your system, you might try:”…”�”}”(hjEh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K/hjAubj))�”}”(hŒ=echo platform > /sys/power/disk; echo disk > /sys/power/state”h]”hŒ=echo platform > /sys/power/disk; echo disk > /sys/power/state”…”�”}”hjSsbah}”(h]”h ]”h"]”h$]”h&]”j8j9uh1j(h³hÊh´K1hjAubeh}”(h]”h ]”h"]”h$]”h&]”uh1j?hj<h²hh³hÊh´Nubj@)�”}”(hŒÅIf you would like to write hibernation image to swap and then suspend to RAM (provided your platform supports it), you can try:: echo suspend > /sys/power/disk; echo disk > /sys/power/state ”h]”(hÌ)�”}”(hŒ€If you would like to write hibernation image to swap and then suspend to RAM (provided your platform supports it), you can try::”h]”hŒIf you would like to write hibernation image to swap and then suspend to RAM (provided your platform supports it), you can try:”…”�”}”(hjkh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K3hjgubj))�”}”(hŒ /sys/power/disk; echo disk > /sys/power/state”h]”hŒ /sys/power/disk; echo disk > /sys/power/state”…”�”}”hjysbah}”(h]”h ]”h"]”h$]”h&]”j8j9uh1j(h³hÊh´K6hjgubeh}”(h]”h ]”h"]”h$]”h&]”uh1j?hj<h²hh³hÊh´Nubj@)�”}”(hXIf you have SATA disks, you'll need recent kernels with SATA suspend support. For suspend and resume to work, make sure your disk drivers are built into kernel -- not modules. [There's way to make suspend/resume with modular disk drivers, see FAQ, but you probably should not do that.] ”h]”hÌ)�”}”(hXIf you have SATA disks, you'll need recent kernels with SATA suspend support. For suspend and resume to work, make sure your disk drivers are built into kernel -- not modules. [There's way to make suspend/resume with modular disk drivers, see FAQ, but you probably should not do that.]”h]”hX!If you have SATA disks, you’ll need recent kernels with SATA suspend support. For suspend and resume to work, make sure your disk drivers are built into kernel -- not modules. [There’s way to make suspend/resume with modular disk drivers, see FAQ, but you probably should not do that.]”…”�”}”(hj‘h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K8hj�ubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hj<h²hh³hÊh´Nubeh}”(h]”h ]”h"]”h$]”h&]”Œbullet”Œ-”uh1j:h³hÊh´K/hh·h²hubhÌ)�”}”(hŒhh·h²hubj))�”}”(hŒecho N > /sys/power/image_size”h]”hŒecho N > /sys/power/image_size”…”�”}”hj»sbah}”(h]”h ]”h"]”h$]”h&]”j8j9uh1j(h³hÊh´K@hh·h²hubhÌ)�”}”(hŒIbefore suspend (it is limited to around 2/5 of available RAM by default).”h]”hŒIbefore suspend (it is limited to around 2/5 of available RAM by default).”…”�”}”(hjÉh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KBhh·h²hubj;)�”}”(hhh]”(j@)�”}”(hŒÁThe resume process checks for the presence of the resume device, if found, it then checks the contents for the hibernation image signature. If both are found, it resumes the hibernation image. ”h]”hÌ)�”}”(hŒÀThe resume process checks for the presence of the resume device, if found, it then checks the contents for the hibernation image signature. If both are found, it resumes the hibernation image.”h]”hŒÀThe resume process checks for the presence of the resume device, if found, it then checks the contents for the hibernation image signature. If both are found, it resumes the hibernation image.”…”�”}”(hjÞh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KDhjÚubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hj×h²hh³hÊh´Nubj@)�”}”(hX The resume process may be triggered in two ways: 1) During lateinit: If resume=/dev/your_swap_partition is specified on the kernel command line, lateinit runs the resume process. If the resume device has not been probed yet, the resume process fails and bootup continues. 2) Manually from an initrd or initramfs: May be run from the init script by using the /sys/power/resume file. It is vital that this be done prior to remounting any filesystems (even as read-only) otherwise data may be corrupted. ”h]”(hÌ)�”}”(hŒ0The resume process may be triggered in two ways:”h]”hŒ0The resume process may be triggered in two ways:”…”�”}”(hjöh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KHhjòubhŒenumerated_list”“”)�”}”(hhh]”(j@)�”}”(hŒÝDuring lateinit: If resume=/dev/your_swap_partition is specified on the kernel command line, lateinit runs the resume process. If the resume device has not been probed yet, the resume process fails and bootup continues.”h]”hÌ)�”}”(hŒÝDuring lateinit: If resume=/dev/your_swap_partition is specified on the kernel command line, lateinit runs the resume process. If the resume device has not been probed yet, the resume process fails and bootup continues.”h]”hŒÝDuring lateinit: If resume=/dev/your_swap_partition is specified on the kernel command line, lateinit runs the resume process. If the resume device has not been probed yet, the resume process fails and bootup continues.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KJhj ubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hjubj@)�”}”(hŒäManually from an initrd or initramfs: May be run from the init script by using the /sys/power/resume file. It is vital that this be done prior to remounting any filesystems (even as read-only) otherwise data may be corrupted. ”h]”hÌ)�”}”(hŒãManually from an initrd or initramfs: May be run from the init script by using the /sys/power/resume file. It is vital that this be done prior to remounting any filesystems (even as read-only) otherwise data may be corrupted.”h]”hŒãManually from an initrd or initramfs: May be run from the init script by using the /sys/power/resume file. It is vital that this be done prior to remounting any filesystems (even as read-only) otherwise data may be corrupted.”…”�”}”(hj%h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KNhj!ubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hjubeh}”(h]”h ]”h"]”h$]”h&]”Œenumtype”Œarabic”Œprefix”hŒsuffix”Œ)”uh1jhjòubeh}”(h]”h ]”h"]”h$]”h&]”uh1j?hj×h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”j«j¬uh1j:h³hÊh´KDhh·h²hubh¶)�”}”(hhh]”(h»)�”}”(hŒDArticle about goals and implementation of Software Suspend for Linux”h]”hŒDArticle about goals and implementation of Software Suspend for Linux”…”�”}”(hjSh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjPh²hh³hÊh´KTubhÌ)�”}”(hŒ /proc/acpi/sleep # for standby echo 2 > /proc/acpi/sleep # for suspend to ram echo 3 > /proc/acpi/sleep # for suspend to ram, but with more power # conservative echo 4 > /proc/acpi/sleep # for suspend to disk echo 5 > /proc/acpi/sleep # for shutdown unfriendly the system”h]”hXVecho 1 > /proc/acpi/sleep # for standby echo 2 > /proc/acpi/sleep # for suspend to ram echo 3 > /proc/acpi/sleep # for suspend to ram, but with more power # conservative echo 4 > /proc/acpi/sleep # for suspend to disk echo 5 > /proc/acpi/sleep # for shutdown unfriendly the system”…”�”}”hjsbah}”(h]”h ]”h"]”h$]”h&]”j8j9uh1j(h³hÊh´Kwhjòh²hubhÌ)�”}”(hŒ and perhaps::”h]”hŒ and perhaps:”…”�”}”(hj-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K~hjòh²hubj))�”}”(hŒ@echo 4b > /proc/acpi/sleep # for suspend to disk via s4bios”h]”hŒ@echo 4b > /proc/acpi/sleep # for suspend to disk via s4bios”…”�”}”hj;sbah}”(h]”h ]”h"]”h$]”h&]”j8j9uh1j(h³hÊh´K€hjòh²hubeh}”(h]”Œsleep-states-summary”ah ]”h"]”Œsleep states summary”ah$]”h&]”uh1hµhh·h²hh³hÊh´Kpubh¶)�”}”(hhh]”(h»)�”}”(hŒFrequently Asked Questions”h]”hŒFrequently Asked Questions”…”�”}”(hjTh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjQh²hh³hÊh´Kƒubhû)�”}”(hhh]”(j)�”}”(hŒTQ: well, suspending a server is IMHO a really stupid thing, but... (Diego Zuccato): ”h]”(j)�”}”(hŒQ:”h]”hŒQ:”…”�”}”(hjih²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´K‡hjeubj)�”}”(hhh]”hÌ)�”}”(hŒPwell, suspending a server is IMHO a really stupid thing, but... (Diego Zuccato):”h]”hŒPwell, suspending a server is IMHO a really stupid thing, but... (Diego Zuccato):”…”�”}”(hjzh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K†hjwubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjeubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÿh³hÊh´K‡hjbubj)�”}”(hXA: You bought new UPS for your server. How do you install it without bringing machine down? Suspend to disk, rearrange power cables, resume. You have your server on UPS. Power died, and UPS is indicating 30 seconds to failure. What do you do? Suspend to disk. ”h]”(j)�”}”(hŒA:”h]”hŒA:”…”�”}”(hj˜h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´K�hj”ubj)�”}”(hhh]”(hÌ)�”}”(hŒ‰You bought new UPS for your server. How do you install it without bringing machine down? Suspend to disk, rearrange power cables, resume.”h]”hŒ‰You bought new UPS for your server. How do you install it without bringing machine down? Suspend to disk, rearrange power cables, resume.”…”�”}”(hj©h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KŠhj¦ubhÌ)�”}”(hŒvYou have your server on UPS. Power died, and UPS is indicating 30 seconds to failure. What do you do? Suspend to disk.”h]”hŒvYou have your server on UPS. Power died, and UPS is indicating 30 seconds to failure. What do you do? Suspend to disk.”…”�”}”(hj·h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KŽhj¦ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhj”ubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÿh³hÊh´K�hjbh²hubj)�”}”(hŒJQ: Maybe I'm missing something, but why don't the regular I/O paths work? ”h]”(j)�”}”(hŒQ:”h]”hŒQ:”…”�”}”(hjÕh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´K“hjÑubj)�”}”(hhh]”hÌ)�”}”(hŒFMaybe I'm missing something, but why don't the regular I/O paths work?”h]”hŒJMaybe I’m missing something, but why don’t the regular I/O paths work?”…”�”}”(hjæh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K“hjãubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjÑubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÿh³hÊh´K“hjbh²hubj)�”}”(hX™A: We do use the regular I/O paths. However we cannot restore the data to its original location as we load it. That would create an inconsistent kernel state which would certainly result in an oops. Instead, we load the image into unused memory and then atomically copy it back to it original location. This implies, of course, a maximum image size of half the amount of memory. There are two solutions to this: * require half of memory to be free during suspend. That way you can read "new" data onto free spots, then cli and copy * assume we had special "polling" ide driver that only uses memory between 0-640KB. That way, I'd have to make sure that 0-640KB is free during suspending, but otherwise it would work... suspend2 shares this fundamental limitation, but does not include user data and disk caches into "used memory" by saving them in advance. That means that the limitation goes away in practice. ”h]”(j)�”}”(hŒA:”h]”hŒA:”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´K¨hjubj)�”}”(hhh]”(hÌ)�”}”(hXwWe do use the regular I/O paths. However we cannot restore the data to its original location as we load it. That would create an inconsistent kernel state which would certainly result in an oops. Instead, we load the image into unused memory and then atomically copy it back to it original location. This implies, of course, a maximum image size of half the amount of memory.”h]”hXwWe do use the regular I/O paths. However we cannot restore the data to its original location as we load it. That would create an inconsistent kernel state which would certainly result in an oops. Instead, we load the image into unused memory and then atomically copy it back to it original location. This implies, of course, a maximum image size of half the amount of memory.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K–hjubhÌ)�”}”(hŒ There are two solutions to this:”h]”hŒ There are two solutions to this:”…”�”}”(hj#h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K�hjubj;)�”}”(hhh]”(j@)�”}”(hŒvrequire half of memory to be free during suspend. That way you can read "new" data onto free spots, then cli and copy ”h]”hÌ)�”}”(hŒurequire half of memory to be free during suspend. That way you can read "new" data onto free spots, then cli and copy”h]”hŒyrequire half of memory to be free during suspend. That way you can read “newâ€� data onto free spots, then cli and copy”…”�”}”(hj8h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KŸhj4ubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hj1ubj@)�”}”(hŒ¹assume we had special "polling" ide driver that only uses memory between 0-640KB. That way, I'd have to make sure that 0-640KB is free during suspending, but otherwise it would work... ”h]”hÌ)�”}”(hŒ¸assume we had special "polling" ide driver that only uses memory between 0-640KB. That way, I'd have to make sure that 0-640KB is free during suspending, but otherwise it would work...”h]”hŒ¾assume we had special “pollingâ€� ide driver that only uses memory between 0-640KB. That way, I’d have to make sure that 0-640KB is free during suspending, but otherwise it would work...”…”�”}”(hjPh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K¢hjLubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hj1ubeh}”(h]”h ]”h"]”h$]”h&]”j«Œ*”uh1j:h³hÊh´KŸhjubhÌ)�”}”(hŒ¿suspend2 shares this fundamental limitation, but does not include user data and disk caches into "used memory" by saving them in advance. That means that the limitation goes away in practice.”h]”hŒÃsuspend2 shares this fundamental limitation, but does not include user data and disk caches into “used memoryâ€� by saving them in advance. That means that the limitation goes away in practice.”…”�”}”(hjkh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K¦hjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÿh³hÊh´K¨hjbh²hubj)�”}”(hŒQ: Does linux support ACPI S4? ”h]”(j)�”}”(hŒQ:”h]”hŒQ:”…”�”}”(hj‰h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´K«hj…ubj)�”}”(hhh]”hÌ)�”}”(hŒDoes linux support ACPI S4?”h]”hŒDoes linux support ACPI S4?”…”�”}”(hjšh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K«hj—ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj…ubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÿh³hÊh´K«hjbh²hubj)�”}”(hŒ:A: Yes. That's what echo platform > /sys/power/disk does. ”h]”(j)�”}”(hŒA:”h]”hŒA:”…”�”}”(hj¸h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´K®hj´ubj)�”}”(hhh]”hÌ)�”}”(hŒ6Yes. That's what echo platform > /sys/power/disk does.”h]”hŒ8Yes. That’s what echo platform > /sys/power/disk does.”…”�”}”(hjÉh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K®hjÆubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj´ubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÿh³hÊh´K®hjbh²hubj)�”}”(hŒQ: What is 'suspend2'? ”h]”(j)�”}”(hŒQ:”h]”hŒQ:”…”�”}”(hjçh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´K±hjãubj)�”}”(hhh]”hÌ)�”}”(hŒWhat is 'suspend2'?”h]”hŒWhat is ‘suspend2’?”…”�”}”(hjøh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K±hjõubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjãubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÿh³hÊh´K±hjbh²hubj)�”}”(hXŒA: suspend2 is 'Software Suspend 2', a forked implementation of suspend-to-disk which is available as separate patches for 2.4 and 2.6 kernels from swsusp.sourceforge.net. It includes support for SMP, 4GB highmem and preemption. It also has a extensible architecture that allows for arbitrary transformations on the image (compression, encryption) and arbitrary backends for writing the image (eg to swap or an NFS share[Work In Progress]). Questions regarding suspend2 should be sent to the mailing list available through the suspend2 website, and not to the Linux Kernel Mailing List. We are working toward merging suspend2 into the mainline kernel. ”h]”(j)�”}”(hŒA:”h]”hŒA:”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´K½hjubj)�”}”(hhh]”hÌ)�”}”(hXˆsuspend2 is 'Software Suspend 2', a forked implementation of suspend-to-disk which is available as separate patches for 2.4 and 2.6 kernels from swsusp.sourceforge.net. It includes support for SMP, 4GB highmem and preemption. It also has a extensible architecture that allows for arbitrary transformations on the image (compression, encryption) and arbitrary backends for writing the image (eg to swap or an NFS share[Work In Progress]). Questions regarding suspend2 should be sent to the mailing list available through the suspend2 website, and not to the Linux Kernel Mailing List. We are working toward merging suspend2 into the mainline kernel.”h]”hXŒsuspend2 is ‘Software Suspend 2’, a forked implementation of suspend-to-disk which is available as separate patches for 2.4 and 2.6 kernels from swsusp.sourceforge.net. It includes support for SMP, 4GB highmem and preemption. It also has a extensible architecture that allows for arbitrary transformations on the image (compression, encryption) and arbitrary backends for writing the image (eg to swap or an NFS share[Work In Progress]). Questions regarding suspend2 should be sent to the mailing list available through the suspend2 website, and not to the Linux Kernel Mailing List. We are working toward merging suspend2 into the mainline kernel.”…”�”}”(hj'h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K´hj$ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÿh³hÊh´K½hjbh²hubj)�”}”(hŒ:Q: What is the freezing of tasks and why are we using it? ”h]”(j)�”}”(hŒQ:”h]”hŒQ:”…”�”}”(hjEh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´KÀhjAubj)�”}”(hhh]”hÌ)�”}”(hŒ6What is the freezing of tasks and why are we using it?”h]”hŒ6What is the freezing of tasks and why are we using it?”…”�”}”(hjVh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KÀhjSubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjAubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÿh³hÊh´KÀhjbh²hubj)�”}”(hŒØA: The freezing of tasks is a mechanism by which user space processes and some kernel threads are controlled during hibernation or system-wide suspend (on some architectures). See freezing-of-tasks.txt for details. ”h]”(j)�”}”(hŒA:”h]”hŒA:”…”�”}”(hjth²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´KÅhjpubj)�”}”(hhh]”hÌ)�”}”(hŒÔThe freezing of tasks is a mechanism by which user space processes and some kernel threads are controlled during hibernation or system-wide suspend (on some architectures). See freezing-of-tasks.txt for details.”h]”hŒÔThe freezing of tasks is a mechanism by which user space processes and some kernel threads are controlled during hibernation or system-wide suspend (on some architectures). See freezing-of-tasks.txt for details.”…”�”}”(hj…h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KÃhj‚ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjpubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÿh³hÊh´KÅhjbh²hubj)�”}”(hŒ=Q: What is the difference between "platform" and "shutdown"? ”h]”(j)�”}”(hŒQ:”h]”hŒQ:”…”�”}”(hj£h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´KÈhjŸubj)�”}”(hhh]”hÌ)�”}”(hŒ9What is the difference between "platform" and "shutdown"?”h]”hŒAWhat is the difference between “platformâ€� and “shutdownâ€�?”…”�”}”(hj´h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KÈhj±ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjŸubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÿh³hÊh´KÈhjbh²hubj)�”}”(hXA: shutdown: save state in linux, then tell bios to powerdown platform: save state in linux, then tell bios to powerdown and blink "suspended led" "platform" is actually right thing to do where supported, but "shutdown" is most reliable (except on ACPI systems). ”h]”(j)�”}”(hŒA:”h]”hŒA:”…”�”}”(hjÒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´KÓhjÎubj)�”}”(hhh]”(hû)�”}”(hhh]”(j)�”}”(hŒ;shutdown: save state in linux, then tell bios to powerdown ”h]”(j)�”}”(hŒ shutdown:”h]”hŒ shutdown:”…”�”}”(hjêh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´KÌhjæubj)�”}”(hhh]”hÌ)�”}”(hŒ0save state in linux, then tell bios to powerdown”h]”hŒ0save state in linux, then tell bios to powerdown”…”�”}”(hjûh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KÌhjøubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjæubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÿh³hÊh´KÌhjãubj)�”}”(hŒUplatform: save state in linux, then tell bios to powerdown and blink "suspended led" ”h]”(j)�”}”(hŒ platform:”h]”hŒ platform:”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´KÐhjubj)�”}”(hhh]”hÌ)�”}”(hŒJsave state in linux, then tell bios to powerdown and blink "suspended led"”h]”hŒNsave state in linux, then tell bios to powerdown and blink “suspended ledâ€�”…”�”}”(hj*h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KÏhj'ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÿh³hÊh´KÐhjãubeh}”(h]”h ]”h"]”h$]”h&]”uh1húhjàubhÌ)�”}”(hŒs"platform" is actually right thing to do where supported, but "shutdown" is most reliable (except on ACPI systems).”h]”hŒ{“platformâ€� is actually right thing to do where supported, but “shutdownâ€� is most reliable (except on ACPI systems).”…”�”}”(hjJh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KÒhjàubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhjÎubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÿh³hÊh´KÓhjbh²hubj)�”}”(hŒYQ: I do not understand why you have such strong objections to idea of selective suspend. ”h]”(j)�”}”(hŒQ:”h]”hŒQ:”…”�”}”(hjhh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´K×hjdubj)�”}”(hhh]”hÌ)�”}”(hŒUI do not understand why you have such strong objections to idea of selective suspend.”h]”hŒUI do not understand why you have such strong objections to idea of selective suspend.”…”�”}”(hjyh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KÖhjvubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjdubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÿh³hÊh´K×hjbh²hubj)�”}”(hXÿA: Do selective suspend during runtime power management, that's okay. But it's useless for suspend-to-disk. (And I do not see how you could use it for suspend-to-ram, I hope you do not want that). Lets see, so you suggest to * SUSPEND all but swap device and parents * Snapshot * Write image to disk * SUSPEND swap device and parents * Powerdown Oh no, that does not work, if swap device or its parents uses DMA, you've corrupted data. You'd have to do * SUSPEND all but swap device and parents * FREEZE swap device and parents * Snapshot * UNFREEZE swap device and parents * Write * SUSPEND swap device and parents Which means that you still need that FREEZE state, and you get more complicated code. (And I have not yet introduce details like system devices). ”h]”(j)�”}”(hŒA:”h]”hŒA:”…”�”}”(hj—h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´Kòhj“ubj)�”}”(hhh]”(hÌ)�”}”(hŒÁDo selective suspend during runtime power management, that's okay. But it's useless for suspend-to-disk. (And I do not see how you could use it for suspend-to-ram, I hope you do not want that).”h]”hŒÅDo selective suspend during runtime power management, that’s okay. But it’s useless for suspend-to-disk. (And I do not see how you could use it for suspend-to-ram, I hope you do not want that).”…”�”}”(hj¨h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KÚhj¥ubhÌ)�”}”(hŒLets see, so you suggest to”h]”hŒLets see, so you suggest to”…”�”}”(hj¶h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KÞhj¥ubj;)�”}”(hhh]”(j@)�”}”(hŒ'SUSPEND all but swap device and parents”h]”hÌ)�”}”(hjÉh]”hŒ'SUSPEND all but swap device and parents”…”�”}”(hjËh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KàhjÇubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hjÄubj@)�”}”(hŒSnapshot”h]”hÌ)�”}”(hjàh]”hŒSnapshot”…”�”}”(hjâh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KáhjÞubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hjÄubj@)�”}”(hŒWrite image to disk”h]”hÌ)�”}”(hj÷h]”hŒWrite image to disk”…”�”}”(hjùh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kâhjõubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hjÄubj@)�”}”(hŒSUSPEND swap device and parents”h]”hÌ)�”}”(hjh]”hŒSUSPEND swap device and parents”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kãhj ubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hjÄubj@)�”}”(hŒ Powerdown ”h]”hÌ)�”}”(hŒ Powerdown”h]”hŒ Powerdown”…”�”}”(hj'h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kähj#ubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hjÄubeh}”(h]”h ]”h"]”h$]”h&]”j«jjuh1j:h³hÊh´Kàhj¥ubhÌ)�”}”(hŒjOh no, that does not work, if swap device or its parents uses DMA, you've corrupted data. You'd have to do”h]”hŒnOh no, that does not work, if swap device or its parents uses DMA, you’ve corrupted data. You’d have to do”…”�”}”(hjAh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kæhj¥ubj;)�”}”(hhh]”(j@)�”}”(hŒ'SUSPEND all but swap device and parents”h]”hÌ)�”}”(hjTh]”hŒ'SUSPEND all but swap device and parents”…”�”}”(hjVh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KéhjRubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hjOubj@)�”}”(hŒFREEZE swap device and parents”h]”hÌ)�”}”(hjkh]”hŒFREEZE swap device and parents”…”�”}”(hjmh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kêhjiubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hjOubj@)�”}”(hŒSnapshot”h]”hÌ)�”}”(hj‚h]”hŒSnapshot”…”�”}”(hj„h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Këhj€ubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hjOubj@)�”}”(hŒ UNFREEZE swap device and parents”h]”hÌ)�”}”(hj™h]”hŒ UNFREEZE swap device and parents”…”�”}”(hj›h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kìhj—ubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hjOubj@)�”}”(hŒWrite”h]”hÌ)�”}”(hj°h]”hŒWrite”…”�”}”(hj²h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kíhj®ubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hjOubj@)�”}”(hŒ SUSPEND swap device and parents ”h]”hÌ)�”}”(hŒSUSPEND swap device and parents”h]”hŒSUSPEND swap device and parents”…”�”}”(hjÉh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KîhjÅubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hjOubeh}”(h]”h ]”h"]”h$]”h&]”j«jjuh1j:h³hÊh´Kéhj¥ubhÌ)�”}”(hŒ‘Which means that you still need that FREEZE state, and you get more complicated code. (And I have not yet introduce details like system devices).”h]”hŒ‘Which means that you still need that FREEZE state, and you get more complicated code. (And I have not yet introduce details like system devices).”…”�”}”(hjãh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kðhj¥ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhj“ubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÿh³hÊh´Kòhjbh²hubj)�”}”(hŒcQ: There don't seem to be any generally useful behavioral distinctions between SUSPEND and FREEZE. ”h]”(j)�”}”(hŒQ:”h]”hŒQ:”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´Köhjýubj)�”}”(hhh]”hÌ)�”}”(hŒ_There don't seem to be any generally useful behavioral distinctions between SUSPEND and FREEZE.”h]”hŒaThere don’t seem to be any generally useful behavioral distinctions between SUSPEND and FREEZE.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kõhj ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjýubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÿh³hÊh´Köhjbh²hubj)�”}”(hXA: Doing SUSPEND when you are asked to do FREEZE is always correct, but it may be unnecessarily slow. If you want your driver to stay simple, slowness may not matter to you. It can always be fixed later. For devices like disk it does matter, you do not want to spindown for FREEZE. ”h]”(j)�”}”(hŒA:”h]”hŒA:”…”�”}”(hj0 h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´Kþhj, ubj)�”}”(hhh]”(hÌ)�”}”(hŒÈDoing SUSPEND when you are asked to do FREEZE is always correct, but it may be unnecessarily slow. If you want your driver to stay simple, slowness may not matter to you. It can always be fixed later.”h]”hŒÈDoing SUSPEND when you are asked to do FREEZE is always correct, but it may be unnecessarily slow. If you want your driver to stay simple, slowness may not matter to you. It can always be fixed later.”…”�”}”(hjA h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kùhj> ubhÌ)�”}”(hŒMFor devices like disk it does matter, you do not want to spindown for FREEZE.”h]”hŒMFor devices like disk it does matter, you do not want to spindown for FREEZE.”…”�”}”(hjO h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kýhj> ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhj, ubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÿh³hÊh´Kþhjbh²hubj)�”}”(hŒPQ: After resuming, system is paging heavily, leading to very bad interactivity. ”h]”(j)�”}”(hŒQ:”h]”hŒQ:”…”�”}”(hjm h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´Mhji ubj)�”}”(hhh]”hÌ)�”}”(hŒLAfter resuming, system is paging heavily, leading to very bad interactivity.”h]”hŒLAfter resuming, system is paging heavily, leading to very bad interactivity.”…”�”}”(hj~ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Mhj{ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhji ubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÿh³hÊh´Mhjbh²hubj)�”}”(hŒÕA: Try running:: cat /proc/[0-9]*/maps | grep / | sed 's:.* /:/:' | sort -u | while read file do test -f "$file" && cat "$file" > /dev/null done after resume. swapoff -a; swapon -a may also be useful. ”h]”(j)�”}”(hŒA:”h]”hŒA:”…”�”}”(hjœ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´M hj˜ ubj)�”}”(hhh]”(hÌ)�”}”(hŒ Try running::”h]”hŒ Try running:”…”�”}”(hj­ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Mhjª ubj))�”}”(hŒ�cat /proc/[0-9]*/maps | grep / | sed 's:.* /:/:' | sort -u | while read file do test -f "$file" && cat "$file" > /dev/null done”h]”hŒ�cat /proc/[0-9]*/maps | grep / | sed 's:.* /:/:' | sort -u | while read file do test -f "$file" && cat "$file" > /dev/null done”…”�”}”hj» sbah}”(h]”h ]”h"]”h$]”h&]”j8j9uh1j(h³hÊh´Mhjª ubhÌ)�”}”(hŒ7after resume. swapoff -a; swapon -a may also be useful.”h]”hŒ7after resume. swapoff -a; swapon -a may also be useful.”…”�”}”(hjÉ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M hjª ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhj˜ ubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÿh³hÊh´M hjbh²hubj)�”}”(hŒYQ: What happens to devices during swsusp? They seem to be resumed during system suspend? ”h]”(j)�”}”(hŒQ:”h]”hŒQ:”…”�”}”(hjç h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´Mhjã ubj)�”}”(hhh]”hÌ)�”}”(hŒUWhat happens to devices during swsusp? They seem to be resumed during system suspend?”h]”hŒUWhat happens to devices during swsusp? They seem to be resumed during system suspend?”…”�”}”(hjø h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Mhjõ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjã ubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÿh³hÊh´Mhjbh²hubj)�”}”(hX,A: That's correct. We need to resume them if we want to write image to disk. Whole sequence goes like **Suspend part** running system, user asks for suspend-to-disk user processes are stopped suspend(PMSG_FREEZE): devices are frozen so that they don't interfere with state snapshot state snapshot: copy of whole used memory is taken with interrupts disabled resume(): devices are woken up so that we can write image to swap write image to swap suspend(PMSG_SUSPEND): suspend devices so that we can power off turn the power off **Resume part** (is actually pretty similar) running system, user asks for suspend-to-disk user processes are stopped (in common case there are none, but with resume-from-initrd, no one knows) read image from disk suspend(PMSG_FREEZE): devices are frozen so that they don't interfere with image restoration image restoration: rewrite memory with image resume(): devices are woken up so that system can continue thaw all user processes ”h]”(j)�”}”(hŒA:”h]”hŒA:”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´M;hj ubj)�”}”(hhh]”(hÌ)�”}”(hŒbThat's correct. We need to resume them if we want to write image to disk. Whole sequence goes like”h]”hŒdThat’s correct. We need to resume them if we want to write image to disk. Whole sequence goes like”…”�”}”(hj' h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Mhj$ ubjJ)�”}”(hXm**Suspend part** running system, user asks for suspend-to-disk user processes are stopped suspend(PMSG_FREEZE): devices are frozen so that they don't interfere with state snapshot state snapshot: copy of whole used memory is taken with interrupts disabled resume(): devices are woken up so that we can write image to swap write image to swap suspend(PMSG_SUSPEND): suspend devices so that we can power off turn the power off **Resume part** (is actually pretty similar) running system, user asks for suspend-to-disk user processes are stopped (in common case there are none, but with resume-from-initrd, no one knows) read image from disk suspend(PMSG_FREEZE): devices are frozen so that they don't interfere with image restoration image restoration: rewrite memory with image resume(): devices are woken up so that system can continue thaw all user processes ”h]”(hÌ)�”}”(hŒ**Suspend part**”h]”hæ)�”}”(hj; h]”hŒ Suspend part”…”�”}”(hj= h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1håhj9 ubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Mhj5 ubhÌ)�”}”(hŒ-running system, user asks for suspend-to-disk”h]”hŒ-running system, user asks for suspend-to-disk”…”�”}”(hjP h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Mhj5 ubhÌ)�”}”(hŒuser processes are stopped”h]”hŒuser processes are stopped”…”�”}”(hj^ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Mhj5 ubhÌ)�”}”(hŒYsuspend(PMSG_FREEZE): devices are frozen so that they don't interfere with state snapshot”h]”hŒ[suspend(PMSG_FREEZE): devices are frozen so that they don’t interfere with state snapshot”…”�”}”(hjl h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Mhj5 ubhÌ)�”}”(hŒKstate snapshot: copy of whole used memory is taken with interrupts disabled”h]”hŒKstate snapshot: copy of whole used memory is taken with interrupts disabled”…”�”}”(hjz h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Mhj5 ubhÌ)�”}”(hŒAresume(): devices are woken up so that we can write image to swap”h]”hŒAresume(): devices are woken up so that we can write image to swap”…”�”}”(hjˆ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M!hj5 ubhÌ)�”}”(hŒwrite image to swap”h]”hŒwrite image to swap”…”�”}”(hj– h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M#hj5 ubhÌ)�”}”(hŒ?suspend(PMSG_SUSPEND): suspend devices so that we can power off”h]”hŒ?suspend(PMSG_SUSPEND): suspend devices so that we can power off”…”�”}”(hj¤ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M%hj5 ubhÌ)�”}”(hŒturn the power off”h]”hŒturn the power off”…”�”}”(hj² h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M'hj5 ubhÌ)�”}”(hŒ**Resume part**”h]”hæ)�”}”(hj h]”hŒ Resume part”…”�”}”(hjÄ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1håhjÀ ubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M)hj5 ubhÌ)�”}”(hŒ(is actually pretty similar)”h]”hŒ(is actually pretty similar)”…”�”}”(hj× h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M+hj5 ubhÌ)�”}”(hŒ-running system, user asks for suspend-to-disk”h]”hŒ-running system, user asks for suspend-to-disk”…”�”}”(hjå h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M-hj5 ubhÌ)�”}”(hŒeuser processes are stopped (in common case there are none, but with resume-from-initrd, no one knows)”h]”hŒeuser processes are stopped (in common case there are none, but with resume-from-initrd, no one knows)”…”�”}”(hjó h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M/hj5 ubhÌ)�”}”(hŒread image from disk”h]”hŒread image from disk”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M2hj5 ubhÌ)�”}”(hŒ\suspend(PMSG_FREEZE): devices are frozen so that they don't interfere with image restoration”h]”hŒ^suspend(PMSG_FREEZE): devices are frozen so that they don’t interfere with image restoration”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M4hj5 ubhÌ)�”}”(hŒ,image restoration: rewrite memory with image”h]”hŒ,image restoration: rewrite memory with image”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M7hj5 ubhÌ)�”}”(hŒ:resume(): devices are woken up so that system can continue”h]”hŒ:resume(): devices are woken up so that system can continue”…”�”}”(hj+ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M9hj5 ubhÌ)�”}”(hŒthaw all user processes”h]”hŒthaw all user processes”…”�”}”(hj9 h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M;hj5 ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÊh´Mhj$ ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhj ubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÿh³hÊh´M;hjbh²hubj)�”}”(hŒ-Q: What is this 'Encrypt suspend image' for? ”h]”(j)�”}”(hŒQ:”h]”hŒQ:”…”�”}”(hj] h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´M>hjY ubj)�”}”(hhh]”hÌ)�”}”(hŒ)What is this 'Encrypt suspend image' for?”h]”hŒ-What is this ‘Encrypt suspend image’ for?”…”�”}”(hjn h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M>hjk ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjY ubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÿh³hÊh´M>hjbh²hubj)�”}”(hXA: First of all: it is not a replacement for dm-crypt encrypted swap. It cannot protect your computer while it is suspended. Instead it does protect from leaking sensitive data after resume from suspend. Think of the following: you suspend while an application is running that keeps sensitive data in memory. The application itself prevents the data from being swapped out. Suspend, however, must write these data to swap to be able to resume later on. Without suspend encryption your sensitive data are then stored in plaintext on disk. This means that after resume your sensitive data are accessible to all applications having direct access to the swap device which was used for suspend. If you don't need swap after resume these data can remain on disk virtually forever. Thus it can happen that your system gets broken in weeks later and sensitive data which you thought were encrypted and protected are retrieved and stolen from the swap device. To prevent this situation you should use 'Encrypt suspend image'. During suspend a temporary key is created and this key is used to encrypt the data written to disk. When, during resume, the data was read back into memory the temporary key is destroyed which simply means that all data written to disk during suspend are then inaccessible so they can't be stolen later on. The only thing that you must then take care of is that you call 'mkswap' for the swap partition used for suspend as early as possible during regular boot. This asserts that any temporary key from an oopsed suspend or from a failed or aborted resume is erased from the swap device. As a rule of thumb use encrypted swap to protect your data while your system is shut down or suspended. Additionally use the encrypted suspend image to prevent sensitive data from being stolen after resume. ”h]”(j)�”}”(hŒA:”h]”hŒA:”…”�”}”(hjŒ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´M_hjˆ ubj)�”}”(hhh]”(hÌ)�”}”(hŒÈFirst of all: it is not a replacement for dm-crypt encrypted swap. It cannot protect your computer while it is suspended. Instead it does protect from leaking sensitive data after resume from suspend.”h]”hŒÈFirst of all: it is not a replacement for dm-crypt encrypted swap. It cannot protect your computer while it is suspended. Instead it does protect from leaking sensitive data after resume from suspend.”…”�”}”(hj� h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´MAhjš ubhÌ)�”}”(hX-Think of the following: you suspend while an application is running that keeps sensitive data in memory. The application itself prevents the data from being swapped out. Suspend, however, must write these data to swap to be able to resume later on. Without suspend encryption your sensitive data are then stored in plaintext on disk. This means that after resume your sensitive data are accessible to all applications having direct access to the swap device which was used for suspend. If you don't need swap after resume these data can remain on disk virtually forever. Thus it can happen that your system gets broken in weeks later and sensitive data which you thought were encrypted and protected are retrieved and stolen from the swap device. To prevent this situation you should use 'Encrypt suspend image'.”h]”hX3Think of the following: you suspend while an application is running that keeps sensitive data in memory. The application itself prevents the data from being swapped out. Suspend, however, must write these data to swap to be able to resume later on. Without suspend encryption your sensitive data are then stored in plaintext on disk. This means that after resume your sensitive data are accessible to all applications having direct access to the swap device which was used for suspend. If you don’t need swap after resume these data can remain on disk virtually forever. Thus it can happen that your system gets broken in weeks later and sensitive data which you thought were encrypted and protected are retrieved and stolen from the swap device. To prevent this situation you should use ‘Encrypt suspend image’.”…”�”}”(hj« h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´MEhjš ubhÌ)�”}”(hXLDuring suspend a temporary key is created and this key is used to encrypt the data written to disk. When, during resume, the data was read back into memory the temporary key is destroyed which simply means that all data written to disk during suspend are then inaccessible so they can't be stolen later on. The only thing that you must then take care of is that you call 'mkswap' for the swap partition used for suspend as early as possible during regular boot. This asserts that any temporary key from an oopsed suspend or from a failed or aborted resume is erased from the swap device.”h]”hXRDuring suspend a temporary key is created and this key is used to encrypt the data written to disk. When, during resume, the data was read back into memory the temporary key is destroyed which simply means that all data written to disk during suspend are then inaccessible so they can’t be stolen later on. The only thing that you must then take care of is that you call ‘mkswap’ for the swap partition used for suspend as early as possible during regular boot. This asserts that any temporary key from an oopsed suspend or from a failed or aborted resume is erased from the swap device.”…”�”}”(hj¹ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´MRhjš ubhÌ)�”}”(hŒÎAs a rule of thumb use encrypted swap to protect your data while your system is shut down or suspended. Additionally use the encrypted suspend image to prevent sensitive data from being stolen after resume.”h]”hŒÎAs a rule of thumb use encrypted swap to protect your data while your system is shut down or suspended. Additionally use the encrypted suspend image to prevent sensitive data from being stolen after resume.”…”�”}”(hjÇ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M\hjš ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhjˆ ubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÿh³hÊh´M_hjbh²hubj)�”}”(hŒ!Q: Can I suspend to a swap file? ”h]”(j)�”}”(hŒQ:”h]”hŒQ:”…”�”}”(hjå h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´Mbhjá ubj)�”}”(hhh]”hÌ)�”}”(hŒCan I suspend to a swap file?”h]”hŒCan I suspend to a swap file?”…”�”}”(hjö h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Mbhjó ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjá ubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÿh³hÊh´Mbhjbh²hubj)�”}”(hXA: Generally, yes, you can. However, it requires you to use the "resume=" and "resume_offset=" kernel command line parameters, so the resume from a swap file cannot be initiated from an initrd or initramfs image. See swsusp-and-swap-files.txt for details. ”h]”(j)�”}”(hŒA:”h]”hŒA:”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´Mhhj ubj)�”}”(hhh]”hÌ)�”}”(hŒþGenerally, yes, you can. However, it requires you to use the "resume=" and "resume_offset=" kernel command line parameters, so the resume from a swap file cannot be initiated from an initrd or initramfs image. See swsusp-and-swap-files.txt for details.”h]”hXGenerally, yes, you can. However, it requires you to use the “resume=â€� and “resume_offset=â€� kernel command line parameters, so the resume from a swap file cannot be initiated from an initrd or initramfs image. See swsusp-and-swap-files.txt for details.”…”�”}”(hj% h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Mehj" ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj ubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÿh³hÊh´Mhhjbh²hubj)�”}”(hŒCQ: Is there a maximum system RAM size that is supported by swsusp? ”h]”(j)�”}”(hŒQ:”h]”hŒQ:”…”�”}”(hjC h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´Mkhj? ubj)�”}”(hhh]”hÌ)�”}”(hŒ?Is there a maximum system RAM size that is supported by swsusp?”h]”hŒ?Is there a maximum system RAM size that is supported by swsusp?”…”�”}”(hjT h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´MkhjQ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj? ubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÿh³hÊh´Mkhjbh²hubj)�”}”(hŒ%A: It should work okay with highmem. ”h]”(j)�”}”(hŒA:”h]”hŒA:”…”�”}”(hjr h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´Mnhjn ubj)�”}”(hhh]”hÌ)�”}”(hŒ!It should work okay with highmem.”h]”hŒ!It should work okay with highmem.”…”�”}”(hjƒ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Mnhj€ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjn ubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÿh³hÊh´Mnhjbh²hubj)�”}”(hŒ…Q: Does swsusp (to disk) use only one swap partition or can it use multiple swap partitions (aggregate them into one logical space)? ”h]”(j)�”}”(hŒQ:”h]”hŒQ:”…”�”}”(hj¡ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´Mrhj� ubj)�”}”(hhh]”hÌ)�”}”(hŒ�Does swsusp (to disk) use only one swap partition or can it use multiple swap partitions (aggregate them into one logical space)?”h]”hŒ�Does swsusp (to disk) use only one swap partition or can it use multiple swap partitions (aggregate them into one logical space)?”…”�”}”(hj² h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Mqhj¯ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj� ubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÿh³hÊh´Mrhjbh²hubj)�”}”(hŒ#A: Only one swap partition, sorry. ”h]”(j)�”}”(hŒA:”h]”hŒA:”…”�”}”(hjÐ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´MuhjÌ ubj)�”}”(hhh]”hÌ)�”}”(hŒOnly one swap partition, sorry.”h]”hŒOnly one swap partition, sorry.”…”�”}”(hjá h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´MuhjÞ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjÌ ubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÿh³hÊh´Muhjbh²hubj)�”}”(hŒÎQ: If my application(s) causes lots of memory & swap space to be used (over half of the total system RAM), is it correct that it is likely to be useless to try to suspend to disk while that app is running? ”h]”(j)�”}”(hŒQ:”h]”hŒQ:”…”�”}”(hjÿ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´Mzhjû ubj)�”}”(hhh]”hÌ)�”}”(hŒÊIf my application(s) causes lots of memory & swap space to be used (over half of the total system RAM), is it correct that it is likely to be useless to try to suspend to disk while that app is running?”h]”hŒÊIf my application(s) causes lots of memory & swap space to be used (over half of the total system RAM), is it correct that it is likely to be useless to try to suspend to disk while that app is running?”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Mxhj ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjû ubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÿh³hÊh´Mzhjbh²hubj)�”}”(hŒmA: No, it should work okay, as long as your app does not mlock() it. Just prepare big enough swap partition. ”h]”(j)�”}”(hŒA:”h]”hŒA:”…”�”}”(hj. h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´M~hj* ubj)�”}”(hhh]”hÌ)�”}”(hŒiNo, it should work okay, as long as your app does not mlock() it. Just prepare big enough swap partition.”h]”hŒiNo, it should work okay, as long as your app does not mlock() it. Just prepare big enough swap partition.”…”�”}”(hj? h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M}hj< ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj* ubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÿh³hÊh´M~hjbh²hubj)�”}”(hŒFQ: What information is useful for debugging suspend-to-disk problems? ”h]”(j)�”}”(hŒQ:”h]”hŒQ:”…”�”}”(hj] h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´M�hjY ubj)�”}”(hhh]”hÌ)�”}”(hŒBWhat information is useful for debugging suspend-to-disk problems?”h]”hŒBWhat information is useful for debugging suspend-to-disk problems?”…”�”}”(hjn h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M�hjk ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjY ubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÿh³hÊh´M�hjbh²hubj)�”}”(hX¦A: Well, last messages on the screen are always useful. If something is broken, it is usually some kernel driver, therefore trying with as little as possible modules loaded helps a lot. I also prefer people to suspend from console, preferably without X running. Booting with init=/bin/bash, then swapon and starting suspend sequence manually usually does the trick. Then it is good idea to try with latest vanilla kernel. ”h]”(j)�”}”(hŒA:”h]”hŒA:”…”�”}”(hjŒ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´MŠhjˆ ubj)�”}”(hhh]”hÌ)�”}”(hX¢Well, last messages on the screen are always useful. If something is broken, it is usually some kernel driver, therefore trying with as little as possible modules loaded helps a lot. I also prefer people to suspend from console, preferably without X running. Booting with init=/bin/bash, then swapon and starting suspend sequence manually usually does the trick. Then it is good idea to try with latest vanilla kernel.”h]”hX¢Well, last messages on the screen are always useful. If something is broken, it is usually some kernel driver, therefore trying with as little as possible modules loaded helps a lot. I also prefer people to suspend from console, preferably without X running. Booting with init=/bin/bash, then swapon and starting suspend sequence manually usually does the trick. Then it is good idea to try with latest vanilla kernel.”…”�”}”(hj� h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M„hjš ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjˆ ubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÿh³hÊh´MŠhjbh²hubj)�”}”(hŒfQ: How can distributions ship a swsusp-supporting kernel with modular disk drivers (especially SATA)? ”h]”(j)�”}”(hŒQ:”h]”hŒQ:”…”�”}”(hj» h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&•\I]”uh1jh³hÊh´MŽhj· ubj)�”}”(hhh]”hÌ)�”}”(hŒbHow can distributions ship a swsusp-supporting kernel with modular disk drivers (especially SATA)?”h]”hŒbHow can distributions ship a swsusp-supporting kernel with modular disk drivers (especially SATA)?”…”�”}”(hjÌ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M�hjÉ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj· ubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÿh³hÊh´MŽhjbh²hubj)�”}”(hŒ¾A: Well, it can be done, load the drivers, then do echo into /sys/power/resume file from initrd. Be sure not to mount anything, not even read-only mount, or you are going to lose your data. ”h]”(j)�”}”(hŒA:”h]”hŒA:”…”�”}”(hjê h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´M”hjæ ubj)�”}”(hhh]”hÌ)�”}”(hŒºWell, it can be done, load the drivers, then do echo into /sys/power/resume file from initrd. Be sure not to mount anything, not even read-only mount, or you are going to lose your data.”h]”hŒºWell, it can be done, load the drivers, then do echo into /sys/power/resume file from initrd. Be sure not to mount anything, not even read-only mount, or you are going to lose your data.”…”�”}”(hjû h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M‘hjø ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjæ ubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÿh³hÊh´M”hjbh²hubj)�”}”(hŒ'Q: How do I make suspend more verbose? ”h]”(j)�”}”(hŒQ:”h]”hŒQ:”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´M—hjubj)�”}”(hhh]”hÌ)�”}”(hŒ#How do I make suspend more verbose?”h]”hŒ#How do I make suspend more verbose?”…”�”}”(hj*h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M—hj'ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÿh³hÊh´M—hjbh²hubj)�”}”(hX9A: If you want to see any non-error kernel messages on the virtual terminal the kernel switches to during suspend, you have to set the kernel console loglevel to at least 4 (KERN_WARNING), for example by doing:: # save the old loglevel read LOGLEVEL DUMMY < /proc/sys/kernel/printk # set the loglevel so we see the progress bar. # if the level is higher than needed, we leave it alone. if [ $LOGLEVEL -lt 5 ]; then echo 5 > /proc/sys/kernel/printk fi IMG_SZ=0 read IMG_SZ < /sys/power/image_size echo -n disk > /sys/power/state RET=$? # # the logic here is: # if image_size > 0 (without kernel support, IMG_SZ will be zero), # then try again with image_size set to zero. if [ $RET -ne 0 -a $IMG_SZ -ne 0 ]; then # try again with minimal image size echo 0 > /sys/power/image_size echo -n disk > /sys/power/state RET=$? fi # restore previous loglevel echo $LOGLEVEL > /proc/sys/kernel/printk exit $RET ”h]”(j)�”}”(hŒA:”h]”hŒA:”…”�”}”(hjHh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´M·hjDubj)�”}”(hhh]”(hÌ)�”}”(hŒÐIf you want to see any non-error kernel messages on the virtual terminal the kernel switches to during suspend, you have to set the kernel console loglevel to at least 4 (KERN_WARNING), for example by doing::”h]”hŒÏIf you want to see any non-error kernel messages on the virtual terminal the kernel switches to during suspend, you have to set the kernel console loglevel to at least 4 (KERN_WARNING), for example by doing:”…”�”}”(hjYh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´MšhjVubj))�”}”(hXÙ# save the old loglevel read LOGLEVEL DUMMY < /proc/sys/kernel/printk # set the loglevel so we see the progress bar. # if the level is higher than needed, we leave it alone. if [ $LOGLEVEL -lt 5 ]; then echo 5 > /proc/sys/kernel/printk fi IMG_SZ=0 read IMG_SZ < /sys/power/image_size echo -n disk > /sys/power/state RET=$? # # the logic here is: # if image_size > 0 (without kernel support, IMG_SZ will be zero), # then try again with image_size set to zero. if [ $RET -ne 0 -a $IMG_SZ -ne 0 ]; then # try again with minimal image size echo 0 > /sys/power/image_size echo -n disk > /sys/power/state RET=$? fi # restore previous loglevel echo $LOGLEVEL > /proc/sys/kernel/printk exit $RET”h]”hXÙ# save the old loglevel read LOGLEVEL DUMMY < /proc/sys/kernel/printk # set the loglevel so we see the progress bar. # if the level is higher than needed, we leave it alone. if [ $LOGLEVEL -lt 5 ]; then echo 5 > /proc/sys/kernel/printk fi IMG_SZ=0 read IMG_SZ < /sys/power/image_size echo -n disk > /sys/power/state RET=$? # # the logic here is: # if image_size > 0 (without kernel support, IMG_SZ will be zero), # then try again with image_size set to zero. if [ $RET -ne 0 -a $IMG_SZ -ne 0 ]; then # try again with minimal image size echo 0 > /sys/power/image_size echo -n disk > /sys/power/state RET=$? fi # restore previous loglevel echo $LOGLEVEL > /proc/sys/kernel/printk exit $RET”…”�”}”hjgsbah}”(h]”h ]”h"]”h$]”h&]”j8j9uh1j(h³hÊh´MŸhjVubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhjDubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÿh³hÊh´M·hjbh²hubj)�”}”(hŒŸQ: Is this true that if I have a mounted filesystem on a USB device and I suspend to disk, I can lose data unless the filesystem has been mounted with "sync"? ”h]”(j)�”}”(hŒQ:”h]”hŒQ:”…”�”}”(hj…h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´M¼hj�ubj)�”}”(hhh]”hÌ)�”}”(hŒ›Is this true that if I have a mounted filesystem on a USB device and I suspend to disk, I can lose data unless the filesystem has been mounted with "sync"?”h]”hŒŸIs this true that if I have a mounted filesystem on a USB device and I suspend to disk, I can lose data unless the filesystem has been mounted with “syncâ€�?”…”�”}”(hj–h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Mºhj“ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj�ubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÿh³hÊh´M¼hjbh²hubj)�”}”(hX$A: That's right ... if you disconnect that device, you may lose data. In fact, even with "-o sync" you can lose data if your programs have information in buffers they haven't written out to a disk you disconnect, or if you disconnect before the device finished saving data you wrote. Software suspend normally powers down USB controllers, which is equivalent to disconnecting all USB devices attached to your system. Your system might well support low-power modes for its USB controllers while the system is asleep, maintaining the connection, using true sleep modes like "suspend-to-RAM" or "standby". (Don't write "disk" to the /sys/power/state file; write "standby" or "mem".) We've not seen any hardware that can use these modes through software suspend, although in theory some systems might support "platform" modes that won't break the USB connections. Remember that it's always a bad idea to unplug a disk drive containing a mounted filesystem. That's true even when your system is asleep! The safest thing is to unmount all filesystems on removable media (such USB, Firewire, CompactFlash, MMC, external SATA, or even IDE hotplug bays) before suspending; then remount them after resuming. There is a work-around for this problem. For more information, see Documentation/driver-api/usb/persist.rst. ”h]”(j)�”}”(hŒA:”h]”hŒA:”…”�”}”(hj´h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´MÖhj°ubj)�”}”(hhh]”(hÌ)�”}”(hXThat's right ... if you disconnect that device, you may lose data. In fact, even with "-o sync" you can lose data if your programs have information in buffers they haven't written out to a disk you disconnect, or if you disconnect before the device finished saving data you wrote.”h]”hX That’s right ... if you disconnect that device, you may lose data. In fact, even with “-o syncâ€� you can lose data if your programs have information in buffers they haven’t written out to a disk you disconnect, or if you disconnect before the device finished saving data you wrote.”…”�”}”(hjÅh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M¿hjÂubhÌ)�”}”(hŒ„Software suspend normally powers down USB controllers, which is equivalent to disconnecting all USB devices attached to your system.”h]”hŒ„Software suspend normally powers down USB controllers, which is equivalent to disconnecting all USB devices attached to your system.”…”�”}”(hjÓh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´MÄhjÂubhÌ)�”}”(hX¼Your system might well support low-power modes for its USB controllers while the system is asleep, maintaining the connection, using true sleep modes like "suspend-to-RAM" or "standby". (Don't write "disk" to the /sys/power/state file; write "standby" or "mem".) We've not seen any hardware that can use these modes through software suspend, although in theory some systems might support "platform" modes that won't break the USB connections.”h]”hXÚYour system might well support low-power modes for its USB controllers while the system is asleep, maintaining the connection, using true sleep modes like “suspend-to-RAMâ€� or “standbyâ€�. (Don’t write “diskâ€� to the /sys/power/state file; write “standbyâ€� or “memâ€�.) We’ve not seen any hardware that can use these modes through software suspend, although in theory some systems might support “platformâ€� modes that won’t break the USB connections.”…”�”}”(hjáh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´MÇhjÂubhÌ)�”}”(hXSRemember that it's always a bad idea to unplug a disk drive containing a mounted filesystem. That's true even when your system is asleep! The safest thing is to unmount all filesystems on removable media (such USB, Firewire, CompactFlash, MMC, external SATA, or even IDE hotplug bays) before suspending; then remount them after resuming.”h]”hXWRemember that it’s always a bad idea to unplug a disk drive containing a mounted filesystem. That’s true even when your system is asleep! The safest thing is to unmount all filesystems on removable media (such USB, Firewire, CompactFlash, MMC, external SATA, or even IDE hotplug bays) before suspending; then remount them after resuming.”…”�”}”(hjïh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´MÏhjÂubhÌ)�”}”(hŒmThere is a work-around for this problem. For more information, see Documentation/driver-api/usb/persist.rst.”h]”hŒmThere is a work-around for this problem. For more information, see Documentation/driver-api/usb/persist.rst.”…”�”}”(hjýh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´MÕhjÂubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhj°ubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÿh³hÊh´MÖhjbh²hubj)�”}”(hŒ;Q: Can I suspend-to-disk using a swap partition under LVM? ”h]”(j)�”}”(hŒQ:”h]”hŒQ:”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´MÙhjubj)�”}”(hhh]”hÌ)�”}”(hŒ7Can I suspend-to-disk using a swap partition under LVM?”h]”hŒ7Can I suspend-to-disk using a swap partition under LVM?”…”�”}”(hj,h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´MÙhj)ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÿh³hÊh´MÙhjbh²hubj)�”}”(hXäA: Yes and No. You can suspend successfully, but the kernel will not be able to resume on its own. You need an initramfs that can recognize the resume situation, activate the logical volume containing the swap volume (but not touch any filesystems!), and eventually call:: echo -n "$major:$minor" > /sys/power/resume where $major and $minor are the respective major and minor device numbers of the swap volume. uswsusp works with LVM, too. See http://suspend.sourceforge.net/ ”h]”(j)�”}”(hŒA:”h]”hŒA:”…”�”}”(hjJh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´MæhjFubj)�”}”(hhh]”(hÌ)�”}”(hXYes and No. You can suspend successfully, but the kernel will not be able to resume on its own. You need an initramfs that can recognize the resume situation, activate the logical volume containing the swap volume (but not touch any filesystems!), and eventually call::”h]”hXYes and No. You can suspend successfully, but the kernel will not be able to resume on its own. You need an initramfs that can recognize the resume situation, activate the logical volume containing the swap volume (but not touch any filesystems!), and eventually call:”…”�”}”(hj[h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´MÜhjXubj))�”}”(hŒ+echo -n "$major:$minor" > /sys/power/resume”h]”hŒ+echo -n "$major:$minor" > /sys/power/resume”…”�”}”hjisbah}”(h]”h ]”h"]”h$]”h&]”j8j9uh1j(h³hÊh´MáhjXubhÌ)�”}”(hŒ]where $major and $minor are the respective major and minor device numbers of the swap volume.”h]”hŒ]where $major and $minor are the respective major and minor device numbers of the swap volume.”…”�”}”(hjwh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´MãhjXubhÌ)�”}”(hŒAuswsusp works with LVM, too. See http://suspend.sourceforge.net/”h]”(hŒ"uswsusp works with LVM, too. See ”…”�”}”(hj…h²hh³Nh´NubhŒ reference”“”)�”}”(hŒhttp://suspend.sourceforge.net/”h]”hŒhttp://suspend.sourceforge.net/”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”j‘uh1j�hj…ubeh}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´MæhjXubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhjFubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÿh³hÊh´Mæhjbh²hubj)�”}”(hX Q: I upgraded the kernel from 2.6.15 to 2.6.16. Both kernels were compiled with the similar configuration files. Anyway I found that suspend to disk (and resume) is much slower on 2.6.16 compared to 2.6.15. Any idea for why that might happen or how can I speed it up? ”h]”(j)�”}”(hŒQ:”h]”hŒQ:”…”�”}”(hj´h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´Mìhj°ubj)�”}”(hhh]”hÌ)�”}”(hXI upgraded the kernel from 2.6.15 to 2.6.16. Both kernels were compiled with the similar configuration files. Anyway I found that suspend to disk (and resume) is much slower on 2.6.16 compared to 2.6.15. Any idea for why that might happen or how can I speed it up?”h]”hXI upgraded the kernel from 2.6.15 to 2.6.16. Both kernels were compiled with the similar configuration files. Anyway I found that suspend to disk (and resume) is much slower on 2.6.16 compared to 2.6.15. Any idea for why that might happen or how can I speed it up?”…”�”}”(hjÅh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´MéhjÂubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj°ubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÿh³hÊh´Mìhjbh²hubj)�”}”(hXÚA: This is because the size of the suspend image is now greater than for 2.6.15 (by saving more data we can get more responsive system after resume). There's the /sys/power/image_size knob that controls the size of the image. If you set it to 0 (eg. by echo 0 > /sys/power/image_size as root), the 2.6.15 behavior should be restored. If it is still too slow, take a look at suspend.sf.net -- userland suspend is faster and supports LZF compression to speed it up further.”h]”(j)�”}”(hŒA:”h]”hŒA:”…”�”}”(hjãh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´Möhjßubj)�”}”(hhh]”(hÌ)�”}”(hŒ’This is because the size of the suspend image is now greater than for 2.6.15 (by saving more data we can get more responsive system after resume).”h]”hŒ’This is because the size of the suspend image is now greater than for 2.6.15 (by saving more data we can get more responsive system after resume).”…”�”}”(hjôh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´MïhjñubhÌ)�”}”(hXCThere's the /sys/power/image_size knob that controls the size of the image. If you set it to 0 (eg. by echo 0 > /sys/power/image_size as root), the 2.6.15 behavior should be restored. If it is still too slow, take a look at suspend.sf.net -- userland suspend is faster and supports LZF compression to speed it up further.”h]”hXEThere’s the /sys/power/image_size knob that controls the size of the image. If you set it to 0 (eg. by echo 0 > /sys/power/image_size as root), the 2.6.15 behavior should be restored. If it is still too slow, take a look at suspend.sf.net -- userland suspend is faster and supports LZF compression to speed it up further.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Móhjñubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhjßubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÿh³hÊh´Möhjbh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1húhjQh²hh³hÊh´Nubeh}”(h]”Œfrequently-asked-questions”ah ]”h"]”Œfrequently asked questions”ah$]”h&]”uh1hµhh·h²hh³hÊh´Kƒubeh}”(h]”Œ swap-suspend”ah ]”h"]”Œ swap suspend”ah$]”h&]”uh1hµhhh²hh³hÊh´Kubeh}”(h]”h ]”h"]”h$]”h&]”Œsource”hÊuh1hŒcurrent_source”NŒ current_line”NŒsettings”Œdocutils.frontend”ŒValues”“”)�”}”(hºNŒ generator”NŒ datestamp”NŒ source_link”NŒ source_url”NŒ toc_backlinks”Œentry”Œfootnote_backlinks”KŒ sectnum_xform”KŒstrip_comments”NŒstrip_elements_with_classes”NŒ strip_classes”NŒ report_level”KŒ halt_level”KŒexit_status_level”KŒdebug”NŒwarning_stream”NŒ traceback”ˆŒinput_encoding”Œ utf-8-sig”Œinput_encoding_error_handler”Œstrict”Œoutput_encoding”Œutf-8”Œoutput_encoding_error_handler”jUŒerror_encoding”Œutf-8”Œerror_encoding_error_handler”Œbackslashreplace”Œ language_code”Œen”Œrecord_dependencies”NŒconfig”NŒ id_prefix”hŒauto_id_prefix”Œid”Œ dump_settings”NŒdump_internals”NŒdump_transforms”NŒdump_pseudo_xml”NŒexpose_internals”NŒstrict_visitor”NŒ_disable_config”NŒ_source”hÊŒ _destination”NŒ _config_files”]”Œ7/var/lib/git/docbuild/linux/Documentation/docutils.conf”aŒfile_insertion_enabled”ˆŒ raw_enabled”KŒline_length_limit”M'Œpep_references”NŒ pep_base_url”Œhttps://peps.python.org/”Œpep_file_url_template”Œpep-%04d”Œrfc_references”NŒ rfc_base_url”Œ&https://datatracker.ietf.org/doc/html/”Œ tab_width”KŒtrim_footnote_reference_space”‰Œsyntax_highlight”Œlong”Œ smart_quotes”ˆŒsmartquotes_locales”]”Œcharacter_level_inline_markup”‰Œdoctitle_xform”‰Œ docinfo_xform”KŒsectsubtitle_xform”‰Œ image_loading”Œlink”Œembed_stylesheet”‰Œcloak_email_addresses”ˆŒsection_self_link”‰Œenv”NubŒreporter”NŒindirect_targets”]”Œsubstitution_defs”}”Œsubstitution_names”}”Œrefnames”}”Œrefids”}”Œnameids”}”(j/j,jïjìjçjäjNjKj'j$uŒ nametypes”}”(j/‰jï‰jç‰jN‰j'‰uh}”(j,h·jìjPjäjojKjòj$jQuŒ footnote_refs”}”Œ citation_refs”}”Œ autofootnotes”]”Œautofootnote_refs”]”Œsymbol_footnotes”]”Œsymbol_footnote_refs”]”Œ footnotes”]”Œ citations”]”Œautofootnote_start”KŒsymbol_footnote_start”KŒ id_counter”Œ collections”ŒCounter”“”}”…”R”Œparse_messages”]”Œtransform_messages”]”Œ transformer”NŒ include_log”]”Œ decoration”Nh²hub.