Skip to Content.
Sympa Menu

rare-users - Re: [RARE-users] [rare-dev] RARE/freeRtr first release for [Wedge 100BF-32X, Wedge 100BF-32QS, Wedge 100BF-64X and APS6064X]

Subject: RARE user and assistance email list

List archive

Re: [RARE-users] [rare-dev] RARE/freeRtr first release for [Wedge 100BF-32X, Wedge 100BF-32QS, Wedge 100BF-64X and APS6064X]


Chronological Thread 
  • From: Alexander Gall <>
  • To: <>
  • Cc: David Richardson <>, Tim Chown <>
  • Subject: Re: [RARE-users] [rare-dev] RARE/freeRtr first release for [Wedge 100BF-32X, Wedge 100BF-32QS, Wedge 100BF-64X and APS6064X]
  • Date: Fri, 13 May 2022 09:03:15 +0200

On Fri, 13 May 2022 08:55:23 +0200, Alexander Gall <> said:

> On Fri, 13 May 2022 00:07:59 +0200, Frederic LOUI
> <> said:
>> Hi, ONIE installation should be done via main board CPU(MBC) please note
>> that this is not BMC.
>> In order to access Main board CPU, you first login via console or SSH to
>> BMC.

> I think this is an actual problem with our ONIE installer that appears
> to fail when there are multiple partitions present. It should delete
> all partitions numbered 3 and higher, code is here:
> https://github.com/alexandergall/onie-debian-nix-installer/blob/658343a00674699b15b4fa7aace6a06c0edc1825/onie/install.sh#L23

Yep, there is an obvious bug in there, fix:
https://github.com/alexandergall/onie-debian-nix-installer/commit/a542673e5b27e2ff05898db10fd820f8a34f240e

