ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Led <led@ukr-fin.com.ua>
To: sisyphus@altlinux.ru
Subject: Re: [sisyphus] Cryptoloop в alt12 ядре
Date: Sat, 6 Dec 2003 19:47:28 +0200
Message-ID: <200312061947.28340.led@ukr-fin.com.ua> (raw)
In-Reply-To: <20031205164247.GC30696@master.mivlgu.local>

В сообщении от Пт 05 Дек 2003 18:42 Sergey Vlasov написал(a):
> On Fri, Dec 05, 2003 at 06:37:55PM +0200, Led wrote:
> > В сообщении от Пт 05 Дек 2003 18:18 Sergey Vlasov написал(a):
> > > On Fri, Dec 05, 2003 at 03:18:28PM +0200, Alex Yustasov wrote:
> > > > Здравствуйте!
> > > > Кажется, с alt11 ядра поломалось cryptoloop.
> > > > Cipher-ы не загружаюся автоматически, а если и сделать
> > > > modprobe cipher-blowfish перед losetup, то получаю
> > > >
> > > > The cipher does not exist, or a cipher module needs to be loaded into
> > > > the kernel ioctl: LOOP_SET_STATUS: Invalid argument
> > >
> > > У меня после modprobe cryptoloop всё остальное грузится автоматически.
> >
> > Т.е. как это? Все cipher-*.o модули? или первый попавшийся?
>
> Естественно, только запрошенный.
Т.е. прописанный в modules.dep? Логично, но... не универсально :(

>
> > Может было бы правильно, чтобы после modprobe cipher-aes.o грузился бы
> > автоматически cryptoloop.o? Или cipher-*.o может испльзоваться для
> > каких-то целей и без него?
>
> Есть ещё как минимум ipsec_tunnel.
Тогда понятно...
В таком случае ИМХО необходимо исправить losetup, чтоб он выдавал сообщение об 
отсутствии cryptoloop.o, не говорил об отсутвии cipher-*.o (который уже 
загружен). Потому как в данный момент его сообщения только сбивают с толку.
А в идеале, неплохо бы было, чтоб он сначала попытался загрузить cryptoloop.o 
перед тем как выдавать ошибку.

>
> cryptoloop не может грузиться автоматически - в модуле loop отсутствует
> поддержка для этого.  А вот модули cipher-* загружаются по запросу.
loop и не должен грузить cryptoloop - вполне логично... Или я неправильно 
понял?

Led.

      reply	other threads:[~2003-12-06 17:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-05 13:18 Alex Yustasov
2003-12-05 16:07 ` Serge Polkovnikov
2003-12-06  8:11   ` Alex Yustasov
2003-12-05 16:18 ` Sergey Vlasov
2003-12-05 16:37   ` Led
2003-12-05 16:42     ` Sergey Vlasov
2003-12-06 17:47       ` Led [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=200312061947.28340.led@ukr-fin.com.ua \
    --to=led@ukr-fin.com.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