hwameistor / drbd-adapter

A DRBD kernel loader that auto-adapts OS distros
Apache License 2.0
4 stars 6 forks source link

Installed 8.x version in Ubuntu #8

Closed yankay closed 2 years ago

yankay commented 2 years ago

企业微信截图_16620056423041

alexzhc commented 2 years ago

Ubuntu kernels come with in-house drbd 8.x. Unless it is unloaded by rmmod or disabled at boot, drbd 9.x cannot overwrite a loaded kernel module.

Will seek a graceful solution from the official dkms.deb scripts

alexzhc commented 2 years ago

Further investigation shows that per 'cat /proc/drbd' the loaded version is exactly 9.x, but modinfo still displays the old 8.x version.

Changing drop_location to /lib/modules/$(uname -r)/updates/dkms/drbd/ solves the issue.

Will fix in next release