Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-1361

Lustre kernel rpm does not provide kernel ABI (kabi) information

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.3.0, Lustre 2.1.2
    • Lustre 2.1.0
    • None
    • RHEL/CentOS 6.2
    • 3
    • 4624

    Description

      It appears the Lustre kernel rpm is built without any of the kernel ABI (kabi) information
      left in tact. For example:

      [root@localhost ~]# rpm -q --provides kernel-2.6.32-220.el6_lustre.g4554b65.x86_64
      kernel = 2.6.32-220.el6_lustre.g4554b65
      kernel-x86_64 = 2.6.32-220.el6_lustre.g4554b65
      kernel-drm = 4.3.0
      kernel-drm-nouveau = 16
      kernel-modeset = 1
      kernel-uname-r = 2.6.32-220.el6_lustre.g4554b65.x86_64
      kernel-xen = 2.6.32-220.el6_lustre.g4554b65
      kernel = 2.6.32-220.el6_lustre.g4554b65
      kernel(x86-64) = 2.6.32-220.el6_lustre.g4554b65

      Compare this with the corresponding kernel rpm from RHEL/CentOS:

      $ rpm -q --provides kernel-2.6.32-220.el6.x86_64
      kernel = 2.6.32-220.el6
      kernel-x86_64 = 2.6.32-220.el6
      kernel-drm = 4.3.0
      kernel-drm-nouveau = 16
      kernel-modeset = 1
      kernel-uname-r = 2.6.32-220.el6.x86_64
      kernel-xen = 2.6.32-220.el6
      kernel(DSA_verify) = 0xa39f03eb
      kernel(FsmChangeState) = 0x93a64734
      kernel(FsmDelTimer) = 0xd94696e8
      kernel(FsmEvent) = 0x9df0cd27
      kernel(FsmFree) = 0x148f0c99
      kernel(FsmInitTimer) = 0x2844a899
      kernel(FsmNew) = 0xf0a16657
      kernel(FsmRestartTimer) = 0xc0c558f9
      kernel(HiSax_closecard) = 0xfc27303b
      kernel(IO_APIC_get_PCI_irq_vector) = 0x8b5f4a2e
      kernel(I_BDEV) = 0x7943ad5f
      kernel(NS8390_init) = 0x5f59ca13
      kernel(PageHuge) = 0xe87ff41d
      kernel(____pagevec_lru_add) = 0x51c031e9
      kernel(___pskb_trim) = 0x1486c82b
      kernel(__add_pages) = 0x159c2135
      kernel(__alloc_ei_netdev) = 0x06289df0
      kernel(__alloc_pages_nodemask) = 0x73612923
      kernel(__alloc_percpu) = 0x55f2580b
      kernel(__alloc_skb) = 0x25421969
      kernel(__any_online_cpu) = 0xa84f6b1b
      kernel(__async_tx_find_channel) = 0x2ca520fe
      kernel(__ata_ehi_push_desc) = 0x30d836b6
      kernel(__atomic_notifier_call_chain) = 0x880b189a
      kernel(__audit_inode_child) = 0x731519b6
      kernel(__bdevname) = 0x6b1b67d3
      kernel(__bforget) = 0x334f658f
      kernel(__bio_clone) = 0x93313548
      kernel(__bitmap_and) = 0xd77a5aa5
      kernel(__bitmap_andnot) = 0x9e9f1714
      kernel(__bitmap_complement) = 0xf3bf0bce
      kernel(__bitmap_empty) = 0x6d27ef64
      kernel(__bitmap_equal) = 0xc256e762
      kernel(__bitmap_full) = 0xb0b847ac
      kernel(__bitmap_intersects) = 0xea10655a
      kernel(__bitmap_or) = 0x9f2bdaac
      kernel(__bitmap_parse) = 0x4df119fa
      kernel(__bitmap_shift_left) = 0x76bf656d
      kernel(__bitmap_shift_right) = 0x0acb1a3c
      kernel(__bitmap_subset) = 0x4a358252
      kernel(__bitmap_weight) = 0x4cbbd171
      kernel(__bitmap_xor) = 0xd0181f4f
      kernel(__blk_end_request) = 0x8c963758
      kernel(__blk_end_request_all) = 0x12884d17
      kernel(__blk_end_request_cur) = 0xc7d4165d
      kernel(__blk_end_request_err) = 0x12857c84
      kernel(__blk_iopoll_complete) = 0xe697d108
      kernel(__blk_put_request) = 0xb773368f
      kernel(__blk_run_queue) = 0xfe631669
      kernel(__blkdev_driver_ioctl) = 0x17db04ba
      kernel(__blkdev_issue_flush) = 0xa1eb7662
      kernel(__block_page_mkwrite) = 0xa61375d2
      kernel(__blockdev_direct_IO) = 0x73c8cbaa
      kernel(__blockdev_direct_IO_newtrunc) = 0xb587b929
      kernel(__blocking_notifier_call_chain) = 0x95758050
      kernel(__bread) = 0x5939a439
      kernel(__breadahead) = 0x103f02e0
      kernel(__break_lease) = 0x227e3baf
      kernel(__brelse) = 0xc4fd7707
      kernel(__cap_empty_set) = 0xbf9bcc8d
      kernel(__cap_full_set) = 0x1efe283f
      kernel(__cap_init_eff_set) = 0x29bd4c46
      kernel(__cfg80211_auth_canceled) = 0xf2cd0dd5
      kernel(__check_region) = 0xa8a6f639
      kernel(__class_create) = 0xa2654165
      kernel(__class_register) = 0xb1778da7
      kernel(__clear_user) = 0x94b3f6cf
      kernel(__cond_resched_lock) = 0x6eb0fdf3
      kernel(__cond_resched_softirq) = 0x70523a7a
      kernel(__const_udelay) = 0xeae3dfd6
      kernel(__copy_from_user_inatomic) = 0x8b55badc
      kernel(__copy_user_nocache) = 0x1db7706b
      kernel(__cpufreq_driver_getavg) = 0xddf10c5d
      kernel(__cpufreq_driver_target) = 0xe694c12f
      kernel(__create_workqueue_key) = 0x9c14f8c3
      kernel(__crypto_alloc_tfm) = 0xab1d97b0
      kernel(__crypto_dequeue_request) = 0x4672e88b
      kernel(__dec_zone_page_state) = 0xb1ef2b2a
      kernel(__delay) = 0x466c14a7
      kernel(__destroy_inode) = 0xf76ad472
      kernel(__dev_addr_sync) = 0xec1a75a9
      kernel(__dev_addr_unsync) = 0xe901175f
      kernel(__dev_get_by_index) = 0x6a6d551b
      kernel(__dev_get_by_name) = 0x5a4767f7
      kernel(__dev_getfirstbyhwtype) = 0x5e15f9d4
      kernel(__dev_remove_pack) = 0x3896aa79
      kernel(__devm_release_region) = 0x36f2dafc
      kernel(__devm_request_region) = 0x3fa228d4
      kernel(__dma_request_channel) = 0x28f95e81
      kernel(__dst_free) = 0x56419a91
      kernel(__elv_add_request) = 0x143fdc68
      kernel(__f_setown) = 0xad6b94e5
      kernel(__fcoe_get_lesb) = 0x567267da
      kernel(__find_get_block) = 0x96aac329
      kernel(__first_cpu) = 0xa75b2363
      kernel(__follow_down) = 0x2bcb933c
      kernel(__free_pages) = 0xffd35acd
      kernel(__fscache_acquire_cookie) = 0xa287c009
      kernel(__fscache_alloc_page) = 0x03818b6b
      kernel(__fscache_attr_changed) = 0x6293d208
      kernel(__fscache_check_page_write) = 0x17062af7
      kernel(__fscache_maybe_release_page) = 0x247b8343
      kernel(__fscache_read_or_alloc_page) = 0xdd1f5522

      .... and so forth ....

      Note your kernel is missing all the kabi hashes for the whitelisted
      (exported) symbols.

      This causes problems when installing other kernel modules that are
      packaged according to Red Hat's kernel module package format. See:

      http://people.redhat.com/jcm/el6/dup/docs/dup_book.pdf

      Attachments

        Issue Links

          Activity

            People

              mdiep Minh Diep
              gedwards Greg Edwards
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: