Skip to Content.

rare-dev - Re: [rare-dev] [RARE-users] [rare-freertr/freeRtr] Stordis BF2556X-1TA1F - ONIE install - Console hangs (Issue #10)

Subject: Rare project developers

List archive


Re: [rare-dev] [RARE-users] [rare-freertr/freeRtr] Stordis BF2556X-1TA1F - ONIE install - Console hangs (Issue #10)


Chronological Thread 
  • From: Eoin Kenny <>
  • To: "" <>, "" <>
  • Cc: rare-freertr/freeRtr <>, sonicepk <>, rare-freertr/freeRtr <>, Subscribed <>
  • Subject: Re: [rare-dev] [RARE-users] [rare-freertr/freeRtr] Stordis BF2556X-1TA1F - ONIE install - Console hangs (Issue #10)
  • Date: Sat, 24 Sep 2022 21:02:50 +0000
  • Accept-language: en-IE, en-GB, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=heanet.ie; dmarc=pass action=none header.from=heanet.ie; dkim=pass header.d=heanet.ie; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=I6Vg2K8RyB0Jg0+krpnVOHzU5NKIetgToi3b0m9tjUQ=; b=EUjp7qsP6Mcgj2AzGUhj/PXj60gturvTLyh2/CAIe0gh97cL87K4mI0xvDaAJuulZv6rfs6FcmQA2GgTuiAyK5X2ZDa4/b/Nq59YPYuR0t2NF+6XMu9lDRum8UPEY9bxxcMQ2lRceCyxxNA+G9ezb8o1bq/uFXwxRVCxRB5r+yuAxdPfRP/i4dYHkHb+QGMKNI7LRr9J1/OXf6/5mT6HoG6aU6oh5QTu7zW0vi1Pz0qrhun4upb5R7NxjuEo6B1Z3mFJk2IFEbwN3kOFEE3/DE+34z0dmcC0etQS/T41ZbIWalbYs5s1NOEqpCgYKSR0xGJyUbEA24T0D5NMtPw+lg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GYPp51NUo6FORlh7Fh3iZ6OeD2rDhQBMKgs+zMgT6Ae83iPvdW5HLGYWdo74LLh497D41qFliXur1hkd+Syt0c1AyQ0lqYXlQtDaKBbDGb3nUXbfmGBDnvtMD9FJMrI4Lvm9EihtunP1Yp47pV1QN85CGPih700XYCiA0QTkvLzEC9xPJHCY2uDqoxC44Il3QNGArH+w3+M1HK21Z/TnPE4AL49WtNAmE3jQDcwQ3PcDci4Q8sV4EpX+hg10tg4j/JcU8frQhYiuUYHm2TVhZUl5HKiL3P8Rd+cGECksd5nSbLFYXQ68gssopy58XWk+NLaQ8AmBEFf5mLTllEUIig==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=heanet.ie;
  • Msip_labels:


Hi Frederic,

git clone works for TLS1.3 sites and not TLS1.2. For example: git clone works
for github but not the Geant bitbucket site.
https://bitbucket.software.geant.org only supports TLS1.2 whereas Github
supports TLS1.1/1.2/1.3. See below examples.

Cloning into 'rare'...are# GIT_CURL_VERBOSE=1 git clone
https://bitbucket.software.geant.org/scm/rare/rare.git
22:56:16.293654 http.c:678 == Info: Couldn't find host
bitbucket.software.geant.org in the .netrc file; using defaults
22:56:16.296683 http.c:678 == Info: Trying 150.254.211.3:443...
22:56:16.338508 http.c:678 == Info: Connected to
bitbucket.software.geant.org (150.254.211.3) port 443 (#0)
22:56:16.338895 http.c:678 == Info: ALPN, offering h2
22:56:16.338902 http.c:678 == Info: ALPN, offering http/1.1
22:56:16.347524 http.c:678 == Info: successfully set certificate
verify locations:
22:56:16.347534 http.c:678 == Info: CAfile:
/etc/ssl/certs/ca-certificates.crt
22:56:16.347539 http.c:678 == Info: CApath: /etc/ssl/certs
22:56:16.347729 http.c:678 == Info: TLSv1.3 (OUT), TLS
handshake, Client hello (1):
22:56:16.388987 http.c:678 == Info: OpenSSL SSL_connect:
Connection reset by peer in connection to bitbucket.software.geant.org:443
�Ν�
22:56:16.389004 http.c:678 == Info: Closing connection 0
fatal: unable to access
'https://bitbucket.software.geant.org/scm/rare/rare.git/': OpenSSL
SSL_connect: Connection reset by peer in connection to
bitbucket.software.geant.org:443
root@localhost:/home/rare#

root@localhost:~$git clone https://github.com/rare-freertr/freeRtr.git
remote: Enumerating objects: 101932, done.
remote: Counting objects: 100% (2281/2281), done.
remote: Compressing objects: 100% (437/437), done.
remote: Total 101932 (delta 1790), reused 2252 (delta 1763), pack-reused 99651
Receiving objects: 100% (101932/101932), 28.55 MiB | 11.05 MiB/s, done.
Resolving deltas: 100% (84651/84651), done.
root@localhost:/home/rare#

This is all probably due to the original install when I did not use dhcp with
the ONIE install and I had to add a number of packages after the initial
install.

Regards
Eoin
________________________________________
From: <>
on behalf of Frédéric LOUI <>
Sent: Friday 23 September 2022 20:15
To:
Cc: ; rare-freertr/freeRtr; sonicepk;
rare-freertr/freeRtr; Subscribed
Subject: Re: [RARE-users] [rare-dev] [rare-freertr/freeRtr] Stordis
BF2556X-1TA1F - ONIE install - Console hangs (Issue #10)

CAUTION[External]: This email originated from outside of the organisation. Do
not click on links or open the attachments unless you recognise the sender
and know the content is safe.


Hi Eoin,

The topic about OpenSSL3 is unrelated.

I used tna-install-experimental today today and it is basically doing a
tna-install-latest + fetching latest great freeRtr from GitUb repository «
main » branch
And it has succeeded. (Against the very same server)

This upgrade occur via the ethernet1 in VRF oob (at least as it is configured)

IMHO you have filtering preventing the SSL establishment.

Can you make sure that you are no filtering in place between the P4 switch
and the following hosts: (talking under Alex’s control )

https://bitbucket.software.geant.org
https://cache.nixos.org
http://p4.cache.nix.net.switch.ch

If you plan to use GitHub you also need to add:
https://github.com

If you have firewall you can use these FQDN. If you have access list I’m not
sure how to resolve dynamic IPs

In case you really want to keep an air gapped upgrade as we usually do in
TELCOs you can build a standalone image and use scp to put in on Linux.
Alex is preparing a documentation IIRC.

PS: Connectivity should be enabled between Linux host where freeRtr runs. You
can also upgrade with "release-manager" command

I hope this help
Frederic

> Le 23 sept. 2022 à 18:14, Eoin Kenny <> a écrit :
>
> Hi Alex,
>
> Thanks for investigating this. I took your suggestion to do a
> "tna-install-latest" but I appear to be hitting an SSL issue. I noticed in
> the archive there was talk of OpenSSL3 but I could not follow the thread.
> Any suggestions?
>
> DUB0021#tna-install-latest
> child 12002 created on 3
> child started
> INFO: Fetching origin/master from
> https://bitbucket.software.geant.org/scm/rare/rare-nix.git
> Initialized empty Git repository in /tmp/tmp.dbNKdVMbBK/.git/
> fatal: unable to access
> 'https://bitbucket.software.geant.org/scm/rare/rare-nix.git/': OpenSSL
> SSL_connect: Connectire.geant.org:443
> Unexpected error, aborting
>
> process exited with 32768 code
> % returned 128
> DUB0021#
>
> rare@localhost:~$ sudo -i release-manager --list-available
> INFO: Checking for release tags of
> https://bitbucket.software.geant.org/scm/rare/rare-nix.git
> Unexpected error, aborting
> rare@localhost:~$
>
> rare@localhost:~$ sudo ping bitbucket.software.geant.org
> PING bitbucket.software.geant.org (150.254.211.3) 56(84) bytes of data.
> 64 bytes from 150.254.211.3 (150.254.211.3): icmp_seq=1 ttl=48 time=41.3 ms
>
> Thanks for your help.
>
> Regards
> Eoin
> -----Original Message-----
> From:
> <> On Behalf Of Alexander Gall
> Sent: Thursday 15 September 2022 12:20
> To:
> Cc: rare-freertr/freeRtr
> <>;
> sonicepk <>; rare-freertr/freeRtr
> <>; ; Subscribed
> <>
> Subject: Re: [RARE-users] [rare-freertr/freeRtr] Stordis BF2556X-1TA1F -
> ONIE install - Console hangs (Issue #10)
>
> CAUTION[External]: This email originated from outside of the organisation.
> Do not click on links or open the attachments unless you recognise the
> sender and know the content is safe.
>
>
> Comments inline.
>
> On Thu, 15 Sep 2022 07:31:54 +0200, mc36 <> said:
>
>> dear packaging team, please oick this one once you're back...
>> i oersonally run my stordis in bsp-less mode for a while....
>> thanks,
>> cs
>
>
>> On 8/30/22 20:52, sonicepk wrote:
>>> Hi all,
>>>
>>> I have installed freeRouter v22.7.13-cur on a Stordis BF2556X-1TA1F using
>>> the ONIE install and tna-install-experimental at the suggestion of Csaba
>>> back in early July.
>>>
>>> What I noticed is that on a reboot the console gets stuck with lots of
>>> error messages about the ports not being found. I suspect this is related
>>> to the Stordis gearbox.
>>> "2022-08-30 20:03:43.579864 BF_BFRT ERROR - BF_RT_SERVER:table_read:2500
>>> Entry not found in table:$PORT_HDL_INFO Object not found"
>
> This is not related to the gearbox. It's a side-effect of probing for
> existing ports when the bf_forwarder starts up (the SDE currently doesn't
> support iterating over the elements of the $PORT_HDL_INFO table so we just
> query a range of ports and check for existing entries; hitting a
> non-existent entry generates these log messages).
>
>>>
>>> If I hit return a few times, I get a strange prompt: "@@@1001
>>> <https://github.com/1001>!!!###->" I have used exit/quit and eventually a
>>> bash terminal starts and you can log in as normal.
>
> This is the Marvell gearbox software that includes a kind of shell that
> attaches to the serial port and interfers with the console login. It's part
> of the "SAL" (Switch Abstraction Layer") that also launches bf_switchd on
> the BF2556. In fact, APS has released new versions of the BSP and the SAL
> (still based on SDE 9.7) that fixes this issue (among other things). I have
> switched to those versions two days ago
> (https://bitbucket.software.geant.org/projects/RARE/repos/rare-nix/commits/c157e9123d611905586ccee2601c48b9fe1e072b).
> You can upgrade to that version of RARE with "tna-install-latest". That
> will also move freertr to v22.8.27 (commit 5f077157). As usual, you can
> install the newest freertr version with "tna-install-experimental".
>
> Caveat: I didn't do much testing with the new BSP but it appears to work
> ok. However, you should avoid the "tmp_show", "vrail_show" and "fan_show"
> commands in the bf_pltfm.chss_mgmt UCLI context. They all crash bf_switchd
> (this won't be fixed by APS as they are now working on the BSP for 9.9.1)
>
> --
> Alex
>
>>>
>>> Software: ONIE install with release-1-62-g682d28c-free Debian11_0
>>> 5.10.0-8-amd64 stordis_bf2556x_1t 2022-07-13 12:34:15.941461793
>>>
>>> Attached is the console output during a reboot.
>>> p4-cwt1-stordis-console.txt
>>> <https://github.com/rare-freertr/freeRtr/files/9455643/p4-cwt1-stordi
>>> s-console.txt>
>>>
>>> Thanks for your help.
>>>
>>>
>>> Reply to this email directly, view it on GitHub
>>> <https://github.com/rare-freertr/freeRtr/issues/10>, or unsubscribe
>>> <https://github.com/notifications/unsubscribe-auth/AD2P4G4Y4TF7CFLYDMONQN3V3ZJ57ANCNFSM6AAAAAAQAVWDJY>.
>>> You are receiving this because you are subscribed to this
>>> thread.Message ID: <>
>>>




Archive powered by MHonArc 2.6.19.

Top of Page