ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Sergei Dolmatov <sergei@dolmatov.dsb.ru>
To: sisyphus@altlinux.ru
Subject: Re: [sisyphus] Re: Boot from Soft-RAID
Date: Fri, 21 Feb 2003 20:43:17 +0800
Message-ID: <20030221124317.GE27045@dolmatov.dsb.ru> (raw)
In-Reply-To: <3E5606AE.4050407@symmetron.msk.ru>

On Fri, Feb 21, 2003 at 01:59:58PM +0300, Владимир wrote:
> Michael Shigorin пишет:
> 
> >On Wed, Feb 19, 2003 at 02:34:57PM +0300, Владимир wrote:
> > 
> >
> >PS: вообще-то все плохо, т.к. в редхате оно само и стремительным
> >домкратом, без организации стройной системы костылей и
> >веревочек...
> > 
> >
> Здесь тоже никаких "веревочек".
> В сценарии переместили момент инициализации raid и все рассыпалось.

Попробую опять вмешаться и объяснить ситуацию еще раз, насколько я понял
положение дел с RAID-1 на 2.4.20-alt0.8 (просто под рукой оказались именно
эти исходники, но, кажется, это обще для 2.4).

Автоопределение и автозапуск RAID-1 массива в ядре требует загрузки модуля
md-personality-3, который при обычных условиях является алиасом для
raid1.o, что и должен определить modprobe.

Загрузка этого модуля (md-personality-3) выполняется ядром посредством
(по-моему) жесткого вызова '/sbin/modprobe -s -k -- md-personality-3'. В
текущем ramdisk, создаваемом mkinitrd, нет ни каталога /sbin, ни,
соответственно, modprobe в нем. busybox, поставляемый с mkinitrd, собран
без поддержки modprobe.

Какие действия были выполнены мной...

1. Создан ramdisk, пересобран busybox с поддержкой modprobe (и с небольшим
фиксом по поводу пропущенного пробела) и вставлен вместо sh в рамдиске,
создан симлинк modprobe -> sh.

2. Каталог /bin скопирован в /sbin (перед этим было испробовано создание
симлинка, не помогло тоже).

3. raid1.o скопирован в md-personality-3.o.

Почему-то мне кажется, что остается только один путь - перебрать ядро с
вкомпиленной поддержкой raid1. Путь не самый желаемый (ядра я не собирал
уже года 1.5 - 2), поэтому все еще надеюсь, что выход найдется.

Жду помощи. :)

--
Regards,
Sergei Dolmatov.
---
A computer lets you make more mistakes faster than any other invention,
with the possible exceptions of handguns and Tequilla.
	-- Mitch Ratcliffe


  reply	other threads:[~2003-02-21 12:43 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-19  2:59 [sisyphus] " Sergei Dolmatov
2003-02-19  7:26 ` Владимир
2003-02-19  8:01   ` Sergei Dolmatov
2003-02-19  8:43     ` Владимир
2003-02-19 10:21       ` Sergei Dolmatov
2003-02-19 11:34         ` Владимир
2003-02-21 10:21           ` [sisyphus] " Michael Shigorin
2003-02-21 10:59             ` Владимир
2003-02-21 12:43               ` Sergei Dolmatov [this message]
2003-02-19  8:17 ` Поведение busybox [was: Re: [sisyphus] Boot from Soft-RAID] Sergei Dolmatov
2003-02-19  8:54   ` [sisyphus] " Владимир
2003-02-19 10:25     ` Sergei Dolmatov

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=20030221124317.GE27045@dolmatov.dsb.ru \
    --to=sergei@dolmatov.dsb.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