View previous topic :: View next topic |
Author |
Message |
ross_MoHaX n00b

Joined: 13 Feb 2005 Posts: 42
|
Posted: Fri May 19, 2006 3:05 pm Post subject: Udev broke my system |
|
|
If I emerge udev it brokes my system. I get a lot of messages
udevsend [xxxx]: main: error getting socket: Address family not supported by protocol.
One moment there is five messages "runaway loop modprobe net-pf-1" and then again a lot of messages from udevsend.
It's strange but thoose messages appears before /sbin/init proccess starts!! Don't understand how, as far as I know /sbin/init is the first progamm started during boot process.
If I emerge -C udev everything becomes fine. What's the problem?
Some notes:
I loaded from initramfs disk.
My make.conf is bellow
CFLAGS="-Os -mtune=i686 -pipe -fomit-frame-pointer"
CHOST="i386-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
ACCEPT_KEYWORDS="~x86"
FEATURES="ccache buildpkg nodoc noinfo noman"
USE="-* minimal unicode ncurses userlocales"
VIDEO_CARDS="via"
INSTALL_MASK="/usr/share/i18n* /usr/share/locale* /usr/share/zoneinfo*"
PORTDIR_OVERLAY="/usr/local/portage"
(if I change ACCEPT_KEYWORDS to x86 nothing happens).
My kernel is compiled with Unix Socket support builtin (CONFIG_UNIX=y)
Please help, I don't know what to do |
|
Back to top |
|
 |
xalan Apprentice

Joined: 01 Feb 2005 Posts: 190
|
Posted: Fri May 19, 2006 3:38 pm Post subject: Re: Udev broke my system |
|
|
ross_MoHaX wrote: | If I emerge udev it brokes my system. I get a lot of messages
udevsend [xxxx]: main: error getting socket: Address family not supported by protocol.
[..]
Please help, I don't know what to do |
What is the kernel version? Are you using devfs to manage your /dev?
I had a different problem with udev. I upgraded udev, coldplug, hotplug and baselayout without upgrading my kernel from 2.6.10 to 2.6.16. After i upgraded my kernel my problems went away.
From your post I am inferring you are using an old kernel which uses devfs to manage /dev rather than udev. Is it correct? If it is then don't just emerge udev as standalone, read udev guide for more details and google for upgrading from devfs to udev. |
|
Back to top |
|
 |
ross_MoHaX n00b

Joined: 13 Feb 2005 Posts: 42
|
Posted: Sat May 20, 2006 4:47 am Post subject: Re: Udev broke my system |
|
|
xalan wrote: | ross_MoHaX wrote: | If I emerge udev it brokes my system. I get a lot of messages
udevsend [xxxx]: main: error getting socket: Address family not supported by protocol.
[..]
Please help, I don't know what to do |
What is the kernel version? Are you using devfs to manage your /dev?
I had a different problem with udev. I upgraded udev, coldplug, hotplug and baselayout without upgrading my kernel from 2.6.10 to 2.6.16. After i upgraded my kernel my problems went away.
From your post I am inferring you are using an old kernel which uses devfs to manage /dev rather than udev. Is it correct? If it is then don't just emerge udev as standalone, read udev guide for more details and google for upgrading from devfs to udev. |
I use gentoo-sources-2.6.16-r7 with gentoo-headers-2.6.11-r5. devfs support is deprecated in this kernel so with broken udev I ve no way to manage my device nodes.
Maybe it will be important, but I compile everything in chroot env. I run it by command "setarch i686 chroot /chroot" (my host system is x86_64). And In that chroot env. I compile some packages with "ROOT=/image_root" just to make a root of my minimalistic Gentoo, that will be writen on USB. |
|
Back to top |
|
 |
taskara Advocate

Joined: 10 Apr 2002 Posts: 3763 Location: Australia
|
Posted: Wed Jun 14, 2006 12:32 pm Post subject: |
|
|
I have exactly the same problem on a uclibc env. Building an env with ROOT=/chroot I get the same problem when booting, "udevsend error getting socket".
I've tried udev 0.87, 0.90 doesn't compile with uclibc but 0.92 does, but I have the same error as with 0.87.
Any ideas?
-c _________________ Kororaa install method - have Gentoo up and running quickly and easily, fully automated with an installer! |
|
Back to top |
|
 |
Bigun Advocate


Joined: 21 Sep 2003 Posts: 2198
|
Posted: Thu Jul 13, 2006 1:27 am Post subject: |
|
|
Same issue here with vanilla-2.6.18-rc1 _________________ "It's ok, they might have guns but we have flowers." - Perpetual Victim |
|
Back to top |
|
 |
Bigun Advocate


Joined: 21 Sep 2003 Posts: 2198
|
|
Back to top |
|
 |
TheAldo n00b


Joined: 09 Dec 2004 Posts: 16
|
Posted: Fri Oct 13, 2006 1:26 pm Post subject: |
|
|
yep,
I was missing the "Unix Domain socket". I forgot to load it as I compiled it as a module |
|
Back to top |
|
 |
|