Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kernel 6.13-tkg-psd Fedora 41 error ERROR: modpost: "preempt_model_lazy" [arch/x86/kvm/kvm.ko] undefined! #1067

Closed
Everest10 opened this issue Jan 20, 2025 · 7 comments · Fixed by #1052

Comments

@Everest10
Copy link

CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_isp.o
CC [M] drivers/gpu/drm/amd/amdgpu/isp_v4_1_0.o
CC [M] drivers/gpu/drm/amd/amdgpu/isp_v4_1_1.o
LD [M] drivers/gpu/drm/amd/amdgpu/amdgpu.o
AR drivers/gpu/built-in.a
AR drivers/built-in.a
AR built-in.a
AR vmlinux.a
LD vmlinux.o
OBJCOPY modules.builtin.modinfo
GEN modules.builtin
MODPOST Module.symvers
ERROR: modpost: "preempt_model_lazy" [arch/x86/kvm/kvm.ko] undefined!
ERROR: modpost: "preempt_model_lazy" [fs/jbd2/jbd2.ko] undefined!
ERROR: modpost: "preempt_model_lazy" [fs/btrfs/btrfs.ko] undefined!
make[4]: *** [scripts/Makefile.modpost:145: Module.symvers] Error 1
make[3]: *** [Makefile:1942: modpost] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.4TKu4T (%build)

RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.4TKu4T (%build)
make[2]: *** [scripts/Makefile.package:75: binrpm-pkg] Error 1
make[1]: *** [/home/dom/Downloads/linux-tkg/linux-src-git/Makefile:1625: binrpm-pkg] Error 2
make: *** [Makefile:251: __sub-make] Error 2
-> exit cleanup done

system-info.txt
shell-output.log.txt
prepare.log.txt
customization.cfg.txt

@dev-dsp
Copy link

dev-dsp commented Jan 22, 2025

Getting the ~same.

  LD      vmlinux.o
  OBJCOPY modules.builtin.modinfo
  GEN     modules.builtin
  GEN     .vmlinux.objs
  MODPOST Module.symvers
ERROR: modpost: "preempt_model_lazy" [arch/x86/kvm/kvm.ko] undefined!
ERROR: modpost: "preempt_model_lazy" [fs/btrfs/btrfs.ko] undefined!
make[2]: *** [scripts/Makefile.modpost:145: Module.symvers] Error 1
make[1]: *** [/usr/src/linux-tkg/linux-src-git/Makefile:1942: modpost] Error 2
make: *** [Makefile:251: __sub-make] Error 2
 -> exit cleanup done

@tiago4171
Copy link

tiago4171 commented Jan 24, 2025

  LD [M]  drivers/iio/pressure/st_pressure.o
  AR      built-in.a
  AR      vmlinux.a
  LD      vmlinux.o
  OBJCOPY modules.builtin.modinfo
  GEN     modules.builtin
  MODPOST Module.symvers
ERROR: modpost: "preempt_model_lazy" [arch/x86/kvm/kvm.ko] undefined!
ERROR: modpost: "preempt_model_lazy" [fs/jbd2/jbd2.ko] undefined!
ERROR: modpost: "preempt_model_lazy" [fs/btrfs/btrfs.ko] undefined!
make[4]: *** [scripts/Makefile.modpost:145: Module.symvers] Error 1
make[3]: *** [Makefile:1942: modpost] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.kLttNI (%build)

RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.kLttNI (%build)
make[2]: *** [scripts/Makefile.package:75: binrpm-pkg] Error 1
make[1]: *** [/run/media/tjs/HalfTB/Git/linux-tkg/linux-src-git/Makefile:1625: binrpm-pkg] Error 2
make: *** [Makefile:251: __sub-make] Error 2

I'm trying to compile linux-tkg 6.13 with pds scheduler and NTSync patch. Everything else is set to it's defaults.
I'm on Nobara Linux 41 which is based on Fedora 41.
If needed I can provide more information and I'll keep my eye on this. Thank you very much!

I forgot to mention that I also disabled the option _force_all_threads by setting to false. That was after a few compilation tries, however it won't give any positive effect on the issue.

@joao-pedro-braz
Copy link

Downgrading to 6.12 fixed it for me

@snowkeep
Copy link

snowkeep commented Feb 7, 2025

This is because prjc hasn't been updated to handle linux-6.13 lazy preemption.
Looks like pr 1052 should should update prjc for it, but I'm getting another error when I pull it in.

@Everest10
Copy link
Author

I would like to emphasize the importance of fixing the PDS patch. I don't know how the progress is.
@Tk-Glitch

@HengiFettlich
Copy link
Contributor

Should be fixed in PR 1052 now.

@GenocideStomper
Copy link

GenocideStomper commented Feb 13, 2025

Is there anyone to merge PRs? I don't think there's been any actions since mid December.

Edit: Glad to see you back Tk! Get well!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants