fboss issue on fresh install of ONL

251 views
Skip to first unread message

Jeremy Huylebroeck

unread,
Jan 25, 2018, 7:46:47 PM1/25/18
to opennetworklinux
It seems fboss doesn't install OpenNSL as expected on my freshly installed ONL / Wedge40 setup.
Anybody experiencing this?

root@tor8:~# service fboss_wedge_agent start
[....] Starting  Facebook FBOSS agent: fboss_wedge_agent     --- Loading   linux-kernel-bde insmod: ERROR: could not load module /lib/modules/3.16.53-OpenNetworkLinux//linux-kernel-bde.ko: No such file or directory
  linux-user-bde insmod: ERROR: could not load module /lib/modules/3.16.53-OpenNetworkLinux//linux-user-bde.ko: No such file or directory
  linux-bcm-knet insmod: ERROR: could not load module /lib/modules/3.16.53-OpenNetworkLinux//linux-bcm-knet.ko: No such file or directory
[ ok eating devices .

but I see opennsl in the packages installed though

opennsl-w40/unknown,now 6.4.6.6-1 amd64 [installed] 

Steven Noble

unread,
Jan 25, 2018, 7:56:31 PM1/25/18
to Jeremy Huylebroeck, opennetworklinux
Hi Jeremy,

I have not updated the opennsl-w40 package for the new kernel, also the OpenNSL on broadcom's github page is compiled against the 3.16.39 kernel.  I have uploaded the kernel modules compiled against the 3.16.53 kernel, you should be able to put them in the /lib/modules/3.16.53-OpenNetworkLinux directory.  http://opennetlinux.org/binaries/OpenNSL/kernel-mods-6.4.6.6-3.16.53.tar

Let me know if that works.
January 25, 2018 at 4:46 PM
--
You received this message because you are subscribed to the Google Groups "opennetworklinux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opennetworklin...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jeremy Huylebroeck

unread,
Jan 25, 2018, 8:00:32 PM1/25/18
to opennetworklinux
it seems to do the trick!
Thanks Steve.

Should I avoid using the latest ONL release? is it too bleeding edge typically?

Steven Noble

unread,
Jan 25, 2018, 8:19:21 PM1/25/18
to Jeremy Huylebroeck, opennetworklinux
It's not too bleeding edge, but CPU issues caused us to update the kernel and I have not done anything with the FBOSS code in a while.  I will update the OpenNSL package in a bit.  Are you using FBOSS for anything specific?
January 25, 2018 at 5:00 PM

Jeremy Huylebroeck

unread,
Jan 25, 2018, 8:25:04 PM1/25/18
to Steven Noble, opennetworklinux
Planning to use fboss only for testing basic connectivity and simple routing configuration. To get a hand of the system.
But I will move to Frr and BGP as soon as I verify cabling is working to the existing spines and I know where everything has to be configured in ONL.



From: Steven Noble <steven...@bigswitch.com>
Sent: Thursday, January 25, 2018 5:19:16 PM
To: Jeremy Huylebroeck
Cc: opennetworklinux
Subject: Re: fboss issue on fresh install of ONL
 

Steven Noble

unread,
Jan 25, 2018, 8:59:16 PM1/25/18
to Jeremy Huylebroeck, opennetworklinux
I have updated both the wedge40 and wedge100 packages with kernel modules for 3.16.53 for OpenNSL.

January 25, 2018 at 5:25 PM
Planning to use fboss only for testing basic connectivity and simple routing configuration. To get a hand of the system.
But I will move to Frr and BGP as soon as I verify cabling is working to the existing spines and I know where everything has to be configured in ONL.



From: Steven Noble <steven...@bigswitch.com>
Sent: Thursday, January 25, 2018 5:19:16 PM
To: Jeremy Huylebroeck
Cc: opennetworklinux
Subject: Re: fboss issue on fresh install of ONL
 
It's not too bleeding edge, but CPU issues caused us to update the kernel and I have not done anything with the FBOSS code in a while.  I will update the OpenNSL package in a bit.  Are you using FBOSS for anything specific?

January 25, 2018 at 5:00 PM
it seems to do the trick!
Thanks Steve.

Should I avoid using the latest ONL release? is it too bleeding edge typically?



On Thursday, January 25, 2018 at 4:56:31 PM UTC-8, Steven Noble wrote:
--
You received this message because you are subscribed to the Google Groups "opennetworklinux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opennetworklin...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
January 25, 2018 at 4:56 PM
Hi Jeremy,

I have not updated the opennsl-w40 package for the new kernel, also the OpenNSL on broadcom's github page is compiled against the 3.16.39 kernel.  I have uploaded the kernel modules compiled against the 3.16.53 kernel, you should be able to put them in the /lib/modules/3.16.53-OpenNetworkLinux directory.  http://opennetlinux.org/binaries/OpenNSL/kernel-mods-6.4.6.6-3.16.53.tar

Let me know if that works.

Jeremy Huylebroeck

unread,
Jan 26, 2018, 12:44:51 PM1/26/18
to opennetworklinux
I removed boss and opens packages and reinstalled.
but now fboss doesn't work properly anymore.

root@tor8:~# fboss_wedge_agent
E0126 17:42:02.627024  2165 WedgeProductInfo.cpp:64] json parse error on line 0: expected json value
terminate called after throwing an instance of 'std::runtime_error'
  what():  invalid model name
*** Aborted at 1516988522 (unix time) try "date -d @1516988522" if you are using GNU date ***
PC: @     0x7fae64ada067 (unknown)
*** SIGABRT (@0x875) received by PID 2165 (TID 0x7fae6da9e9c0) from PID 2165; stack trace: ***
    @     0x7fae6baeb890 (unknown)
    @     0x7fae64ada067 (unknown)
    @     0x7fae64adb448 (unknown)
    @     0x7fae653c7b3d (unknown)
    @     0x7fae653c5bb6 (unknown)
    @     0x7fae653c5c01 (unknown)
    @     0x7fae653c5e19 (unknown)
    @          0x161ebd8 facebook::fboss::WedgeProductInfo::initMode()
    @          0x161e90c facebook::fboss::WedgeProductInfo::initialize()
    @          0x16283e0 facebook::fboss::createPlatform()
    @          0x16284a7 facebook::fboss::initWedgePlatform()
    @          0x1695ddb facebook::fboss::fbossMain()
    @          0x1628531 main
    @     0x7fae64ac6b45 (unknown)
    @          0x1612569 (unknown)
    @                0x0 (unknown)
Aborted

On Thursday, January 25, 2018 at 5:59:16 PM UTC-8, Steven Noble wrote:
I have updated both the wedge40 and wedge100 packages with kernel modules for 3.16.53 for OpenNSL.

January 25, 2018 at 5:25 PM
Planning to use fboss only for testing basic connectivity and simple routing configuration. To get a hand of the system.
But I will move to Frr and BGP as soon as I verify cabling is working to the existing spines and I know where everything has to be configured in ONL.



From: Steven Noble <steve...@bigswitch.com>

Jeremy Huylebroeck

unread,
Jan 26, 2018, 12:48:54 PM1/26/18
to opennetworklinux
I guess you can discard my previous message.
I needed more coffee this morning...
Reply all
Reply to author
Forward
0 new messages