* dracut: automatically add "unix" kernel module
@ 2011-08-11 23:01 Dennis Schridde
2011-08-12 6:01 ` Harald Hoyer
0 siblings, 1 reply; 7+ messages in thread
From: Dennis Schridde @ 2011-08-11 23:01 UTC (permalink / raw)
To: initramfs-u79uwXL29TY76Z2rM5mHXA
[-- Attachment #1: Type: text/plain, Size: 370 bytes --]
Hello!
Dracut currently does not seem to automatically include the "unix" kernel
module in the initramfs, which causes udev to be unable to start ("address
family not supported by protocol").
It should be adjusted to include it if possible.
I am using dracut-011 and had to set add_drivers+="unix" in dracut.conf to be
able to boot my system.
Kind regards,
Dennis
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: dracut: automatically add "unix" kernel module
2011-08-11 23:01 dracut: automatically add "unix" kernel module Dennis Schridde
@ 2011-08-12 6:01 ` Harald Hoyer
2011-08-12 6:41 ` WANG Cong
[not found] ` <4E44C1B0.7050605-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
0 siblings, 2 replies; 7+ messages in thread
From: Harald Hoyer @ 2011-08-12 6:01 UTC (permalink / raw)
To: Dennis Schridde; +Cc: initramfs-u79uwXL29TY76Z2rM5mHXA
On 12.08.2011 01:01, Dennis Schridde wrote:
> Hello!
>
> Dracut currently does not seem to automatically include the "unix" kernel
> module in the initramfs, which causes udev to be unable to start ("address
> family not supported by protocol").
>
> It should be adjusted to include it if possible.
>
> I am using dracut-011 and had to set add_drivers+="unix" in dracut.conf to be
> able to boot my system.
>
> Kind regards,
> Dennis
Just add a file /etc/modprobe.d/myaliases.conf to your system, containing:
alias net-pf-1 unix
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: dracut: automatically add "unix" kernel module
2011-08-12 6:01 ` Harald Hoyer
@ 2011-08-12 6:41 ` WANG Cong
2011-08-12 6:47 ` Harald Hoyer
[not found] ` <4E44C1B0.7050605-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
1 sibling, 1 reply; 7+ messages in thread
From: WANG Cong @ 2011-08-12 6:41 UTC (permalink / raw)
To: initramfs-u79uwXL29TY76Z2rM5mHXA
On Fri, 12 Aug 2011 08:01:20 +0200, Harald Hoyer wrote:
> On 12.08.2011 01:01, Dennis Schridde wrote:
>> Hello!
>>
>> Dracut currently does not seem to automatically include the "unix"
>> kernel module in the initramfs, which causes udev to be unable to start
>> ("address family not supported by protocol").
>>
>> It should be adjusted to include it if possible.
>>
>> I am using dracut-011 and had to set add_drivers+="unix" in dracut.conf
>> to be able to boot my system.
>>
>> Kind regards,
>> Dennis
>
> Just add a file /etc/modprobe.d/myaliases.conf to your system,
> containing: alias net-pf-1 unix
The kernel already does the same thing:
MODULE_ALIAS_NETPROTO(PF_UNIX);
don't know why udev can't load it automatically...
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: dracut: automatically add "unix" kernel module
2011-08-12 6:41 ` WANG Cong
@ 2011-08-12 6:47 ` Harald Hoyer
0 siblings, 0 replies; 7+ messages in thread
From: Harald Hoyer @ 2011-08-12 6:47 UTC (permalink / raw)
To: WANG Cong; +Cc: initramfs-u79uwXL29TY76Z2rM5mHXA
On 12.08.2011 08:41, WANG Cong wrote:
> On Fri, 12 Aug 2011 08:01:20 +0200, Harald Hoyer wrote:
>
>> On 12.08.2011 01:01, Dennis Schridde wrote:
>>> Hello!
>>>
>>> Dracut currently does not seem to automatically include the "unix"
>>> kernel module in the initramfs, which causes udev to be unable to start
>>> ("address family not supported by protocol").
>>>
>>> It should be adjusted to include it if possible.
>>>
>>> I am using dracut-011 and had to set add_drivers+="unix" in dracut.conf
>>> to be able to boot my system.
>>>
>>> Kind regards,
>>> Dennis
>>
>> Just add a file /etc/modprobe.d/myaliases.conf to your system,
>> containing: alias net-pf-1 unix
>
> The kernel already does the same thing:
>
> MODULE_ALIAS_NETPROTO(PF_UNIX);
>
> don't know why udev can't load it automatically...
Not udev... it should be kernel itsself via:
$ cat /proc/sys/kernel/modprobe
/sbin/modprobe
^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <4E44C1B0.7050605-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>]
* Re: dracut: automatically add "unix" kernel module
[not found] ` <4E44C1B0.7050605-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
@ 2011-08-12 7:58 ` Dennis Schridde
2011-08-12 8:09 ` Harald Hoyer
0 siblings, 1 reply; 7+ messages in thread
From: Dennis Schridde @ 2011-08-12 7:58 UTC (permalink / raw)
To: initramfs-u79uwXL29TY76Z2rM5mHXA
[-- Attachment #1: Type: text/plain, Size: 950 bytes --]
Hello!
Please CC me, since I am not on the list.
Am Freitag, 12. August 2011, 06:41:56 schrieb WANG Cong:
> On Fri, 12 Aug 2011 08:01:20 +0200, Harald Hoyer wrote:
> > On 12.08.2011 01:01, Dennis Schridde wrote:
> >> Dracut currently does not seem to automatically include the "unix"
> >> kernel module in the initramfs, which causes udev to be unable to start
> >> ("address family not supported by protocol").
> >
> > Just add a file /etc/modprobe.d/myaliases.conf to your system,
> > containing: alias net-pf-1 unix
>
> The kernel already does the same thing:
>
> MODULE_ALIAS_NETPROTO(PF_UNIX);
>
> don't know why udev can't load it automatically...
The problem is that dracut does not automatically include the "unix" module in
the initramfs it generates. If I include the module manually (via
"add_drivers" in dracut.conf) it will be successfully loaded.
Does the kernel use a different aliases table than dracut?
Kind regards,
Dennis
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: dracut: automatically add "unix" kernel module
2011-08-12 7:58 ` Dennis Schridde
@ 2011-08-12 8:09 ` Harald Hoyer
2011-08-15 6:21 ` WANG Cong
0 siblings, 1 reply; 7+ messages in thread
From: Harald Hoyer @ 2011-08-12 8:09 UTC (permalink / raw)
To: Dennis Schridde; +Cc: initramfs-u79uwXL29TY76Z2rM5mHXA
On 12.08.2011 09:58, Dennis Schridde wrote:
> Hello!
>
> Please CC me, since I am not on the list.
>
> Am Freitag, 12. August 2011, 06:41:56 schrieb WANG Cong:
>> On Fri, 12 Aug 2011 08:01:20 +0200, Harald Hoyer wrote:
>>> On 12.08.2011 01:01, Dennis Schridde wrote:
>>>> Dracut currently does not seem to automatically include the "unix"
>>>> kernel module in the initramfs, which causes udev to be unable to start
>>>> ("address family not supported by protocol").
>>>
>>> Just add a file /etc/modprobe.d/myaliases.conf to your system,
>>> containing: alias net-pf-1 unix
>>
>> The kernel already does the same thing:
>>
>> MODULE_ALIAS_NETPROTO(PF_UNIX);
>>
>> don't know why udev can't load it automatically...
>
> The problem is that dracut does not automatically include the "unix" module in
> the initramfs it generates. If I include the module manually (via
> "add_drivers" in dracut.conf) it will be successfully loaded.
ah, ok.. didn't think about that one. So, I guess, we need:
http://git.kernel.org/?p=boot/dracut/dracut.git;a=commitdiff;h=016c3cfed27952f328d481b231a51129341746d9
(might need some time to show up on kernel.org)
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: dracut: automatically add "unix" kernel module
2011-08-12 8:09 ` Harald Hoyer
@ 2011-08-15 6:21 ` WANG Cong
0 siblings, 0 replies; 7+ messages in thread
From: WANG Cong @ 2011-08-15 6:21 UTC (permalink / raw)
To: initramfs-u79uwXL29TY76Z2rM5mHXA
On Fri, 12 Aug 2011 10:09:54 +0200, Harald Hoyer wrote:
> On 12.08.2011 09:58, Dennis Schridde wrote:
>>
>> The problem is that dracut does not automatically include the "unix"
>> module in the initramfs it generates. If I include the module manually
>> (via "add_drivers" in dracut.conf) it will be successfully loaded.
>
> ah, ok.. didn't think about that one. So, I guess, we need:
>
> http://git.kernel.org/?p=boot/dracut/
dracut.git;a=commitdiff;h=016c3cfed27952f328d481b231a51129341746d9
>
> (might need some time to show up on kernel.org)
Yeah, thanks for fixing it!
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2011-08-15 6:21 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-11 23:01 dracut: automatically add "unix" kernel module Dennis Schridde
2011-08-12 6:01 ` Harald Hoyer
2011-08-12 6:41 ` WANG Cong
2011-08-12 6:47 ` Harald Hoyer
[not found] ` <4E44C1B0.7050605-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2011-08-12 7:58 ` Dennis Schridde
2011-08-12 8:09 ` Harald Hoyer
2011-08-15 6:21 ` WANG Cong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox