Skip to content

RBD module should be added #6224

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

Closed
rbartl opened this issue Jun 15, 2024 · 7 comments
Closed

RBD module should be added #6224

rbartl opened this issue Jun 15, 2024 · 7 comments

Comments

@rbartl
Copy link

rbartl commented Jun 15, 2024

Describe the bug

RBD module is not available in compiled Raspberry linux kernel images but is needed for CEPH

in #2916 CEPH module was added - additionally RBD would also be very useful to use e.g. CEPH ROOK on raspberry systems

i tried looking into various branches in /arch/arm64/config/defconfig and found no mention of RBD.
having it as a module should not have many downsides apart from a bit more compliation time and a bit bigger deb package.

Steps to reproduce the behaviour

using raspbian (debian on raspberry)
:/boot# grep CONFIG_BLK_DEV_RBD /boot/config*
/boot/config-6.6.28+rpt-rpi-2712:# CONFIG_BLK_DEV_RBD is not set

or

/boot# modprobe rbd
modprobe: FATAL: Module rbd not found in directory /lib/modules/6.6.31+rpt-rpi-v8

Device (s)

Raspberry Pi 4 Mod. B

System

/boot# cat /etc/rpi-issue
Raspberry Pi reference 2023-11-04
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 8b2feb9380ee45e03cc4c5753dbf6ca7ea70bc6f, stage6

vcgencmd version
May 24 2024 15:30:04
Copyright (c) 2012 Broadcom
version 4942b7633c0ff1af1ee95a51a33b56a9dae47529 (clean) (release) (start)

uname -a
Linux k3sraspi0 6.6.31+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.31-1+rpt1 (2024-05-29) aarch64 GNU/Linux

Logs

No response

Additional context

No response

@rbartl
Copy link
Author

rbartl commented Jun 15, 2024

an old PR exists: https://github.com/dwrobel/kernel/pull/3/commits and discussed in #4461
but seems to be not merged

pelwell added a commit to pelwell/linux that referenced this issue Jun 17, 2024
Include Rados block device (RBD) support in standard kernel builds,
a common companion for CEPH which is included.

See: raspberrypi#6224

Signed-off-by: Phil Elwell <[email protected]>
@pelwell
Copy link
Contributor

pelwell commented Jun 17, 2024

New PR here: #6226

popcornmix pushed a commit that referenced this issue Jun 17, 2024
Include Rados block device (RBD) support in standard kernel builds,
a common companion for CEPH which is included.

See: #6224

Signed-off-by: Phil Elwell <[email protected]>
pelwell added a commit that referenced this issue Jun 20, 2024
Include Rados block device (RBD) support in standard kernel builds,
a common companion for CEPH which is included.

See: #6224

Signed-off-by: Phil Elwell <[email protected]>
pelwell added a commit that referenced this issue Jun 20, 2024
Include Rados block device (RBD) support in standard kernel builds,
a common companion for CEPH which is included.

See: #6224

Signed-off-by: Phil Elwell <[email protected]>
popcornmix pushed a commit that referenced this issue Jun 24, 2024
Include Rados block device (RBD) support in standard kernel builds,
a common companion for CEPH which is included.

See: #6224

Signed-off-by: Phil Elwell <[email protected]>
popcornmix pushed a commit that referenced this issue Jun 24, 2024
Include Rados block device (RBD) support in standard kernel builds,
a common companion for CEPH which is included.

See: #6224

Signed-off-by: Phil Elwell <[email protected]>
@snooops
Copy link

snooops commented Jun 26, 2024

Hi,
i have the same need. I looked into the documentation but couldn't find something related so: Is there a way to test the kernel with the this merge?

@pelwell
Copy link
Contributor

pelwell commented Jun 26, 2024

sudo rpi-update pulls/6226 is the way to test a pull request before (and after) it has been merged. However, once it has been merged, all future kernel builds will include it, so you could run sudo rpi-update rpi-6.6.y to get the current 6.6 build, or after a few days, just sudo rpi-update.

There's a list of all rpi-update firmwares here: https://github.com/raspberrypi/rpi-firmware/commits/master
Anything after (chronologically, before when reading down the page) the 6.6.34 release contains the RBD module.

@snooops
Copy link

snooops commented Jun 27, 2024

Thank you for the explaination pelwell, i can confirm that the rbd module works.
My Proxmox is now able to work with ceph disks and to use the rbd kernel module.

popcornmix pushed a commit that referenced this issue Jun 28, 2024
Include Rados block device (RBD) support in standard kernel builds,
a common companion for CEPH which is included.

See: #6224

Signed-off-by: Phil Elwell <[email protected]>
popcornmix pushed a commit that referenced this issue Jul 1, 2024
Include Rados block device (RBD) support in standard kernel builds,
a common companion for CEPH which is included.

See: #6224

Signed-off-by: Phil Elwell <[email protected]>
popcornmix pushed a commit that referenced this issue Jul 8, 2024
Include Rados block device (RBD) support in standard kernel builds,
a common companion for CEPH which is included.

See: #6224

Signed-off-by: Phil Elwell <[email protected]>
popcornmix pushed a commit that referenced this issue Jul 8, 2024
Include Rados block device (RBD) support in standard kernel builds,
a common companion for CEPH which is included.

See: #6224

Signed-off-by: Phil Elwell <[email protected]>
rajeshkumarwr pushed a commit to rajeshkumarwr/linux-yocto that referenced this issue Jul 9, 2024
Include Rados block device (RBD) support in standard kernel builds,
a common companion for CEPH which is included.

See: raspberrypi/linux#6224

Signed-off-by: Phil Elwell <[email protected]>
rajeshkumarwr pushed a commit to rajeshkumarwr/linux-yocto that referenced this issue Jul 10, 2024
Include Rados block device (RBD) support in standard kernel builds,
a common companion for CEPH which is included.

See: raspberrypi/linux#6224

Signed-off-by: Phil Elwell <[email protected]>
popcornmix pushed a commit that referenced this issue Jul 11, 2024
Include Rados block device (RBD) support in standard kernel builds,
a common companion for CEPH which is included.

See: #6224

Signed-off-by: Phil Elwell <[email protected]>
popcornmix pushed a commit that referenced this issue Jul 16, 2024
Include Rados block device (RBD) support in standard kernel builds,
a common companion for CEPH which is included.

See: #6224

Signed-off-by: Phil Elwell <[email protected]>
rajeshkumarwr pushed a commit to rajeshkumarwr/linux-yocto that referenced this issue Jul 18, 2024
Include Rados block device (RBD) support in standard kernel builds,
a common companion for CEPH which is included.

See: raspberrypi/linux#6224

Signed-off-by: Phil Elwell <[email protected]>
popcornmix pushed a commit that referenced this issue Jul 19, 2024
Include Rados block device (RBD) support in standard kernel builds,
a common companion for CEPH which is included.

See: #6224

Signed-off-by: Phil Elwell <[email protected]>
rajeshkumarwr pushed a commit to rajeshkumarwr/linux-yocto that referenced this issue Jul 20, 2024
commit f54dbddefe179433c73ad6611ada5b25d452ce05 from
https://github.com/raspberrypi/linux.git rpi-6.6.y

Include Rados block device (RBD) support in standard kernel builds,
a common companion for CEPH which is included.

See: raspberrypi/linux#6224

Signed-off-by: Phil Elwell <[email protected]>
Signed-off-by: Rajeshkumar Ramasamy <[email protected]>
popcornmix pushed a commit that referenced this issue Jul 24, 2024
Include Rados block device (RBD) support in standard kernel builds,
a common companion for CEPH which is included.

See: #6224

Signed-off-by: Phil Elwell <[email protected]>
popcornmix pushed a commit that referenced this issue Jul 25, 2024
Include Rados block device (RBD) support in standard kernel builds,
a common companion for CEPH which is included.

See: #6224

Signed-off-by: Phil Elwell <[email protected]>
popcornmix pushed a commit that referenced this issue Jul 29, 2024
Include Rados block device (RBD) support in standard kernel builds,
a common companion for CEPH which is included.

See: #6224

Signed-off-by: Phil Elwell <[email protected]>
popcornmix pushed a commit that referenced this issue Jul 29, 2024
Include Rados block device (RBD) support in standard kernel builds,
a common companion for CEPH which is included.

See: #6224

Signed-off-by: Phil Elwell <[email protected]>
popcornmix pushed a commit that referenced this issue Aug 5, 2024
Include Rados block device (RBD) support in standard kernel builds,
a common companion for CEPH which is included.

See: #6224

Signed-off-by: Phil Elwell <[email protected]>
popcornmix pushed a commit that referenced this issue Aug 13, 2024
Include Rados block device (RBD) support in standard kernel builds,
a common companion for CEPH which is included.

See: #6224

Signed-off-by: Phil Elwell <[email protected]>
popcornmix pushed a commit that referenced this issue Aug 22, 2024
Include Rados block device (RBD) support in standard kernel builds,
a common companion for CEPH which is included.

See: #6224

Signed-off-by: Phil Elwell <[email protected]>
popcornmix pushed a commit that referenced this issue Aug 30, 2024
Include Rados block device (RBD) support in standard kernel builds,
a common companion for CEPH which is included.

See: #6224

Signed-off-by: Phil Elwell <[email protected]>
popcornmix pushed a commit that referenced this issue Sep 6, 2024
Include Rados block device (RBD) support in standard kernel builds,
a common companion for CEPH which is included.

See: #6224

Signed-off-by: Phil Elwell <[email protected]>
popcornmix pushed a commit that referenced this issue Sep 10, 2024
Include Rados block device (RBD) support in standard kernel builds,
a common companion for CEPH which is included.

See: #6224

Signed-off-by: Phil Elwell <[email protected]>
popcornmix pushed a commit that referenced this issue Sep 12, 2024
Include Rados block device (RBD) support in standard kernel builds,
a common companion for CEPH which is included.

See: #6224

Signed-off-by: Phil Elwell <[email protected]>
popcornmix pushed a commit that referenced this issue Oct 2, 2024
Include Rados block device (RBD) support in standard kernel builds,
a common companion for CEPH which is included.

See: #6224

Signed-off-by: Phil Elwell <[email protected]>
popcornmix pushed a commit that referenced this issue Oct 10, 2024
Include Rados block device (RBD) support in standard kernel builds,
a common companion for CEPH which is included.

See: #6224

Signed-off-by: Phil Elwell <[email protected]>
@xorinzor
Copy link

Has this been included in future versions now? Since the issue is still open.

@pelwell
Copy link
Contributor

pelwell commented Feb 15, 2025

We normally leave it to the opener to close issues, but that doesn't always happen.

@pelwell pelwell closed this as completed Feb 15, 2025
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

4 participants