From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 1 Mar 2005 15:45:30 +0200 From: Alex Yustasov To: sisyphus@altlinux.ru Subject: Re: [sisyphus] swap and 2.6wks Message-ID: <20050301134530.GA10235@yust.work> Mail-Followup-To: Alex Yustasov , sisyphus@altlinux.ru References: <42246C8B.3050503@iop.kiev.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <42246C8B.3050503@iop.kiev.ua> User-Agent: Mutt/1.5.8+cvs20050213i X-AV-Checked: ClamAV using ClamSMTP 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, 01 Mar 2005 13:45:06 -0000 Archived-At: List-Archive: On Tue, Mar 01, 2005 at 03:22:19PM +0200, Andriy Dobrovol's'kii wrote: > Hi, > А что ядру uname -r > 2.6.10-wks26-up-alt5 > не нравится в свапе? Почему он ругается: > version 0 swap is no longer supported. Use mkswap -v1 /dev/hda3 > и не может его активировать при загрузке? Как лечить? wks26 собрано с swsusp2, которому нужен swap, как оказалось еще и -v1. В man mkswap написано If no -v option is given, mkswap will default to new style, but use old style if the current kernel is older than 2.1.117 (and also if PAGE_SIZE is less than 2048). The new style header does not touch the first block, so may be preferable, in case you have a boot loader or disk label there. If you need to use both 2.0 and 2.2 kernels, use the -v0 option when creating the swapspace. Вам обязательно нужен старый swap? Лечить swapoff /dev/hda3 mkswap /dev/hda3 swapon /dev/hda3