Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - running PPS on a read-only filesystem: (5 Items)
   
running PPS on a read-only filesystem  
Hello,

I have trouble running pps. Here is my setup.
My root fs is read-only.
Writable ssd is mounted as /mnt/ssd. I created directories /mnt/ssd/pps and /mnt/ssd/tmp in it.
PPS executable is not ncluded in system image. I copy pps binary to /mnt/ssd/bin

I start pps with

pps -b -ggggg -p /mnt/ssd/pps/ -D /mnt/ssd/tmp

After that can see /pps created

But when I try
mkdir -p /pps/qnx/qdb
ls /pps

I get
ls: readdir of '/pps' failed (No such process)

I get the following messages from "pps -b" before failure:

pps: NOTICE: PPS initializing
pps: NOTICE: PPS attaching /pps
pps: NOTICE: PPS attached /pps major 2 minor 4
pps: NOTICE: PPS starting

Process 856091 (pps) terminated SIGSEGV code=1 fltno=11 ip=000000393ce3b14c(/mnt/ssd/bin/pps@io_read+0x000000000000032c)
 mapaddr=000000000000b14c. ref=00000000d8d750f8
Memory fault (core dumped) 

How do I run pps?
RE: running PPS on a read-only filesystem  
can you send the corefile created with the crash?
________________________________________
From: Andrew Nikitin [community-noreply@qnx.com]
Sent: Monday, November 04, 2019 22:27
To: ostech-core_os
Subject: running PPS on a read-only filesystem

Hello,

I have trouble running pps. Here is my setup.
My root fs is read-only.
Writable ssd is mounted as /mnt/ssd. I created directories /mnt/ssd/pps and /mnt/ssd/tmp in it.
PPS executable is not ncluded in system image. I copy pps binary to /mnt/ssd/bin

I start pps with

pps -b -ggggg -p /mnt/ssd/pps/ -D /mnt/ssd/tmp

After that can see /pps created

But when I try
mkdir -p /pps/qnx/qdb
ls /pps

I get
ls: readdir of '/pps' failed (No such process)

I get the following messages from "pps -b" before failure:

pps: NOTICE: PPS initializing
pps: NOTICE: PPS attaching /pps
pps: NOTICE: PPS attached /pps major 2 minor 4
pps: NOTICE: PPS starting

Process 856091 (pps) terminated SIGSEGV code=1 fltno=11 ip=000000393ce3b14c(/mnt/ssd/bin/pps@io_read+0x000000000000032c)
 mapaddr=000000000000b14c. ref=00000000d8d750f8
Memory fault (core dumped)

How do I run pps?



_______________________________________________

OSTech
http://community.qnx.com/sf/go/post120068
To cancel your subscription to this discussion, please e-mail ostech-core_os-unsubscribe@community.qnx.com
Re: RE: running PPS on a read-only filesystem  
> can you send the corefile created with the crash?

Where should it be created? I looked in /mnt/ssd/tmp (since that what I specified in -D option) but nothing is there 
after the crash.
Re: RE: running PPS on a read-only filesystem  
found it, it went straight to /tmp
Attachment: Text pps.core 1.18 MB
RE: running PPS on a read-only filesystem  
Note that PPS is a resource manager that creates its own file system at the given mount point. The fact that /readonly 
is the mount point of a read-only file system has not impact on PPS mounted at /readonly/pps. The mount point are just 
path space prefixes and do not create any dependency among the resource managers.

The bottom line is that whatever problem you have with PPS it has nothing to do with the root FS.

--Elad 
________________________________________
From: Andrew Nikitin [community-noreply@qnx.com]
Sent: November-04-19 4:27 PM
To: ostech-core_os
Subject: running PPS on a read-only filesystem

Hello,

I have trouble running pps. Here is my setup.
My root fs is read-only.
Writable ssd is mounted as /mnt/ssd. I created directories /mnt/ssd/pps and /mnt/ssd/tmp in it.
PPS executable is not ncluded in system image. I copy pps binary to /mnt/ssd/bin

I start pps with

pps -b -ggggg -p /mnt/ssd/pps/ -D /mnt/ssd/tmp

After that can see /pps created

But when I try
mkdir -p /pps/qnx/qdb
ls /pps

I get
ls: readdir of '/pps' failed (No such process)

I get the following messages from "pps -b" before failure:

pps: NOTICE: PPS initializing
pps: NOTICE: PPS attaching /pps
pps: NOTICE: PPS attached /pps major 2 minor 4
pps: NOTICE: PPS starting

Process 856091 (pps) terminated SIGSEGV code=1 fltno=11 ip=000000393ce3b14c(/mnt/ssd/bin/pps@io_read+0x000000000000032c)
 mapaddr=000000000000b14c. ref=00000000d8d750f8
Memory fault (core dumped)

How do I run pps?



_______________________________________________

OSTech
http://community.qnx.com/sf/go/post120068
To cancel your subscription to this discussion, please e-mail ostech-core_os-unsubscribe@community.qnx.com