Questions tagged [qnx]
QNX is a proprietary, real-time UNIX-like operating system used in embedded systems.
35
questions
0
votes
1
answer
12
views
QNX resource manager full duplex or half duplex
I am using a resource manager to read the data from the communication channel and send it to the application. I have doubt, is the QNX resource manager half duplex or full duplex?
Can simultaneous ...
0
votes
1
answer
61
views
Why can't QNX find filesystem to install to?
I am trying to install QNX 6 from CD. I formatted the entire hard drive using cfdisk as "QNX 6 filesystem", but I still get the error message "No QNX 6.1 filesystem or greater available ...
1
vote
2
answers
461
views
Parsing output result of "ls -l" to get user and group on QNX
I'm using QNX.
I have the following output of ls -l:
drwxr-xr-x 2 root root 4096 Jul 26 2021 bin
From this, I would want to use sed to extract the user and group, and put these ...
0
votes
0
answers
344
views
Configuring screen in QNX, drm-intel crashes
I'm building QNX OS (BSP 7.0 x86_64) and I have a working image. I'm running it over a qemu emulated enviroment.
Qemu virtual machine runs in a Windows host and is invoked as follows:
./qemu-system-...
2
votes
1
answer
859
views
Is there any specific steps for configuring protobuf in QNX?
We have tried to configure using ./configure command.
An error is like no c++11 compiler support.
We are following the steps ie mentioned in some blog.
We want to know like is there any other specific ...
1
vote
1
answer
558
views
Terminal input doesn't work in QNX running on VMBox
I'm doing a university project on QNX RTOS (using an academic license). I'm following Building a BSP.
So far I've managed to build (using bios_mkusbimage script in the BSP archive) .img file for ...
0
votes
0
answers
91
views
QNX server backup image
I have a server with qnx 6.5
I want to use dd comand to take full os backup
What is right to dd /dev/hd0 or dd /dev/hd07t my aim is to have an image to be applied for other hardware
Other ...
0
votes
1
answer
745
views
tar - file not found in tarball even though it is there
What I want to do
I just want to extract a backup version of a file for analysis, /etc/net.cfg, which is in a tar.
What happens when I try
It fails, like so...
# tar -tf mytar.tar | grep net.cfg
/...
1
vote
1
answer
590
views
How does the sequence of inode numbers work? Can I expect consistency across identical installs on different computers?
I have 3 computers, A, B, and C, and I perform identical operating system and software installations on them. For any specific file on A, can I expect that same file on B and C to have the same inode ...
1
vote
1
answer
589
views
QNX 7 (virtual machine) font in vmware player 15 is too small
I have Ubuntu 16.04 where I have QNX7 as a virtual machine running in Vmware player 15.
My problem is that the font is so small in the virtual machine.
I have tried different display resolution in ...
2
votes
1
answer
174
views
What does "mount -e <device>" do?
TL;DR: What does mount -e <device> do?
Overview
Over ssh, mount commands are being sent by software that I need to maintain. Twice, the mount commands use an -e option. I don't know what -e is ...
0
votes
0
answers
701
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
3
answers
292
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
2
answers
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
1
answer
2k
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 ...
4
votes
2
answers
4k
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
6
answers
5k
views
Extracting IP from IP.port
I've done a lot of digging but haven't found an answer to my problem.
Currently, I have the following command:
netstat | grep telnet | grep ESTABLISHED | awk 'NR==1{ print $5}'
Which returns ...
1
vote
1
answer
561
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
4
answers
4k
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
2
answers
227
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
1
answer
1k
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
3
answers
618
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
1
answer
1k
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
1
answer
906
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
1
answer
1k
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
2
answers
5k
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
4
answers
9k
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
0
answers
5k
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
3
answers
3k
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.
2
votes
1
answer
7k
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
1
answer
3k
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
0
answers
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
1
answer
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
1
answer
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
2
answers
337
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 ...