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

Tommot

New Member
Feb 28, 2019
2
0
1
I seem to be in a broken but savable state. I was asked to restore "fartpath" and it seems that although tftpd64 does transfer the file, it doesn't actually boot to it. The bootloader revert worked, just reloading fartpath did not.

Code:
Select option (1-13 or Q): 2
Creating tmpfs filesystem on tmpfs for download...done.
Select Mode of Transfer (Press T/X/Y/Z for TFTP/XMODEM/YMODEM/ZMODEM) []:T
Enter Server IP []:192.168.186.49
Enter Host IP []:192.168.186.50
Enter Host Subnet Mask [255.255.255.0]:
Enter Gateway IP []:
Enter Filename []:lb6m.1.2.0.18.img
Do you want to continue? Press(Y/N):  y
Bringing up eth0 interface...done.
Bringing down eth0 interface...done.
Saving code file...
Code update instructions found!

Critical components modified -- system reboot recommended!

Reboot? (Y/N): y

Rebooting...
Starting pid 769, console /dev/ttyS0: '/etc/rc.d/rc.reboot'
syncing filesystems....This may take a few moments
umount: forced umount of /mnt/fastpath failed!
Rebooting system!
The system is going down NOW !!
Sending SIGTERM to all processes.
Please stand by while rebooting the system.


U-Boot 2009.06 (Apr 19 2011 - 15:57:06)

CPU:   8541, Version: 1.1, (0x80720011)
Core:  E500, Version: 2.0, (0x80200020)
Clock Configuration:
       CPU0:825  MHz,
       CCB:330  MHz,
       DDR:165  MHz (330 MT/s data rate), LBC:41.250 MHz
CPM:   330 MHz
L1:    D-cache 32 kB enabled
       I-cache 32 kB enabled
I2C:   ready
DRAM:  Initializing
Warning: some of the installed DIMMs can not operate this slowly.
    DDR: 512 MB
FLASH: 32 MB
L2:    256 KB enabled
*** WARNING: Could not read MAC address from EEPROM
VPD EEPROM CRC (0x4a982e8) invalid, should be 0xb2bc8ae1
In:    serial
Out:   serial
Err:   serial
Net:   TSEC0: PHY is Broadcom BCM5482 (143bcb1)
TSEC1: PHY is Broadcom BCM5482 (143bcb1)
TSEC0, TSEC1
Hit any key to stop autoboot:  0
### JFFS2 loading 'image1' to 0x8000000
Scanning JFFS2 FS:  done.
find_inode failed for name=image1
load: Failed to find inode
### JFFS2 LOAD ERROR<0> for image1!
## Booting kernel from Legacy Image at 08000074 ...
   Image Name:   FASTPATH System for lb4m
   Image Type:   PowerPC Linux Multi-File Image (gzip compressed)
   Data Size:    9025959 Bytes =  8.6 MB
   Load Address: 00000000
   Entry Point:  00000000
   Contents:
      Image 0: 1167342 Bytes =  1.1 MB
      Image 1: 1432683 Bytes =  1.4 MB
      Image 2: 474 Bytes =  0.5 kB
      Image 3: 6425435 Bytes =  6.1 MB
   Verifying Checksum ... OK
## Loading init Ramdisk from multi component Legacy Image at 08000074 ...
   Uncompressing Multi-File Image ... OK
   Loading Ramdisk to 1fa09000, end 1fb66c6b ... OK
   Loading Device Tree to 007fc000, end 007ffb63 ... OK
Model Name LB6M
Using Quanta LB Series machine description
Memory CAM mapping: CAM0=256Mb, CAM1=256Mb, CAM2=0Mb residual: 0Mb
Linux version 2.6.21.7 (gmirek@lc-rdub-26) (gcc version 4.1.2 (Wind River Linux Sourcery G++ 4.1-84)) #2 PREEMPT Thu Mar 31 09:38:27 EDT 2011
Found initrd at 0xdfa09000:0xdfb66c6b
Found MPC85xx PCI host bridge at 0x00000000e0008000. Firmware bus number: 0->0
Zone PFN ranges:
  DMA             0 ->   131072
  Normal     131072 ->   131072
early_node_map[1] active PFN ranges
    0:        0 ->   131072
