↓
 

Adventures With Linux ™

Linux Technologies and Fun Times..

  • Home
  • About the Author…
  • Copyright and Trademarks..

Category Archives: fix

Post navigation

← Older posts
Newer posts →

VMware – Vmnet Surprise in Kernel 6.4.10.. and a Fix..

Adventures With Linux ™ Posted on August 12, 2023 by RGAugust 12, 2023

Kernel 6.4.10 includes a backported change from the 6.5-rc branch, and this breaks the vmnet 17.0.2 compile.. The fix is to replicate the same logic from the 6.5 ‘tmp’ branch, at https://github.com/mkubecek/vmware-host-modules/blob/tmp/workstation-17.0.2-k6.5/vmnet-only/bridge.c – around line 47..    For some odd reason, this did not behave correctly on my system, and so I modified/simplified the kernel-version-test portion of … Continue reading →

Posted in compilation, fix, Hacks, kernel, Linux, Opinion, VMware | Tagged bridge.c, compile fails, fix, kernel 6.4.10 change, ok, tested, vmnet, vmware 17.0.2 | 1 Reply

VMware – VMMON Workaround for Kernel 6.5..

Adventures With Linux ™ Posted on August 10, 2023 by RGAugust 10, 2023

Thanks to Jeff Chua, there is a practical workaround for vmmon with Kernel 6.5, and this can be found at: https://github.com/jeffersonchua/linux-6.5.0/blob/main/patch-17.0.2-6.5.0   My apologies to Jeff, for the WordPress mangling of code in his previous comments on my earlier article… I have applied this patch, and VMware Workstation 17.0.2 now loads/runs OK with Kernel 6.5-rc5 on my test system.. … Continue reading →

Posted in compilation, fix, kernel, Linux, Opinion, patches, VMware | Tagged kernel 6.5, more discussions, vmmon compile fail, vmware, workaround available | Leave a reply

Webmin – SHA1 Confusion – A Solution..

Adventures With Linux ™ Posted on August 1, 2023 by RGAugust 1, 2023

I have been using Webmin for at least the past 20+ years (!) and ran up against the SHA1 error on the Webmin RPMs when upgrading to Fedora 38, which did not permit it to be added/updated any more.. # rpm -q webmin error: Verifying a signature using certificate XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX (Jamie Cameron <jcameron@webmin.com>): Key XXXXXXXXXXXXXXXXXXX invalid: not … Continue reading →

Posted in Fedora, fix, Linux, Opinion, Webmin | Tagged bad key removal, fedora 38, fixed, new repo, sha1 error, webmin | Leave a reply

Kernel – 6.3-rc1 Bugs Found, Patch Available..

Adventures With Linux ™ Posted on March 6, 2023 by RGMarch 6, 2023

Issues have been found with new Kernel 6.3-rc1, and details are here: https://lkml.iu.edu/hypermail/linux/kernel/2303.0/04622.html and patch info is here:  https://lkml.iu.edu/hypermail/linux/kernel/2303.0/05801.html I have not encountered any of the problems mentioned (Intel x86_64 on an HP Prodesk 400 G4 system) but can confirm that the patch (correctly formatted, from the Linux Kernel newsgroup..) applies cleanly.. Robert Gadsdon.   March 6th 2023.. … Continue reading →

Posted in Bug, fix, Hacks, kernel, Linux, Opinion, patches | Tagged bugs found, interim patch available, kernel 6.3-rc1 | Leave a reply

Kernel – 6.3-rc1 – OK with Latest VMware, Breaks NVIDIA – Fix Possible..

Adventures With Linux ™ Posted on March 6, 2023 by RGMarch 6, 2023

Kernel 6.3-rc1 is out, and details are here:   https://lkml.iu.edu/hypermail/linux/kernel/2303.0/04362.html The latest (patched) VMware 17.0.1 is OK, but NVIDIA 530.30.02 fails to compile: ………………………………… /home/rgadsdon/NVIDIA-Linux-x86_64-530.30.02/kernel/nvidia/nv-mmap.c: In function ‘nvidia_mmap_numa’: /home/rgadsdon/NVIDIA-Linux-x86_64-530.30.02/kernel/nvidia/nv-mmap.c:461:19: error: assignment of read-only member ‘vm_flags’ 461 | vma->vm_flags |= VM_MIXEDMAP; | ^~ /home/rgadsdon/NVIDIA-Linux-x86_64-530.30.02/kernel/nvidia/nv-mmap.c: In function ‘nvidia_mmap_helper’: /home/rgadsdon/NVIDIA-Linux-x86_64-530.30.02/kernel/nvidia/nv-mmap.c:606:23: error: assignment of read-only member ‘vm_flags’ 606 | vma->vm_flags |= VM_IO … Continue reading →

Posted in fix, Hacks, kernel, Linux, NVIDIA, Opinion, VMware | Tagged kernel 6.3-rc1, latest vmware ok, modified patch works, nvidia compile fails | Leave a reply

Kernel – GCC 13 Plugins fail – and Fix..

Adventures With Linux ™ Posted on February 21, 2023 by RGFebruary 21, 2023

Fedora 38 (beta..) has GCC 13, and this causes an error when compiling the kernel with ‘gcc_plugins‘ selected: …………………. CC scripts/mod/devicetable-offsets.s cc1: error: cannot load plugin ./scripts/gcc-plugins/randomize_layout_plugin.so: ./scripts/gcc-plugins/randomize_layout_plugin.so: undefined symbol: tree_code_type make[1]: *** [scripts/Makefile.build:252: scripts/mod/empty.o] Error 1 make[1]: *** Waiting for unfinished jobs…. cc1: error: cannot load plugin ./scripts/gcc-plugins/randomize_layout_plugin.so: ./scripts/gcc-plugins/randomize_layout_plugin.so: undefined symbol: tree_code_type make[1]: *** [scripts/Makefile.build:114: scripts/mod/devicetable-offsets.s] … Continue reading →

