1 Rookie

 • 

30 Posts

1305

December 1st, 2021 00:00

R340 Linux iDRAC firmware files not working on SLES and Ubuntu

Hi,

I'm trying to use the file below to update the iDRAC firmware on a selection of PowerEdge R340s.

iDRAC-with-Lifecycle-Controller_Firmware_YCFHY_LN64_5.00.10.20_A00.BIN

This is the file that's pointed to by the Drivers & Downloads site, when looking for iDRAC files for all Linux variants (Ubuntu, SLES & Red Hat).

As far as I can tell, the file only works on RHEL.

On Ubuntu and SLES systems the following error is displayed when trying to execute the BIN file.

./iDRAC-with-Lifecycle-Controller_Firmware_YCFHY_LN64_5.00.10.20_A00.BIN -q

Collecting inventory... .service: no such service instsvcdrv sh:

./disneyinstall.sh: No such file or directory .

Running validation...

This Update Package is not compatible with your system configuration.

Are there missing pre-requisites listing from the installation instructions that are required for this package to be installed?  From a quick look through the scripts that you get when extracting all the files from the BIN file, it appears that they're expecting an RPM based system, which clearly isn't going to work on an Ubuntu system...

I know there are other mechanisms that are available to update the firmware, but I need to be able to do it from the running OS.

I've got a service request open too, but don't seem to be getting anywhere quickly.

Cheers,

Rob

1 Rookie

 • 

30 Posts

December 23rd, 2021 07:00

Having been going back and forward with Dell support on this issue for a while, I've eventually figured out what's happening.

Using strace to debug what the firmware update was doing showed this error:

openat(AT_FDCWD, "/dev/mem", O_RDONLY) = -1 EPERM (Operation not permitted)

This is a consequence of having the server in Secure Boot mode. Having this enabled, prevents anybody from reading /dev/mem, which is why the update fails. If I turn Secure Boot off, the update applies successfully.

Obviously this is a poor workaround from a security perspective, and it also means that I have to reboot the server to disable Secure Boot.

Hopefully Dell will be able to provide a new command line firmware update utility that will work without needing to disable Secure Boot.

6 Operator

 • 

3K Posts

December 1st, 2021 01:00

Can you share the version of SLES and Ubuntu you have on the server? Did you have iDRAC Tools or OMSA installed on the server?

iDRAC 5.00.10.20 is supported on SLES 15 SP2 and Ubuntu 20.04.1. 

1 Rookie

 • 

30 Posts

December 1st, 2021 01:00

I've tried with SLES 15.3 and Ubuntu 20.04.3.

There was no iDRAC tools or OMSA installed on the server, just a fresh minimal install of each OS.

I'll try with Ubuntu 20.04.1 to  see if that'll make a difference, but I somehow doubt it will.

1 Rookie

 • 

30 Posts

December 1st, 2021 03:00

Same issue occurs with Ubuntu 20.04.1

# cat /etc/os-release
NAME="Ubuntu"
VERSION="20.04.1 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.1 LTS"
VERSION_ID="20.04"
HOME_URL=https://www.ubuntu.com/
SUPPORT_URL=https://help.ubuntu.com/
BUG_REPORT_URL=https://bugs.launchpad.net/ubuntu/
PRIVACY_POLICY_URL=https://www.ubuntu.com/legal/terms-and-policies/privacy-policy
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal

# ./iDRAC-with-Lifecycle-Controller_Firmware_YCFHY_LN64_5.00.10.20_A00.BIN  -qc
Collecting inventory...
Failed to start instsvcdrv.service: Unit instsvcdrv.service not found.
sh: 1: ./disneyinstall.sh: not found
.
Running validation...

This Update Package is not compatible with your system configuration.

1 Rookie

 • 

30 Posts

August 19th, 2022 03:00

As an update to this post, the recently released iDRAC firmware (6.00.02.00) will now work correctly if SecureBoot is enabled.

There are, however, some pre-requisites missing from the installation guide, which you may stumble across on minimal installs (or on Debian).

  • hexdump  (now in the bsdextrautils package on Debian 11)
  • libcurl4
  • srvadmin-hapi

Without the srvadmin-hapi package, the install looks to work ok, but you get the following warning:

Failed to start instsvcdrv.service: Unit instsvcdrv.service not found.

You also get a ./disneyinstall.sh: not found error, but it doesn't appear to cause any issues.

 

# ./iDRAC-with-Lifecycle-Controller_Firmware_JG4FK_LN64_6.00.02.00_A00.BIN -qc
Collecting inventory...
..Failed to start instsvcdrv.service: Unit instsvcdrv.service not found.
sh: 1: ./disneyinstall.sh: not found
.....................
Running validation...

Integrated Dell Remote Access Controller

The version of this Update Package is the same as the currently installed version.
Software application name: Integrated Dell Remote Access Controller
Package version: 6.00.02.00
Installed version: 6.00.02.00

 

No Events found!

Top