Built 1 zonelists.  Total pages: 130048
Kernel command line: root=/dev/ram rw mtdparts=physmap-flash.0:32256k(jffs2),512k(u-boot),128k@32512k(u-boot-env)
mpic: Setting up MPIC " OpenPIC  " version 1.2 at e0040000, max 1 CPUs
mpic: ISU size: 4, shift: 2, mask: 3
mpic: Initializing for 60 sources
PID hash table entries: 2048 (order: 11, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 515328k/524288k available (2336k kernel code, 8468k reserved, 76k data, 86k bss, 132k init)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
PCI: Probing PCI hardware
PCI: Cannot allocate resource region 0 of device 0000:00:12.0
Generic PHY: Registered new driver
NET: Registered protocol family 2
IP route cache hash table entries: 16384 (order: 4, 65536 bytes)
TCP established hash table entries: 65536 (order: 7, 524288 bytes)
TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
TCP: Hash tables configured (established 65536 bind 65536)
TCP reno registered
checking if image is initramfs... it is
Freeing initrd memory: 1399k freed
JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
io scheduler noop registered
io scheduler deadline registered (default)
Generic RTC Driver v1.07
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing enabled
serial8250.0: ttyS0 at MMIO map 0xe0004500 mem 0xe1000500 (irq = 26) is a 16550A
serial8250.0: ttyS1 at MMIO map 0xe0004600 mem 0xe1002600 (irq = 26) is a 16550A
RAMDISK driver initialized: 2 RAM disks of 32768K size 1024 blocksize
Gianfar MII Bus: probed
eth0: Gianfar Ethernet Controller Version 1.2, 60:eb:69:3e:de:98
eth0: Running with NAPI enabled
eth0: 256/256 RX/TX BD ring size
eth1: Gianfar Ethernet Controller Version 1.2, 00:e0:0c:00:01:fd
eth1: Running with NAPI enabled
eth1: 256/256 RX/TX BD ring size
Broadcom BCM5411: Registered new driver
Broadcom BCM5421: Registered new driver
Broadcom BCM5461: Registered new driver
Broadcom BCM5464: Registered new driver
Broadcom BCM5481: Registered new driver
Broadcom BCM5482: Registered new driver
Broadcom BCM50610: Registered new driver
Broadcom BCM57780: Registered new driver
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
i2c /dev entries driver
physmap platform flash device: 02000000 at fe000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
 Amd/Fujitsu Extended Query Table at 0x0040
physmap-flash.0: CFI does not contain boot bank location. Assuming top.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
3 cmdlinepart partitions found on MTD device physmap-flash.0
Creating 3 MTD partitions on "physmap-flash.0":
0x00000000-0x01f80000 : "jffs2"
0x01f80000-0x02000000 : "u-boot"
0x01fc0000-0x01fe0000 : "u-boot-env"
nf_conntrack version 0.5.0 (4096 buckets, 32768 max)
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver
sit0: Disabled Privacy Extensions
NET: Registered protocol family 17
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
Freeing unused kernel memory: 132k init
Starting pid 618, console /dev/ttyS0: '/etc/rc.d/rc.fastpath'
Mounting /dev/mtdblock0 at /mnt/fastpath.
*** Mount failed!
Mounting tmpfs at /mnt/application...done.

FASTPATH Startup Rev: 6.2

Select startup mode.  If no selection is made within 5 seconds,
the FASTPATH Application will start automatically...

FASTPATH Startup -- Main Menu

1 - Start FASTPATH Application
2 - Display Utility Menu
Select (1, 2):
code file image1 not present.
booting image2
Extracting application from .stk file...error: cannot open input file /mnt/fastpath/image2
Failed!
/mnt/application
FASTPATH not executed!
Press <ENTER> to continue...
 

fohdeesha

Kaini Industries
Nov 20, 2016
2,115
1,976
113
30
fohdeesha.com
do you have discord? If you give me a teamviewer session to remote control the console I can probably fix it

are you using the exact files and instructions from the guide, or supplying your own fastpath image?
 

Tommot

New Member
Feb 28, 2019
2
0
1
do you have discord? If you give me a teamviewer session to remote control the console I can probably fix it

are you using the exact files and instructions from the guide, or supplying your own fastpath image?
Using the exact files and instructions from the guide. Discord TommyTomTom#7484
 

epers

New Member
Jun 30, 2017
13
1
3
26
Has anyone had any luck setting a mtu on routed ports after enabling jumbo? I'm trying to get my ports to run at 8550 and not having any luck. About to flash back to fastpath and see if it can do it - I only need this & ospf to work.

Code:
TX24 Router#show run
Current configuration:
!
ver 07.4.00pT203
fan-speed 1
!
jumbo
route-only
!
interface ethernet 1
 route-only
 ip address 10.66.66.101 255.255.255.252
 ip-port-mtu 8550
!
end
Code:
TX24 Router#show int eth 1
10GigabitEthernet1 is up, line protocol is up
  Hardware is 10GigabitEthernet, address is 00e0.5200.0100 (bia 00e0.5200.0100)
  Configured speed 10Gbit, actual 10Gbit, configured duplex fdx, actual fdx
  Member of L2 VLAN ID 1, port is untagged, port state is FORWARDING
  BPDU guard is Disabled, ROOT protect is Disabled
  Link Error Dampening is Disabled
  STP configured to ON, priority is level0
  Flow Control is enabled
  Mirror disabled, Monitor disabled
  Not member of any active trunks
  Not member of any configured trunks
  No port name
  IPG XGMII 96 bits-time
  Internet address is 10.66.66.101/30, MTU 9216 bytes, encapsulation ethernet
  300 second input rate: 0 bits/sec, 0 packets/sec, 0.00% utilization
  300 second output rate: 0 bits/sec, 0 packets/sec, 0.00% utilization
  0 packets input, 0 bytes, 0 no buffer
  Received 0 broadcasts, 0 multicasts, 0 unicasts
  0 input errors, 0 CRC, 0 frame, 0 ignored
  0 runts, 0 giants
  0 packets output, 0 bytes, 0 underruns
  Transmitted 0 broadcasts, 0 multicasts, 0 unicasts
  0 output errors, 0 collisions
  Relay Agent Information option: Disabled
 

fohdeesha

Kaini Industries
Nov 20, 2016
2,115
1,976
113
30
fohdeesha.com
it looks like it's showing up as MTU 9216 so it's probably just inheriting the global jumbo command. it's been a while since I used fastiron 7.x but if it's the layer 3 firmware image you probably need to set the mtu for the virtual interface for that vlan, so if that port is in vlan 1, it would be

int ve 1
ip mtu 8550

I'd probably remove the ip-port mtu command


or something like that
 

a.out

New Member
May 3, 2016
17
11
3
55
And another one. Chopped a patch cable and soldered a DB9 which went into the serial port on an Xserve, used "serial 9600" in terminal and fired up the built-in TFTP server, followed the guide step-by-step and ended up with a boatload of new knowledge and a vastly more capable switch. Big bear hug for you fohdeesha, for sharing your work. Thank you!
 

JSchuricht

Active Member
Apr 4, 2011
181
65
28
Need some help finding a command...
Was running as a flat L2 with an IP assigned to in band VLAN 1. I need to expand some other VLANs to this switch which required changes to VLAN 1 tagging so I changed the default-vlan-id to no longer be 1. Unfortunately the in band management IP followed the new default vlan. So I need to move the management IP back to VLAN 1 and can't seem to locate the command to remove the management IP from the default vlan so I can add it to VLAN 1.

Another explanation, default VLAN is 5000 with in band management IP 1.1.1.1/24. Need to delete management IP and reassign 1.1.1.1/24 to VLAN 1.
 

Jonathan

New Member
Apr 18, 2016
9
4
3
30
For anyone doing the upgrade.
I upgrade mine a few month ago and film the video.
Make sure to use your IP in your network.
Sorry for bad quality...
 
  • Like
Reactions: kiteboarder

melsom

New Member
Apr 30, 2018
4
5
3
33
Hello,

Have anyone experienced issues with static routes in v7 on these? Works quite a lot better than the v8 I must say, but we've seen some strange errors.

A static route can suddenly just stop responding to ping. To get it going again we need to run:
no ip route xx.xx.xx.xx xx.xx.xx.xx
ip route xx.xx.xx.xx xx.xx.xx.xx

Basically readding it. Takes 2 seconds and it's available again..
 

Javier Forero

New Member
Nov 6, 2019
3
0
1
Hi
You can help me with the firmware recovery of 2 quanta lb4m and l6bm switches?

I need recovery with urgency

God bless you

I have this problem

Boot Menu Version: 28 Apr 2008

Calculating CRC of active image...

Active image failed crc check. Activating backup image
No Backup Image available.
Failed to activate Backup Image.
Operational code CRC is invalid.
Options available
1 - Start operational code
2 - Change baud rate
3 - Retrieve event log using XMODEM
4 - Load new operational code using XMODEM
5 - Load configuration using XMODEM
6 - Display operational code vital product data
7 - Update boot code
8 - Delete operational code
9 - Reset the system
10 - Restore configuration to factory defaults (delete config files)
11 - Activate Backup Image
12 - Run Diagnostics Image
13 - Load new Diagnostics Image using XMODEM
[Boot Menu] 11
[Boot Menu]
[Boot Menu] 11
No Backup Image available.
Failed to activate Backup Image.
[Boot Menu]
[Boot Menu] 1
ERROR: Operational code CRC is not valid, you must load new code.

and the l6bm switch show me this message

Select option (1-13 or Q): 1
code file image1 not present.
booting image2
insmod: cannot insert `/lib/modules/eeprom.ko': File exists (-1): File exists
Extracting application from .stk file...error: cannot open input file /mnt/fastpath/image2
Failed!
/mnt/application
FASTPATH not executed!
Press <ENTER> to continue...


FASTPATH Startup Rev: 6.2

FASTPATH Startup -- Utility Menu

1 - Start FASTPATH Application
2 - Load Code Update Package
3 - Load Configuration
4 - Select Serial Speed
5 - Retrieve Error Log
6 - Erase Current Configuration
7 - Erase Permanent Storage
8 - Select Boot Method
9 - Activate Backup Image
10 - Start Diagnostic Application
11 - Run Manufacturing Diagnostics
12 - Delete Manufacturing Diagnostics
13 - Reboot








UPDATE 7/11/2018 - It's been discovered that the version 8 Brocade firmware originally on the site was an internal-use only, untested beta version. It has been removed from the guide and replaced with the latest v7 mainstream release which is rock stable, well tested and has had a few more months of fixes added. Please revert to v7 ASAP if you are still running v8! Instructions are on the site.

UPDATE 2/26/18 - we've figured out a lot of new things since this thread was made (the need to set the MAC address, changing fan speeds, the management port oddness, etc). If you've already flashed your switch, it's worth taking a look at the guide website again. See this post for more info - https://forums.servethehome.com/ind...o-brocade-turboiron.17971/page-12#post-182744

I'm sure you've seen attempts to try and get alternative OS's on the LB6M due to how crippled the included Fastpath build is - and after a lot of exploring bootloaders, @verygeeky and myself were finally able to cleanly flash the LB6M over to a Brocade TurboIron 24x. They're identical hardware, a flash procedure for the bootloader just needed to be figured out.

Some new features you get compared to Fastpath, definitely not an exhaustive list though:

  • 1gbE SFP support (including rj45 copper SFP's)
  • Much quieter fans with the "fan-speed 1" command
  • BGP
  • Properly working STP/RSTP/MSTP
  • QoS, traffic shaping/limiting/ACL etc
  • Q-in-Q tagging
  • Saner syntax (especially the config of VLANs and routing)
  • Many new multicast features
  • SFlow with a config that doesn't disappear on reboot
  • Larger and better supported SNMP MIB
  • Deeper and more configurable syslog features
  • More than 2000 pages of applicable documentation included

*This does not add IPv6 routing*

The guide is available here - Flashing LB6M To Brocade - FBOM

The markdown source is on our github at this link, if you have any suggestions to make the guide easier to follow, submit a PR - GitHub - Fohdeesha/quanta-brocade: Flashing brocade firmware to Quanta LB6M

Number of flashed chassis is now over 100+ - quite low risk if you can copy/paste.

I'd like to thank @verygeeky for all his help and being the brave first person to hit "reset" after completely replacing his bootloader, not sure if his switch would ever boot again. I'd also like to thank @fvanlint for being the first STH member to get with us on discord and help us develop the guide, and be the first to follow it.

MD5 hash of brocade firmware zip 07/11/18 : 68aa7643a121c19fa4b8c84d7f6f2843