Skip to content
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

Multicast routing requires kernel options #358

Closed
vk5tu opened this issue Aug 17, 2013 · 5 comments
Closed

Multicast routing requires kernel options #358

vk5tu opened this issue Aug 17, 2013 · 5 comments

Comments

@vk5tu
Copy link
Contributor

vk5tu commented Aug 17, 2013

Multicast routing is not possible using the stock image as bcmrpi_defconfig does not have the necessary kernel options enabled. These are:

CONFIG_IP_MROUTE=y
CONFIG_IP_MROUTE_MULTIPLE_TABLES=y
CONFIG_IP_PIMSM_V1=y
CONFIG_IP_PIMSM_V2=y
CONFIG_IPV6_MROUTE=y
CONFIG_IPV6_MROUTE_MULTIPLE_TABLES=y
CONFIG_IPV6_PIMSM_V2=y

Note that the RasPi can act as a multicast host without these options, but it cannot forward multicast.

@vk5tu
Copy link
Contributor Author

vk5tu commented Aug 17, 2013

@popcornmix
Copy link
Collaborator

As these option are "=y" rather than modules, I'll need some evidence that the memory cost is minimal.
Can you show the output of "free" after boot with and without these options enabled.

@J-Rey
Copy link

J-Rey commented Nov 11, 2013

Relaying response from the forum thread:

Here is output from "free -h" called from /etc/rc.local:
without mroute config:
             total       used       free     shared    buffers     cached
Mem:          184M        42M       142M         0B       7.7M        19M
-/+ buffers/cache:        14M       169M
Swap:          99M         0B        99M
with mroute config:
             total       used       free     shared    buffers     cached
Mem:          184M        42M       141M         0B       7.8M        19M
-/+ buffers/cache:        14M       169M
Swap:          99M         0B        99M

popcornmix pushed a commit to raspberrypi/firmware that referenced this issue Nov 11, 2013
See: raspberrypi/linux#415 (comment)

kernel: enable MROUTE options and CONFIG_CRYPTO_AES_ARM
See: raspberrypi/linux#430
See: raspberrypi/linux#358

firmware: audio_render: check for output space more frequently to avoid underrun
See: http://forum.stmlabs.com/showthread.php?tid=10118
popcornmix pushed a commit to raspberrypi/firmware that referenced this issue Nov 11, 2013
See: raspberrypi/linux#415 (comment)

kernel: enable MROUTE options and CONFIG_CRYPTO_AES_ARM
See: raspberrypi/linux#430
See: raspberrypi/linux#358

firmware: audio_render: check for output space more frequently to avoid underrun
See: http://forum.stmlabs.com/showthread.php?tid=10118
popcornmix pushed a commit to Hexxeh/rpi-firmware that referenced this issue Nov 11, 2013
See: raspberrypi/linux#415 (comment)

kernel: enable MROUTE options and CONFIG_CRYPTO_AES_ARM
See: raspberrypi/linux#430
See: raspberrypi/linux#358

firmware: audio_render: check for output space more frequently to avoid underrun
See: http://forum.stmlabs.com/showthread.php?tid=10118
@popcornmix
Copy link
Collaborator

These options should be added in latest rpi-update firmware.

@popcornmix
Copy link
Collaborator

These should be present now. Please test and close if happy.

neuschaefer pushed a commit to neuschaefer/raspi-binary-firmware that referenced this issue Feb 27, 2017
See: raspberrypi/linux#415 (comment)

kernel: enable MROUTE options and CONFIG_CRYPTO_AES_ARM
See: raspberrypi/linux#430
See: raspberrypi/linux#358

firmware: audio_render: check for output space more frequently to avoid underrun
See: http://forum.stmlabs.com/showthread.php?tid=10118
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants