[Closed/Deprecated] unRaid HP Proliant Edition - RMRR Error Patching


127 posts in this topic Last Reply

Recommended Posts

  • Replies 126
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

For the new/current method, see here:      information provided below this line is for archival purposes only. ------------------------------------------      

Well I don't know what changed, but I tried it again today and it worked fine! Thanks for this patch!

Thank you @1812, @AnnabellaRenee87, and @CHBMB for all your work on this.  I have a ProLiant ML350e Gen8 that I wanted to pass through a 1050ti for extra gaming PC.  I would never have gotten this far

Posted Images

1 hour ago, comdex said:

Hi,

 

If its any help to anyone, I just run the script on my 6.6.0-rc4, and it magically works after I moved the bzimage where it belongs.

 

My machine is Microserver Gen8 if it matters to anyone ;)

 

File attached enjoy

 

 

bzimage

 

I did rc 2 and 4 and sent privately to another member by request but didn't publicly post because I no longer have proliant hardware with the RMRR issue so I can't validate the new bzimages myself anymore. But I'm still happy to do them, but I'm not sure how often I will end up doing the RC's as one never knows when they are likely to change to the next one. BUT, anyone can do this, and should if they want every single RC!

 

 

Link to post
 
I did rc 2 and 4 and sent privately to another member by request but didn't publicly post because I no longer have proliant hardware with the RMRR issue so I can't validate the new bzimages myself anymore. But I'm still happy to do them, but I'm not sure how often I will end up doing the RC's as one never knows when they are likely to change to the next one. BUT, anyone can do this, and should if they want every single RC!
 
 
When I get home I may setup a side system to compile it

Sent from my SM-G955U using Tapatalk

Link to post
12 hours ago, 8064r7 said:

I can report that the new 6.6.0 bzimage file available in the first post is working just fine on the stable 6.6.0 release.  Hardware is a Proliant DL580 G7 running the newest SPP I was able to procure.

 

thanks for the report!

 

On 9/25/2018 at 3:40 AM, master00 said:

Thanks man! Its working in 6.6.0 rc4. You are awsome, even now when you dont own a proliant anymore you care about updates. Your my hero!

 

interesting that it works on the rc and the final. must not have been that many changes behind the scenes then.

Link to post
1 hour ago, 1812 said:

 

thanks for the report!

 

 

interesting that it works on the rc and the final. must not have been that many changes behind the scenes then. 

The kernel version did not get bumped between v6.6.0rc4 and v6.6.0 so that explains why the bzimage does not need changing

Link to post

Also I've taken a look at the script you're using again and tried to simplify things.

#!/bin/bash

##Pull variables from github
wget -nc https://raw.githubusercontent.com/CHBMB/Unraid-DVB/master/build_scripts/variables.sh
. "$(dirname "$(readlink -f ${BASH_SOURCE[0]})")"/variables.sh

