From: Hannes Reinecke <hare-l3A5Bk7waGM@public.gmane.org>
To: Harald Hoyer <harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Cc: Jeremy Katz <katzj-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: module 90kernel-modules-loaded
Date: Mon, 09 Mar 2009 11:56:03 +0100 [thread overview]
Message-ID: <49B4F5C3.80203@suse.de> (raw)
In-Reply-To: <49B4F43F.6070304-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Hi all,
Harald Hoyer wrote:
> Jeremy Katz wrote:
>> On Friday, March 06 2009, Victor Lowther said:
>>> On Fri, 2009-03-06 at 15:39 -0500, Bill Nottingham wrote:
>>>> Victor Lowther (victor.lowther-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org) said:
>>>>>>> http://git.surfsite.org/dracut.git
>>>>>>> git://surfsite.org/pub/git/dracut.git
>>>>>> Wasn't the entire point to make the initramfs generic?
>>>>> No, to make the initramfs generator generic. A subtle but important
>>>>> distinction.
>>>> Nope. The plan was (quoting earlier mails to the list, from the
>>>> creators...):
>>>>
>>>> ...
>>>> [I]nstead of scripts hard-coded to do various things, we depend on
>>>> udev to create device nodes for us and then when we have the
>>>> rootfs's device node, we mount and carry on
>>> We do this just fine. Udev is the engine that drives everything in a
>>> dracut-generated initramfs -- the additional scripts are there in the
>>> initramfs to handle things that udev does not handle gracefully. If you
>>> see some functionality currently handles in a script that udev could
>>> handle better, please implement it.
>>
>> The problem is the direction seems to be "hm, udev can't do this, guess
>> we'll make a hook" rather than "fix udev and the underlying tools".
>> Yes, it means it's harder. And yes it means that distros have to get
>> updates for everything to work. But otherwise, we remain in the past
>> with piles of scripts doing most things.
>>
>
> Problems so far:
> - dmraid (raid assembly)
> - device mapper handled /dev/ symlinks
That's hardly a udev issue. We should rather be fixing device-mapper to
work together with udev.
But yes, dmraid (and multipath) are the hard problems.
dmraid is probably okay, as you can eg just add a '--export' to dmraid
to print out all found signatures. Then write some rules which latch
on these exported variables and start dmraid if all component devices
have been discovered. Easily done with eg the 'collect' utility from
udev extras.
Problem with multipath here is that you can't detect a multipathed
device a priori. It's basically a policy decision whether the user
wants to start multipath or not. So you basically have to write
some device-specific udev rules for enabling multipath on some
devices.
The hard part here is to remove the component device from the list
of eligible devices so that eg LVM doesn't erroneously tries to
scan from a multipath or dmraid component device.
Cheers,
Hannes
--
Dr. Hannes Reinecke zSeries & Storage
hare-l3A5Bk7waGM@public.gmane.org +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Markus Rex, HRB 16746 (AG Nürnberg)
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2009-03-09 10:56 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-06 15:39 module 90kernel-modules-loaded Harald Hoyer
[not found] ` <49B1439A.7030208-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2009-03-06 16:08 ` Bill Nottingham
[not found] ` <20090306160822.GD10711-Zdt1ptygihhQcNjhGXsBABcY2uh10dtjAL8bYrjMMd8@public.gmane.org>
2009-03-06 16:11 ` Harald Hoyer
2009-03-06 17:43 ` Victor Lowther
[not found] ` <1236361391.6517.0.camel-76q0VzFBGGr21HsLBtNmTckMGDeJXHgy@public.gmane.org>
2009-03-06 20:39 ` Bill Nottingham
[not found] ` <20090306203921.GA28154-Zdt1ptygihhQcNjhGXsBABcY2uh10dtjAL8bYrjMMd8@public.gmane.org>
2009-03-06 23:35 ` Victor Lowther
[not found] ` <1236382532.5147.38.camel-76q0VzFBGGr21HsLBtNmTckMGDeJXHgy@public.gmane.org>
2009-03-09 3:11 ` Jeremy Katz
[not found] ` <20090309031111.GC3983-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2009-03-09 10:37 ` Victor Lowther
[not found] ` <1236595028.14649.40.camel-76q0VzFBGGr21HsLBtNmTckMGDeJXHgy@public.gmane.org>
2009-03-09 13:47 ` Jeremy Katz
[not found] ` <20090309134706.GC4221-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2009-03-09 14:05 ` Victor Lowther
2009-03-10 8:06 ` Adam Spragg
[not found] ` <49B61F89.4020902-2iSS7ArDF14@public.gmane.org>
2009-03-10 9:57 ` Victor Lowther
[not found] ` <1236679030.14649.45.camel-76q0VzFBGGr21HsLBtNmTckMGDeJXHgy@public.gmane.org>
2009-03-10 11:01 ` Adam Spragg
[not found] ` <37747.87.194.176.107.1236682901.squirrel-g8V2OS1ZTlk2rALx+bCG9rVCufUGDwFn@public.gmane.org>
2009-03-10 14:41 ` Victor Lowther
2009-03-10 15:14 ` Dave Jones
[not found] ` <20090310151412.GA2996-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2009-03-12 11:36 ` Victor Lowther
2009-03-09 10:49 ` Harald Hoyer
[not found] ` <49B4F43F.6070304-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2009-03-09 10:56 ` Hannes Reinecke [this message]
2009-03-07 8:40 ` Seewer Philippe
2009-03-07 9:09 ` Seewer Philippe
[not found] ` <49B239AF.3030609-omB+W0Dpw2o@public.gmane.org>
2009-03-09 10:40 ` Bogdan Costescu
[not found] ` <Pine.LNX.4.64.0903091133490.9051-qcrbbFV08EMdmw7VdWMmteH3J2bgQ+4lG9Ur7JDdleE@public.gmane.org>
2009-03-09 12:46 ` Seewer Philippe
2009-03-09 19:02 ` Bill Nottingham
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=49B4F5C3.80203@suse.de \
--to=hare-l3a5bk7wagm@public.gmane.org \
--cc=harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=katzj-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.