cordbuc device
-
Does anyone know what the cordbuc device is?
-
@dennypage can you link to somewhere it is on our website?
-
@rcoleman-netgate said in cordbuc device:
@dennypage can you link to somewhere it is on our website?
I’m sorry, but I don’t understand. Are you asking a question or making a statement?
-
@dennypage Your wrote: "Does anyone know what the cordbuc device is?"
I am asking where you found this on our website or what you are referring to specifically.
I am not able to find anything in our website nor in our documentation about what "cordbuc" is.
-
@rcoleman-netgate cordbuc is a native device on the Netgate 6100.
-
I see.
Well, the 6100 is in the Cordoba family of devices. but without further detail on what you're seeing where I don't know what else I can do to be of assistance.
-
It's some form of sensor package. I'm interested to know what the various sensors are. The one shown as "56.0C" below is a temperature sensor.
[22.05-RELEASE][root]/var/db/rrd: /sbin/sysctl -qn dev.cordbuc 15 0 56.0C isa0 cordbuc Netgate 6100 IO controller [22.05-RELEASE][root]/var/db/rrd:I came across this because I had to do an emergency migration from a 5100 to a 6100 a couple months ago. I wanted to preserve monitoring data across the migration, so I did a backup (including rrd data) on the 5100 followed by a restore on the 6100.
Unfortunately a system-sensors.rrd from a 5100 backup cannot be used by a 6100 because updaterrd.sh on the 6100 attempts to record the temperature from the cordbuc device in the rrd:
THERMAL_TZ0=`/sbin/sysctl -qn hw.acpi.thermal.tz0.temperature | /usr/bin/sed 's/C//'` CPU_3=`/sbin/sysctl -qn dev.cpu.3.temperature | /usr/bin/sed 's/C//'` CPU_2=`/sbin/sysctl -qn dev.cpu.2.temperature | /usr/bin/sed 's/C//'` CPU_1=`/sbin/sysctl -qn dev.cpu.1.temperature | /usr/bin/sed 's/C//'` CPU_0=`/sbin/sysctl -qn dev.cpu.0.temperature | /usr/bin/sed 's/C//'` CORDBUC_0=`/sbin/sysctl -qn dev.cordbuc.0.temperature | /usr/bin/sed 's/C//'` /usr/bin/nice -n20 /usr/local/bin/rrdtool update /var/db/rrd/system-sensors.rrd N:$THERMAL_TZ0:$CPU_3:$CPU_2:$CPU_1:$CPU_0:$CORDBUC_0Since the rrd doesn't have a cordbuc field, all subsequent updates to the rrd fail. Took me a little bit of time to figure out why all my thermal data just stopped.
Anyway, I assume that someone at Netgate knows the what and why of the cordbuc device, because they added it to the thermal sensors rrd. Would you mind asking around please? Thanks.
-
Yeah it's the Cordoba micorcontroller. It handles the LEDs and buttons as well as the power status and an onboard thermal sensor.
Steve
-
@stephenw10 Thanks Steve. Much appreciated.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginPrivacy Policy · Cookie Policy