From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <4190C7DD.1050905@epam.com> Date: Tue, 09 Nov 2004 15:36:29 +0200 From: Sviataslau Svirydau Organization: EPAm User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040808 X-Accept-Language: en, ru, en-us MIME-Version: 1.0 To: ALT Linux Sisyphus discussion list Subject: Re: [sisyphus] =?KOI8-R?Q?=EE=CF=D7=D9=C5_hibernate_=C9_ke?= =?KOI8-R?Q?rnel-feat-swsusp26?= References: <20041109132408.GA11700@server.by> In-Reply-To: <20041109132408.GA11700@server.by> X-Enigmail-Version: 0.85.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 09 Nov 2004 13:36:38.0554 (UTC) FILETIME=[23A7BFA0:01C4C661] X-BeenThere: sisyphus@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ALT Linux Sisyphus discussion list List-Id: ALT Linux Sisyphus discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Nov 2004 13:36:44 -0000 Archived-At: List-Archive: Alex Yustasov wrote: >Здравствуйте. >В сизиф отправил новый hibernate. Версия скрипта 1.0. >Я разделил конфиги для 2.4 и 2.6 ядер. Соответственно >/etc/hibernate/hibernate2.4.conf и >/etc/hibernate/hibernate2.6.conf. > > Здорово! А можно еще запаковать директорию /etc/hibernate/scriptlets.d/ (чтоб можно было туда свои скрипты подкладывать, не пихая их в /usr/share/...)? >Для 2.4 лучше ставить UnloadAllModules yes. >Для 2.6 все модули выгружать нельзя, поэтому >UnloadBlacklistedModules yes и >UnloadModules button (начиная с swsusp-2.1.1 не работает >модуль button в 2.6.9 после resume. Говорят виноват ACPI) > > Может стоит его тогда добавить в blacklist? Еще для себя в blacklist я добавил модуль cifs (не работает он после просыпания, только кернелупсы генерит) >В даедалус ушел kernel-feat-swsusp26 с версией патча >swsusp-2.1.4. >Там ничиная с 2.1.3 появился Device Mapper Support. > >This release adds support for device-mapper functionality via a new >suspend_dm.ko module. The sole function of the new suspend module is to >get the device mapper to allocate enough memory for the I/O we will be >doing. Device mappings are set up just like normal. I tested using >encrypted swap, for example. You should note that you'll need to do the >dmsetup in your initrd, which will imply having a statically compiled >dmsetup program. I can supply a sample initrd if anyone wants it. > > -- Best Regards, Sviataslau Svirydau phone: +375 (17) 210 1662, ext. 1503 fax: +375 (17) 210 1168 mobile: +375 (29) 641 4214 -- Serocki's Stricture: Marriage is always a bachelor's last option.