[Bug 1231290] New: fix build error against kernel v6.11.0
https://bugzilla.suse.com/show_bug.cgi?id=1231290 Bug ID: 1231290 Summary: fix build error against kernel v6.11.0 Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: Linux Status: NEW Severity: Major Priority: P5 - None Component: High Availability Assignee: ha-bugs@suse.de Reporter: heming.zhao@suse.com QA Contact: qa-bugs@suse.de Target Milestone: --- Found By: --- Blocker: --- this bug is created to record the fixing of drbd compilation errors under the latest factory kernel (version: 6.11.0-1) currently, drbd has detected the following APIs changes. ------------------- GENPATCHNAMES 6.11.0-1-default APPLIED_COCCI_FILES queue_flag_stable_writes__no_present disk_update_readahead__no_present blk_queue_update_readahead__no_present blk_queue_write_cache__no_present__yes_flush kvfree_rcu__no_present ------------------- -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1231290 heming zhao <heming.zhao@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |glass.su@suse.com Priority|P5 - None |P3 - Medium -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1231290 heming zhao <heming.zhao@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |heming.zhao@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1231290 heming zhao <heming.zhao@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|fix build error against |fix drbd build error |kernel v6.11.0 |against kernel v6.11.0 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1231290 https://bugzilla.suse.com/show_bug.cgi?id=1231290#c1 heming zhao <heming.zhao@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zzhou@suse.com --- Comment #1 from heming zhao <heming.zhao@suse.com> --- 1. we decide to update the drbd version from 9.1.16 to 9.1.22 to fix the build issue. 2. For building drbd 9.1.22, the compilation method in drbd.spec has been updated. the relevant drbd commit is d6765fe9940e ("build,compat: do not patch git tracked sources; apply compat patch in build subdir instead") 3. the suse drdb.spec creates a folder 'source' and only copies rpm SOURCE folder '.drbd_git_revision' into it. We have removed the 'source' folder from this version update. 4. with the default drbd-9.1.22.tar.gz plus linbit upstream patches, the source code can be built successfully. However, there are still a few kernel APIs issue. ------------------- GENPATCHNAMES 6.11.0-1-default APPLIED_COCCI_FILES queue_flag_stable_writes__no_present disk_update_readahead__no_present blk_queue_update_readahead__no_present blk_queue_write_cache__no_present__yes_flush ------------------- the reason drbd can successfully build with imcompatbile kernel ABIs is that the current drbd code never use all imcompatible kernel APIs. these imcompatbile APIs only trigger the drbd coccinelle test program. We have created a SUSE-specific patch to fix the above ABI "not present" issues. - boo1231290_fix_drbd_build_error_against_kernel_v6.11.0.patch after above patch, drbd reports below APIs no_present ------------------- GENPATCHNAMES 6.11.0-1-default APPLIED_COCCI_FILES queue_flag_stable_writes__no_present disk_update_readahead__no_present ------------------- Again: current drbd code never uses the imcompatible APIs, so the drbd can be built successfully even if some APIs are no_present. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1231290 https://bugzilla.suse.com/show_bug.cgi?id=1231290#c2 heming zhao <heming.zhao@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #2 from heming zhao <heming.zhao@suse.com> --- SR has been accepted by opensuse factory, close this bug as fixed. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1231290 Glass Su <glass.su@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |1233222 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1231290 Glass Su <glass.su@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks|1233222 | -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com