↓
 

Adventures With Linux ™

Linux Technologies and Fun Times..

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

Category Archives: fix

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

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 | 1 Reply

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

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.17-rc5 Compile Fail, and Fix..

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

This one fell between the cracks, and should have been fixed before -rc5 was released… ……………….. AR net/netfilter/built-in.a LD [M] net/netfilter/nf_conntrack.o CC [M] net/netfilter/xt_socket.o net/netfilter/xt_socket.c: In function ‘socket_mt_destroy’: net/netfilter/xt_socket.c:224:17: error: implicit declaration of function ‘nf_defrag_ipv6_disable’; did you mean ‘nf_defrag_ipv4_disable’? [-Werror=implicit-function-declaration] 224 | nf_defrag_ipv6_disable(par->net); | ^~~~~~~~~~~~~~~~~~~~~~ | nf_defrag_ipv4_disable cc1: some warnings being treated as errors make[2]: *** [scripts/Makefile.build:288: … Continue reading →

Posted in compilation, fix, kernel, Linux | Tagged compile fail, fix, kernel 5.17-rc5, nf_defrag_ipv6_disable, success | Leave a reply

NVIDIA – Fix for ‘Legacy’ 390.xx and Kernel 5.17..

Adventures With Linux ™ Posted on February 2, 2022 by RGFebruary 2, 2022

I have an old HP 8760W laptop, which needs the NVIDIA ‘legacy’ 390.xx driver series, and Nouveau is (yet again) not working as it should.. From the patch for kernel 5.17 support and driver 470.94, at https://gist.github.com/joanbm/6c7b027b9436bf31ce979927e544e9d5 it seemed that the changes necessary should be simple.. In fact this patch can be used, with the following change.. … Continue reading →

Posted in compilation, fix, kernel, Linux, NVIDIA, Opinion | Tagged 390.147, kernel 5.17, modified patch, nv-procfs.h, nvidia | Leave a reply

Post navigation

← Older posts
Original content © Robert Gadsdon 2013
↑