This will be part of the next RARE release. In the meantime, people
who hit this problem will have to use the workaround to delete
partitions manually :(

--
Alex

> This seems to fail and cause the entire installation to fail.

> @David: as a workaroud, you can try to delete partitions 3-7 by hand
> and re-run the installer.

> --
> Alex

>> When you got BMC access, just type: wedge_power.sh reset && sol.sh

>> You should switch to main board CPU. During the boot you should see grub
>> where you select ONIE rescue.

>> Once booted in ONIE rescue mode you can launch:
>> "onie-nos-install https:// hydra ..."

>> I'm abroad right now hence putting the list in CC

>> Please let me know if you still have issues

>> Frederic

>> Le 12 mai 2022 19:33, David Richardson <> a
>> écrit :

>> Hi Frederic,

>> Thank you for this guide. I have been successful up to a point in
>> following it, so thought I would offer my feedback.

>> We have a Wedge 100BF-32X

>> Following your guide
>> (http://docs.freertr.org/guides/installation/wedge100bf32/onie-nos-install/),
>> I have now reached an unknown problem:

>> I was able to boot from BMC into ONIE Rescue (with extra step of first
>> choosing ‘ONIE’ in Grub menu, then ‘ONIE Rescue’ from 2^nd grub
>> menu).

>> I was connected to my LAN, with internet access via a DHCP address.

>> I then tried many times to paste the install comment via console
>> connection, but it did not like it for some unknown reason.

>> (I was unsure for this step whether this needed to go into the BMC prompt
>> or ONIE), the

>> ONIE:~ #
>> root@bmc:~#

>> I then connected over SSH as root, and the command ran as follows

>> (note SSH connected me to the ONIE prompt, not the BMC prompt as suggested
>> in the web doc):

>> ONIE:~ # onie-nos-install
>> http://hydra.nix.net.switch.ch/RARE/releases/1/onie-installer.bin

>> Info: Attempting
>> http://hydra.nix.net.switch.ch/RARE/releases/1/onie-installer.bin ...

>> Connecting to hydra.nix.net.switch.ch (86.119.33.29:80)

>> installer 100% |
>> ************************************************************************************************************************************|
>>
>> 487M 0:00:00 ETA

>> Verifying image checksum ... OK.

>> Preparing image archive ... OK.

>> Installing RARE-OS on /dev/sda

>> Disk /dev/sda: 250069680 sectors, 119.2 GiB

>> Logical sector size: 512 bytes

>> Disk identifier (GUID): AC403922-992F-4E76-BE06-22F8989315FE

>> Partition table holds up to 128 entries

>> First usable sector is 34, last usable sector is 250069646

>> Partitions will be aligned on 2048-sector boundaries

>> Total free space is 2669 sectors (1.3 MiB)

>> Number Start (sector) End (sector) Size Code Name

>> 1 2048 526335 256.0 MiB EF00 EFI System

>> 2 526336 788479 128.0 MiB 3000 ONIE-BOOT

>> 3 788480 67897343 32.0 GiB 8300 ACCTON-DIAG

>> 4 67897344 68159487 128.0 MiB 0700 ONL-BOOT

>> 5 68159488 68421631 128.0 MiB 0700 ONL-CONFIG

>> 6 68421632 70518783 1024.0 MiB 0700 ONL-IMAGES

>> 7 70518784 250068991 85.6 GiB 0700 ONL-DATA

>> Checking disk space

>> Deleting partition /dev/sda7

>> Warning: The kernel is still using the old partition table.

>> The new table will be used at the next reboot.

>> The operation has completed successfully.

>> Creating partition /dev/sda3

>> Could not create partition 3 from 70518784 to 250069646
>> Error encountered; not saving changes.

>> Failure: Unable to install image:
>> http://hydra.nix.net.switch.ch/RARE/releases/1/onie-installer.bin

>> As the installation does not appear to have completed, I am unsure now how
>> to proceed. (the device did not self reboot as suggested on
>> the install procedure)

>> I am also unclear from the documentation how I can expect to tell from the
>> console/CLI whether freertr is running / how I should expect
>> to access it to configure?

>> I conducted a manual reboot (poweroff command & power cycle)

>> This took me back to BMC. I started ONIE rescue mode once more and
>> repeated the process.

>> ..update, I realise I was pressing the copy button on the freeRTR install
>> command box on the web-page, which also included the BMC prompt
>> before the actual command.

>> Retrying via console a 2^nd time, the command itself works on the ONIE
>> prompt.

>> Unfortunately, the command has failed in the same manner.

>> Any suggestion of how to proceed, or any further tests I should try would
>> also be appreciated.

>> A few additional questions:

>> -is there a minimum recommended BMC/ONIE release version?

>> OpenBMC Release 1.0.0.13

>> ONIE:/ # onie-sysinfo -v

>> 2018.05.00.09

>> -are either of these still relevant one freeRTR is installed?

>> -in case it would help after the 1^st failed attempt, I tried ONIE update
>> form the grub menu, but the system appeared to enter a
>> recurring loop with no progress.

>> Please excuse my lack of familiarity with the systems involved, I hope the
>> feedback is useful.

>> Kind regards,
>> David

>> From: Tim Chown <>
>> Date: Monday, 9 May 2022 at 15:50
>> To: David Richardson <>, Raul Lopes
>> <>
>> Cc: Duncan Rand <>
>> Subject: Fwd: [rare-dev] RARE/freeRtr first release for [Wedge 100BF-32X,
>> Wedge 100BF-32QS, Wedge 100BF-64X and APS6064X]

>> Hi David,

>> Not sure if you’re on the rare-users list, but in case…

>> Tim

>> Begin forwarded message:

>> From: Frédéric LOUI <>

>> Subject: [rare-dev] RARE/freeRtr first release for [Wedge 100BF-32X, Wedge
>> 100BF-32QS, Wedge 100BF-64X and APS6064X]

>> Date: 6 May 2022 at 18:53:16 BST

>> To: ,

>> Reply-To:

>> Hi,

>> The whole team is proud to announce the first release of RARE/freeRtr NOS
>> on :
>> - Wedge 100BF-32X
>> - Wedge 100BF-32QS
>> - Wedge 100BF-64X
>> - APS6064X

>> This release is a first of its kind. It boasts:

>> - an OpenSource routing NOS with feature rich features such as MPLS,
>> Segment Routing, SRv6 and related service (IPv4 and IPv6 L3VPN,
>> VPLS EVPN etc.)
>> - OSPF, ISIS, EIGRP, RIP IGP with SR extension support
>> - Unique in-house IGP: LSRP, PVRP with SR extension
>> - BGP (v4 and v6) with an long list of address family support
>> - a unique and innovative forwarding paradigm called Polka (kudo to UFES
>> ;) )
>> - an extensive list of specific tailored profile (the RARE/freeRtr can act
>> as P/PE,BNG,BRAS, CGNAT, traffic cleaner and more !)
>> - an innovative software life cycle management leveraging Nix package
>> manager paradigm.
-> it is possible to upgrade and rollback without any hitch at the software
distribution level
>> (think of an "apt upgrade" with the possibility to "apt downgrade #n » at
>> the router level)
>> - multicast BIER
>> - AMT gateway/relay
>> - unicast 2 multicast translator
>> - the possibility to run on TOFINO(*) ASIC unlock 32x100GE traffic
>> switching
>> - A one liner ONIE image installation
>> - and more …

>> (*) It is not included in this release but RARE/freeRtr also runs on DPDK,
>> XDP, libpcap dataplane solution.

>> More information at:
>> http://docs.freertr.org
>> http://blog.freertr.org
>> http://rare.freertr.org

>> Last but not least: freertr.org

>> For those you wants to start their journey:
>> http://docs.freertr.org/guides/installation/

>> A large kudos to mc36 and Alex for their extraordinary and amazing work.

>> For the future:
>> * New features
>> * new dataplanes
>> * but also TOFINO2 supports that will pave the road to 400G network path

>> We sincerely hope that you would enjoy a great experience with this
>> release !

>> Feel free to engage with us via:
>> - for users
>> - for developers
>> - IRC via #freertr @ hackint
>> - Discord via RARE/freeRtr guild (upon invitation)

>> Happy networking,

>> All the best
>> Frederic

>> Jisc is a registered charity (number 1149740) and a company limited by
>> guarantee which is registered in England under company number.
>> 05747339, VAT number GB 197 0632 86. Jisc’s registered office is: 4
>> Portwall Lane, Bristol, BS1 6NB. T 0203 697 5800.

>> Jisc Services Limited is a wholly owned Jisc subsidiary and a company
>> limited by guarantee which is registered in England under company
>> number 02881024, VAT number GB 197 0632 86. The registered office is: 4
>> Portwall Lane, Bristol, BS1 6NB. T 0203 697 5800.

>> Jisc Commercial Limited is a wholly owned Jisc subsidiary and a company
>> limited by shares which is registered in England under company
>> number 09316933, VAT number GB 197 0632 86. The registered office is: 4
>> Portwall Lane, Bristol, BS1 6NB. T 0203 697 5800.

>> For more details on how Jisc handles your data see our privacy notice
>> here: https://www.jisc.ac.uk/website/privacy-notice



Archive powered by MHonArc 2.6.19.

Top of Page