ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Andriy Dobrovol's'kii" <dobr@iop.kiev.ua>
To: ALT Linux Sisyphus discussion list <sisyphus@altlinux.ru>
Subject: Re: [sisyphus] swap and 2.6wks
Date: Tue, 01 Mar 2005 16:05:11 +0200
Message-ID: <42247697.8060902@iop.kiev.ua> (raw)
In-Reply-To: <20050301134530.GA10235@yust.work>

Alex Yustasov wrote:
> 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?
> 
Как я понял, он нужен для ядер младше 2.2. У меня таких нет. :)
> Лечить
> swapoff /dev/hda3
> mkswap /dev/hda3
> swapon /dev/hda3
Достаточно две последних команды, в моем случае, ну и ключик -v1 
тоже вписал. Т.к. он его просто проигнорировал при запуске.
Короче, уже подключил.
-- 
Rgrds,
Andriy
*********************************************************************
email: dobr at iop dot kiev dot ua            Kyiv, Ukraine
Phone: (380-44)   265-7824            Department of Gas Electronics
Fax:   (380-44)   265-2329             Institute of Physics of NASU
*********************************************************************


      reply	other threads:[~2005-03-01 14:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-01 13:22 Andriy Dobrovol's'kii
2005-03-01 13:40 ` Epiphanov Sergei
2005-03-01 13:45 ` Alex Yustasov
2005-03-01 14:05   ` Andriy Dobrovol's'kii [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42247697.8060902@iop.kiev.ua \
    --to=dobr@iop.kiev.ua \
    --cc=sisyphus@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git