Welcome, Guest
Username: Password: Remember me

TOPIC: compile for Raspberry Pi

Re: compile for Raspberry Pi 10 years 10 months ago #5415

  • HTRasmus
  • HTRasmus's Avatar
  • OFFLINE
  • Gold Boarder
  • Posts: 182
  • Karma: 0
Last night i tried adding -lpwr_nodave_dummy on line "export pwre_conf_libpwrotherio=" to the configure.sh in the custombuild but after building the rt i still have the same error.

during the pwre ebuild i noticed that it said something about "compiling nodave.something" didnt have that much time last night so didnt investigate further.
The administrator has disabled public write access.

Re: compile for Raspberry Pi 10 years 10 months ago #5416

  • HTRasmus
  • HTRasmus's Avatar
  • OFFLINE
  • Gold Boarder
  • Posts: 182
  • Karma: 0
Okay so far so good. succesfully compiled with support for libnodave but now i get a new error in the plc:

>> "failed to initialize io %IO-E-ERRINDDEVICE"

when i go to nodave_plc object the only thing i see is "no message defined"

no clue how to troubleshoot this
The administrator has disabled public write access.

Re: compile for Raspberry Pi 10 years 10 months ago #5417

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3179
  • Thank you received: 502
  • Karma: 133
Hi Rasmus,

There should be some more info in the log file on $pwrp_log.

/Claes
The administrator has disabled public write access.

Re: compile for Raspberry Pi 10 years 10 months ago #5418

  • HTRasmus
  • HTRasmus's Avatar
  • OFFLINE
  • Gold Boarder
  • Posts: 182
  • Karma: 0
Hi claes. the only thing i get from the raspberry when starting pwr or rt_ini is

pwr start
Start Proview Runtime Environment.
Done.
pwrp@rasproview:~$
Proview/R Version V4.8.6 for Linux on ARM
Copyright (C) 2005-2012 SSAB EMEA AB

Proview/R is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License.

This program is distributed in the hope that it will be useful
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

Proview Runtime Environment

mq_send: Resource temporarily unavailable
sched_setscheduler: Operation not permitted
failed to set pid 11656's policy
sched_setscheduler: Operation not permitted
failed to set pid 11657's policy
sched_setscheduler: Operation not permitted
failed to set pid 11658's policy
sched_setscheduler: Operation not permitted
failed to set pid 11659's policy
sched_setscheduler: Operation not permitted
failed to set pid 11660's policy
sched_setscheduler: Operation not permitted
failed to set pid 11661's policy
sched_setscheduler: Operation not permitted
failed to set pid 11662's policy
sched_setscheduler: Operation not permitted
failed to set pid 11663's policy
sched_setscheduler: Operation not permitted
failed to set pid 11664's policy
sched_setscheduler: Operation not permitted
failed to set pid 11665's policy
sched_setscheduler: Operation not permitted
failed to set pid 11666's policy
sched_setscheduler: Operation not permitted
failed to set pid 11667's policy
sched_setscheduler: Operation not permitted
failed to set pid 11668's policy
java.library.path = /usr/pwrrt/exe:/usr/java/packages/lib/arm:/lib:/usr/lib



is there any where i can set some debug level?
The administrator has disabled public write access.

Re: compile for Raspberry Pi 10 years 10 months ago #5419

  • HTRasmus
  • HTRasmus's Avatar
  • OFFLINE
  • Gold Boarder
  • Posts: 182
  • Karma: 0
Sorry for being to fast once again rt_ini -i give the following
pwrp@rasproview:~$ rt_ini -i

   Proview/R Version V4.8.6 for Linux on ARM
   Copyright (C) 2005-2012 SSAB EMEA AB

   Proview/R is free software; you can redistribute it and/or
   modify it under the terms of the GNU General Public License.

   This program is distributed in the hope that it will be useful
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
   GNU General Public License for more details.

   Proview Runtime Environment