##Install packages
[ ! -d "$D/packages" ] && mkdir $D/packages
  wget -nc -P $D/packages -i $D/URLS_CURRENT
  wget -nc -P $D/packages https://github.com/CHBMB/Unraid-DVB/raw/master/files/patchutils-0.3.4-x86_64-2.tgz
  wget -nc -P $D/packages https://github.com/CHBMB/Unraid-DVB/raw/master/files/Proc-ProcessTable-0.53-x86_64-2.tgz
  installpkg $D/packages/*.*

#Change to current directory
cd $D

##Download and Install Kernel
[[ $(uname -r) =~ ([0-9.]*) ]] &&  KERNEL=${BASH_REMATCH[1]} || return 1
  LINK="https://www.kernel.org/pub/linux/kernel/v4.x/linux-${KERNEL}.tar.xz"
  rm -rf $D/kernel; mkdir $D/kernel
  [[ ! -f $D/linux-${KERNEL}.tar.xz ]] && wget $LINK -O $D/linux-${KERNEL}.tar.xz

  tar -C $D/kernel --strip-components=1 -Jxf $D/linux-${KERNEL}.tar.xz
  rsync -av /usr/src/linux-$(uname -r)/ $D/kernel/
  cd $D/kernel
  for p in $(find . -type f -iname "*.patch"); do patch -N -p 1 < $p
  done
  make oldconfig
  
##Make necessary changes to fix HP RMRR issues
cd $D
sed -i '/return -EPERM;/d' $D/kernel/drivers/iommu/intel-iommu.c

##Compile Kernel
cd $D/kernel
make -j $(grep -c ^processor /proc/cpuinfo)

#Package Up new bzimage
mkdir -p $D/$VERSION/
cp -f $D/kernel/arch/x86/boot/bzImage $D/$VERSION/bzimage
md5sum bzimage > bzimage.md5

##Return to original directory
cd $D

Think that should work.  Here's a bzimage for someone to check on v6.6.0

 

 

bzimage

Link to post
2 hours ago, CHBMB said:

Also I've taken a look at the script you're using again and tried to simplify things.


#!/bin/bash

##Pull variables from github
wget -nc https://raw.githubusercontent.com/CHBMB/Unraid-DVB/master/build_scripts/variables.sh
. "$(dirname "$(readlink -f ${BASH_SOURCE[0]})")"/variables.sh

##Install packages
[ ! -d "$D/packages" ] && mkdir $D/packages
  wget -nc -P $D/packages -i $D/URLS_CURRENT
  wget -nc -P $D/packages https://github.com/CHBMB/Unraid-DVB/raw/master/files/patchutils-0.3.4-x86_64-2.tgz
  wget -nc -P $D/packages https://github.com/CHBMB/Unraid-DVB/raw/master/files/Proc-ProcessTable-0.53-x86_64-2.tgz
  installpkg $D/packages/*.*

#Change to current directory
cd $D

##Download and Install Kernel
[[ $(uname -r) =~ ([0-9.]*) ]] &&  KERNEL=${BASH_REMATCH[1]} || return 1
  LINK="https://www.kernel.org/pub/linux/kernel/v4.x/linux-${KERNEL}.tar.xz"
  rm -rf $D/kernel; mkdir $D/kernel
  [[ ! -f $D/linux-${KERNEL}.tar.xz ]] && wget $LINK -O $D/linux-${KERNEL}.tar.xz

  tar -C $D/kernel --strip-components=1 -Jxf $D/linux-${KERNEL}.tar.xz
  rsync -av /usr/src/linux-$(uname -r)/ $D/kernel/
  cd $D/kernel
  for p in $(find . -type f -iname "*.patch"); do patch -N -p 1 < $p
  done
  make oldconfig
  
##Make necessary changes to fix HP RMRR issues
cd $D
sed -i '/return -EPERM;/d' $D/kernel/drivers/iommu/intel-iommu.c

##Compile Kernel
cd $D/kernel
make -j $(grep -c ^processor /proc/cpuinfo)

#Package Up new bzimage
mkdir -p $D/$VERSION/
cp -f $D/kernel/arch/x86/boot/bzImage $D/$VERSION/bzimage
md5sum bzimage > bzimage.md5

##Return to original directory
cd $D

Think that should work.  Here's a bzimage for someone to check on v6.6.0

 

 

bzimage

 

 

very cool, thank you!

 

Link to post
Also I've taken a look at the script you're using again and tried to simplify things.
#!/bin/bash##Pull variables from githubwget -nc https://raw.githubusercontent.com/CHBMB/Unraid-DVB/master/build_scripts/variables.sh. "$(dirname "$(readlink -f ${BASH_SOURCE[0]})")"/variables.sh##Install packages[ ! -d "$D/packages" ] && mkdir $D/packages wget -nc -P $D/packages -i $D/URLS_CURRENT wget -nc -P $D/packages https://github.com/CHBMB/Unraid-DVB/raw/master/files/patchutils-0.3.4-x86_64-2.tgz wget -nc -P $D/packages https://github.com/CHBMB/Unraid-DVB/raw/master/files/Proc-ProcessTable-0.53-x86_64-2.tgz installpkg $D/packages/*.*#Change to current directorycd $D##Download and Install Kernel[[ $(uname -r) =~ ([0-9.]*) ]] &&  KERNEL=${BASH_REMATCH[1]} || return 1 LINK="https://www.kernel.org/pub/linux/kernel/v4.x/linux-${KERNEL}.tar.xz" rm -rf $D/kernel; mkdir $D/kernel [[ ! -f $D/linux-${KERNEL}.tar.xz ]] && wget $LINK -O $D/linux-${KERNEL}.tar.xz tar -C $D/kernel --strip-components=1 -Jxf $D/linux-${KERNEL}.tar.xz rsync -av /usr/src/linux-$(uname -r)/ $D/kernel/ cd $D/kernel for p in $(find . -type f -iname "*.patch"); do patch -N -p 1   done make oldconfig##Make necessary changes to fix HP RMRR issuescd $Dsed -i '/return -EPERM;/d' $D/kernel/drivers/iommu/intel-iommu.c##Compile Kernelcd $D/kernelmake -j $(grep -c ^processor /proc/cpuinfo)#Package Up new bzimagemkdir -p $D/$VERSION/cp -f $D/kernel/arch/x86/boot/bzImage $D/$VERSION/bzimagemd5sum bzimage > bzimage.md5##Return to original directorycd $D

Think that should work.  Here's a bzimage for someone to check on v6.6.0
 
 
bzimage

So do we have to be running on the latest to run the script? I would compile it but I need the patch to have my pfsense VM running to have internet. Don't suppose you could put these builds in your DVB edition plugin, could ya or maybe make a ProLiant plugin?

Sent from my SM-G955U using Tapatalk

Link to post
On 9/28/2018 at 6:46 AM, AnnabellaRenee87 said:

So do we have to be running on the latest to run the script? I would compile it but I need the patch to have my pfsense VM running to have internet. Don't suppose you could put these builds in your DVB edition plugin, could ya or maybe make a ProLiant plugin?

Sent from my SM-G955U using Tapatalk
 

 

Yes, you would need to be running on latest to run the script.  I'm not willing to pick this one up to be honest, since I started the DVB plugin I've got a lot less time on my hands and really don't want to take on anything more.  Happy to help @1812 from the sidelines on this one though.

Link to post
12 hours ago, CHBMB said:

 

Yes, you would need to be running on latest to run the script.  I'm not willing to pick this one up to be honest, since I started the DVB plugin I've got a lot less time on my hands and really don't want to take on anything more.  Happy to help @1812 from the sidelines on this one though.

 

And I don't mind doing it since I got a great start!

 

 

Link to post
19 hours ago, CHBMB said:

 

Yes, you would need to be running on latest to run the script.  I'm not willing to pick this one up to be honest, since I started the DVB plugin I've got a lot less time on my hands and really don't want to take on anything more.  Happy to help @1812 from the sidelines on this one though.

Its okay, I understand, I think I came off a little pushy in that last post, I'll just say it was late, I may have had a drink or......3, 4........

Link to post
Its okay, I understand, I think I came off a little pushy in that last post, I'll just say it was late, I may have had a drink or......3, 4........
I didn't think you came over pushy, don't worry about it. When I started the DVB stuff I wasn't married, had no children, and I had a lot of free time in my job. That has all changed, so I just don't have as much free time as I used to....

Sent from my Mi A1 using Tapatalk

Link to post
  • 2 weeks later...
On 9/26/2018 at 10:32 AM, CHBMB said:

Also I've taken a look at the script you're using again and tried to simplify things.


#!/bin/bash

##Pull variables from github
wget -nc https://raw.githubusercontent.com/CHBMB/Unraid-DVB/master/build_scripts/variables.sh
. "$(dirname "$(readlink -f ${BASH_SOURCE[0]})")"/variables.sh

##Install packages
[ ! -d "$D/packages" ] && mkdir $D/packages
  wget -nc -P $D/packages -i $D/URLS_CURRENT
  wget -nc -P $D/packages https://github.com/CHBMB/Unraid-DVB/raw/master/files/patchutils-0.3.4-x86_64-2.tgz
  wget -nc -P $D/packages https://github.com/CHBMB/Unraid-DVB/raw/master/files/Proc-ProcessTable-0.53-x86_64-2.tgz
  installpkg $D/packages/*.*

#Change to current directory
cd $D

##Download and Install Kernel
[[ $(uname -r) =~ ([0-9.]*) ]] &&  KERNEL=${BASH_REMATCH[1]} || return 1
  LINK="https://www.kernel.org/pub/linux/kernel/v4.x/linux-${KERNEL}.tar.xz"
  rm -rf $D/kernel; mkdir $D/kernel
  [[ ! -f $D/linux-${KERNEL}.tar.xz ]] && wget $LINK -O $D/linux-${KERNEL}.tar.xz

  tar -C $D/kernel --strip-components=1 -Jxf $D/linux-${KERNEL}.tar.xz
  rsync -av /usr/src/linux-$(uname -r)/ $D/kernel/
  cd $D/kernel
  for p in $(find . -type f -iname "*.patch"); do patch -N -p 1 < $p
  done
  make oldconfig
  
##Make necessary changes to fix HP RMRR issues
cd $D
sed -i '/return -EPERM;/d' $D/kernel/drivers/iommu/intel-iommu.c

##Compile Kernel
cd $D/kernel
make -j $(grep -c ^processor /proc/cpuinfo)

#Package Up new bzimage
mkdir -p $D/$VERSION/
cp -f $D/kernel/arch/x86/boot/bzImage $D/$VERSION/bzimage
md5sum bzimage > bzimage.md5

##Return to original directory
cd $D

Think that should work.  Here's a bzimage for someone to check on v6.6.0

 

 

bzimage

 

 

I used this to compile the new bzimage for 6.6.2 (for those of you waiting, it is in the first post of this thread), it completed but left me with this: 

 

md5sum: bzimage: No such file or directory

 

 

Link to post
 
 
I used this to compile the new bzimage for 6.6.2 (for those of you waiting, it is in the first post of this thread), it completed but left me with this: 
 
md5sum: bzimage: No such file or directory

 
 

Harmless and I can see why. The md5sum isn't pointing to the right location of the bzimage file.

Sent from my Mi A1 using Tapatalk

Link to post

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.