↓
 

Adventures With Linux ™

Linux Technologies and Fun Times..

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

Category Archives: Hacks

Post navigation

← Older posts

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

Fedora – F38 – ‘Old’ RPMs Gotcha, and Workaround..

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

Testing Fedora 38, and found a problem with some ‘legacy’ RPMs.. Fedora 38 now strictly enforces SHA256 for all RPMs and older/third-party ones still using SHA1 now throw an error: # rpm -q webmin error: rpmdbNextIterator: skipping h# 2316 Header V4 DSA/SHA1 Signature, key ID 11f63c51: BAD Header SHA1 digest: OK package webmin is not installed But…: … Continue reading →

Posted in Fedora, Hacks, Opinion, Workaround | Tagged bad, fedora 38, old rpm gotcha, rpm downgrade, sha1, sha256, 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 | 1 Reply

Kernel – 6.0-rc1 is here – No Surprises..

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

After over three years of the 5.x kernel series, 6.0-rc1 has been released, and brief details are here:  https://lkml.iu.edu/hypermail/linux/kernel/2208.1/06638.html With the latest version of the 16.2.4 patchset (updated a few days ago..) VMware compiles and loads/runs OK..    https://github.com/mkubecek/vmware-host-modules/tree/workstation-16.2.4 NVIDIA 515.65.01 – with the one-line hack mentioned in the previous article – compiles and runs OK..   (YMMV – … Continue reading →

Posted in Hacks, kernel, Linux, NVIDIA, Opinion, VMware | Tagged 16.2.4 patchset, kernel 6.0-rc1, latest vmware ok, nvidia 515.65.01 with hack ok | 4 Replies

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

Kernel – 5.19-rc1 Released. OK With Patched VMware, and a Hack for NVIDIA..

Adventures With Linux ™ Posted on June 5, 2022 by RGJune 5, 2022

Kernel 5.19-rc1 is out, and details are here:  https://lkml.iu.edu/hypermail/linux/kernel/2206.0/04428.html There is a patchset for VMware 16.2.3, at https://github.com/mkubecek/vmware-host-modules/tree/tmp/workstation-16.2.3-k5.19 .   I have tested this with 5.19-rc1, and VMware compiles and loads/runs OK. The latest NVIDIA driver (515.48.07) compile fails, but a hack is to edit NVIDIA-Linux-x86_64-515.48.07/kernel/nvidia-drm/nvidia-dma-resv-helper.h and NVIDIA-Linux-x86_64-515.48.07/kernel/nvidia-drm/nvidia-drm-prime-fence.c and change nv_dma_resv_add_excl_fence to dma_resv_add_excl_fence After this, the driver compiles … Continue reading →

Posted in Fedora, fix, Hacks, kernel, Linux, NVIDIA, Opinion, VMware | Tagged hack for nvidia, kernel 5.19-rc1 released, patch for vmware available | Leave a reply

Kernel – 5.19 Pre-testing – Breaks NVIDIA and VMware.. Updated…

Adventures With Linux ™ Posted on May 29, 2022 by RGJune 3, 2022

Kernel 5.19-rc1 should be released in a weeks time, but many changes have already been submitted..    I created a 5.19-rc0 (git) version from changes up to May 29th, and the following are the test results – Update: Changes also tested OK with June 3rd git version of 5.19-rc..(note that any changes were made using logic, rather than … Continue reading →

Posted in compilation, Hacks, kernel, Linux, NVIDIA, Opinion, VMware | Tagged breaks nvidia and vmware, csum_and_copy_to_user unexported, early testing, kernel 5.19-rc0, possible nvidia workaround | Leave a reply

VMware – Convoluted Guest Freeze Fix…

Adventures With Linux ™ Posted on January 20, 2022 by RGJanuary 20, 2022

I had been struggling for some considerable time with guest (Win10) performance issues with VMware – including application (Photoshop CS6) ‘freezing’ for a time, and overall very sluggish responses.. I had found several articles that suggested cause/effect/fix for this, but none really worked.. I made changes to control khugepaged: …………………….. [root@rglinux820 ~]$ echo never | tee /sys/kernel/mm/transparent_hugepage/defrag … Continue reading →

Posted in Hacks, kernel, Linux, Opinion, Performance, VMware | Tagged fixes, guset freeze, kcompactd0, transparent_hugepage, vmware | 2 Replies

Post navigation

← Older posts
Original content © Robert Gadsdon 2013
↑