I Reading Boot file /pwrp/common/load/ld_boot_rasproview_0005.dat
I Created at 28-JUN-2013 10:02:17.55 for project: rasproview
I This node vill run PLC file: plc_rasproview_0005_plc
I This node has node identity 0.1.1.7 (65799)
I Reading Node file /pwrp/common/load/ld_node_rasproview_0005.dat
I Reading volume file /pwrp/common/load/volrasproview.dbs
I Created 28-JUN-2013 08:02:16.00
I Reading volume file /usr/pwrrt/load/rt.dbs
I Created 12-DEC-2012 10:00:00.00
I Reading volume file /usr/pwrrt/load/pwrs.dbs
I Created 12-DEC-2012 10:00:00.00
I Reading volume file /usr/pwrrt/load/pwrb.dbs
I Created 12-DEC-2012 10:00:00.00
I Reading volume file /usr/pwrrt/load/basecomponent.dbs
I Created 12-DEC-2012 10:00:00.00
I Reading volume file /usr/pwrrt/load/profibus.dbs
I Created 12-DEC-2012 10:00:00.00
I Reading volume file /usr/pwrrt/load/otherio.dbs
I Created 12-DEC-2012 10:00:00.00
I Mapped /tmp/pwr_db_lock_5, base: b6f45000, size: 12
I Objects      : 41638 : 12324848 bytes
I Volumes      : 30 : 13680 bytes
I Classes      : 300 : 33600 bytes
I Nodes        : 10 : 6560 bytes
I Mount servers: 100 : 7600 bytes
I Alias servers: 50 : 2400 bytes
I Sub servers  : 500 : 54000 bytes
I Sub clients  : 2000 : 352000 bytes
I San servers  : 200 : 16800 bytes
I Cache	  : 10000
I Cached classes: 300 : 208800 bytes
I Cached class volumes: 150 : 8400 bytes
I Sub class objects: 300 : 37200 bytes
I Pool isize   : 13065888, esize: 1633236
I Rtdb isize   : 4543092, esize: 567886
I Mapped /tmp/pwr_pool_5, base: b6250000, size: 18516
I Mapped /tmp/pwr_po0001_5, base: b55da000, size: 13065888
I Mapped /tmp/pwr_rtdb_5, base: b55d5000, size: 18516
I Mapped /tmp/pwr_rt0001_5, base: b517f000, size: 4543096
I Mapped /tmp/pwr_po0002_5, base: b6f44000, size: 2016
I Reading volume file /pwrp/common/load/volrasproview.dbs
I Loading volume VolRasproview ()...
I Reading volume file /usr/pwrrt/load/rt.dbs
I Loading volume rt ()...
I Reading volume file /usr/pwrrt/load/pwrs.dbs
I Loading volume pwrs ()...
I Reading volume file /usr/pwrrt/load/pwrb.dbs
I Loading volume pwrb ()...
I Reading volume file /usr/pwrrt/load/basecomponent.dbs
I Loading volume BaseComponent ()...
I Reading volume file /usr/pwrrt/load/profibus.dbs
I Loading volume Profibus ()...
I Reading volume file /usr/pwrrt/load/otherio.dbs
I Loading volume OtherIO ()...
I Created pwrNode, oid: _O1.1.1.7:2147483649
I Setting log file to: /pwrp/common/log/pwr_rasproview.log
I Mapped /tmp/pwr_qdb_lock_5, base: b517e000, size: 12
I Qcom pool isize : 600000, esize: 300000
I Mapped /tmp/pwr_qpool_5, base: b5179000, size: 18516
I Mapped /tmp/pwr_qp0001_5, base: b50e6000, size: 600000
I Mapped /tmp/pwr_qp0002_5, base: b50e5000, size: 560
E IO init: Double signal connection 'Fyr-kedel_temp.Value' and 'Fyr-O633'
I BACKUP loading information from $pwrp_load/pwr_backup.bck
I Starting pwr_neth, file: rt_neth, prio: 18
I Started pwr_neth_5, prio: 18, pid: 12043
  file: rt_neth
I Starting pwr_qmon, file: rt_qmon, prio: 19
I Started pwr_qmon_5, prio: 19, pid: 12044
  file: rt_qmon
I Starting pwr_nacp, file: rt_neth_acp, prio: 17
I Started pwr_nacp_5, prio: 17, pid: 12045
  file: rt_neth_acp
I Starting pwr_io, file: rt_io_comm, prio: 17
I Started pwr_io_5, prio: 17, pid: 12047
  file: rt_io_comm
I Starting pwr_tmon, file: rt_tmon, prio: 17
I Started pwr_tmon_5, prio: 17, pid: 12048
  file: rt_tmon
I Starting pwr_emon, file: rt_emon, prio: 17
I Started pwr_emon_5, prio: 17, pid: 12049
  file: rt_emon
I Starting pwr_alim, file: rt_alimserver, prio: 17
I Started pwr_alim_5, prio: 17, pid: 12050
  file: rt_alimserver
I Starting pwr_bck, file: rt_bck, prio: 16
I Started pwr_bck_5, prio: 16, pid: 12051
  file: rt_bck
I Not starting pwr_linksup, file: rt_linksup
I Starting pwr_trend, file: rt_trend, prio: 15
I Started pwr_trend_5, prio: 15, pid: 12052
  file: rt_trend
I Not starting pwr_fast, file: rt_fast
I Not starting pwr_remh, file: rs_remotehandler
I Not starting pwr_remlog, file: rs_remote_logg
I Not starting pwr_elog, file: rt_elog
I Not starting pwr_sysmon, file: rt_sysmon
I Starting pwr_webmon, file: rt_webmon.sh, prio: 15
I Started pwr_webmon_5, prio: 15, pid: 12053
  file: rt_webmon.sh
I Starting pwr_webmonmh, file: rt_webmonmh.sh, prio: 15
I Started pwr_webmonmh_5, prio: 15, pid: 12054
  file: rt_webmonmh.sh
I Starting pwr_webmonelog, file: rt_webmonelog.sh, prio: 15
I Started pwr_webmonelog_5, prio: 15, pid: 12055
  file: rt_webmonelog.sh
I Not starting pwr_opc_server, file: opc_server
I Starting pwr_statussrv, file: rt_statussrv, prio: 15
I Started pwr_statussrv_5, prio: 15, pid: 12056
  file: rt_statussrv
I Not starting pwr_post, file: rt_post
I Not starting pwr_report, file: rt_report
I Not starting pwr_sevhistmon, file: rt_sevhistmon
I Not starting pwr_sev_server, file: sev_server
I Not starting pwr_sim, file: rt_sim
sched_setscheduler: Operation not permitted
failed to set pid 12043's policy
sched_setscheduler: Operation not permitted
failed to set pid 12044's policy
sched_setscheduler: Operation not permitted
failed to set pid 12045's policy
sched_setscheduler: Operation not permitted
failed to set pid 12047's policy
sched_setscheduler: Operation not permitted
failed to set pid 12048's policy
sched_setscheduler: Operation not permitted
failed to set pid 12049's policy
sched_setscheduler: Operation not permitted
failed to set pid 12050's policy
sched_setscheduler: Operation not permitted
failed to set pid 12051's policy
sched_setscheduler: Operation not permitted
failed to set pid 12052's policy
sched_setscheduler: Operation not permitted
failed to set pid 12053's policy
sched_setscheduler: Operation not permitted
failed to set pid 12054's policy
sched_setscheduler: Operation not permitted
failed to set pid 12055's policy
sched_setscheduler: Operation not permitted
failed to set pid 12056's policy
I Adding application. aix: 1
I Starting pwr_plc_plc, file: plc_rasproview_0005_plc, prio: 5
I Started pwr_plc_plc_5_0, prio: 5, pid: 12102
  file: plc_rasproview_0005_plc
java.library.path = /usr/pwrrt/exe:/usr/java/packages/lib/arm:/lib:/usr/lib

the duplicate io error i have just fixed but the error remains same output just without the line with E IO init: Double signal connection 'Fyr-kedel_temp.Value' and 'Fyr-O633'
Last Edit: 10 years 10 months ago by HTRasmus.
The administrator has disabled public write access.

Re: compile for Raspberry Pi 10 years 10 months ago #5421

  • HTRasmus
  • HTRasmus's Avatar
  • OFFLINE
  • Gold Boarder
  • Posts: 182
  • Karma: 0
here is latest find of errors regarding the plc

E plc 14037 13-06-28 10:43:17.20 Failed to set priority, plc thread 100 ms, prio 22
I plc 14037 13-06-28 10:43:17.24 Init of IO agent VolRasproview:Nodes-Rasproview
E plc 14037 13-06-28 10:43:17.32 Nodave PLC, new connection error, no message defined! (-1), VolRasproview:Nodes-Rasproview-s7315
E plc 14037 13-06-28 10:43:17.32 Failed to inititalize io, %IO-E-ERRINIDEVICE, initialization device '%s'


not much info but this is what I get
The administrator has disabled public write access.
Time to create page: 8.235 seconds