Skip to contentSkip to conversation

Getting new udev to run with 2.6.28

DISCUSSION Pavel Machek 7 participants 15 messages Jan 10, 2015 – Jan 11, 2015

lore
Share & tools
lore
#0 lore raw

Hi!

N900 has real problems on 3.19, and 2.6.28 should be very well debugged version. Getting it to compile on recent distribution was fun, but I succeeded. Unfortunately, Debian 7's udev does not work with 2.6.28...

Does anyone have kernel patches to enable modern udev?

Thanks,
Pavel

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
#1 lore raw
Quoted 8 lines · Pavel Machek

Hi!

N900 has real problems on 3.19, and 2.6.28 should be very well debugged version. Getting it to compile on recent distribution was fun, but I succeeded. Unfortunately, Debian 7's udev does not work with 2.6.28...

Does anyone have kernel patches to enable modern udev?

Yes, 3.18, please use that instead.

Seriously, lots of things have changed, if you want to run a "new" version of udev with an old kernel, try eudev, they have been attempting to keep "legacy" support around in it, don't know how well it has been working though, you really are on your own.

#2 lore raw
Quoted 11 lines · Greg KH
Quoted 8 lines · Pavel Machek

Hi!

N900 has real problems on 3.19, and 2.6.28 should be very well debugged version. Getting it to compile on recent distribution was fun, but I succeeded. Unfortunately, Debian 7's udev does not work with 2.6.28...

Does anyone have kernel patches to enable modern udev?

Yes, 3.18, please use that instead.

Can't, sorry. My goal is to get 3.18/3.19 working, but I really need working kernel to debug userland (and then use that userland to debug kernel).

Quoted 4 lines

Seriously, lots of things have changed, if you want to run a "new" version of udev with an old kernel, try eudev, they have been attempting to keep "legacy" support around in it, don't know how well it has been working though, you really are on your own.

I was hoping someone has devtmpfs patches I could just apply over 2.6.28 and get a working system?

(Alternatively, I guess I should be able to do mknod manually. But unfortunately ALSA does not want to work when I do that... and I really need audio and modem support.)

Thanks,

Pavel

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
#3 lore raw
Quoted 16 lines · Pavel Machek
Quoted 11 lines · Greg KH
Quoted 8 lines · Pavel Machek

Hi!

N900 has real problems on 3.19, and 2.6.28 should be very well debugged version. Getting it to compile on recent distribution was fun, but I succeeded. Unfortunately, Debian 7's udev does not work with 2.6.28...

Does anyone have kernel patches to enable modern udev?

Yes, 3.18, please use that instead.

Can't, sorry. My goal is to get 3.18/3.19 working, but I really need working kernel to debug userland (and then use that userland to debug kernel).

Quoted 7 lines
Quoted 4 lines

Seriously, lots of things have changed, if you want to run a "new" version of udev with an old kernel, try eudev, they have been attempting to keep "legacy" support around in it, don't know how well it has been working though, you really are on your own.

I was hoping someone has devtmpfs patches I could just apply over 2.6.28 and get a working system?

If you want such a crazy thing, you have all of the source to do it yourself, good luck.

#4 lore raw
Quoted 10 lines · Greg KH
Quoted 10 lines
Quoted 1 line

Yes, 3.18, please use that instead.

Can't, sorry. My goal is to get 3.18/3.19 working, but I really need working kernel to debug userland (and then use that userland to debug kernel).

Quoted 4 lines

Seriously, lots of things have changed, if you want to run a "new" version of udev with an old kernel, try eudev, they have been attempting to keep "legacy" support around in it, don't know how well it has been working though, you really are on your own.

Quoted 5 lines
Quoted 2 lines

I was hoping someone has devtmpfs patches I could just apply over 2.6.28 and get a working system?

If you want such a crazy thing, you have all of the source to do it yourself, good luck.

... and this, boys and girls, is why quite a few of us have loathed udev way before it got merged into even nastier shitpile. Still do, for that matter.

#5 lore raw

Am Samstag, 10. Januar 2015, 21:18:58 schrieb Al Viro:

Quoted 15 lines · Greg KH
Quoted 14 lines
Quoted 13 lines
Quoted 1 line

Yes, 3.18, please use that instead.

Can't, sorry. My goal is to get 3.18/3.19 working, but I really need working kernel to debug userland (and then use that userland to debug kernel).> >

Quoted 5 lines

Seriously, lots of things have changed, if you want to run a "new" version of udev with an old kernel, try eudev, they have been attempting
to keep "legacy" support around in it, don't know how well it has been working though, you really are on your own.

I was hoping someone has devtmpfs patches I could just apply over 2.6.28 and get a working system?

Quoted 6 lines
Quoted 2 lines

If you want such a crazy thing, you have all of the source to do it yourself, good luck.

... and this, boys and girls, is why quite a few of us have loathed udev way before it got merged into even nastier shitpile. Still do, for that matter.

You mean systemd by that?

Signature · 2 lines
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7
#6 lore raw
Quoted 5 lines · Martin Steigerwald
Quoted 3 lines

... and this, boys and girls, is why quite a few of us have loathed udev way before it got merged into even nastier shitpile. Still do, for that matter.

You mean systemd by that?

Yes, I do. Has it been merged into any other?

#7 lore raw

