fabianishere / udm-kernel

Custom Linux kernels for the UniFi Dream Machine
https://github.com/fabianishere/udm-kernel-tools
Other
127 stars 10 forks source link

Which kernel with 1.10.4 or 1.11? #7

Closed docbobo closed 2 years ago

docbobo commented 2 years ago

I was just trying to run a custom kernel on 1.11 because I needed multi-path. As I was told that the latest custom kernel would be incompatible, I downgraded to 1.10.4 - and got the same response.

Is there a way for me to build a compatible kernel for 1.11 myself? What would be the right OS version for the latest edge kernel provided for download here?

Thanks

fabianishere commented 2 years ago

The latest build is based on firmware version 1.10.0 (which is also what udm-kernel-tools supports).

I’ll have to contact Ubiquiti in order to obtain the kernel sources for 1.11.0 or 1.10.4.

docbobo commented 2 years ago

Ouch. That’s more involved than I had hoped for 😂

Is there any way to run a 1.10.0 kernel on a 1.10.4 OS? This sounds like a pretty minor difference…

docbobo commented 2 years ago

Anyway, will be downgrading to 1.10.0 for now ...

docbobo commented 2 years ago

Okay, switched to 1.10.0 and with your kernel, my BGP attempt via frrouting works. Was stuck because of the missing multipath support in the stock kernel.

How did you get Ubiquiti to include multicast routing? 😉

fabianishere commented 2 years ago

Glad to hear you got it working!

There were many feature requests on the Ubiquiti forums specifically for IPTV/multicast support, so I guess they finally gave in (since the change is just a build toggle for the kernel) or this is in anticipation of built-in support for igmpproxy in the UniFi UI.

docbobo commented 2 years ago

That makes sense.

Talking about IPTV: I got German Telekom IPTV to work, but not with your igmpproxy.conf. Interested in the diffs?

fabianishere commented 2 years ago

That would be nice! Maybe others could also benefit from it. :)

TheJulianJES commented 2 years ago

Talking about IPTV: I got German Telekom IPTV to work, but not with your igmpproxy.conf. Interested in the diffs?

There's already some information here: https://github.com/fabianishere/udm-kernel-tools/issues/2 (Bit hard to find but maybe you want to add it there)

docbobo commented 2 years ago

Thank you. I'll have a look, quite a lot to read. 😉

docbobo commented 2 years ago

@fabianishere with 1.10.4 now being an official release, is there any chance you could try to get those sources from UI?

fabianishere commented 2 years ago

@docbobo Could you check whether the current udm-kernel release works with the latest release of udm-kernel-tools.

docbobo commented 2 years ago

@fabianishere yes, I was able to run the current udm-kernel (4.19.152-edge1) on top of 10.0.4. No idea if that's a good idea though and if I am missing out on some of the changes that way.

docbobo commented 2 years ago

That said - I had to manually boot into the kernel, even though I have set up everything to do that automatically.

fabianishere commented 2 years ago

I doubt it will be an issue. Usually, there are only few kernel changes between patch versions of the firmware.

As for having to manually boot into the kernel, you may have to re-enable the auto-boot feature. It might be lost during upgrades or disabled due to a boot failure.

docbobo commented 2 years ago

Fair enough. I think there are some items in the releases notes e.g. "Fix an issue that device reboots when the system is under extremely heavy load." that sound as if they could be fixed in the kernel. Wish I hadn't closed by terminal already - we could've compare the uname -a 😉

docbobo commented 2 years ago

And I'll try to re-enable to auto-boot feature

fabianishere commented 2 years ago

I received the changes for v1.10.4, see 8e498f8. Indeed not a lot of changes.

Broeils commented 2 years ago

Any change of getting this to work for 1.11 ? I'm looking to build the kernel module to enable mangle so I can change TTL for multicast in iptables.

fabianishere commented 2 years ago

Latest version is based on firmware version v1.11.