Coder Social home page Coder Social logo

flash-it's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

flash-it's Issues

Bootable IT mode?

Ran the script (Debian buster, dell r220), and things kind of went OK - there was a failure at one point, and when it was attempting to reset/rescan, it ended up killing/freezing my SSH, and things were also hard looked up in the IDRAC console. A downside, also, was because of the reset I lost all of the backups in /tmp. However, I hard rebooted, and I think it actually works. The OS can see connected drivers, and the Dell bios/firmware no longer recognizes it as a RAID controller.

The only thing I cannot get working is using an attached drive as a boot device. Is there any way to do this? I have read with other methods that this is generally the flash just firmware vs firmware and bios back (using sas2flash). Figured I would at least see if this is possible with lsirec.

Unsuccessfull SBR rollback

Hello,

I just tried to flash my H310 with the script from the Debian Live and run into some problem because I didn't boot with iomem=relaxed flag (Yes, my bad for not reading the instructions). Anyway, I downloaded your SBR restore script, run it and it said that everything is rolled back.

BUT after reboot with the right flag, I cant see the H310 anymore. Script didn't find the SAS address and even when I starting my server (R720) I can see S110 instead of H310. What should I do to fix it?

sudo opt/MegaRAID/MegaCli/MegaCli64 -AdpAllInfo -a0

                                     
User specified controller is not present.
Failed to get CpController object.

Exit Code: 0x01

Thank you for your help.

Could not retrieve PCI address from lspci

I guess the output format of lspci verbose changed and the script stops with

Could not retrieve PCI address from lspci

man lspci suggest to use the -m flag for machine readable output

TESTED: IBM M1015 in Huawei RH2288v2

We have tested this script with an IBM ServeRAID M1015 card in a Huawei RH2288v2 server.

Ubuntu 18.04 LXDE Live (NetbootXYZ)
Changed the ADAPTER_PATTERN to "M1015"

Works without issues.

Issue With Dell H310

Server: Dell R720XD
Card: Dell H310(Full Size PCI Card, this is not mini monolithic card)

Issue:
Every time I run script, it says

Could not retrieve PCI address from lspci, attempting to load from existing backup file.

I tried manually as well https://i.imgur.com/dT5l1tV.png

Ubuntu 18.04(installed on USB) booted in BIOS mode, tried with UEFI, same issue. I tried running live Ubuntu as well.

Bricked H310 Mini Mono on R720XD

Pretty sure I followed directions, but stuff happened...
From the very first step of erasing data, it said "erasing failed" and it continued to fail throughout.

I was booted on Ubuntu LTS usb drive. Ran the scripts, when I noticed it failed, I did a restore, said successful.

The H310 mini mono was latest dell firmware if it makes a difference.

Bummer.. The error I get at boot says "needs to be reflashed" and "verification failed".

Support flashing cards with IR firmware

I bought a h200 off ebay, turns out it was pre-flashed to IR mode which caused the card to not get recognized by script and gets stuck at the part where it is grabbing the SAS address of the card.

Error Line 105

Hi. I am getting the error Line 105 megacli64 not found. Is there a solution to this. Been stuck here for days. I gave tried using ubuntu live, centOS and also ubuntu desktop on a Dell R720.

Thanks in advance

Firmware update fails when iommu is enabled

The lsirec tool seems to be incompatible with hardware I/O MMUs and standard iommu settings on most recent Ubuntu Kernels. I had to disable I/O MMU in UEFI before I could successfully update my SAS card. The iommu=soft GRUB command line should work, too. You may want to mention the trick in your documentation.

PS: Thanks for your tool. ๐Ÿ‘

Waiting for MPT.... timed out

First of all, thanks for taking your time and effort to make this script!

I have a Dell r320 with a PERC H310 Mini Monolithic and I have run the script from a Ubuntu 20.04 LTS live USB and I get the following error:

`LSI Logic MPT Configuration Utility, Version 1.72, Sep 09, 2014

1 MPT Port found

 Port Name         Chip Vendor/Type/Rev    MPT Rev  Firmware Rev  IOC
  1. ioc1 LSI Logic SAS2008 B2 200 14000700 0

Main menu, select an option: [1-99 or e/p/w or 0 to quit] 2

Firmware image's version is MPTFW-20.00.07.00-IT
LSI Logic
Not Packaged Yet
MPTFW-20.00.07.00-BL
LSI Logic
Not Packaged Yet

Do you want to continue? [Yes or No, default is No] yes

Downloading image...
Download succeeded

Verifying download...
Verification succeeded

Main menu, select an option: [1-99 or e/p/w or 0 to quit] 0

Waiting for IOC to become ready...IOC is OPERATIONAL
Resetting device...

Device in MPT mode
Kernel driver unbound from device
Resetting adapter...
IOC is RESET
IOC is RESET
IOC failed to become ready
Trying unlock in MPT mode...
Device in MPT mode
Removing PCI device...
Rescanning PCI bus...
PCI bus rescan complete.

Waiting for MPT........................................................................................................................................................................................timed out
Operation incomplete, exiting early. Please check the state of the device.`

Any idea of what has happend?

Please let me know if you need additional information or the complete console output.

Allow multiple adapters to be present

This may already work or be close, but I have not tested it. Adapter index selection for part of the script is hard-coded to the first one, so currently it will only operate on the lowest-indexed device.

This issue is mostly relevant for other cards, which is another issue in itself (#2).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.