01/29/2009 7:31 AM
running QNX with "qemu-minimal.build" problem
I'm trying to run QNX (source code) on QEMU but either the compilation,
or the image creation went wrong. I expect to end-up with a running
What I did and what happened is detailed here:
image/ qconf-override.mk stage/
hide-gnu.sh qemu-minimal.build trunk/
$ sudo su
# ./hide-gnu.sh trunk
Locating GNUmakefile's in trunk/
# cd trunk
# svn info
Repository Root: http://community.qnx.com/svn/repos/core_networking
Repository UUID: 79cfb829-523c-0410-9886-d489a5a0dd87
Node Kind: directory
Last Changed Author: email@example.com
Last Changed Rev: 764
Last Changed Date: 2009-01-27 21:47:03 +0100 (Tue, 27 Jan 2009)
# make OSLIST=nto CPULIST=x86 hinstall
(... lot of output)
# ls ../stage
# ls ../stageetc
# make OSLIST=nto CPULIST=x86 install
(... lot of output)
# cd ..
$ ls stage
etc usr x86
$ ls stageetc
$ mkifs qemu-minimal.build image/qemu-minimal.ifs
Warning: Host file 'npm-tcpip.so' missing.
Warning: Host file 'io-net' missing.
$ dinit -H -R -f image/qemu-minimal.ifs image/qnx_on_qemu.img
All existing files on image/qnx_on_qemu.img will be lost! Are you
sure (y or n) ? y
Using loader /opt/qnx640/target/qnx6/x86/boot/sys/ipl-diskpc2-flop
Disk 'image/qnx_on_qemu.img' contains 2097152 blocks (1048576K).
$ dinit -B pc2 image/qnx_on_qemu.img
Using loader /opt/qnx640/target/qnx6/x86/boot/sys/ipl-diskpc2
$ qemu -hda image/qnx_on_qemu.img -k fr-ch
The screen shot (qemu) is attached to this mail (basically says "unable
to start ..." and "unable to access dev/...").
- Does the problem come from the missing files ('npm-tcpip.so' and
'io-net': I only found trunk/sys/dev_qnx/shim/x86/dll/io-net.o) ? (I
don't think so, but that's the only clue I get)
- Is it the 'qemu-minimal.build' from
[NeutrinoAsGuestInQEMU/qemu-minimal.build] that needs to be fixed?
- Or is there anything above that looks strange to you?
- I found no information about that 'stageetc' directory that was
created by 'make hinstall' , I tried to link it inside 'stage/etc' but I
got no better results.
Thanks for any help.