From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <418264A1.6030008@epam.com> Date: Fri, 29 Oct 2004 18:41:21 +0300 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: ru, en-us, en MIME-Version: 1.0 To: ALT Linux kernel packages development Subject: Re: [d-kernel] std26-up-2.6.9 =?KOI8-R?Q?=C9_swsusp2?= References: <20041027092426.GA6856@server.by> In-Reply-To: <20041027092426.GA6856@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: 29 Oct 2004 15:41:11.0317 (UTC) FILETIME=[B739A450:01C4BDCD] X-BeenThere: devel-kernel@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ALT Linux kernel packages development List-Id: ALT Linux kernel packages development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Oct 2004 15:42:23 -0000 Archived-At: List-Archive: List-Post: Alex Yustasov wrote: >Здравствуйте. >Собрал 2.6.9 и swsusp2-2.1. Пока только up. > > Взял swsusp2-2.1 из дедала, собрал с ядром 2.6.9... не работает :( Вернее так: suspend проходит нормально, но во время загрузки ругается на то, что "Failed to translate the device name into a device id"... в commandline ядру передается "resume2=swap:/dev/hda5" Вываливает такое: ============================================= Software Suspend Core Software Suspend text mode support loading. Software Suspend LZF Compression Driver registering. Software Suspend Swap Writer registering. ... === Software Suspend === BIG FAT WARNING!! Failed to translate the device name into a device id. If you want to use the current suspend image, reboot and try again with the same kernel that you suspended from. If you want to forget that image, continue and the image will be erased. Press SPACE to reboot or C to continue booting with this kernel Software Suspend 2.1: Sorry. Location looks invalid. Software Suspend 2.1: Not able to successfully parse this resume device. Suspending disabled. Software Suspend 2.1: Missing or invalid storage location (resume2= parameter). Please correct and rerun lilo (or equivalent) before suspending. ============================================= После этого еще и своп не инициируется, приходиться его пересоздавать... И вот если после mkswap /dev/hda5 swapon -a сделать echo -n 'swap:/dev/hda5' >/proc/software_suspend/resume2 то по логам видно, что он активируется... Software Suspend 2.1: Swap space signature found. Software Suspend 2.1: Suspending enabled. и даже снова можно засаспендиться... только бесполезно :( -- Best Regards, Sviataslau Svirydau phone: +375 (17) 210 1662, ext. 1503 fax: +375 (17) 210 1168 mobile: +375 (29) 641 4214 -- "An innovation a day keeps the monopolist away" - Alan Cox when releasing linux-2.4.1ac19