Getting new udev to run with 2.6.28
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
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.
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
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.
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.
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
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?
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
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
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
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
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.
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?
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
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.