Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Segmentation fault (operator environment)

Segmentation fault (operator environment) 15 years 2 months ago #356

  • Lynx
  • Lynx's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 26
  • Karma: 0
Hello

I installed both pwr46 and pwrdemo46 with succes but I have got a segmentation fault while launching the operator environement.

Linux distro: Ubuntu 8.10
Proview: pwr46_4.6.0-5 & pwrdemo46_4.6.0-5

Setting base /usr/pwr46
pwrp@max-ubuntu:~$ sdf pwrdemo46
Setting base /usr/pwr46
pwrp@max-ubuntu/pwrdemo46/-.login> rt_ini

Proview/R Version V4.6.0 for Linux on Unknown Hardware
Copyright � 09-OCT-2008 12:00:00 by SSAB Oxel�sund 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/R Process Environment

pwrp@max-ubuntu/pwrdemo46/-.login> rt_xtt -u op
Segmentation fault
pwrp@max-ubuntu/pwrdemo46/-.login>

Any help will be appreciated, Thanks!
The administrator has disabled public write access.

Re:Segmentation fault (operator environment) 15 years 2 months ago #357

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

Check first that PWR_BUS_ID is defined with

$ echo $PWR_BUS_ID

It should have the value 999 for the demo system. If not, define it with

$ export PWR_BUS_ID=999

If you have made any start attemps previously, or have started the demoproject, you have to stop/remove this with

$ source pwr_stop.sh

then start the runtime with

$ rt_ini &

You now should se a lot of processes (rt_ini, rt_qmon, rt_net etc) with 'ps x'

If not, reset with pwr_stop.sh again and start rt_ini with the switch -i to get any error message

$ rt_ini -i

Messages containing -E- or -F- are error messages.

/Claes
The administrator has disabled public write access.

Re:Segmentation fault (operator environment) 15 years 2 months ago #358

  • Lynx
  • Lynx's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 26
  • Karma: 0
Hi Claes

The $PWR_BUS_ID is set to 999

There is few errors while launching rt_ini

pwrp@max-ubuntu:~$ rt_ini -i

Proview/R Version V4.6.0 for Linux on Unknown Hardware
Copyright � 09-OCT-2008 12:00:00 by SSAB Oxel�sund 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/R Process Environment

F Could not open file /pwrp/common/load/ld_boot_max-ubuntu_0999.dat
F Could not open file /pwrp/common/load/ld_node_max-ubuntu_0999.dat
F Cannot find my own node in /pwrp/common/load/ld_node_max-ubuntu_0999.dat

Thanks for your help!

Max
The administrator has disabled public write access.

Re:Segmentation fault (operator environment) 15 years 2 months ago #359

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

Before staring rt_ini you have to do

$ sdf pwrdemo46

to setup the demo project environment.

/Claes
The administrator has disabled public write access.

Re:Segmentation fault (operator environment) 15 years 2 months ago #360

  • Lynx
  • Lynx's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 26
  • Karma: 0
Hello Claes

There is some ressources unavailable when I laungh the runtime environement.

Thanks for your help!

Max

Setting base /usr/pwr46
pwrp@max-ubuntu:~$ sdf pwrdemo46
Setting base /usr/pwr46
pwrp@max-ubuntu/pwrdemo46/-.login> rt_ini

Proview/R Version V4.6.0 for Linux on Unknown Hardware
Copyright � 09-OCT-2008 12:00:00 by SSAB Oxel�sund 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/R Process Environment

mq_send: Resource temporarily unavailable
/usr/pwr46/os_linux/hw_x86/exp/exe/rt_webmon.sh: 24: /usr/local//bin/java: not found
/usr/pwr46/os_linux/hw_x86/exp/exe/rt_webmonmh.sh: 23: /usr/local//bin/java: not found
/usr/pwr46/os_linux/hw_x86/exp/exe/rt_webmonelog.sh: 24: /usr/local//bin/java: not found
sched_setscheduler: Operation not permitted
failed to set pid 7853's policy
sched_setscheduler: Operation not permitted
failed to set pid 7854's policy
sched_setscheduler: Operation not permitted
failed to set pid 7855's policy
sched_setscheduler: Operation not permitted
failed to set pid 7856's policy
sched_setscheduler: Operation not permitted
failed to set pid 7857's policy
sched_setscheduler: Operation not permitted
failed to set pid 7858's policy
sched_setscheduler: Operation not permitted
failed to set pid 7859's policy
sched_setscheduler: Operation not permitted
failed to set pid 7860's policy
sched_setscheduler: Operation not permitted
failed to set pid 7861's policy
sched_setscheduler: Operation not permitted
failed to set pid 7862's policy
sched_setscheduler: Operation not permitted
failed to set pid 7863's policy
sched_setscheduler: Operation not permitted
failed to set pid 7864's policy
sched_setscheduler: Operation not permitted
failed to set pid 7865's policy
sched_setscheduler: Operation not permitted
failed to set pid 7866's policy
sched_setscheduler: Operation not permitted
failed to set pid 7867's policy
sched_setscheduler: Operation not permitted
failed to set pid 7868's policy
sched_setscheduler: Operation not permitted
failed to set pid 7869's policy
sched_setscheduler: Operation not permitted
failed to set pid 7870's policy
sched_setscheduler: Operation not permitted
failed to set pid 7871's policy
sched_setscheduler: Operation not permitted
failed to set pid 7872's policy
sched_setscheduler: Operation not permitted
failed to set pid 7873's policy
sched_setscheduler: Operation not permitted
failed to set pid 7874's policy
The administrator has disabled public write access.

Re:Segmentation fault (operator environment) 15 years 2 months ago #361

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

It doesn't affect the running of the demo system, you should be able to start rt_xtt now.

/Claes
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 7.833 seconds