OT: Errors Compiling Kernel Module As A Rpm Package

Home » CentOS » OT: Errors Compiling Kernel Module As A Rpm Package
CentOS 1 Comment

Hi all,

I am trying to compile openswitch’s kernel module in a CentOS 6.4
host, but fails in rpm-check:

Requires: kernel(__alloc_percpu) = 0x55f2580b kernel(__alloc_skb) 0x25421969 kernel(__dev_get_by_index) = 0x6a6d551b kernel(__init_waitqueue_head) = 0xffc7c184 kernel(__ip_select_ident) 0x848695b3 kernel(__kmalloc) = 0x5a34a45c kernel(__list_add) 0x0343a1a8 kernel(__nla_put) = 0x3e2e6f8c kernel(__nla_reserve) 0x391515a6 kernel(__per_cpu_offset) = 0x32047ad5
kernel(__pskb_pull_tail) = 0xaa1b9b4e kernel(__put_net) = 0xcb27f3de kernel(__secpath_destroy) = 0x430555cc kernel(__skb_checksum_complete)
= 0xcf0b750c kernel(__skb_warn_lro_forwarding) = 0x4d288688
kernel(__stack_chk_fail) = 0xf0fdf6cb kernel(__wake_up) = 0x642e54ac kernel(_read_lock) = 0x1a75caa3 kernel(_spin_lock) = 0x973873ab kernel(_spin_lock_bh) = 0x93cbd1ec kernel(_spin_lock_irq) = 0xecde1418
kernel(_spin_lock_irqsave) = 0x712aa29b kernel(_spin_unlock_bh) 0x3aa1dbcf kernel(_spin_unlock_irqrestore) = 0x4b07e779
kernel(add_timer) = 0x46085e4f kernel(alloc_netdev_mq) = 0xafbc0d15
kernel(autoremove_wake_function) = 0xc8b57c27 kernel(boot_tvec_bases)
= 0xfc6256b9 kernel(call_rcu) = 0x1251d30f kernel(complete) 0xe456bd3a kernel(consume_skb) = 0x0de0cf25 kernel(cpu_possible_mask)
= 0x76a495c1 kernel(csum_partial) = 0xe113bbbc kernel(del_timer) 0x6307fc98 kernel(dev_base_lock) = 0xd1f91bcd kernel(dev_get_by_name)
= 0x6edb8870 kernel(dev_queue_xmit) = 0x0d110dab kernel(dev_set_promiscuity) = 0x599a4d52 kernel(dst_release) 0xec3f0011 kernel(eth_type_trans) = 0xd55704ee kernel(ether_setup) 0x7f8bdd3a kernel(ethtool_op_get_link) = 0xd4be820d kernel(ethtool_op_get_sg) = 0x14ff9fcb kernel(ethtool_op_get_tso) 0xcee83622 kernel(ethtool_op_get_tx_csum) = 0xecda447a kernel(ethtool_op_set_sg) = 0x89f397a9 kernel(ethtool_op_set_tso) 0xbf4e56cf kernel(ethtool_op_set_tx_hw_csum) = 0xdcb79e8c kernel(find_next_bit) = 0xc0a3d105 kernel(finish_wait) = 0x9ccb2622
kernel(free_netdev) = 0x7bd0a577 kernel(free_percpu) = 0xc9ec4e21
kernel(genl_register_family_with_ops) = 0x17c50208
kernel(genl_register_mc_group) = 0x20385c58
kernel(genl_unregister_family) = 0x49439411 kernel(get_random_bytes) 0x79aa04a2 kernel(inet_add_protocol) = 0xc0b47bb1
kernel(inet_del_protocol) = 0x09ac2202
kernel(inet_get_local_port_range) = 0x475100c2
kernel(inet_proto_csum_replace4) = 0xac63b351 kernel(ip_local_out) 0xd7c18d8f kernel(ip_route_output_key) = 0x9affb5fe kernel(ipv6_ext_hdr) = 0x8e0b7743 kernel(jiffies) = 0x7d11c268
kernel(jiffies_to_msecs) = 0x37befc70 kernel(kernel_bind) = 0x957e225b kernel(kfree) = 0x037a0cba kernel(kfree_skb) = 0x3d75cbcf kernel(kmem_cache_alloc) = 0xee065ced kernel(kmem_cache_alloc_trace) 0x2044fa9e kernel(kmem_cache_create) = 0xe4a639f8
kernel(kmem_cache_destroy) = 0x806e575f kernel(kmem_cache_free) 0x7329e40d kernel(ksize) = 0xa0d3d560 kernel(kthread_create) 0xc185e3ce kernel(kthread_should_stop) = 0xd2965f6f kernel(kthread_stop) = 0xcf08c5b6 kernel(ktime_get_ts) = 0xefdd5a63
kernel(list_del) = 0x0521445b kernel(local_bh_disable) = 0x3ff62317
kernel(local_bh_enable) = 0x0799aca4 kernel(malloc_sizes) = 0xd691cba2
kernel(mcount) = 0xb4390f9a kernel(memcpy) = 0x236c8c64
kernel(memmove) = 0xa3a5be95 kernel(memset) = 0xde0bdcff kernel(module_layout) = 0x14522340 kernel(mutex_lock) = 0xfee8a795
kernel(mutex_unlock) = 0x03758301 kernel(net_assign_generic) 0xa43636ec kernel(net_namespace_list) = 0x6d2fc5a6
kernel(net_ratelimit) = 0xf6ebc03b kernel(netif_rx) = 0x75484296
kernel(netlink_broadcast) = 0x00312919 kernel(netlink_set_err) 0xb3a0e7bb kernel(netlink_unicast) = 0x27418d14
kernel(nf_conntrack_destroy) = 0xd83791bc kernel(nla_find) 0x444779c4 kernel(nla_memcpy) = 0xf1db1704 kernel(nla_parse) 0xa58b6804 kernel(nla_put) = 0x37587aff kernel(nla_reserve) 0x9c3fb1a2 kernel(nlmsg_notify) = 0x888d0b57 kernel(nr_cpu_ids) 0xfe7c4287 kernel(openvswitch_handle_frame_hook) = 0xbe03eb4d kernel(param_get_int) = 0x6980fe91 kernel(param_set_int) = 0xff964b25
kernel(per_cpu__current_task) = 0x4f1939c7
kernel(per_cpu__kernel_stack) = 0x6dcaeb88
kernel(per_cpu__this_cpu_off) = 0x57adf756 kernel(prepare_to_wait) 0x33d92f9a kernel(printk) = 0xea147363 kernel(pskb_expand_head) 0xf5f5d2d9 kernel(pv_irq_ops) = 0x78764f4e kernel(random32) 0xb86e4ab9 kernel(rcu_barrier) = 0x60a13e90 kernel(register_netdevice)
= 0xe85f2610 kernel(register_netdevice_notifier) = 0x63ecad53
kernel(register_pernet_gen_device) = 0x72428be7 kernel(rtnl_lock) 0xc7a4fbed kernel(rtnl_unlock) = 0x6e720ff2 kernel(schedule) 0x01000e51 kernel(sk_release_kernel) = 0x829200f4 kernel(skb_checksum)
= 0x10af67fe kernel(skb_checksum_help) = 0x72fad770 kernel(skb_clone)
= 0xd87b0b1f kernel(skb_copy_and_csum_dev) = 0x51154c2a kernel(skb_copy_bits) = 0x20242fb9 kernel(skb_gso_segment) 0x3461dbb2 kernel(skb_pull) = 0xd3c80841 kernel(skb_pull_rcsum) 0xc238d18d kernel(skb_push) = 0x3229caeb kernel(skb_put) = 0x207b7e2c kernel(skb_trim) = 0xc01e3b23 kernel(sock_create_kern) = 0xe91d52ab kernel(strcmp) = 0xe2d5255a kernel(strcpy) = 0xe914e41e kernel(strlcpy) = 0x672144bd kernel(strlen) = 0x25ec1b28
kernel(unregister_netdevice) = 0x24498994
kernel(unregister_netdevice_notifier) = 0xfe769456
kernel(unregister_pernet_gen_device) = 0xf3ff6e0c kernel(wait_for_completion) = 0x1cefe352 kernel(wake_up_process) 0x266c7c38
Checking for unpackaged file(s): /usr/lib/rpm/check-files
/home/clopezma/rpmbuild/BUILDROOT/openvswitch-kmod-1.11.0-1.el6.x86_64
error: Installed (but unpackaged) file(s) found:
/etc/depmod.d/openvswitch.conf

RPM build errors:
Installed (but unpackaged) file(s) found:
/etc/depmod.d/openvswitch.conf

Any idea why?? I am not an expert rpm packager :))

One thought on - OT: Errors Compiling Kernel Module As A Rpm Package

LEAVE A COMMENT