NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

Sandshark's avatar
Sandshark
Sensei - Experienced User
Dec 05, 2016
Solved

Updating motherboad BIOS from OS6 -- can't get it to work

There is an older post, now closed (why does Netgear do this when future changes really can need a subject to be resurrected?) at How to update BIOS w/ OS6.x installed on updating some of the legacy machines (Pro6, Ultra6, Ultra4, Ultra2) motherboard BIOS if you made the switch to OS6 without first updating the BIOS and can no longer use the .bin package to do the upgrade.  I can't get it to work.

 

The forum poster may have been wrong when he said pars of the referenced article are wrong.  The author in the referenced article does not seem to assume that you have flashrom and dmidecode installed as the forum posting states, the process given includes extracting them from the .bin package and moving flashrom and the .ROM files to /opt/flashrom.  Dmidecode is not moved, but I can't see where it's needed, anyway.

 

But, try as I might, I cannot still get the instructions to work.  Bash complains -bash: /opt/biosflash/flashrom: No such file or directory in spite of the fact that flashrom is there and executable: flashrom -rwxr-xr-x+ 1 root root  280765 Jan 13  2011 flashrom.  It makes no difference what directory I am in when I do this (making appropriate change to the path, of course).  I can't even copy, move, or delete flashrom unless I use flashrom* instead of flashrom.  That sounds a lot like there is an unprintable charachter at the end, but why then do ls, find, and cat all work without the * appended?  I can do as I please with the non-executable files in the same directory, and I can I can do with it what I please (except, of course, execute it) it if I chmod it to non-executable.  lsattr shows all dashes for the file.

 

I tried using a newer version of flashrom that I installed with apt-get to do the ROM update, but it has a problem of it's own.  It needs to be configured for the archetecture, and that fails on the Pro6, which is where I need it (error has been reported).

 

I'm no Linux wiz, and Google has not been my friend here.  No suggested solutions found in a search have helped.  Anybody here have any clues/suggestions?

  • You need (at least) a 32-bit C library to run 32-bit programs.  Try this: 

    # apt-get install libc6-i386

11 Replies

Replies have been turned off for this discussion
  • mdgm-ntgr's avatar
    mdgm-ntgr
    NETGEAR Employee Retired

    Maybe

    # flashrom -p internal -c W25X80 -w /opt/biosflash/RN_NV6_072610.ROM
    • Sandshark's avatar
      Sandshark
      Sensei - Experienced User

      Nope, the -p internal generates an error in the current version of flashrom (v0.9.7-r1782 ) on the 6-bay Pro units,    It finds the chipset and flash, but fails with /dev/mem mmap failed: Resource temporarily unavailable.  This does seem to be an issue with the updated kernel, so getting the old version to work may not be the answer, either.  But it still bothers me that I can't access that file, even if that's not the solution.

      • mdgm-ntgr's avatar
        mdgm-ntgr
        NETGEAR Employee Retired

        Well one option would be to power down, remove your disks (label order), put a scratch disk in, downgrade to RAIDiator-x86 4.2.x, install the BIOS upgrade then upgrade back to OS6 again, verify the update was successful, power down, remove the scratch disk then put your disks back in again.

         

        See Downgrade to RAIDiator-x86 from ReadyNAS OS | #notsupported

  • Skywalker's avatar
    Skywalker
    NETGEAR Expert

    You need (at least) a 32-bit C library to run 32-bit programs.  Try this: 

    # apt-get install libc6-i386
    • Sandshark's avatar
      Sandshark
      Sensei - Experienced User

      As previously stated, the flashrom in the bios update package did not execute under OS6.6.x.  I have not yet tried to install the 32-bit C library to see if that makes it work.

      • kekegsm's avatar
        kekegsm
        Guide

        I tried yesterday, working perfect:

        # apt-get update
        # apt-get install dmidecode flashrom
        # apt-get install libc6-i386
        # cd /tmp
        # wget http://www.readynas.com/download/addons/x86/4.2/BIOS_Update_Package_0.5-x86.bin
        # dd if=BIOS_Update_Package_0.5-x86.bin bs=16k count=1
        # dd if=BIOS_Update_Package_0.5-x86.bin bs=16k skip=1 | md5sum -
        # dd if=BIOS_Update_Package_0.5-x86.bin bs=16k skip=1 | tar -xv
        # tar -xvf files.tgz
        # ls -lah /tmp/opt/biosflash
        # flashrom --programmer internal -c W25X80 -w /tmp/opt/biosflash/RN_NV6_072610.ROM

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More