1812 Posted July 7, 2018 Share Posted July 7, 2018 (edited) For the new/current method, see here: information provided below this line is for archival purposes only. ------------------------------------------ First the disclaimer: This has been tested on a couple systems with no negative attributes obsererved. As it only omits RMRR checks, it should not affect any other core function of the OS. But as a general notice, and since this is an unofficial modification, neither Limetech or myself are responsible/liable for any loss of data or damage to hardware in using this patched version of unRaid. unRaid HP Proliant Edition - RMRR Error Patching Description/Problem It is well documented that HP Proliant servers have RMRR issues using certain BIOS versions after about 2011 when trying to passthrough devices in a linux environment. Device passthrough fails and the onscreen error will show: vfio: failed to set iommu for container: Operation not permitted And a look further into the logs show: Device is ineligible for IOMMU domain attach due to platform RMRR requirement. Contact your platform vendor. HP is aware of this problem and is not updating older machines. There are some bios options to try to fix this on newer models with some success. This "edition" of unRaid addresses the problem by patching out the RMRR check. Creation/Sources This edition is based on the work of several others, and full credit is due to them. First is the source of the patch code itself from the Promox forums: https://forum.proxmox.com/threads/tutorial-compile-proxmox-ve-5-with-patched-intel-iommu-driver-to-remove-rmrr-check.36374/ https://forum.proxmox.com/threads/hp-proliant-microserver-gen8-raidcontroller-hp-p410-passthrough-probleme.30547/ The second is @kabloomy, who first thought to try, and then successfully created a working edition using a modified DVB edition compiling script on 6.4.1. And last but not least, is the modified script currently used for compiling provided by the totally awesome @CHBMB (Thank you!!!) @AnnabellaRenee87 has become a maintainer for the patch along with me and is doing most of the heavy lifting at this time. [If you wish to compile the kernel yourself, the most recent script is located here: https://github.com/AnnabellaRenee87/Unraid-HP-Proliant-Edition The patch is compiled into the new version of unRaid. Only the bzimage file from the output is needed. Installation This patch is currently operational for unRaid 6.6.0+. 1. Download the patched bzimge from https://github.com/AnnabellaRenee87/Unraid-HP-Proliant-Edition 2. Navigate to your server's flash folder 3. Make a backup copy of your current bzimage to your desktop or rename current to bzimage-old or similar 4. Move the patched bzimage to flash folder 5. Reboot Uninstall Replace the patched bzimage with the backup copy you made or download a copy of a standard matching version of the unRaid bzimage Updated bzimages should be made available within a few days of official unRaid versions releases. ------------------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------------------ note: RC's aren't always done since they can come out from Limetech at a fast pace. If you have a specific need and it's not here, message me or @AnnabellaRenee87 The most current patch available will be located at https://github.com/AnnabellaRenee87/Unraid-HP-Proliant-Edition. Patches for older unRaid versions can be found below. 6.6.0 bzimage 6.6.2 bzimage 6.6.3 bzimage 6.6.4 - withdrawn by Limetech due to cron issues 6.6.5 bzimage 6.6.6 bzimage 6.7.0 rc3 Unraid RMRR Patched 6.7rc3.zip 6.7.0 rc4 6.7.0-rc4-rmrr-patch.zip 6.7.0 rc5 6.7.0rc5RMRRpatch.zip 6.7.0 rc6 6.7.0rc6 RMRR Patch.zip 6.7.0 rc7 (thanks to @AnnabellaRenee87 for this one!) 6.7.0rc7 RMRR patch.zip 6.7.0 rc8 (again, thanks to @AnnabellaRenee87 6.7.0rc8 rmrr patch.zip 6.7.0 final (again, again, thanks to @AnnabellaRenee87) 6.7.0 RMRR patch.zip Other Proliant Problems Check this thread for fixes to other common Proliant problems: https://lime-technology.com/forums/topic/59375-hp-proliant-unraid-information-thread/ Happy unRaiding! rmrr-patch-kernel-compile-module.sh bzimage Edited January 4, 2021 by 1812 2 2 Quote Link to comment
AnnabellaRenee87 Posted July 7, 2018 Share Posted July 7, 2018 Does this mean we can run the latest BIOS now?!?! Sent from my SM-G955U using Tapatalk Quote Link to comment
1812 Posted July 7, 2018 Author Share Posted July 7, 2018 1 hour ago, AnnabellaRenee87 said: Does this mean we can run the latest BIOS now?!?! Sent from my SM-G955U using Tapatalk YUP! Quote Link to comment
AnnabellaRenee87 Posted July 7, 2018 Share Posted July 7, 2018 I was able to install the latest version!!!!!!!!! It's so much quieter too!!! (Yes, my BIOS was almost 9 years out of date, I can has security updates!!!!) Quote Link to comment
CHBMB Posted July 8, 2018 Share Posted July 8, 2018 On 7/7/2018 at 6:52 PM, 1812 said: This patch is currently operational for unRaid 6.3.5. Sure you don't mean v6.5.3? Quote Link to comment
AnnabellaRenee87 Posted July 8, 2018 Share Posted July 8, 2018 Sure you don't mean v6.5.3?Lol I was so excited, I didn't notice that [emoji12]Everything is perfect except unassigned drives complaining its not a supported version of unRAID.Sent from my SM-G955U using Tapatalk Quote Link to comment
1812 Posted July 8, 2018 Author Share Posted July 8, 2018 39 minutes ago, CHBMB said: Sure you don't mean v6.5.3? ? 9 minutes ago, AnnabellaRenee87 said: Everything is perfect except unassigned drives complaining its not a supported version of unRAID. can you send me your logs? I'll check for this in mine as well. Hadn't noticed.. Quote Link to comment
AnnabellaRenee87 Posted July 8, 2018 Share Posted July 8, 2018 can you send me your logs? I'll check for this in mine as well. Hadn't noticed..Let me know if this works, don't think LimeTech enabled the option for Tapatalk to allow .zip files.Tapatalk offered to host it. [emoji848]http://cloud.tapatalk.com/s/5b42808de34ca/server-diagnostics-20180708-1720.zipSent from my SM-G955U using Tapatalk Quote Link to comment
1812 Posted July 8, 2018 Author Share Posted July 8, 2018 got it. I'll look through it. all I've seen so far is that the rmrr error shows up on the logs but it doesn't seem to matter Quote Link to comment
1812 Posted July 8, 2018 Author Share Posted July 8, 2018 2 hours ago, AnnabellaRenee87 said: Let me know if this works, don't think LimeTech enabled the option for Tapatalk to allow .zip files. Tapatalk offered to host it. http://cloud.tapatalk.com/s/5b42808de34ca/server-diagnostics-20180708-1720.zip Sent from my SM-G955U using Tapatalk Am I missing something? All I see for unsupported is ul 4 18:32:42 Server root: # unRAID plugin wrapper for extra packages, mostly CLI, for advanced Jul 4 18:32:42 Server root: # users. Use at your own risk. Not officially supported by LimeTech. and also a bunch of unassigned devices invalid mounts Jul 5 18:44:37 Server unassigned.devices: Removing configuration '//WIN-EMBEDED/Logs'. Jul 5 18:45:30 Server unassigned.devices: Mount SMB share '//WIN-EMBEDED/logs' using SMB1 protocol. Jul 5 18:45:30 Server kernel: Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE Jul 5 18:45:30 Server kernel: CIFS VFS: Send error in SessSetup = -13 Jul 5 18:45:30 Server kernel: CIFS VFS: cifs_mount failed w/return code = -13 Jul 5 18:45:30 Server unassigned.devices: Mount SMB/NFS command: mount -t cifs -o rw,nounix,iocharset=utf8,_netdev,file_mode=0777,dir_mode=0777,sec=ntlm,vers=1.0,username=xxx=******* '//WIN-EMBEDED/logs' '/mnt/disks/WIN-EMBEDED_logs' Jul 5 18:45:30 Server unassigned.devices: Mount of '//WIN-EMBEDED/logs' failed. Error message: mount error(13): Permission denied Refer to the but I believe you had that before the patch. Also, there is a fix for this: Jul 5 18:49:26 Server kernel: ACPI Error: SMBus/IPMI/GenericSerialBus write requires Buffer of length 66, found length 32 (20170728/exfield-427) in the proliant info thread (modifying the go file) Quote Link to comment
AnnabellaRenee87 Posted July 9, 2018 Share Posted July 9, 2018 (edited) I got the unassigned devices thing sorted out, had to make a new user account in that VM for it to finally work. I added the text for my SMBus problem too. Here is what I'm talking about. PS, while the Server's array was down I turned on IPv6.......... Not an important thing to bring up I suppose Oh yeah, here are the current logs. server-diagnostics-20180708-2026.zip Edited July 9, 2018 by AnnabellaRenee87 Quote Link to comment
1812 Posted July 9, 2018 Author Share Posted July 9, 2018 12 hours ago, AnnabellaRenee87 said: I got the unassigned devices thing sorted out, had to make a new user account in that VM for it to finally work. I added the text for my SMBus problem too. Here is what I'm talking about. PS, while the Server's array was down I turned on IPv6.......... Not an important thing to bring up I suppose Oh yeah, here are the current logs. server-diagnostics-20180708-2026.zip I get the same error and failure to install. Hopefully @gfjardim can provide some insight? 1 Quote Link to comment
gfjardim Posted July 9, 2018 Share Posted July 9, 2018 1 hour ago, 1812 said: I get the same error and failure to install. Hopefully @gfjardim can provide some insight? Very strange, since unRAID 6.5.3 gcc version is 7.3.0. Are you using any custom builds, like @CHBMB DVB? Quote Link to comment
1812 Posted July 9, 2018 Author Share Posted July 9, 2018 7 minutes ago, gfjardim said: Very strange, since unRAID 6.5.3 gcc version is 7.3.0. Are you using any custom builds, like @CHBMB DVB? Yes, welcome to the Proliant custom build! Are there incompatibilities with the DVB version and the plugin as well, or is this a new thing? Quote Link to comment
gfjardim Posted July 9, 2018 Share Posted July 9, 2018 Just now, 1812 said: Yes, welcome to the Proliant custom build! Are there incompatibilities with the DVB version and the plugin as well, or is this a new thing? Just read the post, and the problem is that @1812 is compiling the kernel against GCC version 8.1.1 instead of compiling it agains GCC version 7.3.0, the default version for unRAID 6.5.3. Will take a look to see if this can be fixed without broke all systems that use official releases. Quote Link to comment
gfjardim Posted July 9, 2018 Share Posted July 9, 2018 Just updated it to circumvent this error. 1 Quote Link to comment
1812 Posted July 9, 2018 Author Share Posted July 9, 2018 Just now, gfjardim said: Just updated it to circumvent this error. Thank you! Much appreciated! Quote Link to comment
CHBMB Posted July 9, 2018 Share Posted July 9, 2018 I thought Unraid was built against slackware-current?The script will pull the current version of gcc and all other deps from slackware-current at build time. Quote Link to comment
gfjardim Posted July 9, 2018 Share Posted July 9, 2018 8 minutes ago, CHBMB said: I thought Unraid was built against slackware-current? The script will pull the current version of gcc and all other deps from slackware-current at build time. Not always because LT doesn't update it's build machine environment every time, I think. Quote Link to comment
CHBMB Posted July 9, 2018 Share Posted July 9, 2018 Not always because LT doesn't update it's build machine environment every time, I think.Ah, that would explain it. Quote Link to comment
AnnabellaRenee87 Posted July 10, 2018 Share Posted July 10, 2018 Just updated it to circumvent this error.Confirmed, thanks for getting that working!!Sent from my SM-G955U using Tapatalk Quote Link to comment
Stee Posted July 24, 2018 Share Posted July 24, 2018 On 7/7/2018 at 6:52 PM, 1812 said: unRaid HP Proliant Edition - RMRR Error Patching I am awesome Yes you are, I've been putting off looking at this stuff for so long as it looks way out of my depth and I could see it would involve recompiling the kernel. Thank you so much for this!!! Quote Link to comment
1812 Posted July 24, 2018 Author Share Posted July 24, 2018 6 minutes ago, Stee said: Yes you are, I've been putting off looking at this stuff for so long as it looks way out of my depth and I could see it would involve recompiling the kernel. Thank you so much for this!!! It's new to me still, but I enjoy learning and had some great help! Quote Link to comment
AnnabellaRenee87 Posted September 1, 2018 Share Posted September 1, 2018 I assume we'll need an updated patch for 6.6 RC 1?Sent from my SM-G955U using Tapatalk Quote Link to comment
1812 Posted September 1, 2018 Author Share Posted September 1, 2018 (edited) 15 hours ago, AnnabellaRenee87 said: I assume we'll need an updated patch for 6.6 RC 1? Sent from my SM-G955U using Tapatalk Yeah, give me a few days and I'll send it to you for testing (as my current hp hardware doesn't have the rmrr error since I decommissioned the the dl580's) also, I got a call trace on my ml30 gen9 after upgrading (it doesn't need the rmrr patch), but I sort of want to wait and see what that is all about. edit--- it also appears that there are disappearing gui issues and problems editing vm's after upgrading th the RC... so maybe best to wait for rc 2 or so... @AnnabellaRenee87 Edited September 2, 2018 by 1812 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.