Posted in compilation, Fedora, fix, gcc, kernel, Linux, Opinion | Tagged fedora 38, fix, gcc 13, gcc_plugins, kernel 6.2, kernel compile fail, patch, workaround | Leave a reply

Kernel – 6.2-rc1 is out, for Xmas..

Adventures With Linux ™ Posted on December 26, 2022 by RGDecember 26, 2022

Kernel 6.2-rc1 has been released, and details are here:   https://lkml.iu.edu/hypermail/linux/kernel/2212.3/00313.html As expected, VMware 17 with the latest patchset is OK, but NVIDIA 525.60.13 fails to compile.. There is a provisional NVIDIA patch for kernel 6.2-rc1 available, but this has been produced for driver 470.xx, and does not apply cleanly to 525.60.13, but I hacked it (removing the … Continue reading →

Posted in fix, Hacks, kernel, Linux, NVIDIA, Opinion, patches, VMware | Tagged hacked patch available, kernel 67.2-rc1 released, nvidia 525.60.13 fails, vmware 17 patchset ok | Leave a reply

Kernel/Boot – Bizarre Dracut problem – Bogus Apple Modules Added, Fails – Cause Found..

Adventures With Linux ™ Posted on November 18, 2022 by RGNovember 19, 2022

During update of the kernel to 6.0.9, on my main dual-xeon Fedora 37 system, I found the following error displayed: ……………………… dracut-install: Failed to find module ‘apple_mailbox’ dracut: FAILED: /usr/lib/dracut/dracut-install -D /var/tmp/dracut.SGbOUU/initramfs –kerneldir /lib/modules/6.0.9/ -m apple_mailbox nvme_apple pinctrl-apple-gpio macsmc macsmc-rtkit i2c-apple tps6598x apple-dart dwc3 dwc3-of-simple xhci-pci pcie-apple gpio_macsmc spi-apple spi-hid-apple spi-hid-apple-of rtc-macsmc simple-mfd-spmi spmi-apple-controller nvmem_spmi_mfd apple-dockchannel dockchannel-hid … Continue reading →

Posted in Dracut, Fedora, fix, Hacks, kernel, Linux, Opinion, quirks | Tagged apple modules, asahi-firmware, dracut, error, fix, kernel 6.0.9 | 2 Replies

Kernel – 6.1-rc1 is out, OK with latest NVIDIA, and Patchset for VMware 16.2.4

Adventures With Linux ™ Posted on October 17, 2022 by RGOctober 17, 2022

Kernel 6.1-rc1 has been released, and brief details are here:  https://lkml.iu.edu/hypermail/linux/kernel/2210.2/00359.html The latest NVIDIA driver 520.56.06 compiles OK, with a few ‘warnings’..  and there is a patchset for VMware 16.2.4 here:  https://github.com/mkubecek/vmware-host-modules/tree/tmp/workstation-16.2.4-k6.1 . Note that this is a work-in-progress, but compiles/loads OK with 6.1-rc1.. There have been some issues reported with this kernel release, especially in relation … Continue reading →

Posted in fix, kernel, Linux, NVIDIA, Opinion, VMware | Tagged kernel 6.1-rc1 released, ok with nvidia 520.56.06, patchset for vmware 16.2.4 | Leave a reply

NVIDIA – Possible Fix for 6.0?

Adventures With Linux ™ Posted on August 12, 2022 by RGAugust 12, 2022

After more testing, I found a potential fix for the ‘Kernel 6.0-rc0’ compile problem.. In NVIDIA-Linux-x86_64-515.65.01/kernel/nvidia-drm/nvidia-drm-helper.c: Around Line 30: add: #include <drm/drm_framebuffer.h> And the compile completes successfully: ……………………….. ld -r -o /home/rgadsdon/NVIDIA-Linux-x86_64-515.65.01/kernel/nvidia-modeset/nv-modeset-interface.o /home/rgadsdon/NVIDIA-Linux-x86_64-515.65.01/kernel/nvidia-modeset/nvidia-modeset-linux.o /home/rgadsdon/NVIDIA-Linux-x86_64-515.65.01/kernel/nvidia-modeset/nv-kthread-q.o MODPOST /home/rgadsdon/NVIDIA-Linux-x86_64-515.65.01/kernel/Module.symvers CC [M] /home/rgadsdon/NVIDIA-Linux-x86_64-515.65.01/kernel/nvidia-drm.mod.o LD [M] /home/rgadsdon/NVIDIA-Linux-x86_64-515.65.01/kernel/nvidia-drm.ko CC [M] /home/rgadsdon/NVIDIA-Linux-x86_64-515.65.01/kernel/nvidia-modeset.mod.o LD [M] /home/rgadsdon/NVIDIA-Linux-x86_64-515.65.01/kernel/nvidia-modeset.ko CC [M] /home/rgadsdon/NVIDIA-Linux-x86_64-515.65.01/kernel/nvidia-peermem.mod.o LD [M] /home/rgadsdon/NVIDIA-Linux-x86_64-515.65.01/kernel/nvidia-peermem.ko CC [M] /home/rgadsdon/NVIDIA-Linux-x86_64-515.65.01/kernel/nvidia-uvm.mod.o … Continue reading →

Posted in compilation, Crash and Burn.., fix, Hacks, kernel, Linux, NVIDIA, Opinion | Tagged 515.65.01, hack, nvidia, possible fix for kernel 6.0-rc, use at own risk | 7 Replies

Post navigation

← Older posts
Newer posts →
Original content © Robert Gadsdon 2013
↑