thor2002ro Posted December 22, 2019 Share Posted December 22, 2019 (edited) Hi, I'm new around here made a kernel for myself thought I would share it.... that's it... here it is source included: https://github.com/thor2002ro/unraid_kernel/releases includes: based on 5.10rc4 kernel release unraid patches from 6.9b30 final (separate versions for stable and beta versions) zenpower 0.1.12 from https://github.com/ocerman/zenpower latest it87 from https://github.com/hannesha/it87 added support for CoreFreq from https://github.com/cyring/CoreFreq amdgpu driver(don't forget to blacklist if passing amd gpu to VM) updated linux firmware including dvb firmware(5.8.1-20200814 release) my own fix for JMB575 1 to 5 sata3 port multiplier(added a scr timeout timer) added DVB tuner support added realtek r8125 driver 9.003.05 added NCT6775 driver(OpenRGB patches) from manjaro git added navi v2 patch from https://forum.level1techs.com/t/navi-reset-kernel-patch/147547/47 added vega patch from https://forum.level1techs.com/t/vega-10-and-12-reset-application/145666 5.8 includes AMD onboard audio/usb controller flr patch added zfs v2.0.0-rc5 - https://github.com/openzfs/zfs added RR272x_1x driver https://highpoint-tech.com/BIOS_Driver/rr272x_1x/Linux/RR272x_1x_Linux_Src_v1.10.7_2020_08_07.tar added dax patches(very big improvements in virtio performance) from https://www.phoronix.com/scan.php?page=news_item&px=VirtIO-FS-FUSE-DAX-Linux-5.10 added builtin exfat driver added builtin paragon ntfs3 v12 driver https://lore.kernel.org/lkml/[email protected]/ added nvidia driver 455.45.01(requires utils to function properly) includes nvidia docker and all requirements added zfs utils updated corefreq kernel module(added utils for corefreq module run corefreq-cli-run) removed all old AMD GPU reset quirks add support for new AMD GPU reset module vendor_reset(auto resets all AMD GPUS when it needs to please dont run any other reset methods, to use add in /config/go file "modprobe vendor_reset") supports: AMD | Polaris 10 | AMD | Polaris 11 | AMD | Polaris 12 | AMD | Vega 10 | Vega 56/64 AMD | Vega 20 | Radeon VII AMD | Navi 10 | 5600XT, 5700, 5700XT AMD | Navi 12 | Pro 5600M AMD | Navi 14 | Pro 5300, RX 5300, 5500XT IMPORTAT NOTICE: *) utils need to be installed at boot I do it with the /boot/config/go file and placed the downloaded utils packages in a packages folder on root of the usb drive after that add "installpkg /boot/packages/*.tgz" in the go file first after "#!/bin/bash" in a new line *) dont try to install the utils packages on any modified rootfs .... they need to be installed on stock unraid rootfs There are 2 versions: version for 6.9beta30 or 6.8.x version removed cachy versions they have some issues I need to investigate for zenpower needs "modprobe.blacklist=k10temp" in syslinux file because of module conflict it87 needs to be loaded manually if needed no auto-detection any suggestions are accepted. PS: this is made for myself and running on my own server I'm not responsible if you kill your server with this!!!! Edited November 18, 2020 by thor2002ro 5.10rc4-20201118 5 Quote Link to comment
iccb Posted February 24, 2020 Share Posted February 24, 2020 (edited) Thx for this! Can You share any howto to use it in new unraid install? Edit. Äh, stupid me... Edited February 24, 2020 by iccb Quote Link to comment
thor2002ro Posted March 31, 2020 Author Share Posted March 31, 2020 updated to 5.6.0rc7-next-20200326 Quote Link to comment
thor2002ro Posted March 31, 2020 Author Share Posted March 31, 2020 (edited) forgot to add this 5.6 supports the new AVIC for amd kvm for VM's enabled by adding at boot kvm-amd.avic=1 to cmdline Edited April 1, 2020 by thor2002ro Quote Link to comment
thor2002ro Posted April 15, 2020 Author Share Posted April 15, 2020 update to 5.7rc1-next kernel 2020 04 15 Quote Link to comment
thor2002ro Posted May 1, 2020 Author Share Posted May 1, 2020 .... move from 5.7 next kernel rc3 has some issues new release back to 5.6.8 stable Quote Link to comment
thor2002ro Posted August 18, 2020 Author Share Posted August 18, 2020 release 5.8.1-20200814 Quote Link to comment
thor2002ro Posted August 24, 2020 Author Share Posted August 24, 2020 release 5.8.3-20200824 Quote Link to comment
efschu Posted August 26, 2020 Share Posted August 26, 2020 Thx for the work - you may share your buildscript - or, if you have to much time build ZFS into kernel? Quote Link to comment
thor2002ro Posted August 28, 2020 Author Share Posted August 28, 2020 I'll add latest git zfs in the next version.... probably today release... 5.8.5 as for buildscript.... why do you need one there just some easy commands to build kernel copy current config to .config then make -j$(nproc) then make INSTALL_MOD_PATH=../modules modules_install to extract modules to a separate directory then mksquashfs modules/lib/modules/*/ bzmodules -keep-as-directory -noappend -root-owned -no-xattrs makes the bzmodules and bzimage is in arch/x86/boot/ this is all run on a linux system not on unraid itself.... but my advice if you are not familiar with kernel building and configuration to not do it and do some research first, you can get some funky results... your choice 1 Quote Link to comment
thor2002ro Posted August 28, 2020 Author Share Posted August 28, 2020 update 5.8.5-20200828 careful on the 4 versions Quote Link to comment
thor2002ro Posted September 3, 2020 Author Share Posted September 3, 2020 update to 5.9.0RC3-20200831 Quote Link to comment
beinghitesh Posted September 8, 2020 Share Posted September 8, 2020 Hello, I have been using stable builds for about a yr now. Never installed custom kernel. I tried looking online, but couldn't really find a definitive way that I felt comfortable with. Is there a process you can outline that can help me install your kernel? Currently, my server is running on 3960x and would really help with temp monitoring with the updated kernel. Thank you Quote Link to comment
thor2002ro Posted September 9, 2020 Author Share Posted September 9, 2020 (edited) you have 4 files in the archive.... bzimage, bzimage.sha256, bzmodules, bzmodules.sha256 you have the same 4 files on the unraid flash drive.... just move those files into a different folder if you ever want to undo the install and copy the 4 files that are in the zip into the root of the flash driver and reboot that's it.... don't forget to add modprobe.blacklist=k10temp to syslinux config into syslinux config on the flash drive depending on the motherboard sensors chip you might need to load it87 module you can use the Dynamix System Temp plugin to load the it87 modules every boot and how temps you have a picture of mine below you can check with command sensors whats detected... I'm not very good at explaining things so home you understand Edited September 9, 2020 by thor2002ro Quote Link to comment
beinghitesh Posted September 9, 2020 Share Posted September 9, 2020 Thank you. Your instructions are perfect! I was able to boot without modprobe.blacklist=k10temp,acpi_enforce_resources=lax. If I add them to syslinux.cfg, I received the following error during boot (attached screenshot). Any ideas? Quote Link to comment
thor2002ro Posted September 9, 2020 Author Share Posted September 9, 2020 I see you used "," between them you need to use space Like this "initrd=/bzroot modprobe.blacklist=k10temp acpi_enforce_resources=lax" Quote Link to comment
beinghitesh Posted September 9, 2020 Share Posted September 9, 2020 Ha. n00b mistake. Thanks bud for the quick response and guidance. Quote Link to comment
thor2002ro Posted September 14, 2020 Author Share Posted September 14, 2020 (edited) release 5.9RC3-20200914(I know I know RC5 is out.....) same as 20200831 added nvidia driver 450.66(requires utils to function properly) includes nvidia docker and all requirements added zfs utils IMPORTAT NOTICE: *) utils need to be installed at boot I do it with the /boot/config/go file and placed the downloaded utils packages in a packages folder on root of the usb drive after that add "installpkg /boot/packages/*.tgz" in the go file first after "#!/bin/bash" in a new line *) dont try to install the utils packages on any modified rootfs .... they need to be installed on stock unraid rootfs Edited September 14, 2020 by thor2002ro Quote Link to comment
thor2002ro Posted September 17, 2020 Author Share Posted September 17, 2020 update to 5.9RC5 updated corefreq kernel module(added utils for corefreq module run corefreq-cli-run) updated paragon ntfs3 v5 updated dax virtio improvements corefreq-cli app 1 Quote Link to comment
ross232 Posted September 20, 2020 Share Posted September 20, 2020 Awesome, thanks for this. It's working really well Quote Link to comment
efschu Posted September 28, 2020 Share Posted September 28, 2020 Using 5.9RC5-20200915 with zfs-2.0.0-rc1-x86_64-thor.tgz, zfs utils installed via go file. But the /dev/zvol/zvol-names/ are not created but /dev/zdN does exist and are useable - but always have to check via fdisk -l which one belongs to which one. Any ideas? Quote Link to comment
thor2002ro Posted September 29, 2020 Author Share Posted September 29, 2020 5.9.0RC7-20200929 release update to 5.9RC7 updated corefreq kernel module(added utils for corefreq module run corefreq-cli-run) updated paragon ntfs3 v6 updated dax virtio improvements update zfs to 2.0 rc2 fix zfs startup script fix amd gpu reset(still needs utility for vega reset) update nvidia driver to 455.23.04 Quote Link to comment
HannesDi Posted October 3, 2020 Share Posted October 3, 2020 On 9/29/2020 at 5:47 PM, thor2002ro said: 5.9.0RC7-20200929 release Thank you very much. One Question is it possible to make it compatible to Version: 6.9.0-beta29 ? Different Version of MD so the Array would not Start :-( Best Regards Hannes Quote Link to comment
thor2002ro Posted October 5, 2020 Author Share Posted October 5, 2020 I would but, problem is the last beta29 its missing the updated kernel patches, I don't wanna risk it just updating the version and causing and issues if they changed anything.... Quote Link to comment
thor2002ro Posted October 6, 2020 Author Share Posted October 6, 2020 (edited) 5.9RC8-20201005 update to 5.9RC8 updated paragon ntfs3 v7 updated dax virtio improvements update iommu amd improvements to pcie aer nvidia driver Persistence mode enabled at boot for lower idle power update/add drivers out of tree: corefreq kernel module(added utils for corefreq module run corefreq-cli-run) 5da83ae zfs drivers a76e4e6 tbsecp3 drivers 3cdeaee asus-wmi-sensors driver 3 r8125 driver 9.003.05 r8152 driver 2.13.0 ryzen_smu driver 44a0f687 tn40xx driver 0.3.6.17.3 zenpower driver 0.1.12 version for 6.8.3 and 6.9 beta30 Edited October 6, 2020 by thor2002ro 1 1 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.