Skip to contentSkip to conversation

Angstrom, udev, and kernel version

DISCUSSION Steffen Sledz 3 participants 7 messages Feb 24, 2010 – Feb 25, 2010

lore
Share & tools
lore
#0 lore raw

Since Angstrom updated to udev_151 we've a big problem.

udevd started from within /etc/init.d/udev crashes with

/sbin/udevd -d --debug
1266997931.250494 [297] udev_monitor_new_from_netlink: error getting socket: Invalid argument error initializing netlink socket 1266997931.250718 [297] main: error initializing netlink socket

Searching the internet for this error i found some hints that this udev version requires at least linux 2.6.27. Unfortunately we are forced to use 2.6.24 because of special driver/machine support for hipox. :(

Is there a way to rollback to udev_141 for hipox machine?

Or is there a backport patch available for 2.6.24 to support udev_151?

Steffen

#1 lore raw
Quoted 8 lines · Steffen Sledz

Since Angstrom updated to udev_151 we've a big problem.

udevd started from within /etc/init.d/udev crashes with

/sbin/udevd -d --debug
1266997931.250494 [297] udev_monitor_new_from_netlink: error getting socket: Invalid argument error initializing netlink socket 1266997931.250718 [297] main: error initializing netlink socket

Quoted 5 lines

Searching the internet for this error i found some hints that this udev version requires at least linux 2.6.27. Unfortunately we are forced to use 2.6.24 because of special driver/machine support for hipox. :(

Is there a way to rollback to udev_141 for hipox machine?

Or is there a backport patch available for 2.6.24 to support udev_151?

You can add the following line to either your conf/local.conf or conf/distro/include/angstrom-2008-preferred-versions.inc:

PREFERRED_VERSION_udev_hipox = "141"

I too learned that udev-151 (>147) requires glibc-2.9 or higher. Seems like a very demanding version of udev...

Signature · 1 line
Denys
#2 lore raw
In reply to Steffen Sledz

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 9 lines · Steffen Sledz

Since Angstrom updated to udev_151 we've a big problem.

udevd started from within /etc/init.d/udev crashes with

/sbin/udevd -d --debug
1266997931.250494 [297] udev_monitor_new_from_netlink: error getting socket: Invalid argument error initializing netlink socket 1266997931.250718 [297] main: error initializing netlink socket

Searching the internet for this error i found some hints that this udev version requires at least linux 2.6.27.

2.6.27 is only required for signalfd, your error seems to be about a missing networking option in defconfig.

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFLhQzZMkyGM64RGpERAm8mAJ9Pvr7u2nSlcYkVHHAdWip/9nDMlACguCY0 kLlW+yEjNxs8bNL1UcetVzY=
=4/IV
-----END PGP SIGNATURE-----

#5 lore raw
In reply to Steffen Sledz

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 1 line · Steffen Sledz

Since Angstrom updated to udev_151 we've a big problem.

And I must point out that the move to 151 has been discussed quite well on the angstrom mailinglist:
http://thread.gmane.org/gmane.linux.distributions.angstrom.devel/4109
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFLhRX9MkyGM64RGpERAi80AKCzX11Lelk/yIfaV+eh/h8/Cc1gegCgjKeh HPuSFJxwHnDVNSEi5krNKAk=
=cchR
-----END PGP SIGNATURE-----

#3 lore raw
In reply to Koen Kooi
Quoted 10 lines · Koen Kooi
Quoted 7 lines

udevd started from within /etc/init.d/udev crashes with

/sbin/udevd -d --debug
1266997931.250494 [297] udev_monitor_new_from_netlink: error getting socket: Invalid argument error initializing netlink socket 1266997931.250718 [297] main: error initializing netlink socket

Searching the internet for this error i found some hints that this udev version requires at least linux 2.6.27.

2.6.27 is only required for signalfd, your error seems to be about a missing networking option in defconfig.

Any hints, how we can isolate this problem?

#4 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 7 lines · Steffen Sledz
Quoted 6 lines · Koen Kooi
Quoted 6 lines

udevd started from within /etc/init.d/udev crashes with

/sbin/udevd -d --debug
1266997931.250494 [297] udev_monitor_new_from_netlink: error getting socket: Invalid argument error initializing netlink socket 1266997931.250718 [297] main: error initializing netlink socket

Quoted 6 lines
Quoted 4 lines
Quoted 1 line

Searching the internet for this error i found some hints that this udev version requires at least linux 2.6.27.

2.6.27 is only required for signalfd, your error seems to be about a missing networking option in defconfig.

Any hints, how we can isolate this problem?

The README in the udev source should have a fairly complete summary of needed kernel options. If you use angstrom or shr linux.inc will set them all except CONFIG_NET. So you could try rebuilding your kernel and see if it works then. If not, compare your .config with the udev readme.

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFLhjhZMkyGM64RGpERAgVGAJ9UsDHvNhMSZ1Uis6z6Zbg8gwohswCgpN/t G89BmgNucXDjiBjtlCVJjmw=
=q11y
-----END PGP SIGNATURE-----