* 90kernel-modules-loaded must be --hostonly
@ 2009-05-28 18:26 Warren Togami
[not found] ` <4A1ED743.3010107-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Warren Togami @ 2009-05-28 18:26 UTC (permalink / raw)
To: initramfs
> /sbin/lsmod | while read mod rest; do
> instmods "$mod"
> done
This part relies on looking at the running system, and thus must not be
part of the default dracut run. This seems OK for --hostonly mode.
Changing this will likely break some users depending on modules not
otherwise pulled in elsewhere? Should I just go ahead and see what breaks?
>
> [ -f /etc/modprobe.conf ] && dracut_install /etc/modprobe.conf
> dracut_install $(find /etc/modprobe.d/ -type f )
This part is fine.
Warren Togami
wtogami-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org
--
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 90kernel-modules-loaded must be --hostonly
[not found] ` <4A1ED743.3010107-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
@ 2009-05-29 4:56 ` Warren Togami
[not found] ` <4A1F6B12.5050001-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Warren Togami @ 2009-05-29 4:56 UTC (permalink / raw)
To: initramfs
On 05/28/2009 02:26 PM, Warren Togami wrote:
>> /sbin/lsmod | while read mod rest; do
>> instmods "$mod"
>> done
>
> This part relies on looking at the running system, and thus must not be
> part of the default dracut run. This seems OK for --hostonly mode.
>
> Changing this will likely break some users depending on modules not
> otherwise pulled in elsewhere? Should I just go ahead and see what breaks?
Oh, I now notice that the check script skips this entirely unless you
are in hostonly mode. This is the reason why I'm not getting the KMS
drivers loaded prior to plymouth (although plymouth itself is still
busted for other reasons.)
[ "$1" != "-h" ] && exit 1
But is this correct? It seems we should be checking the hostonly
variable and not if "-h" happens to be the first parameter.
-h isn't -H.
-h isn't --hostonly
>
>>
>> [ -f /etc/modprobe.conf ] && dracut_install /etc/modprobe.conf
>> dracut_install $(find /etc/modprobe.d/ -type f )
>
> This part is fine.
Anyone disagree that this should be copied in all cases, not just hostonly?
Warren Togami
wtogami-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org
--
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 90kernel-modules-loaded must be --hostonly
[not found] ` <4A1F6B12.5050001-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
@ 2009-05-29 7:26 ` Harald Hoyer
[not found] ` <4A1F8E18.2030400-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Harald Hoyer @ 2009-05-29 7:26 UTC (permalink / raw)
To: Warren Togami; +Cc: initramfs
On 05/29/2009 06:56 AM, Warren Togami wrote:
> On 05/28/2009 02:26 PM, Warren Togami wrote:
>>> /sbin/lsmod | while read mod rest; do
>>> instmods "$mod"
>>> done
>>
>> This part relies on looking at the running system, and thus must not be
>> part of the default dracut run. This seems OK for --hostonly mode.
>>
>> Changing this will likely break some users depending on modules not
>> otherwise pulled in elsewhere? Should I just go ahead and see what
>> breaks?
>
> Oh, I now notice that the check script skips this entirely unless you
> are in hostonly mode. This is the reason why I'm not getting the KMS
> drivers loaded prior to plymouth (although plymouth itself is still
> busted for other reasons.)
>
> [ "$1" != "-h" ] && exit 1
>
> But is this correct? It seems we should be checking the hostonly
> variable and not if "-h" happens to be the first parameter.
>
> -h isn't -H.
> -h isn't --hostonly
This obviously broke by introducing the --help option.. just fix it.
--
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 90kernel-modules-loaded must be --hostonly
[not found] ` <4A1F8E18.2030400-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
@ 2009-05-29 7:44 ` Harald Hoyer
0 siblings, 0 replies; 4+ messages in thread
From: Harald Hoyer @ 2009-05-29 7:44 UTC (permalink / raw)
To: Warren Togami; +Cc: initramfs
On 05/29/2009 09:26 AM, Harald Hoyer wrote:
> On 05/29/2009 06:56 AM, Warren Togami wrote:
>> On 05/28/2009 02:26 PM, Warren Togami wrote:
>>>> /sbin/lsmod | while read mod rest; do
>>>> instmods "$mod"
>>>> done
>>>
>>> This part relies on looking at the running system, and thus must not be
>>> part of the default dracut run. This seems OK for --hostonly mode.
>>>
>>> Changing this will likely break some users depending on modules not
>>> otherwise pulled in elsewhere? Should I just go ahead and see what
>>> breaks?
>>
>> Oh, I now notice that the check script skips this entirely unless you
>> are in hostonly mode. This is the reason why I'm not getting the KMS
>> drivers loaded prior to plymouth (although plymouth itself is still
>> busted for other reasons.)
>>
>> [ "$1" != "-h" ] && exit 1
>>
>> But is this correct? It seems we should be checking the hostonly
>> variable and not if "-h" happens to be the first parameter.
>>
>> -h isn't -H.
>> -h isn't --hostonly
>
> This obviously broke by introducing the --help option.. just fix it.
oops, no "check" is called with -h in dracut if $hostonly is set by "-H --hostonly"
--
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-05-29 7:44 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-28 18:26 90kernel-modules-loaded must be --hostonly Warren Togami
[not found] ` <4A1ED743.3010107-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2009-05-29 4:56 ` Warren Togami
[not found] ` <4A1F6B12.5050001-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2009-05-29 7:26 ` Harald Hoyer
[not found] ` <4A1F8E18.2030400-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2009-05-29 7:44 ` Harald Hoyer
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.