public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* allmodconfig:  udev won`t start due to CONFIG_UNIX=m
@ 2007-12-30 20:11 devzero
  2007-12-30 20:18 ` Jan Engelhardt
  0 siblings, 1 reply; 3+ messages in thread
From: devzero @ 2007-12-30 20:11 UTC (permalink / raw)
  To: linux-kernel

Hi !

i build a kernel with allmodconfig and didn`t get my system to boot with that.

after some investigation i found that it was due to udev:

udevd[1226]: init_udev_socket: error getting socket: Address family not supported by protocol 

this was missing support UNIX DOMAIN SOCKETS at boot time.
easy - so i added unix.ko to my initrd.

but that didn`t make a difference. Still same error with udev.

seems, there are others who stepped into this trap and someone telling, unix domain sockets cannot be modular
https://forums.gentoo.org/viewtopic-t-476363-highlight-.html
https://forums.gentoo.org/viewtopic-t-463793-highlight-.html


since we have 1206 options set to "Y" anyway, would it make sense to remove module support for Unix Domain Sockets ?
opensuse103:/home/kernel/linux-2.6.23 # cat .config.allmodconfig |grep "=y" |wc -l
1206
opensuse103:/home/kernel/linux-2.6.23 # cat .config.allmodconfig |grep "=m" |wc -l
2098

i also came across this one:

http://readlist.com/lists/vger.kernel.org/linux-kernel/41/205717.html






______________________________________________________________________
XXL-Speicher, PC-Virenschutz, Spartarife & mehr: Nur im WEB.DE Club!		
Jetzt testen! http://produkte.web.de/club/?mc=021130


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: allmodconfig:  udev won`t start due to CONFIG_UNIX=m
  2007-12-30 20:11 allmodconfig: udev won`t start due to CONFIG_UNIX=m devzero
@ 2007-12-30 20:18 ` Jan Engelhardt
  2007-12-30 20:41   ` Adrian Bunk
  0 siblings, 1 reply; 3+ messages in thread
From: Jan Engelhardt @ 2007-12-30 20:18 UTC (permalink / raw)
  To: devzero; +Cc: linux-kernel


On Dec 30 2007 21:11, devzero@web.de wrote:
>
>i build a kernel with allmodconfig and didn`t get my system to boot with that.
>
>after some investigation i found that it was due to udev:
>
>udevd[1226]: init_udev_socket: error getting socket: Address family not supported by protocol 
>
>this was missing support UNIX DOMAIN SOCKETS at boot time.
>easy - so i added unix.ko to my initrd.
>
>but that didn`t make a difference. Still same error with udev.
>
>seems, there are others who stepped into this trap and someone telling, unix domain sockets cannot be modular
>https://forums.gentoo.org/viewtopic-t-476363-highlight-.html
>https://forums.gentoo.org/viewtopic-t-463793-highlight-.html
>
>
>since we have 1206 options set to "Y" anyway, would it make sense to remove module support for Unix Domain Sockets ?
>opensuse103:/home/kernel/linux-2.6.23 # cat .config.allmodconfig |grep "=y" |wc -l
>1206
>opensuse103:/home/kernel/linux-2.6.23 # cat .config.allmodconfig |grep "=m" |wc -l
>2098
>
>i also came across this one:
>
>http://readlist.com/lists/vger.kernel.org/linux-kernel/41/205717.html
>

I'd rather much do in the Kconfig:

config UNIX
	tristate "UNIX domain sockets" if I_KNOW_WHAT_I_AM_DOING # currently called CONFIG_EMBEDDED
	bool "UNIX domain sockets"

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: allmodconfig:  udev won`t start due to CONFIG_UNIX=m
  2007-12-30 20:18 ` Jan Engelhardt
@ 2007-12-30 20:41   ` Adrian Bunk
  0 siblings, 0 replies; 3+ messages in thread
From: Adrian Bunk @ 2007-12-30 20:41 UTC (permalink / raw)
  To: Jan Engelhardt; +Cc: devzero, linux-kernel

On Sun, Dec 30, 2007 at 09:18:38PM +0100, Jan Engelhardt wrote:
> 
> On Dec 30 2007 21:11, devzero@web.de wrote:
> >
> >i build a kernel with allmodconfig and didn`t get my system to boot with that.
> >
> >after some investigation i found that it was due to udev:
> >
> >udevd[1226]: init_udev_socket: error getting socket: Address family not supported by protocol 
> >
> >this was missing support UNIX DOMAIN SOCKETS at boot time.
> >easy - so i added unix.ko to my initrd.
> >
> >but that didn`t make a difference. Still same error with udev.
> >
> >seems, there are others who stepped into this trap and someone telling, unix domain sockets cannot be modular
> >https://forums.gentoo.org/viewtopic-t-476363-highlight-.html
> >https://forums.gentoo.org/viewtopic-t-463793-highlight-.html
> >
> >
> >since we have 1206 options set to "Y" anyway, would it make sense to remove module support for Unix Domain Sockets ?
> >opensuse103:/home/kernel/linux-2.6.23 # cat .config.allmodconfig |grep "=y" |wc -l
> >1206
> >opensuse103:/home/kernel/linux-2.6.23 # cat .config.allmodconfig |grep "=m" |wc -l
> >2098
> >
> >i also came across this one:
> >
> >http://readlist.com/lists/vger.kernel.org/linux-kernel/41/205717.html
> >
> 
> I'd rather much do in the Kconfig:
> 
> config UNIX
> 	tristate "UNIX domain sockets" if I_KNOW_WHAT_I_AM_DOING # currently called CONFIG_EMBEDDED
> 	bool "UNIX domain sockets"

CONFIG_EMBEDDED is _not_ a generic "advanced user" option, it's only for 
options that allow additional space savings.

What you could actually do would be

config UNIX
	bool "Unix domain sockets" if EMBEDDED
	default y

since as the help text already says everything other than Y is expected 
to cause problems - and if people know they are in a space limited 
environment and really don't need it they'll still be able to disable it.

As a bonus, making it a bool would allow to make the kernel image 
slightly smaller for everyone.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-12-30 20:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-30 20:11 allmodconfig: udev won`t start due to CONFIG_UNIX=m devzero
2007-12-30 20:18 ` Jan Engelhardt
2007-12-30 20:41   ` Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox