ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Alexander Bokovoy <ab@altlinux.org>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] Desktop Personal & Lite (20071018)
Date: Sun, 21 Oct 2007 17:11:25 +0400
Message-ID: <471B4FFD.3030407@altlinux.org> (raw)
In-Reply-To: <20071021130307.GC5023@procyon.home>

Sergey Vlasov пишет:
>>> Такого быть не должно.  Опять где-то race?
>> Тебе виднее. Пока я не добавил dm-mod, ничего не работало.
> 
> Как-то надо исследовать эту проблему - если ничего, кроме модуля, не 
> добавлялось, непонятно, как его наличие влияет на загрузку системы 
> (сейчас в initramfs нет ни одной программы, которая могла бы хоть 
> как-то управлять dm, а сам по себе dm-mod ничего не делает).
> 
> Правила из 64-device-mapper.rules в initramfs сейчас фактически 
> бесполезны ещё и по другой причине - там нет /sbin/dmsetup; сработает
>  только создание /dev/mapper/control при загрузке dm-mod.
> 
> Какими командами создавались образы initrd?  Если сделать два образа,
>  отличающихся только опцией --with dm-mod, проблема воспроизводится? 
> Можно ещё посмотреть вывод mkinitrd с опциями -vd (или это сразу в 
> багзиллу...).
mkinitrd /mnt/sda1/boot/initrd-2.6.18-std-smp-alt8.img --preload
ehci_hcd --preload uhci_hcd --preload usb_storage --preload dm_mod
--with ext3 -v -f -d --type initramfs 2.6.18-std-smp-alt8
Или около того. mkinitrd -- с удаленным блокированием usb_storage. Точно
помню, что без указания --preload dm_mod ничего не грузилось, не могло
найти UUID=.....

> На самом деле ATTR{removable}=="1" для USB-Flash - это неправильно 
> (фактически смена носителя не происходит - удаляется устройство 
> целиком); такое значение было бы правильным для устройств типа 
> кардридеров.  Возможно, производители USB-Flash выставляют такое 
> значение с целью отключения кеширования в Windows.
Да, тенденции в новых системах таковы, что половина устройств
засовывается внутри машины на шину USB (в ClassmatePC там сидят
внутренние flash-диск, wireless adaptor, card-reader). При таком подходе
рассматривать USB как шину внешних устройств уже не получается.

-- 
/ Alexander Bokovoy
Samba Team                      http://www.samba.org/
ALT Linux Team                  http://www.altlinux.org/
Midgard Project Ry              http://www.midgard-project.org/



  reply	other threads:[~2007-10-21 13:11 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-19  8:39 Anton V. Boyarshinov
2007-10-20  5:56 ` Alexander Bokovoy
2007-10-20  6:15   ` Владимир Черный
2007-10-20  6:23     ` Alexander Bokovoy
2007-10-20  6:37     ` Alexander Bokovoy
2007-10-20  6:46       ` Michael Shigorin
2007-10-20  6:51         ` Alexander Bokovoy
2007-10-20  6:56           ` Michael Shigorin
2007-10-20  7:07             ` Alexander Bokovoy
2007-10-20  8:37               ` Anton Farygin
2007-10-20  9:08               ` Alexander Bokovoy
2007-10-20 11:58                 ` Michael Shigorin
2007-10-20 10:01               ` Alexander Bokovoy
2007-10-20 10:24                 ` Dmitry V. Levin
2007-10-20 10:36                   ` Alexander Bokovoy
2007-10-20  8:36             ` Anton Farygin
2007-10-20  8:36           ` Anton Farygin
2007-10-20 10:17             ` Alexander Bokovoy
2007-10-20 10:19           ` Dmitry V. Levin
2007-10-20 10:28             ` Alexander Bokovoy
2007-10-20  6:50       ` Alexander Bokovoy
2007-10-20  8:38         ` Anton Farygin
2007-10-20  9:58         ` Sergey Bolshakov
2007-10-20 10:34           ` Alexander Bokovoy
2007-10-20 11:04             ` Anton Farygin
2007-10-20  9:42       ` Sergey Vlasov
2007-10-20 10:46         ` Alexander Bokovoy
2007-10-20 11:05           ` Anton Farygin
2007-10-20 11:35           ` Vladimir A. Svyatoshenko
2007-10-20 12:40             ` Alexander Bokovoy
2007-10-20 16:16               ` Anton Farygin
2007-10-20 16:59                 ` Alexander Bokovoy
2007-10-20 18:15                   ` Anton Farygin
2007-10-20 19:58                     ` Sergey Vlasov
2007-10-20 22:16                       ` Alexander Bokovoy
2007-10-21  8:50                         ` Sergey Vlasov
2007-10-21  9:28                           ` Alexander Bokovoy
2007-10-21 13:03                             ` Sergey Vlasov
2007-10-21 13:11                               ` Alexander Bokovoy [this message]
2007-10-21 12:03                         ` Michael Shigorin
2007-10-21 12:09                           ` Alexander Bokovoy
2007-10-21 12:42                           ` Valery V. Inozemtsev
2007-10-21 12:45                             ` Michael Shigorin
2007-10-21 13:00                               ` Valery V. Inozemtsev
2007-10-21 16:41                               ` Andrey Rahmatullin
2007-10-21 17:14                                 ` Valery V. Inozemtsev
2007-10-20 19:34                   ` Michael Shigorin

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=471B4FFD.3030407@altlinux.org \
    --to=ab@altlinux.org \
    --cc=sisyphus@lists.altlinux.org \
    /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