New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Several ipv6_ modules are missing from the RPI kernel in the distro #4144
Comments
Why not list the actual config changes required, or submit a Pull Request? |
I don't know what they are... I know how to run menuconfig and build a new kernel with the correct changes, but have no familiarity with how the default configuration is constructed or where changes need to be applied in order to achieve that. As such, I figured I would report the issue and name the modules in question in hopes that those far better versed in what is required to do this correctly could easily accomplish it. Given that every other distro ships with these modules I'm figuring someone had to deliberately disable their inclusion at some point. |
Using
That's not the case - we started out with relatively minimal configurations (nearly 10 years ago now) and have gradually expanded them as necessary in order to keep the footprint modest. |
The following config options seem to be required:
which results in the following extra modules (with sizes):
Are you OK with an extra 130KB of modules, @popcornmix? |
See: #4144 (from RPi-Distro/repo#229) Signed-off-by: Phil Elwell <phil@raspberrypi.com>
See: #4144 (from RPi-Distro/repo#229) Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Updated defconfigs have been pushed to rpi-5.10.y and rpi-5.11.y. |
kernel: PiFi DAC overlays See: raspberrypi/linux#4154 kernel: staging: rpivid: Fix crash when CMA alloc fails See: raspberrypi/linux#4152 kernel: Imx477 long exposure control See: raspberrypi/linux#4150 kernel: configs: Change CONFIG_BLK_DEV_NVME=y for 2711 See: raspberrypi/linux#4164 kernel: Some fixes to make imx290/imx327 exposure and vblank updates work correctly See: raspberrypi/linux#4153 kernel: KMS VGA666 overlay See: raspberrypi/linux#4141 kernel: gpio-fsm: Fix shutdown timeout handling kernel: configs: Add various missing IPV6 modules See: raspberrypi/linux#4144
kernel: PiFi DAC overlays See: raspberrypi/linux#4154 kernel: staging: rpivid: Fix crash when CMA alloc fails See: raspberrypi/linux#4152 kernel: Imx477 long exposure control See: raspberrypi/linux#4150 kernel: configs: Change CONFIG_BLK_DEV_NVME=y for 2711 See: raspberrypi/linux#4164 kernel: Some fixes to make imx290/imx327 exposure and vblank updates work correctly See: raspberrypi/linux#4153 kernel: KMS VGA666 overlay See: raspberrypi/linux#4141 kernel: gpio-fsm: Fix shutdown timeout handling kernel: configs: Add various missing IPV6 modules See: raspberrypi/linux#4144
See: raspberrypi/linux#4144 (from RPi-Distro/repo#229) Signed-off-by: Phil Elwell <phil@raspberrypi.com> Signed-off-by: Fang Yafen <yafen@iscas.ac.cn>
See: raspberrypi/linux#4144 (from RPi-Distro/repo#229) Signed-off-by: Phil Elwell <phil@raspberrypi.com> Signed-off-by: Fang Yafen <yafen@iscas.ac.cn>
See: raspberrypi/linux#4144 (from RPi-Distro/repo#229) Signed-off-by: Phil Elwell <phil@raspberrypi.com> Signed-off-by: Fang Yafen <yafen@iscas.ac.cn>
See: raspberrypi/linux#4144 (from RPi-Distro/repo#229) Signed-off-by: Phil Elwell <phil@raspberrypi.com> Signed-off-by: Fang Yafen <yafen@iscas.ac.cn>
raspberrypi inclusion category: feature bugzilla: 50432 -------------------------------- See: raspberrypi/linux#4144 (from RPi-Distro/repo#229) Signed-off-by: Phil Elwell <phil@raspberrypi.com> Signed-off-by: Fang Yafen <yafen@iscas.ac.cn> Signed-off-by: Zheng Zengkai <zhengzengkai@huawei.com>
See: #4144 (from RPi-Distro/repo#229) Signed-off-by: Phil Elwell <phil@raspberrypi.com>
See: #4144 (from RPi-Distro/repo#229) Signed-off-by: Phil Elwell <phil@raspberrypi.com>
See: #4144 (from RPi-Distro/repo#229) Signed-off-by: Phil Elwell <phil@raspberrypi.com>
See: #4144 (from RPi-Distro/repo#229) Signed-off-by: Phil Elwell <phil@raspberrypi.com>
See: #4144 (from RPi-Distro/repo#229) Signed-off-by: Phil Elwell <phil@raspberrypi.com>
See: #4144 (from RPi-Distro/repo#229) Signed-off-by: Phil Elwell <phil@raspberrypi.com>
See: #4144 (from RPi-Distro/repo#229) Signed-off-by: Phil Elwell <phil@raspberrypi.com>
See: #4144 (from RPi-Distro/repo#229) Signed-off-by: Phil Elwell <phil@raspberrypi.com>
See: #4144 (from RPi-Distro/repo#229) Signed-off-by: Phil Elwell <phil@raspberrypi.com>
See: #4144 (from RPi-Distro/repo#229) Signed-off-by: Phil Elwell <phil@raspberrypi.com>
See: raspberrypi#4144 (from RPi-Distro/repo#229) Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Is this the right place for my bug report?
Putting it here based on feedback from XECDesign in RPi-Distro/repo#229
Describe the bug
The following modules are missing from the RPI kernel in the Raspberry PI OS distribution, but are present in every other Linux distribution I examined (Fedora, Debian, Ubuntu, VyOS).
/lib/modules//kernel/net/
From .../ipv6:
esp6_offload.ko
fou6.ko
ila/ila.ko
ip6_gre.ko
ip6_vti.ko
And from .../ipv6/netfilter:
ip6table_security.ko
ip6t_srh.ko
ip6t_SYNPROXY.ko
To reproduce
cd /lib/modules/<kernel_version>/kernel/net/ipv6
ls
Expected behaviour
Expect the modules to be present. They are necessary to support various IPv6 functionality, such as GRE tunnels using IPv6 transport.
Actual behaviour
Some modules are present, but the ones above are missing.
System
Copy and paste the results of the raspinfo command in to this section. Alternatively, copy and paste a pastebin link, or add answers to the following questions:
cat /etc/rpi-issue
)? -- Included below, but all are likely affectedvcgencmd version
)? -- Included below, but all are affected identically (kernel module choices)uname -a
)?Logs
Not relevant... This is about kernel modules which were omitted by choice.
Additional context
I spent quite a bit of time chasing configuration issues where I thought it was a failed dependency tree trying to bring up an ip6gre tunnel on the system. systemd-networkd silently reports that it is loading the Ip6_gre module without reporting any failure to load it and all of the available debugging information makes it look like everything is fine and hints that the problem is that the GRE interface in question is coming up before the ethernet interface it depends on. Turns out that this is false and that the module not present to load is the real issue. Upon compiling a new kernel with the modules included (admittedly based on the 5.10.13 sources), everything immediately came up as expected after a reboot.
The text was updated successfully, but these errors were encountered: