Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
i m fix in [root at localhost SOURCES]# diff /usr/lib/rpm/redhat/kmodtool /usr/lib/rpm/redhat/kmodtool.orig 63c63 < verrel=$(ls -Ud /usr/src/kernels/$verprefix*$versuffix | sort -V | tail -n 1) --- > verrel=$(ls -Ud /usr/src/kernels/$verprefix*$versuffix.$arch | sort -V | tail -n 1) The package turned out But now he gives out this message ******************************************************************************** *********************** KERNEL ABI COMPATIBILITY WARNING *********************** ******************************************************************************** The kernel ABI reference files (provided by kabi-whitelists) were not found. No compatibility check was performed. Please install the kABI reference files and rebuild if you would like to verify compatibility with kernel ABI. Provides: kernel-modules >= 4.4.0+10 drbd-kmod = 9.0.9rc2-1.el7.centos kmod-drbd = 9.0.9rc2_4.4.0+10-1.el7.centos kmod-drbd(x86-64) = 9.0.9rc2_4.4.0+10-1.el7.centos modalias(block-major-147-*) = 9.0.9rc2-1 ksym(drbd_alloc_pages) = 0xd7c92726 ksym(drbd_destroy_connection) = 0x5e76b4f9 ksym(drbd_destroy_path) = 0x22122b9b ksym(drbd_find_path_by_addr) = 0x1c0dca31 ksym(drbd_free_pages) = 0xfc01c2a4 ksym(drbd_get_listener) = 0x832f1035 ksym(drbd_path_event) = 0x1376acaf ksym(drbd_put_listener) = 0x45c55d8e ksym(drbd_register_transport_class) = 0x98e8dab3 ksym(drbd_should_abort_listening) = 0x28bbe1cb ksym(drbd_stream_send_timed_out) = 0x0de6737b ksym(drbd_unregister_transport_class) = 0xcb837f40 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Requires(post): /usr/sbin/depmod /bin/sh Requires(preun): /bin/sh Requires(postun): /usr/sbin/depmod /bin/sh Requires: kernel(___ratelimit) = 0xc0cd3b13 kernel(__alloc_pages_nodemask) = 0xc22c9ac5 kernel(__alloc_skb) = 0x26564399 kernel(__alloc_workqueue_key) = 0x43a53735 kernel(__bitmap_parse) = 0x4df119fa kernel(__dynamic_pr_debug) = 0x44b1d426 kernel(__fentry__) = 0xbdfb6dbb kernel(__free_pages) = 0xd5f5cc43 kernel(__genl_register_family) = 0x9d47351e kernel(__get_free_pages) = 0x93fca811 kernel(__init_waitqueue_head) = 0x09e88526 kernel(__ipv6_addr_type) = 0x0d542439 kernel(__kmalloc) = 0xd2b09ce5 kernel(__mutex_init) = 0xf16db1bd kernel(__per_cpu_offset) = 0xc5844fb8 kernel(__request_module) = 0x402b8281 kernel(__sw_hweight32) = 0x74c134b9 kernel(__sw_hweight64) = 0x9f46ced8 kernel(__vmalloc) = 0xa9bd2676 kernel(__wake_up) = 0xa6bbd805 kernel(_cond_resched) = 0xa1c76e0a kernel(_copy_from_user) = 0x4f6b400b kernel(_raw_spin_lock) = 0xe259ae9e kernel(_raw_spin_lock_bh) = 0xd9d3bcd3 kernel(_raw_spin_lock_irq) = 0xe5815f8a kernel(_raw_spin_lock_irqsave) = 0x680ec266 kernel(_raw_spin_unlock_bh) = 0xbba70a2d kernel(_raw_spin_unlock_irqrestore) = 0x1916e38c kernel(add_disk) = 0xe98372c4 kernel(add_timer) = 0x1bb31047 kernel(alloc_disk) = 0x65d755a7 kernel(autoremove_wake_function) = 0xc8b57c27 kernel(bd_link_disk_holder) = 0xb1b36938 kernel(bd_unlink_disk_holder) = 0x0cae1ec1 kernel(bdevname) = 0xa9ab77cc kernel(bdget) = 0xa4ed76b2 kernel(bdput) = 0xe3a00aab kernel(bio_add_page) = 0x89cbd386 kernel(bio_alloc_bioset) = 0x85e4d867 kernel(bio_clone_bioset) = 0x01e5adba kernel(bio_endio) = 0x1121958c kernel(bio_put) = 0x2e161bf3 kernel(bioset_create) = 0xc4072e44 kernel(bioset_free) = 0x326c5531 kernel(blk_alloc_queue) = 0x8e5c8020 kernel(blk_check_plugged) = 0xd27b25dd kernel(blk_cleanup_queue) = 0xed1114d9 kernel(blk_finish_plug) = 0xbd9074b1 kernel(blk_queue_bounce_limit) = 0xad3f1310 kernel(blk_queue_flush) = 0x89efb68b kernel(blk_queue_logical_block_size) = 0xd409fa33 kernel(blk_queue_make_request) = 0xfd034022 kernel(blk_queue_max_discard_sectors) = 0x3e9b468a kernel(blk_queue_max_hw_sectors) = 0xb4f7040b kernel(blk_queue_max_write_same_sectors) = 0xf9079f94 kernel(blk_queue_segment_boundary) = 0x0aa5a209 kernel(blk_queue_split) = 0xbe4631c4 kernel(blk_queue_stack_limits) = 0x29e720b1 kernel(blk_set_stacking_limits) = 0x950e56ce kernel(blk_start_plug) = 0x7d705738 kernel(blkdev_get_by_path) = 0x5cdcf7e4 kernel(blkdev_issue_discard) = 0x027c9d9d kernel(blkdev_issue_write_same) = 0xb1c9c266 kernel(blkdev_issue_zeroout) = 0xf66194dd kernel(blkdev_put) = 0x1a7b29a0 kernel(call_usermodehelper) = 0xc5fdef94 kernel(capable) = 0xc6cbbc89 kernel(complete) = 0xb2d5a552 kernel(contig_page_data) = 0x02aa63c5 kernel(copy_page) = 0x33b84f74 kernel(cpu_online_mask) = 0x7d6bb587 kernel(cpu_possible_mask) = 0xb2e55898 kernel(cpu_tss) = 0x3356b90b kernel(crc32c) = 0x27000b29 kernel(crypto_ahash_final) = 0x241aaade kernel(crypto_alloc_ahash) = 0x2fae845a kernel(crypto_alloc_shash) = 0x71565cc0 kernel(crypto_destroy_tfm) = 0x703d2abd kernel(crypto_shash_digest) = 0xa3d89811 kernel(crypto_shash_setkey) = 0x8f54c0e6 kernel(current_task) = 0x2f5243e4 kernel(debugfs_create_dir) = 0x5d09ee72 kernel(debugfs_create_file) = 0x88a95cd1 kernel(debugfs_create_symlink) = 0xbcfb3e3b kernel(debugfs_remove) = 0x105935da kernel(del_gendisk) = 0xe3e3f1de kernel(del_timer) = 0x6c09c2a4 kernel(del_timer_sync) = 0x706d051c kernel(destroy_workqueue) = 0x8c03d20c kernel(down) = 0x6dc6dd56 kernel(down_read) = 0xb572eefb kernel(down_trylock) = 0x156a8a59 kernel(down_write) = 0xa1e0ce85 kernel(find_first_bit) = 0xb352177e kernel(find_next_bit) = 0xc0a3d105 kernel(find_next_zero_bit) = 0x479c3c86 kernel(finish_wait) = 0xf08242c2 kernel(flush_signals) = 0x33a0a641 kernel(flush_workqueue) = 0x42160169 kernel(force_sig) = 0x68466311 kernel(free_pages) = 0x4302d0eb kernel(fs_bio_set) = 0x0168922c kernel(generic_end_io_acct) = 0xb9a30979 kernel(generic_make_request) = 0x93501a1c kernel(generic_start_io_acct) = 0xab70b370 kernel(genl_unregister_family) = 0xc74b4182 kernel(genlmsg_put) = 0x2b4cac6d kernel(get_random_bytes) = 0x79aa04a2 kernel(idr_alloc) = 0x0a4fde00 kernel(idr_destroy) = 0x809388ca kernel(idr_find_slowpath) = 0x81144f9d kernel(idr_get_next) = 0xfef2c78f kernel(idr_init) = 0x5fb2e8ef kernel(idr_is_empty) = 0x745f20a3 kernel(idr_remove) = 0xdf1427e5 kernel(init_net) = 0x911e877b kernel(init_timer_key) = 0x09580deb kernel(jiffies) = 0x7d11c268 kernel(jiffies_to_msecs) = 0x37befc70 kernel(kasprintf) = 0x733c3b54 kernel(kfree) = 0x037a0cba kernel(kfree_skb) = 0x4af82f18 kernel(kmalloc_caches) = 0x65396bf9 kernel(kmem_cache_alloc) = 0x658b4852 kernel(kmem_cache_alloc_trace) = 0x2bcef99b kernel(kmem_cache_create) = 0x93f2eecb kernel(kmem_cache_destroy) = 0x790c94b1 kernel(kmem_cache_free) = 0x2628123c kernel(kmem_cache_size) = 0xf97fd45a kernel(kobject_uevent) = 0x1e19e246 kernel(kstrdup) = 0xc499ae1e kernel(kthread_create_on_node) = 0x5a0660ea kernel(ktime_get) = 0xc87c1f84 kernel(kvasprintf) = 0x4c346a53 kernel(kvfree) = 0x7aa1756e kernel(memcmp) = 0x449ad0a7 kernel(memcpy) = 0x69acdf38 kernel(mempool_alloc) = 0x00b8c3a7 kernel(mempool_alloc_pages) = 0x53326531 kernel(mempool_alloc_slab) = 0x183fa88b kernel(mempool_create) = 0x26cb34a2 kernel(mempool_destroy) = 0x610aaa40 kernel(mempool_free) = 0xad6e4bb6 kernel(mempool_free_pages) = 0xd985dc99 kernel(mempool_free_slab) = 0x8a99a016 kernel(memset) = 0xfb578fc5 kernel(mod_timer) = 0x016e5c2a kernel(mod_timer_pending) = 0x598e4904 kernel(module_layout) = 0x73c587b7 kernel(module_put) = 0xe4ba1ea3 kernel(mutex_lock) = 0xb641f186 kernel(mutex_lock_interruptible) = 0x4cdfd142 kernel(mutex_trylock) = 0x46ecc055 kernel(mutex_unlock) = 0xb54ba037 kernel(netlink_broadcast) = 0xed4a4353 kernel(netlink_unicast) = 0xf81b5c5a kernel(nla_find) = 0xcd279169 kernel(nla_memcpy) = 0xf1db1704 kernel(nla_parse) = 0x4f391d0e kernel(nla_put) = 0x8afaebe7 kernel(nla_put_nohdr) = 0xe77e14fe kernel(nla_strlcpy) = 0x6b640864 kernel(nr_cpu_ids) = 0xfe7c4287 kernel(nsecs_to_jiffies) = 0x5cc509a4 kernel(panic) = 0x7c1372e8 kernel(param_ops_bool) = 0x594805bb kernel(param_ops_int) = 0xf4cdf76d kernel(param_ops_string) = 0x5a42730a kernel(param_ops_uint) = 0x2d3ae39b kernel(prandom_u32) = 0xa735db59 kernel(prepare_to_wait) = 0x3bb5114a kernel(prepare_to_wait_event) = 0x2207a57f kernel(printk) = 0x27e1a049 kernel(proc_create_data) = 0x349255e7 kernel(put_disk) = 0xe89f0455 kernel(put_page) = 0x6f55b451 kernel(pv_irq_ops) = 0x78764f4e kernel(pv_lock_ops) = 0x6bf1c17f kernel(queue_work_on) = 0x2e0d2f7f kernel(rb_erase) = 0x4d9b652b kernel(rb_insert_color) = 0xa5526619 kernel(rb_next) = 0xca9360b5 kernel(register_blkdev) = 0x71a50dbc kernel(remove_proc_entry) = 0x48241c21 kernel(sched_setscheduler) = 0x0cb20b88 kernel(schedule) = 0x01000e51 kernel(schedule_timeout) = 0xd62c833f kernel(schedule_timeout_interruptible) = 0x09c55cec kernel(schedule_timeout_uninterruptible) = 0xd0ee38b8 kernel(scnprintf) = 0x4ca9669f kernel(seq_lseek) = 0xf221a941 kernel(seq_printf) = 0x8c24b630 kernel(seq_putc) = 0x0c2f4ca3 kernel(seq_puts) = 0xc1482689 kernel(seq_read) = 0xa2028028 kernel(set_cpus_allowed_ptr) = 0xdc594d3c kernel(set_disk_ro) = 0x628c1eb3 kernel(sg_init_table) = 0xc897c382 kernel(single_open) = 0xb04baf91 kernel(single_release) = 0x202d8798 kernel(skb_trim) = 0xf8f90ebc kernel(snprintf) = 0x28318305 kernel(sprintf) = 0x91715312 kernel(strchr) = 0x349cba85 kernel(strcmp) = 0xe2d5255a kernel(strcpy) = 0xe914e41e kernel(strlcpy) = 0x5792f848 kernel(strlen) = 0x754d539c kernel(strstr) = 0x1e6d26a8 kernel(submit_bio) = 0x5ba59c5b kernel(synchronize_sched) = 0x0c2cdbf1 kernel(try_module_get) = 0x1c9efd97 kernel(unregister_blkdev) = 0xb5a459dc kernel(up) = 0x78e739aa kernel(up_read) = 0xd0205824 kernel(up_write) = 0xb7e95376 kernel(vsnprintf) = 0x99195078 kernel(wait_for_completion) = 0x64ab0e98 kernel(wake_up_process) = 0x0d0d5447 kernel(warn_slowpath_fmt) = 0x1e047854 kernel(warn_slowpath_null) = 0x16305289 Processing files: drbd-kernel-debuginfo-9.0.9rc2-1.el7.centos.x86_64 Provides: drbd-kernel-debuginfo = 9.0.9rc2-1.el7.centos drbd-kernel-debuginfo(x86-64) = 9.0.9rc2-1.el7.centos Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /root/rpmbuild/BUILDROOT/drbd-kernel-9.0.9rc2-1.el7.centos.x86_64 Wrote: /root/rpmbuild/RPMS/x86_64/kmod-drbd-9.0.9rc2_4.4.0+10-1.el7.centos.x86_64.rpm Wrote: /root/rpmbuild/RPMS/x86_64/drbd-kernel-debuginfo-9.0.9rc2-1.el7.centos.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.uBD568 + umask 022 + cd /root/rpmbuild/BUILD + cd drbd-9.0.9rc2-1 + rm -rf /root/rpmbuild/BUILDROOT/drbd-kernel-9.0.9rc2-1.el7.centos.x86_64 + exit 0 You have now: /root/rpmbuild/RPMS/x86_64/drbd-kernel-debuginfo-9.0.9rc2-1.el7.centos.x86_64.rpm /root/rpmbuild/RPMS/x86_64/kmod-drbd-9.0.9rc2_4.4.0+10-1.el7.centos.x86_64.rpm 2017-08-22 11:40 GMT+03:00 Roland Kammerer <roland.kammerer at linbit.com>: > On Tue, Aug 22, 2017 at 11:09:49AM +0300, Dmitrij Nemirskij wrote: > > Hi, Roland > > > > Standart make compile with prefix .x86_64 > > you can set the KDIR variable. > > And sorry, that is the end of what I'm willing to assist. I'm biased, > but figure that out yourself, or get in contact with sales@, we build > packages for xen. (And no, we don't make it intentionally hard, if we > would do that, we would not even ship the make targets/spec files, but > rpm and their "build tools" stink so terribly bad that we have to hack > around every rpm-based distribution ourselves. What you get is the > "generic version"). > > Good luck, rck > _______________________________________________ > drbd-user mailing list > drbd-user at lists.linbit.com > http://lists.linbit.com/mailman/listinfo/drbd-user > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20170822/29f77443/attachment.htm>