Skip to contentSkip to conversation

udev, udev-compat and old kernel

DISCUSSION Steffen Sledz 2 participants 3 messages Feb 28, 2011 – Mar 3, 2011

lore
Share & tools
lore
#0 lore raw

In our local development branch we've set

PREFERRED_VERSION_udev = "141"

in angstrom-2008-preferred-versions.inc to force udev-141 for our old kernel (2.6.24) at hipox machine. But i'm nearly sure that's not the correct way to do this. ;-)

So what's the right way to handle this?

Looking around i found the udev-compat141_141.bb recipe. In my understanding this package adds some rules to newer udev packages (e.g. udev-151) to be able to work with older kernels, so that it is possible to use newer udev versions. Right?

In this case it should be enough to add some lines to conf/machine/hipox.conf, recipes/udev/udev.inc, recipes/udev/udev_{151,154,162,165}.bb similar to poodle machine. Right?

Steffen

Signature · 7 lines
DResearch Fahrzeugelektronik GmbH
Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
Tel: +49 30 515932-237 mailto:[email protected]
Fax: +49 30 515932-299
Geschäftsführer: Dr. Michael Weber, Werner Mögle;
Amtsgericht Berlin Charlottenburg; HRB 130120 B;
Ust.-IDNr. DE273952058
#1 lore raw

Am 28.02.2011 14:01, schrieb Steffen Sledz:

Quoted 11 lines

In our local development branch we've set

PREFERRED_VERSION_udev = "141"

in angstrom-2008-preferred-versions.inc to force udev-141 for our old kernel (2.6.24) at hipox machine. But i'm nearly sure that's not the correct way to do this. ;-)

So what's the right way to handle this?

Looking around i found the udev-compat141_141.bb recipe. In my understanding this package adds some rules to newer udev packages (e.g. udev-151) to be able to work with older kernels, so that it is possible to use newer udev versions. Right?

In this case it should be enough to add some lines to conf/machine/hipox.conf, recipes/udev/udev.inc, recipes/udev/udev_{151,154,162,165}.bb similar to poodle machine. Right?

Ping!

It would be helpful if someone could help here to clarify things. The documentation on that is not very clear.

Thx,
Steffen

Signature · 7 lines
DResearch Fahrzeugelektronik GmbH
Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
Tel: +49 30 515932-237 mailto:[email protected]
Fax: +49 30 515932-299
Geschäftsführer: Dr. Michael Weber, Werner Mögle;
Amtsgericht Berlin Charlottenburg; HRB 130120 B;
Ust.-IDNr. DE273952058
#2 lore raw
Quoted 17 lines · Steffen Sledz

Am 28.02.2011 14:01, schrieb Steffen Sledz:

Quoted 5 lines

In our local development branch we've set

PREFERRED_VERSION_udev = "141"

in angstrom-2008-preferred-versions.inc to force udev-141 for our

old kernel (2.6.24) at hipox machine. But i'm nearly sure that's not the correct way to do this. ;-)

Quoted 4 lines

So what's the right way to handle this?

Looking around i found the udev-compat141_141.bb recipe. In my

understanding this package adds some rules to newer udev packages (e.g. udev-151) to be able to work with older kernels, so that it is possible to use newer udev versions. Right?

Quoted 2 lines

In this case it should be enough to add some lines to

Quoted 8 lines

conf/machine/hipox.conf, recipes/udev/udev.inc, recipes/udev/udev_{151,154,162,165}.bb similar to poodle machine. Right?

Ping!

It would be helpful if someone could help here to clarify things. The documentation on that is not very clear.

I've not seen the udev-compat recipe before but it does sound like a useful idea to be able to use older kernels with the sane modern userspace. What you mentioned above sounds correct, I'd suggest trying it, confirming it works and if so, submit the patches...

Cheers,

Richard