Am Samstag, 10. Januar 2015, 23:06:53 schrieb Al Viro:

Quoted 8 lines · Martin Steigerwald
Quoted 5 lines
Quoted 3 lines

... and this, boys and girls, is why quite a few of us have loathed udev way before it got merged into even nastier shitpile. Still do, for that matter.

You mean systemd by that?

Yes, I do. Has it been merged into any other?

Not that I am aware of.

I was just surprised to read such clear words about systemd from a kernel developer ? now I wonder why tough. I think I thought most were in support for it.

Signature · 2 lines
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7
#8 lore raw
Quoted 8 lines · Martin Steigerwald

Am Samstag, 10. Januar 2015, 23:06:53 schrieb Al Viro:

Quoted 7 lines · Martin Steigerwald
Quoted 5 lines
Quoted 3 lines

... and this, boys and girls, is why quite a few of us have loathed udev way before it got merged into even nastier shitpile. Still do, for that matter.

You mean systemd by that?

Quoted 7 lines
Quoted 1 line

Yes, I do. Has it been merged into any other?

Not that I am aware of.

I was just surprised to read such clear words about systemd from a kernel developer ? now I wonder why tough. I think I thought most were in support for it.

I wonder where you got that impression. Anyway, this discussion is slightly offtopic on lkml.
Pavel

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
#9 lore raw
In reply to Martin Steigerwald
Quoted 8 lines · Martin Steigerwald

Am Samstag, 10. Januar 2015, 23:06:53 schrieb Al Viro:

Quoted 7 lines · Martin Steigerwald
Quoted 5 lines
Quoted 3 lines

... and this, boys and girls, is why quite a few of us have loathed udev way before it got merged into even nastier shitpile. Still do, for that matter.

You mean systemd by that?

Quoted 7 lines
Quoted 1 line

Yes, I do. Has it been merged into any other?

Not that I am aware of.

I was just surprised to read such clear words about systemd from a kernel developer ? now I wonder why tough. I think I thought most were in support for it.

Not at all.

Signature · 2 lines
Thanks,
//richard
#10 lore raw
In reply to Pavel Machek
Quoted 2 lines · Pavel Machek

I was hoping someone has devtmpfs patches I could just apply over 2.6.28 and get a working system?

IIRC the udev version in Debian 7 does not require devtmpfs (that became mandatory only in udev 176), but kernel 2.6.32 or higher is required for other reasons. See commit 67a77c8bf299f6264f001677becd056316ebce2f in udev[1].

Cheers,
Sven

1. https://git.kernel.org/cgit/linux/hotplug/udev.git/commit/?id=67a77c8bf299f6264f001677becd056316ebce2f

#11 lore raw
In reply to Pavel Machek

Hi,

Quoted 4 lines · Pavel Machek

N900 has real problems on 3.19, and 2.6.28 should be very well debugged version. Getting it to compile on recent distribution was fun, but I succeeded. Unfortunately, Debian 7's udev does not work with 2.6.28...

I guess you will have many other issues too if you want to run such combination (legacy kernel + modern userspace). E.g. current glibc requires >= 2.6.32.

A.

#12 lore raw
Quoted 11 lines · Aaro Koskinen

Hi,

Quoted 4 lines · Pavel Machek

N900 has real problems on 3.19, and 2.6.28 should be very well debugged version. Getting it to compile on recent distribution was fun, but I succeeded. Unfortunately, Debian 7's udev does not work with 2.6.28...

I guess you will have many other issues too if you want to run such combination (legacy kernel + modern userspace). E.g. current glibc requires >= 2.6.32.

How current is current and just what does it require in 2.6.32?

#13 lore raw
Quoted 9 lines · Al Viro
Quoted 8 lines · Aaro Koskinen

Hi,

Quoted 4 lines · Pavel Machek

N900 has real problems on 3.19, and 2.6.28 should be very well debugged version. Getting it to compile on recent distribution was fun, but I succeeded. Unfortunately, Debian 7's udev does not work with 2.6.28...

Quoted 5 lines
Quoted 3 lines

I guess you will have many other issues too if you want to run such combination (legacy kernel + modern userspace). E.g. current glibc requires >= 2.6.32.

How current is current and just what does it require in 2.6.32?

Debian 7 seems to contain

root at n900:~# ls /lib/arm-linux-gnueabi/libc
libc-2.13.so

. And that one seems to be happy with 2.6.28. Its just udev that is the problem.

Pavel

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
#14 lore raw
In reply to Al Viro

Hi,

Quoted 7 lines · Al Viro
Quoted 6 lines · Aaro Koskinen
Quoted 4 lines · Pavel Machek

N900 has real problems on 3.19, and 2.6.28 should be very well debugged version. Getting it to compile on recent distribution was fun, but I succeeded. Unfortunately, Debian 7's udev does not work with 2.6.28...

Quoted 5 lines
Quoted 3 lines

I guess you will have many other issues too if you want to run such combination (legacy kernel + modern userspace). E.g. current glibc requires >= 2.6.32.

How current is current and just what does it require in 2.6.32?

In glibc 2.20 the minimum kernel version was increased to 2.6.32. Maybe this patch gives some examples what features they now expect to be present:

	https://sourceware.org/ml/libc-alpha/2014-04/msg00691.html

But looks like Debian 7 is not bleeding-edge and is using older version...

A.