View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000933 | channel: elrepo/el7 | --elrepo--OTHER-- | public | 2019-09-07 08:11 | 2019-09-07 15:57 |
Reporter | dchocjkal | Assigned To | stindall | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | no change required | ||
Summary | 0000933: kmod drbd compile for new Kernel RHEL 7.7 | ||||
Description | Please help to compile drbd for new kernel in RHEL 7.7 3.10.0-1062.el7.x86_64 kmod drbd and drbd util | ||||
Additional Information | Please help to compile drbd for new kernel in RHEL 7.7 3.10.0-1062.el7.x86_64 kmod drbd and drbd util | ||||
Tags | No tags attached. | ||||
Reported upstream | |||||
|
Is this drbd90? kmod-drbd84 has been reported to work in EL 7.7. |
|
Better it is for drbd84. And I found that it is not working I recently updated the OS from RHEL 7.4 to 7.7 I even tried to uninstall the kmod drdb and reinstall it again it is not working [root@CVSR-ESMAD-02-0262 ~]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.7 (Maipo) [root@CVSR-ESMAD-02-0262 ~]# [root@CVSR-ESMAD-02-0262 ~]# insmod /lib/modules/3.10.0-693.el7.x86_64/extra/drbd84/drbd.ko insmod: ERROR: could not insert module /lib/modules/3.10.0-693.el7.x86_64/extra/drbd84/drbd.ko: Invalid parameters [root@CVSR-ESMAD-02-0262 ~]# [root@CVSR-ESMAD-02-0262 ~]# [root@CVSR-ESMAD-02-0262 ~]# modinfo drdb modinfo: ERROR: Module drdb not found. [root@CVSR-ESMAD-02-0262 ~]# modinfo /lib/modules/3.10.0-693.el7.x86_64/extra/drbd84/drbd.ko filename: /lib/modules/3.10.0-693.el7.x86_64/extra/drbd84/drbd.ko alias: block-major-147-* license: GPL version: 8.4.10-1 description: drbd - Distributed Replicated Block Device v8.4.10-1 author: Philipp Reisner <phil@linbit.com>, Lars Ellenberg <lars@linbit.com> rhelversion: 7.4 srcversion: 880FB2108CDE692BFF91D4A depends: libcrc32c vermagic: 3.10.0-693.el7.x86_64 SMP mod_unload modversions signer: The ELRepo Project (http://elrepo.org): ELRepo.org Secure Boot Key sig_key: F3:65:AD:34:81:A7:B2:0E:34:27:B6:1B:2A:26:63:5B:83:FE:42:7B sig_hashalgo: sha256 parm: minor_count:Approximate number of drbd devices (1-255) (uint) parm: disable_sendpage:bool parm: allow_oos:DONT USE! (bool) parm: proc_details:int parm: enable_faults:int parm: fault_rate:int parm: fault_count:int parm: fault_devs:int parm: usermode_helper:string |
|
OK, that's a mess. Quoting above, with inline comments: [root@CVSR-ESMAD-02-0262 ~]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.7 (Maipo) [root@CVSR-ESMAD-02-0262 ~]# [root@CVSR-ESMAD-02-0262 ~]# insmod /lib/modules/3.10.0-693.el7.x86_64/extra/drbd84/drbd.ko insmod: ERROR: could not insert module /lib/modules/3.10.0-693.el7.x86_64/extra/drbd84/drbd.ko: Invalid parameters ^^ No, don't do that! Try 'modprobe drbd' [root@CVSR-ESMAD-02-0262 ~]# [root@CVSR-ESMAD-02-0262 ~]# [root@CVSR-ESMAD-02-0262 ~]# modinfo drdb modinfo: ERROR: Module drdb not found. ^^ Typo - it's 'drbd' not 'drdb' [root@CVSR-ESMAD-02-0262 ~]# modinfo /lib/modules/3.10.0-693.el7.x86_64/extra/drbd84/drbd.ko filename: /lib/modules/3.10.0-693.el7.x86_64/extra/drbd84/drbd.ko ^^ the driver should be in /lib/modules/3.10.0-957.el7.x86_64/extra/drbd84/drbd.ko and weak-linked to the latest kernel, which probably means you don't have the latest version installed. What does 'rpm -q kmod-drbd' say? alias: block-major-147-* license: GPL version: 8.4.10-1 ^^ Confirmed, the latest version is 8.4.11 so you don't have the latest version installed. Please update. description: drbd - Distributed Replicated Block Device v8.4.10-1 author: Philipp Reisner <phil@linbit.com>, Lars Ellenberg <lars@linbit.com> rhelversion: 7.4 ^^ and it was built against an old version of RHEL so no surprises it's not working with the latest RHEL7.7 |
|
The kmod-drbd84 package you are using is quite old. Please use the current version, kmod-drbd84-8.4.11-1.1.el7_6.elrepo. That should work in RHEL 7.7. |
|
Confirmed, kmod-drbd84 works for me: # rpm -q kmod-drbd84 kmod-drbd84-8.4.11-1.1.el7_6.elrepo.x86_64 # modprobe drbd # lsmod | grep drbd drbd 397041 0 libcrc32c 12644 3 drbd,nf_nat,nf_conntrack Marking resolved, as not a bug |
Date Modified | Username | Field | Change |
---|---|---|---|
2019-09-07 08:11 | dchocjkal | New Issue | |
2019-09-07 08:11 | dchocjkal | Status | new => assigned |
2019-09-07 08:11 | dchocjkal | Assigned To | => stindall |
2019-09-07 09:13 | toracat | Note Added: 0006441 | |
2019-09-07 09:31 | burakkucat | Project | channel: kernel/el7 => channel: elrepo/el7 |
2019-09-07 09:34 | burakkucat | Category | --kernel--OTHER-- => --elrepo--OTHER-- |
2019-09-07 12:36 | dchocjkal | Note Added: 0006445 | |
2019-09-07 15:54 | pperry | Note Added: 0006447 | |
2019-09-07 15:55 | toracat | Note Added: 0006448 | |
2019-09-07 15:56 | pperry | Note Added: 0006449 | |
2019-09-07 15:57 | pperry | Status | assigned => resolved |
2019-09-07 15:57 | pperry | Resolution | open => no change required |