We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Cannot run drbd9-focal in compilation mode on Ubuntu 20.04 5.15.0-43-generic. It is failing because of
drbd9-focal
k logs piraeus-ns-node-vc9fg kernel-module-injector -f Need a git checkout to regenerate drbd/.drbd_git_revision make[1]: Entering directory '/tmp/pkg/drbd-9.1.8/drbd' Calling toplevel makefile of kernel source tree, which I believe is in KDIR=/lib/modules/5.15.0-43-generic/build make -C /lib/modules/5.15.0-43-generic/build M=/tmp/pkg/drbd-9.1.8/drbd modules COMPAT __vmalloc_has_2_params COMPAT add_disk_returns_int COMPAT before_4_13_kernel_read COMPAT bio_alloc_has_5_params COMPAT blkdev_issue_zeroout_discard COMPAT can_include_vermagic_h COMPAT fs_dax_get_by_bdev_takes_start_off COMPAT genl_policy_in_ops COMPAT have_BIO_MAX_VECS COMPAT have_CRYPTO_TFM_NEED_KEY COMPAT have_GENHD_FL_NO_PART COMPAT have_SHASH_DESC_ON_STACK COMPAT have_WB_congested_enum COMPAT have_allow_kernel_signal COMPAT have_bdev_nr_sectors COMPAT have_bdgrab COMPAT have_bdi_congested_fn COMPAT have_bio_bi_bdev COMPAT have_bio_bi_error COMPAT have_bio_bi_opf COMPAT have_bio_bi_status COMPAT have_bio_clone_fast COMPAT have_bio_op_shift COMPAT have_bio_set_dev COMPAT have_bio_set_op_attrs COMPAT have_bio_start_io_acct COMPAT have_bioset_init COMPAT have_bioset_need_bvecs COMPAT have_blk_alloc_disk COMPAT have_blk_alloc_queue_rh COMPAT have_blk_check_plugged COMPAT have_blk_qc_t_make_request COMPAT have_blk_qc_t_submit_bio COMPAT have_blk_queue_flag_set COMPAT have_blk_queue_make_request COMPAT have_blk_queue_merge_bvec COMPAT have_blk_queue_split_bio COMPAT have_blk_queue_split_q_bio COMPAT have_blk_queue_split_q_bio_bioset COMPAT have_blk_queue_update_readahead COMPAT have_blk_queue_write_cache COMPAT have_d_inode COMPAT have_disk_update_readahead COMPAT have_fallthrough COMPAT have_fs_dax_get_by_bdev COMPAT have_generic_start_io_acct_q_rw_sect_part COMPAT have_generic_start_io_acct_rw_sect_part COMPAT have_genl_family_parallel_ops COMPAT have_hd_struct COMPAT have_ib_cq_init_attr COMPAT have_ib_get_dma_mr COMPAT have_idr_is_empty COMPAT have_inode_lock COMPAT have_ktime_to_timespec64 COMPAT have_kvfree COMPAT have_max_send_recv_sge COMPAT have_nla_nest_start_noflag COMPAT have_nla_parse_deprecated COMPAT have_nla_put_64bit COMPAT have_nla_strscpy COMPAT have_part_stat_h COMPAT have_part_stat_read_accum COMPAT have_pointer_backing_dev_info COMPAT have_proc_create_single COMPAT have_queue_flag_stable_writes COMPAT have_rb_declare_callbacks_max COMPAT have_refcount_inc COMPAT have_req_hardbarrier COMPAT have_req_noidle COMPAT have_req_nounmap COMPAT have_req_op_write COMPAT have_req_op_write_zeroes COMPAT have_req_write COMPAT have_revalidate_disk_size COMPAT have_sched_set_fifo COMPAT have_security_netlink_recv COMPAT have_sendpage_ok COMPAT have_set_capacity_and_notify COMPAT have_shash_desc_zero COMPAT have_simple_positive COMPAT have_sock_set_keepalive COMPAT have_struct_bvec_iter COMPAT have_struct_size COMPAT have_submit_bio_noacct COMPAT have_tcp_sock_set_cork COMPAT have_tcp_sock_set_nodelay COMPAT have_tcp_sock_set_quickack COMPAT have_time64_to_tm COMPAT have_timer_setup COMPAT have_void_make_request COMPAT have_void_submit_bio COMPAT ib_alloc_pd_has_2_params COMPAT ib_device_has_ops COMPAT ib_post_send_const_params COMPAT ib_query_device_has_3_params COMPAT need_make_request_recursion COMPAT part_stat_read_takes_block_device COMPAT queue_limits_has_discard_zeroes_data COMPAT rdma_create_id_has_net_ns COMPAT sock_create_kern_has_five_parameters COMPAT sock_ops_returns_addr_len COMPAT struct_gendisk_has_backing_dev_info UPD /tmp/pkg/drbd-9.1.8/drbd/compat.5.15.39.h UPD /tmp/pkg/drbd-9.1.8/drbd/compat.h make[4]: 'drbd-kernel-compat/cocci_cache/74688e3f60b12f8e1adfcc25debe6f57/compat.patch' is up to date. PATCH patching file ./drbd_int.h patching file drbd_req.c patching file drbd_receiver.c patching file drbd_nl.c patching file drbd_main.c patching file drbd_debugfs.c patching file drbd_dax_pmem.c patching file drbd_bitmap.c patching file drbd_actlog.c CC [M] /tmp/pkg/drbd-9.1.8/drbd/drbd_dax_pmem.o ./tools/objtool/objtool: error while loading shared libraries: libelf.so.1: cannot open shared object file: No such file or directory make[3]: *** [scripts/Makefile.build:285: /tmp/pkg/drbd-9.1.8/drbd/drbd_dax_pmem.o] Error 127 make[3]: *** Deleting file '/tmp/pkg/drbd-9.1.8/drbd/drbd_dax_pmem.o' make[2]: *** [Makefile:1875: /tmp/pkg/drbd-9.1.8/drbd] Error 2 make[1]: *** [Makefile:134: kbuild] Error 2 make[1]: Leaving directory '/tmp/pkg/drbd-9.1.8/drbd' make: *** [Makefile:126: module] Error 2 Could not find the expexted *.ko, see stderr for more details
The text was updated successfully, but these errors were encountered:
Probably the same fix as applyied to the ubuntu-jammy image: #109
It's the same kernel you are using (not the standard ubuntu-focal one), which needs that additional tool
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Cannot run
drbd9-focal
in compilation mode on Ubuntu 20.04 5.15.0-43-generic. It is failing because ofThe text was updated successfully, but these errors were encountered: