Questions tagged [qnx]

QNX is a proprietary, real-time UNIX-like operating system used in embedded systems.

0
votes
0answers
28 views

Ethernet interface not working on embedded QNX device

I have A device running QNX which I can connect to over WiFi through a netgear router but which doesn't connect over ethernet. I'm pretty sure it has to do with the netmask which is in a format I ...
0
votes
0answers
5 views

QNX throws an error as login: -sh: cant access shared libraries

When I am trying to login with non root user the QNX throws an error as login: -sh: cant access shared libraries. Why is it so? I have already checked the permissions they are as below: /lib (...
0
votes
0answers
9 views

QNX 4 Scheduling Algorithms

Can we have one of the experts explain how the QNX 4 adaptive scheduling algorithm works? I am looking for a particular case where we have multiple tasks of the same priority in READY state waiting ...
0
votes
0answers
27 views

How to use qcc instead of gcc in this libtool command

I am building a package for a QNX operating system and there is a script that executes several libtool commands in the following form: /bin/bash ../libtool --tag=CC --mode=compile ${CC} -...
0
votes
0answers
337 views

Ubuntu mount image file from VM virtualbox

I have Ubuntu 17.10 on USB Flash drive and in VM VirtualBox. I have a QNX4 image file on an external hard drive that I can mount on the computer running from the Ubuntu 17.10 USB flash drive. I ...
2
votes
3answers
114 views

perform a read only if file is closed

I am facing an issue where I have to write a shell script to read a file only if it is not used or under write by any other program. I cannot use lsof as this script is going to run on the embedded ...
19
votes
2answers
3k views

What does //1/ mean

QNX4 operating system using Korn Shell. This is in a .profile file. export VARDIR=//1/usr/pvcs What does the //1/ represent?
6
votes
1answer
824 views

QEMU more than 4 serial ports

I have 5 diferent serial devices that are connected to physical serial ports on debian stretch computer and internally should be forwarded to QEMU machine. Inside qemu is QNX 6.5.0 system, so i am not ...
1
vote
2answers
2k views

Other reasons for “no space left on device” than fully used folder?

I have a tests that I run on a device which has a 300M of ram-disk based /tmp and I get "no space left on device" even though when I run df -h I find that only 11% of the /tmp is actually used. I am ...
1
vote
1answer
322 views

Cannot find an executable for a non root user over ssh [closed]

Note: i am reposting the question as i am not able to reply or comment. I am creating a non-root user to execute an object file alone (without root access). My intention is to have the user run a ...
9
votes
4answers
3k views

What is the Unix (QNX) equivalent of Windows command line “dir /s /b”

The question What is the Linux equivalent of DOS “dir /s /b filename”? comes close but it winds up playing a file find operation for all such named file names. I'm however looking to do a directory ...
0
votes
2answers
120 views

Grub Recovery at Boot

So I'm not exactly sure what happened but when I went to start my computer today, it failed to boot and the only thing on the screen is a command line with "Grub recovery". I tried to repair what ...
1
vote
1answer
851 views

How to delete a file in QNX4 format when a CF card is mounted as read-only in Linux?

Recently, the DMA device of our lab is broken and the suspected problem is in the CF card which is in QNX4 format. I want to delete a file named 'calforce.dat' and recreate it by calibrating the ...
3
votes
3answers
479 views

Interactive command usage reference: do you generally have that on Unix?

The question of why some commands rely on manpages whereas others rely on something like the --help flag for providing command usage reference is not new. There is usually a difference in scope ...
3
votes
1answer
828 views

ldd:FATAL: Unresolved symbol “getopt_long” called from Executable - using compiled binaries for QNX on arm. Why?

The Blackberry Playbook has formally reached EOL(april 2014), but I've installed BGShell, BGSSH-SCP-SFTP, and Term48 on it. So I have some ksh-like shell it seems with things like GNU awk 3.1.5, sed 4....
7
votes
1answer
479 views

/usr/bin/random using a lot of CPU

Using QNX 6.4.1, there is a command called pidin times that shows information about processes. I think it means PID INformation. Among other things, you can see how much CPU a process has used since ...
0
votes
1answer
797 views

Route a local connection via an ethernet link in QNX

I am currently facing a challenge in QNX, where I have 2 Network Interfaces - viz. one Network port from PCIe Ethernet Expansion card (wm0) and other from the normal Ethernet port (en0). I have ...
5
votes
2answers
2k views

184 environment variables too many?

I am trying to find the cause of some OS wonkiness, and am concerned about environment variables. The software I have been handed puts an incredibly high amount of environment variables into the user'...
2
votes
4answers
6k views

how to extract .z file from an old QNX in Centos

z files from an old QNX system which needs to be unpacked in preferable Centos. These files are packed with the QNX pack method and there is no Virtual Machine (VMWARE) available to load QNX and ...
1
vote
0answers
3k views

why is df update slow?

When I remove large files, then use df to check the disk usage, often it takes a noticeable amount of time to update the disk usage percentage appropriately. This affects several data management ...
5
votes
3answers
2k views

How similar are Android and QNX?

The root of the question is really: "Can you run the Android OS on a BlackBerry PlayBook?" Since one is a Linux derivative and the other is a Unix derivative, it seems a natural fit for here.
1
vote
1answer
2k views

'ps' command hangs

A coworker ran into this issue twice and I don't know what's wrong. His ps command hangs, taking about 25% of the CPU. in_progress=1 sleep 10 while [ "$in_progress" -eq 1 ]; do ...
2
votes
1answer
1k views

Alternative to xxd for QNX

I was just introduced to xxd today. See link. I am very familiar with the QNX hd and odcommands, both of which will take input and create a hex dump (or octal dump if you like). See hd and od. What I ...
1
vote
0answers
1k views

New harddrive does not show up in /dev

I am trying to add a second (unformatted) IDE hard drive to a QNX 6.4.1 VM (hosted through vmware's vSphere). Unfortunately, there is no entry for the drive in /dev (I think this is called an ...
3
votes
1answer
2k views

Measure hard-disk read(), write() speed without caching in QNX 6.5

I am working on QNX 6.5 Operating system. QNX 6.5 supports POSIX APIs. I am trying to build an application which is used to evaluate performance of hard-disks. My application will read/write/read ...
4
votes
1answer
1k views

What happens to files in mountpoint after running fs-cifs to mount NAS?

I'm running QNX Neutrino. I've got some files in /mountpoint: # ls /mountpoint /mountpoint/a /mountpoint/b And after mounting my NAS using fs-cifs like so, # fs-cifs //hostname:hostipaddress:/...
2
votes
2answers
294 views

Archive of QNX's use messages?

Context I do not know all standard linux/unix commands, so I need manpages. I found QNX's manuals (invoked by "use [command name]") terse; I prefer them to linux manpages. I can get them from QNX ...