↓
 

Adventures With Linux ™

Linux Technologies and Fun Times..

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

Category Archives: Hacks

Post navigation

← Older posts
Newer posts →

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.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

Kernel – 5.16 Pre-RC Tests.. OK, so far..

Adventures With Linux ™ Posted on November 10, 2021 by RGNovember 10, 2021

Just compiled/installed the November 10 git version of 5.16-pre, and the latest NVIDIA driver 495.44 compiles/loads OK. There is already a pre-release patchset for Kernel 5.16 and VMware 16.2.1, at https://github.com/mkubecek/vmware-host-modules/tree/tmp/workstation-16.2.1-k5.16 With these, preliminary tests with NVIDIA and VMware have been successful.. ]# uname -a Linux rg400g4 5.16.0-rc0 #1 SMP PREEMPT Wed Nov 10 16:53:28 PST 2021 … Continue reading →

Posted in Hacks, kernel, Linux, new install, NVIDIA, Opinion, VMware | Tagged git version, kernel 5.16-pre, nov 10, nvidia 495.44 ok, vmware 16.2.1 patches | Leave a reply

Kernel – 5.14-rc1 – OK with Patched VMware, Breaks NVIDIA..

Adventures With Linux ™ Posted on July 11, 2021 by RGJuly 11, 2021

Kernel 5.14-rc1 has been released, and brief details are here:   http://lkml.iu.edu/hypermail/linux/kernel/2107.1/02943.html The latest VMware 16.1.2 patch includes a fix for 5.14-rc, and compiles and runs OK (tested with 5.14-rc1).   Find it at:  https://github.com/mkubecek/vmware-host-modules/tree/workstation-16.1.2 NVIDIA 470.42.01 compile failed: …………. /home/rgadsdon/NVIDIA-Linux-x86_64-470.42.01/kernel/common/inc/nv-time.h: In function ‘nv_sleep_ms’: /home/rgadsdon/NVIDIA-Linux-x86_64-470.42.01/kernel/common/inc/nv-time.h:217:18: error: ‘struct task_struct’ has no member named ‘state’; did you mean ‘__state’? 217 | … Continue reading →

Posted in compilation, Hacks, kernel, Linux, NVIDIA, Opinion, VMware | Tagged 16.1.2, 470.42.01, kernel 5.14-rc1 released, nvidia compile fails, vmware patched ok | 4 Replies

ARM64 – Pi 4 USB Problems – And a Messy Fix..

Adventures With Linux ™ Posted on May 11, 2021 by RGMay 11, 2021

After some delay, I finally had a ‘good’ cooling solution for my 8GB Pi4, and resumed testing.. The last Kernel version I had running on it was 5.9-rc4, and everything seemed to be working OK (including 8GB of memory recognised). I then updated to 5.11.18, and found that none of the USB ports worked: # dmesg |grep … Continue reading →

Posted in aarch64, Crash and Burn.., Fedora, fix, Hacks, kernel, Linux / ARM, Opinion, patches, quirks, Raspberry Pi 4 | Tagged 5.10.34 fails, 5.11.18 with RH patchset, 5.12 fails, 5.13-rc fails, 5.9.16 works, 8gb, pi4, usb fails, workaround | 3 Replies

NVIDIA – New Driver 460.32.03 – Patch Mod for 5.11..

Adventures With Linux ™ Posted on January 8, 2021 by RGJanuary 8, 2021

NVIDIA have released their latest driver – 460.32.03, and details are here: https://forums.developer.nvidia.com/t/linux-solaris-and-freebsd-driver-460-32-03-long-lived-branch-release/165423 The patch for 460.27.04 is easy to modify to work with this version – just remove the first section (patch to ~/kernel/common/inc/nv-linux.h) as this is no longer necessary. Tested with Kernel 5.11-rc2.. ……….. ld -r -o /home/rgadsdon/NVIDIA-Linux-x86_64-460.32.03/kernel/nvidia-modeset/nv-modeset-interface.o /home/rgadsdon/NVIDIA-Linux-x86_64-460.32.03/kernel/nvidia-modeset/nvidia-modeset-linux.o /home/rgadsdon/NVIDIA-Linux-x86_64-460.32.03/kernel/nvidia-modeset/nv-kthread-q.o MODPOST /home/rgadsdon/NVIDIA-Linux-x86_64-460.32.03/kernel/Module.symvers CC [M] /home/rgadsdon/NVIDIA-Linux-x86_64-460.32.03/kernel/nvidia-drm.mod.o … Continue reading →

Posted in Hacks, kernel, Linux, NVIDIA, Opinion | Tagged 460.32.03, modify existing patch, nvidia, ok with kernel 5.11-rc2 | 1 Reply

Post navigation

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