Fatal error

Hello,

I’m trying to create a QNX image taht includes photon, but when booting I have:

Welcome to QNX Neutrino 6.3. on an x86 platform with Photon
Strating Photon
Starting Input
Starting Font
Starting Graphics
Fatal error - check sloginfo
Starting Window Manager
Starting Terminal

And there it stops. I think it has something to do with io-graphics command, but I’m quite sure its arguments are right.

Here I copy the buildfile.

Thanks,

Grillo Solitario

[virtual=x86,bios +compress] .bootstrap = {
startup-bios
PATH=:/proc/boot:/usr/bin:/bin:/usr/photon/bin
LD_LIBRARY_PATH=:/proc/boot:/usr/lib:/lib:/lib/dll PHOTON_PATH=/usr/photon procnto
}

[+script] .script = {

procmgr_symlink ../../proc/boot/libc.so.2 /usr/lib/ldqnx.so.2
display_msg Welcome to QNX Neutrino 6.3 on an x86 platform with Photon

slogger -vv &
SYSNAME=nto
TERM=qansi
PHOTON=/dev/photon
PATH=:/proc/boot:/usr/bin:/bin:/usr/photon/bin
LD_LIBRARY_PATH=:/proc/boot:/usr/lib:/lib:/lib/dll
PHOTON_PATH=/usr/photon
PHOTON=/dev/photon
PHFONT=/dev/phfont
HOME=/

display_msg Starting Photon
Photon
waitfor /dev/photon 10

display_msg Starting Input
devi-hirun kbd kbddev ps2 mousedev &


display_msg Starting Font
phfont -d /proc/boot -X &
waitfor /dev/phfont 10

display_msg Starting Graphics
io-graphics -drage vid=0x1002,did=0x4742,index=0,photon,xres=1024,yres=768,bitpp=32,refresh=60 -pphoton hwcursor 


display_msg Starting Window Manager
pwm &
devc-pty &

display_msg Starting Terminal
pterm /proc/boot/ksh &

}

[type=link] /bin/sh = /proc/boot/ksh
[type=link] /dev/console = /dev/ser1
[type=link] /tmp = /dev/shmem

standard libs

libc.so
libm.so

libhiddi.so
devh-ps2ser.so
libfontutils.so.1
libph.so.2
libphexlib.so.2

photon libs

libph.so
libAp.so
libphexlib.so

io-graphics libs

gri-photon.so
libphrender.so
libgri.so
libdisputil.so
libffb.so

graphics driver

devg-svga.so
devg-rage.so
devg-vesabios.so
/etc/system/config/crtc-settings = /etc/system/config/crtc-settings
/usr/photon/palette/default.pal = /usr/photon/palette/default.pal

font libs

/lib/dll/font/ttfFFcore.so = /lib/dll/font/ttfFFcore.so
/lib/dll/font/FCcore.so = /lib/dll/font/FCcore.so
/lib/dll/font/PHFcore.so = /lib/dll/font/PHFcore.so
/lib/dll/font/phfont.so = phfont.so
/lib/dll/phfont.so=phfont.so

/lib/libblkcache.so=libblkcache.so
/lib/libFF-T2K-cache.so=libFF-T2K-cache.so
/lib/libFF-T2K-fm.so=libFF-T2K-fm.so
/lib/libFF-T2K.so=libFF-T2K.so
/lib/libfont.so=libfont.so
/lib/libfontharnessutils.so=libfontharnessutils.so
/lib/libfontutils.so=libfontutils.so

fontdir = /root/buildfiles_e_imagenes/fontdir
fontext = /root/buildfiles_e_imagenes/fontext
fontdesc= /root/buildfiles_e_imagenes/fontdesc
fontkey=/root/buildfiles_e_imagenes/fontkey
fontmap = /root/buildfiles_e_imagenes/fontmap
fonttype = /root/buildfiles_e_imagenes/fonttype

/root/.ph/wm/wm.cfg=/root/buildfiles_e_imagenes/wm.cfg
/usr/photon/config/wm/wm.cfg=/root/buildfiles_e_imagenes/wm.cfg
/.ph/wm/wm.cfg=/root/buildfiles_e_imagenes/wm.cfg

input config

/usr/photon/keyboard/en_US_101.kbd = /usr/photon/keyboard/en_US_101.kbd
/usr/photon/keyboard/es_ES_102.kbd = /usr/photon/keyboard/es_ES_102.kbd
[data=c]
devc-pty
ksh
slogger
sloginfo
Photon
io-graphics
devi-hirun
devc-con-hid
devi-hid=/usr/photon/bin/devi-hid
pwm
[+raw] /usr/photon/bin/pterm = pterm
[+raw] /usr/photon/bin/phcalc_sm = phcalc_sm

allow pterm to save its configuration to RAM, if the user changes it.

[type=link] /.ph/pterm = /dev/shmem
phfont
io-hid
esh
[+raw] solitaire
shutdown

So … did you do what the message said and check the slog messages? You need to make sure that you
run slogger early enough in the boot image and then get a console/serial terminal (or put it in your
script) and run sloginfo to dump the log.