Turbocharge your Quanta LB6M - Flash To Brocade TurboIron - Big Update!

Discussion in 'Networking' started by fohdeesha, Dec 18, 2017.

  1. fohdeesha

    fohdeesha Kaini Industries

    Joined:
    Nov 20, 2016
    Messages:
    775
    Likes Received:
    573
    OK, good to know. seems like it's just a harmless bug in the brocade bootloader then. In future if you need to get out of the BL cleanly you can do "boot system flash primary"

    and after pulling power after a frozen reset, your management port works still correct? Last question :p Thanks for all the help!
     
    #81
    TheBloke likes this.
  2. TheBloke

    TheBloke Active Member

    Joined:
    Feb 23, 2017
    Messages:
    201
    Likes Received:
    39
    Yup, works fine :)

    One (unimportant) thing I did notice: it looks like mgmt #1 is 100mbit now, where before it was gigabit? At least the (very cheap, dumb) gigabit Netgear switch I'm currently using for 1G is showing the yellow light for 100mbit now where it was definitely green for gigabit before I did the flash.

    Or maybe that's configurable and I just haven't configured it? I don't see any likely options under ip ? though.

    Doesn't matter at all, just a difference I noticed.
     
    #82
  3. fohdeesha

    fohdeesha Kaini Industries

    Joined:
    Nov 20, 2016
    Messages:
    775
    Likes Received:
    573
    well shit, that's actually what @verygeekys started doing before it stopped linking completely. Can you unplug the ethernet cable and plug it back in and see if it links back up at 1gbe? if it doesn't, do this:

    while connected over serial (won't work via telnet/ssh), in the OS, hit ctrl + y then let go then press m. then press enter, should drop you to OS prompt. run "t2", select ethernet test, then hit i think 6 for "run all ethernet tests" when it finishes, escape out of all the test menus until your back at the OS prompt, then hit ctrl + z to return back to the normal OS prompt. Your port should now be at 1gbe. REALLY need to figure out wtf is causing this
     
    #83
  4. TheBloke

    TheBloke Active Member

    Joined:
    Feb 23, 2017
    Messages:
    201
    Likes Received:
    39
    OK all done. It remained 100mbit despite multiple cable re-plugs, then I did the Ethernet test, after which it did indeed come up as 1gbit.

    I will keep an eye on it and let you know if anything else changes. For me it really doesn't matter even if the management port did die, it's only a home network and I'm fine using in-band, or even serial if need be. But I'd be glad to test anything that might help you resolve it for others.

    Thanks again for all your hard work on this. It's a fantastic project!
     
    #84
  5. fohdeesha

    fohdeesha Kaini Industries

    Joined:
    Nov 20, 2016
    Messages:
    775
    Likes Received:
    573
    Thanks for testing. It looks like you have the same symptom, which is bad news considering you followed the proper flash routine. I don't want to be responsible for disabling 100 peoples management ports :O Will take some time off tomorrow and sit down and figure this out.

    Can you think of anything you did in between the time it was working, and the time it linked up at 100mbit? If this happened right away after flashing without some trigger, you'd think I'd have 100 angry emails
     
    #85
  6. TheBloke

    TheBloke Active Member

    Joined:
    Feb 23, 2017
    Messages:
    201
    Likes Received:
    39
    Unfortunately I didn't notice until I'd already done a few things with the switch. But I can tell you everything I did up until I noticed:

    EDIT: It's the power cycle that does it every time; see later post.
    1. Flashed it, rebooted, confirmed my 4 x 10G links worked immediately via pings/ssh's
    2. Pinged/telnetted to mgmt#1 and confirmed that worked
    3. I did your test for boot-parameter: reboot into bootloader, tried to "type boot-parameter"
    4. In the BL I typed "reset" instead of "reload" by mistake, making it hang on that different prompt (date/time), and I had to hard power cycle to get it operational again
    5. I followed your quick start guide, setting up an in-band IP and SSH and confirming those worked
    6. I enabled Jumbo Frames, which requires a 'reload'
    7. I named my 4 x 10G ports and set their MTUs to 9022, and then tested them
    8. I then did the power-cycle test for you, to confirm mgmt #1 was still working
    9. This is the point I noticed it was at 100mbit - though I didn't mention it until we'd done a couple more tests
      1. the reason I noticed it here is that after this hard power cycle, my LB6M fan started to make an annoying chirpy sound - which caused me to go into the server area to listen closer.
      2. I assume this can't be FW/software related! :) I've barely used the switch since I got it, and know nothing of its used history, so I figure the sudden power cycle on/off has just tipped the fan over to need replacing sooner. It's only making the noise intermittently now.
      3. (I have remote-controlled power sockets on the server and switch, so the earlier power cycles didn't require me to go into the server area - I only did so to hear the fan sound better.)

    So the items that jump out to me as unusual steps are the drop to bootloader, the 2 x hard power cycles, and the hang caused by doing 'reset' instead of 'reload' in the BL, necessitating one of those hard cycles.

    That said, I suppose theoretically some of those other 100 might also have the issue but just not noticed the port is now 100mbit, given there's no loss of functionality (at least not yet for me)? I wouldn't have noticed for a long time had I not had the fan noise, and the only reason it jumped out at me is because I had only plugged in the management cable for the first time 30 mins earlier, and in checking for connectivity I thought "Oh, it's gigabit - I expected a management port to be 100mbit." So it was fresh in my mind, where others might not notice it for ages - at least unless until it actually stops working.
     
    #86
    Last edited: Jan 16, 2018
  7. TheBloke

    TheBloke Active Member

    Joined:
    Feb 23, 2017
    Messages:
    201
    Likes Received:
    39
    One correction: that 'weird date prompt' I mentioned after 'reset' is nothing to do with the switch! :D I just realised that was the terminal program I was using. I've now switched to Putty and after 'reset' it's just an immediate hang, no further output from the switch, as no doubt you saw too.

    Sorry if that was confusing.

    I'm now trying to re-create some of the steps I went through to see if I can cause mgmt#1 to drop back to 100mbit.
     
    #87
  8. TheBloke

    TheBloke Active Member

    Joined:
    Feb 23, 2017
    Messages:
    201
    Likes Received:
    39
    OK it's really simple - every time I hard power cycle the switch, the management port goes to 100mbit.

    It does not do so after a 'reload'.

    I can't see a way to do a software shutdown, so not sure I can test if that's different. But a hard power drop & power on definitely causes 100mbit each time.

    But I haven't so far ever lost connectivity or usability - it continues to work fine for telnet and SSH when at 100mbit.

    Each time it goes to 100mbit I have been able to fix it back to 1G using the Ethernet Test.
     
    #88
    Last edited: Jan 16, 2018
  9. TheBloke

    TheBloke Active Member

    Joined:
    Feb 23, 2017
    Messages:
    201
    Likes Received:
    39
    Is it worth trying to re-flash the BL? Ie copy tftp flash 192.168.1.49 brocadeboot.bin bootrom

    Or could that do no good?
     
    #89
  10. fohdeesha

    fohdeesha Kaini Industries

    Joined:
    Nov 20, 2016
    Messages:
    775
    Likes Received:
    573
    Right, that's the main symptom of this bug. That's why right after you cleanly flashed I asked you to cold power cycle it and check. But it seems by then it was already too late as you had ran "reset" when I first asked you to check boot-parameter. my fault!

    edit: nothing to do with reset command, its a bug in the firmware
     
    #90
    Last edited: Feb 15, 2018
  11. fohdeesha

    fohdeesha Kaini Industries

    Joined:
    Nov 20, 2016
    Messages:
    775
    Likes Received:
    573
    perfectly safe. In fact that's what I'm doing right now, re-flashing both the bootloader and software image and doing a cold power cycle, and seeing if this bug goes away
     
    #91
    Last edited: Feb 15, 2018
  12. TheBloke

    TheBloke Active Member

    Joined:
    Feb 23, 2017
    Messages:
    201
    Likes Received:
    39
    OK I just tried reflashing the bootrom and the primary, and no that didn't fix it - next power cycle I have 100mbit on mgmt #1.

    One more piece of data: I tried disabling and re-enabling "interface management 1" and this also causes it to come back at 100mbit - no power cycle required.
     
    #92
    fohdeesha likes this.
  13. fohdeesha

    fohdeesha Kaini Industries

    Joined:
    Nov 20, 2016
    Messages:
    775
    Likes Received:
    573
    OK figured some things out, some good:

    1. It's quite easy to revert to fastpath, so it's no longer a 1 way trip. I'll add this to the guide with the proper memory read checks, but just so you know it's possible (I don't recommend actually following this yet, a lot of things need to be verified):

    Quanta Revert - Pastebin.com
    (EDIT: don't follow this. it's missing a lot of important uboot environment variables. wait until it's in the guide)

    2. The unique base MAC of your switch (that each port/vlan gets iterated on) is stored in EEPROM. When flashing to brocade, it now has no idea how to read that EEPROM (Brocade expects it to be in a different part of EEPROM), so it defaults to 00e0.5200.0100. On it's own this isn't a problem, but if you have multiple flashed LB6M's on the same l2 network, you're obviously going to have some collision issues. There's an easy command to change the base MAC to resolve this, I will also be adding this to the guide (along with how to fix the weird serial number, and set it to what you want) - This makes it a good idea to note down the base MAC of your quanta before flashing. I don't think there's a sticker with this anywhere on them usually, so after flashing it's gone and you'll need to set it to a randomly generated MAC (nothing wrong with this, though)

    3. Under Brocade, you can slow the fans down. at configure terminal level, do "fan-speed 1" and it'll slow them down to level 1 permanently instead of auto-cycling through the 3 fan speed levels. Just keep an eye on your temps, mine went from 30c to 45c which is still fine, but could be worse for people in different environments. There's also "set-pwr-fan-speed" which controls the speed of the fans in the power supplies, but I haven't messed with it yet

    If any of you still have a stock unflashed LB6M, I *REALLY* need the output of the command "printenv" in the quanta bootloader
     
    #93
    Last edited: Jan 18, 2018
    TheBloke likes this.
  14. TheBloke

    TheBloke Active Member

    Joined:
    Feb 23, 2017
    Messages:
    201
    Likes Received:
    39
    Great work @fohdeesha

    That's great about the fan speed setting, I'm going to try that immediately. Between my server and JBOD I have 8 fans running at up to 4500RPM, and I can still clearly hear the LB6M over the top of those. It's much higher pitched for some reason.

    Let me know the MAC address change command when you get a chance and I'll give that a go.

    Presumably none of this is causing the management port to drop to 100mbit? Last night I was wondering - could the MAC address be the cause of one person's management port going dead completely? Because although mine drops to 100mbit on every power cycle, it hasn't ever yet stopped working. But if someone had MAC conflicts, that could cause the port to become inaccessible? Or do you expect that my management port will eventually progress to not working at all?
     
    #94
  15. fohdeesha

    fohdeesha Kaini Industries

    Joined:
    Nov 20, 2016
    Messages:
    775
    Likes Received:
    573
    I don't think any of it has to do with the mgmt port, I already tried changing mac with no change to that. It's possible it will only work correctly with the MAC the switch has from factory because it's stored in EEPROM somewhere I can't see, in which case I need to open my switch up and hope there's a sticker with the original MAC, and set it to that.

    I honestly think it might be that "reset" command corrupting something, so now that I've flashed back to quanta succesfully I can start the flash procedure all over again and see if it's remedied. I'm inclined to think that you do have the issue as the phy eth test brings it back to 1gbe. I'll poke around some more tonight and get that figured out because it's bothering me! My mgmt port went right back to working perfectly once I got fastpath back on there, which tells me again it's a 100% software issue
     
    #95
    TheBloke likes this.
  16. TheBloke

    TheBloke Active Member

    Joined:
    Feb 23, 2017
    Messages:
    201
    Likes Received:
    39
    OK fair enough. I'd be glad to go back to Quanta and then back to Brocade to test - I read your pastebin, it seems simple enough. But I don't have the FW lb6m.1.0.0.10.bin, the earliest I have is 1.0.0.13. Could you put that up somewhere?

    Also an MD5 for uboot.bin would be great, just to confirm the uboot.bin file I just found I already have (but haven't ever used) is definitely the right one.

    Thanks again.
     
    #96
  17. TheBloke

    TheBloke Active Member

    Joined:
    Feb 23, 2017
    Messages:
    201
    Likes Received:
    39
    On a different matter, could someone confirm that the following RJ45 SFP should work: AVAGO ABCU-5710RZ GbE SFP Copper RJ45 GBIC Transceiver 1000BASE-T

    I know it was said any SFP works, it's just I've never used an RJ45 SFP before so I don't know if there's anything further I need to check in terms of specs/capabilities. I just want an SFP I can plug any normal Cat5 or Cat6 cable in and connect up to various devices and dumb switches.

    I'm thinking that now the Brocade LB6M can use 1G RJ45s, maybe I don't need my LB4M any more. I was going to use the 4M to collect all my 1G ports around the house then uplink over 10G to the 6M. But it seems I can get RJ45 SFPs for £8-£10 each, so I could get six of those, giving me 10 x 1G ports (including the 4 built-in ports) in the same switch as my few 10G links.

    That would by physically neater, and would also mean I'd only need to learn and configure the Brocade software, and not bother with two sets of switch software.

    TIA.
     
    #97
  18. TheBloke

    TheBloke Active Member

    Joined:
    Feb 23, 2017
    Messages:
    201
    Likes Received:
    39
    @fohdeesha I have a MAC for you. It is indeed on a sticker inside. I've not (yet) opened mine, but I remembered I had downloaded a few internal photos posted by another forum member early in the main LB6M thread.

    There's a sticker that shows: "E89A8F 138586", which I checked on macvendors.com as E8:9A:8F:13:85:86 and it showed vendor = Quanta Computer Inc.

    [​IMG]

    I will open my LB6M later to find out what my MAC is so that I can reset it correctly.
     
    #98
    Last edited: Jan 17, 2018
  19. fohdeesha

    fohdeesha Kaini Industries

    Joined:
    Nov 20, 2016
    Messages:
    775
    Likes Received:
    573
    Actually, this may be way simpler than all of that: Do you have your management port plugged into the same L2 network as the other quanta ports? If so, they both have the same MAC(the default vlan 1 MAC, anyway), and you're going to get collisions which are gunna screw that port up. Unplug everything from the quanta except management 1, and do a hard power cycle. See if it comes up as 1gbe and acts normally
     
    #99
  20. BeardedKiltGuy

    BeardedKiltGuy New Member

    Joined:
    Jan 17, 2018
    Messages:
    3
    Likes Received:
    4
    I Found the Issue with duplicate MAC addresses yesterday afternoon. I see that there is already a fix in the works. I have 2 flashed switches that i would like to try this on. They came from Unix+ and they have the MAC on the side of the case as well. If there is testing that i can do i will try and help. If i Could get the command to fix the MAC that would be great. Thanks
     
    #100
    fohdeesha likes this.
Similar Threads: Turbocharge Quanta
Forum Title Date
Networking Quanta LB4M Management IP Friday at 6:41 PM
Networking Quanta LB8 1LB8ZZ0001 help Sep 19, 2018
Networking Quanta LB6M ...? Buying assistance; fast -- but as easy as possible. Sep 17, 2018
Networking Error Revert Quanta LB6M to Fastpath Sep 7, 2018
Networking Quanta LB4G software (QSSC-LB410GS) Sep 3, 2018

Share This Page