[d-kernel] std26-up-2.6.9 и swsusp2

Sviataslau Svirydau Sviataslau_Svirydau на epam.com
Пт Окт 29 19:41:21 MSD 2004


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 <Sviataslau_Svirydau at epam.com>
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



Подробная информация о списке рассылки devel-kernel