HI
I had solved the problem. Thanks but I have another strange problem now. I
have my own buildfile, in which i try to start the pc-card server and then
the io-net using
devp-pccard &
waitfor /dev/pccard
io-net -dorinoco -ptcpip -pqnet
waitfor /dev/socket
ifconfig en0 192.168.1.5
route add deafult 192.168.1.1
when put these commands in the image file and try to boot it says unable
load dll devn-orinoco , no such device found and doenot configure the
network. So i go to the shell prompt and type the same commands and it
works.
any help would be appreciated!!
I am attaching my boot script
[virtual=x86,bios +compress] boot = {
startup-bios -Navatar
PATH=/proc/boot:/usr/bin:/sbin:/x86/lib/dll
LD_LIBRARY_PATH=/proc/boot:/dev/shmem:/usr/lib:/usr/dll:/x86/lib/dll procnto
}
[+script] startup-script = {
Start up some consoles
devc-con -n4 &
reopen /dev/con1
display_msg boot
Start the pci server
seedres
pci-bios &
waitfor /dev/pci
devp-pccard &
display_msg pccard started
waitfor /dev/pccard
Disk drivers
devb-eide cam quiet blk automount=hd0t79:/ &
waitfor /
io-net -dorinoco -ptcpip -pqnet
display_msg net started
waitfor /dev/socket
ifconfig en0 192.168.1.5
route add default 192.168.1.1
fs-nfs2 192.168.1.4:/x86/bin /sbin
Some common servers
pipe &
mqueue &
devc-ser8250 &
devc-pty &
\
These env variables inherited by all the programs which follow
SYSNAME=nto
HOME=/
TERM=qansi-m
SHELL=/usr/bin/sh
TTY=/dev/con1
Start some extra shells on other consoles
reopen /dev/con2
[+session] sh &
reopen /dev/con3
[+session] sh &
Start a high priority shell just in case…
reopen /dev/con4
[pri=25 +session] sh &
Start the main shell
reopen /dev/con1
[+session] sh
[+session] login -p
}
#make the /temp point to the shared memory area…
[type=link] /tmp=/dev/shmem
Redirect console messages for syslog
[type=link] /dev/console=/dev/con1
Programs require the runtime linker (ldqnx.so) to be at a fixed location
[type=link] /usr/lib/ldqnx.so.2=/proc/boot/libc.so
add symbolic links for bin and lib
[type=link] /bin=/sbin
[type=link] /lib=usr/lib
[type=link] /dll=usr/dll
[type=link] /sys=usr/sys
[type=link] /usr/bin=/proc/boot
We use the “c” shared lib (which also contains the runtime linker)
libc.so
Just incase someone needs floating point…
fpemu.so.2
Include the socket library
libsocket.so
libph.so
Include the hard disk files so we can access files on the disk
libcam.so
io-blk.so
filesystem required shared libs
cam-disk.so
fs-qnx4.so
cdrom required shared libs
cam-cdrom.so
fs-cd.so
devn-orinoco.so
npm-tcpip.so
npm-qnet.so
libz.so
/etc/hosts=/etc/hosts
/etc/termcap=/etc/termcap
/etc/resolv.conf=/etc/resolv.conf
/usr/lib/terminfo/a/ansi=/usr/lib/terminfo/a/ansi
/usr/lib/terminfo/q/qansi-m=/usr/lib/terminfo/q/qansi-m
/usr/lib/terminfo/terminfo.src=/usr/lib/terminfo/terminfo.src
The files above this line can be shared by mutiple processes
# Executables must currently be below this line
# Include a console driver
devc-con
# Include the disk drivers.
devb-eide
# Include pci server
pci-bios
seedres
devc-ser8250
io-net
fs-nfs2
pipe
mqueue
sh
devc-pty
devc-par
devp-pccard
sin
slay
pidin
pin
ls
vi
stty
cat
slay
shutdown
du
df
mount
more
pdebug
elvis
use
cp
mv
mkdir
rm
rmdir
ftp
telnet
ping
route
ifconfig
mkifs
dinit
fdisk