ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Alex Yustasov <yust@anti-leasure.ru>
To: sisyphus@altlinux.ru
Subject: Re: [sisyphus] swap and 2.6wks
Date: Tue, 1 Mar 2005 15:45:30 +0200
Message-ID: <20050301134530.GA10235@yust.work> (raw)
In-Reply-To: <42246C8B.3050503@iop.kiev.ua>

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


  parent reply	other threads:[~2005-03-01 13:45 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 [this message]
2005-03-01 14:05   ` Andriy Dobrovol's'kii

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=20050301134530.GA10235@yust.work \
    --to=yust@anti-leasure.ru \
    --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