RAM? ramtrap?

Here is the script I used. I corrected the -i, -l problem but the irqs
still show up as 3 and 5 as they did in the output below. And most
importantly the network card still doesn’t work.

#!/bin/ksh

slay pci-bios

devp-pccard -w8,8 -l7 &
#devp-pccard -l7 &
pci-bios &

slay io-net
io-net -d ne2000 irq=7, ioport=0x200 -ptcpip
sleep 2
netmanager -r /etc/nethome.cfg



– Chris


“Hugh Brown” <hsbrown@qnx.com> wrote in message
news:Voyager.011003080529.8845A@node90.ott.qnx.com

Are you starting io-net as ‘io-net -dne2000 ioport=0x200,irq=3 …’?
You can force the irq for a socket by starting devp-pccard with the
-l (el) option. See the usage message.

Previously, Chris Thomas wrote in qdn.public.qnxrtp.installation:
Ping.


“Chris Thomas” <> cdthomas@sympatico.ca> > wrote in message
news:9o8lsv$73q$> 1@inn.qnx.com> …
I have done some more playing with this and I can get things to
partially
work by running devp-pccard and pci-bios in that order. At least it
finds
my network card now. I noticed something wierd as I was trying to get
my
setup for io-net together.

My output for pin is as follows:

Sock Func Type Flags PID Base Size IRQ
1 0 Network C—I-±-------- None 0x200 32 3
1 Empty ----MF---------- None
2 Empty ----MF---------- None
2 Empty ----MF---------- None

My output for nicinfo is as follows:

NE2000 Ethernet Controller
Physical Node ID … 00E098 7013CA
Current Physical Node ID … 00E098 7013CA
Media Rate … 10.00 Mb/s half-duplex UTP
MTU … 1514
Lan … 0
I/O Port Range … 0x200 → 0x21E
Hardware Interrupt … 0x5
Promiscuous … Disabled
Multicast … Enabled

Total Packets Txd OK … 0
Total Packets Txd Bad … 0
Total Packets Rxd OK … 0
Total Rx Errors … 0

Total Bytes Txd … 180
Total Bytes Rxd … 0

Tx Collision Errors … 0
Tx Collisions Errors (aborted) … 0
Carrier Sense Lost on Tx … 0
FIFO Underruns During Tx … 0
Tx deferred … 0
Out of Window Collisions … 0
FIFO Overruns During Rx … 0
Alignment errors … 0
CRC errors … 0

Why are the irqs different?

Also, I can’t set the irq when I launch devp-pccard with the -i
option.
It
always shows up at 3 when I run pin.

– Chris


“Hardware Support Account” <> hw@qnx.com> > wrote in message
news:9noeu9$rf3$> 2@nntp.qnx.com> …
Hi Chris,

The developer is currently away right now who deals with this. We
haven’t forgotten about you > :slight_smile: > There is a patch for 6.1 comming out
soon.

E.


Chris Thomas <> cdthomas@sympatico.ca> > wrote:
Ping


“Chris Thomas” <> cdthomas@sympatico.ca> > wrote in message
news:9mn6bp$gle$> 1@inn.qnx.com> …
I am still having problems with this. Have there been any
relevant
upgrades
or patches since 6.1. My laptop is no fun without a network card


– Chris



“Chris Thomas” <> cdthomas@sympatico.ca> > wrote in message
news:9imt7c$npr$> 1@inn.qnx.com> …
I have re-tried this with 6.1 and I still get the same
problems.

– Chris

“Chris Thomas” <> cdthomas@sympatico.ca> > wrote in message
news:…
Is that patch C (beta)?

– Chris


“Hardware Support Account” <> hw@qnx.com> > wrote in message
news:9gvou4$jl1$> 1@nntp.qnx.com> …
Hi Chris,

Support for this chipset was only added to the latest
devp-pccard
which
is currently in beta.

Regards,

Joe

Chris Thomas <> cdthomas@sympatico.ca> > wrote:
I have tried to get both Patch A and B running on my Dell
Inspiron
8000
notebook without much success.

When I boot, I receive the following 2 errors:

“Unable to allocate resources…”
“No PCMCIA or Cardbus adapters …”

It seems that devp-pccard is just exiting and giving the
second
message.

As a result, I can’t get my network card to run.

Any ideas?

– Chris












\

Previously, Chris Thomas wrote in qdn.public.qnxrtp.installation:

Here is the script I used. I corrected the -i, -l problem but the irqs
still show up as 3 and 5 as they did in the output below. And most
importantly the network card still doesn’t work.

#!/bin/ksh

slay pci-bios

devp-pccard -w8,8 -l7 &
#devp-pccard -l7 &
pci-bios &

slay io-net
io-net -d ne2000 irq=7, ioport=0x200 -ptcpip
^^^^^^^^^^^^^^^^^^^

You must not have spaces here. It must be ‘irq=7,ioport=0x200’.
What is the output from pin when you start devp-pccard as above?

sleep 2
netmanager -r /etc/nethome.cfg



– Chris


“Hugh Brown” <> hsbrown@qnx.com> > wrote in message
news:> Voyager.011003080529.8845A@node90.ott.qnx.com> …
Are you starting io-net as ‘io-net -dne2000 ioport=0x200,irq=3 …’?
You can force the irq for a socket by starting devp-pccard with the
-l (el) option. See the usage message.

Previously, Chris Thomas wrote in qdn.public.qnxrtp.installation:
Ping.


“Chris Thomas” <> cdthomas@sympatico.ca> > wrote in message
news:9o8lsv$73q$> 1@inn.qnx.com> …
I have done some more playing with this and I can get things to
partially
work by running devp-pccard and pci-bios in that order. At least it
finds
my network card now. I noticed something wierd as I was trying to get
my
setup for io-net together.

My output for pin is as follows:

Sock Func Type Flags PID Base Size IRQ
1 0 Network C—I-±-------- None 0x200 32 3
1 Empty ----MF---------- None
2 Empty ----MF---------- None
2 Empty ----MF---------- None

My output for nicinfo is as follows:

NE2000 Ethernet Controller
Physical Node ID … 00E098 7013CA
Current Physical Node ID … 00E098 7013CA
Media Rate … 10.00 Mb/s half-duplex UTP
MTU … 1514
Lan … 0
I/O Port Range … 0x200 → 0x21E
Hardware Interrupt … 0x5
Promiscuous … Disabled
Multicast … Enabled

Total Packets Txd OK … 0
Total Packets Txd Bad … 0
Total Packets Rxd OK … 0
Total Rx Errors … 0

Total Bytes Txd … 180
Total Bytes Rxd … 0

Tx Collision Errors … 0
Tx Collisions Errors (aborted) … 0
Carrier Sense Lost on Tx … 0
FIFO Underruns During Tx … 0
Tx deferred … 0
Out of Window Collisions … 0
FIFO Overruns During Rx … 0
Alignment errors … 0
CRC errors … 0

Why are the irqs different?

Also, I can’t set the irq when I launch devp-pccard with the -i
option.
It
always shows up at 3 when I run pin.

– Chris


“Hardware Support Account” <> hw@qnx.com> > wrote in message
news:9noeu9$rf3$> 2@nntp.qnx.com> …
Hi Chris,

The developer is currently away right now who deals with this. We
haven’t forgotten about you > :slight_smile: > There is a patch for 6.1 comming out
soon.

E.


Chris Thomas <> cdthomas@sympatico.ca> > wrote:
Ping


“Chris Thomas” <> cdthomas@sympatico.ca> > wrote in message
news:9mn6bp$gle$> 1@inn.qnx.com> …
I am still having problems with this. Have there been any
relevant
upgrades
or patches since 6.1. My laptop is no fun without a network card


– Chris



“Chris Thomas” <> cdthomas@sympatico.ca> > wrote in message
news:9imt7c$npr$> 1@inn.qnx.com> …
I have re-tried this with 6.1 and I still get the same
problems.

– Chris

“Chris Thomas” <> cdthomas@sympatico.ca> > wrote in message
news:…
Is that patch C (beta)?

– Chris


“Hardware Support Account” <> hw@qnx.com> > wrote in message
news:9gvou4$jl1$> 1@nntp.qnx.com> …
Hi Chris,

Support for this chipset was only added to the latest
devp-pccard
which
is currently in beta.

Regards,

Joe

Chris Thomas <> cdthomas@sympatico.ca> > wrote:
I have tried to get both Patch A and B running on my Dell
Inspiron
8000
notebook without much success.

When I boot, I receive the following 2 errors:

“Unable to allocate resources…”
“No PCMCIA or Cardbus adapters …”

It seems that devp-pccard is just exiting and giving the
second
message.

As a result, I can’t get my network card to run.

Any ideas?

– Chris















\

The pin output is the same as below except the irq is correct now. Also with
the io-net change the irq shows up correctly when I run nicinfo as well.
However my network card is still letting down the team :frowning:. I can ping my
address but I can’t ping any other machines on the network.

– Chris


“Hugh Brown” <hsbrown@qnx.com> wrote in message
news:Voyager.011004085712.26440B@node90.ott.qnx.com

Previously, Chris Thomas wrote in qdn.public.qnxrtp.installation:
Here is the script I used. I corrected the -i, -l problem but the irqs
still show up as 3 and 5 as they did in the output below. And most
importantly the network card still doesn’t work.

#!/bin/ksh

slay pci-bios

devp-pccard -w8,8 -l7 &
#devp-pccard -l7 &
pci-bios &

slay io-net
io-net -d ne2000 irq=7, ioport=0x200 -ptcpip
^^^^^^^^^^^^^^^^^^^
You must not have spaces here. It must be ‘irq=7,ioport=0x200’.
What is the output from pin when you start devp-pccard as above?

sleep 2
netmanager -r /etc/nethome.cfg



– Chris


“Hugh Brown” <> hsbrown@qnx.com> > wrote in message
news:> Voyager.011003080529.8845A@node90.ott.qnx.com> …
Are you starting io-net as ‘io-net -dne2000 ioport=0x200,irq=3 …’?
You can force the irq for a socket by starting devp-pccard with the
-l (el) option. See the usage message.

Previously, Chris Thomas wrote in qdn.public.qnxrtp.installation:
Ping.


“Chris Thomas” <> cdthomas@sympatico.ca> > wrote in message
news:9o8lsv$73q$> 1@inn.qnx.com> …
I have done some more playing with this and I can get things to
partially
work by running devp-pccard and pci-bios in that order. At least
it
finds
my network card now. I noticed something wierd as I was trying to
get
my
setup for io-net together.

My output for pin is as follows:

Sock Func Type Flags PID Base Size IRQ
1 0 Network C—I-±-------- None 0x200 32 3
1 Empty ----MF---------- None
2 Empty ----MF---------- None
2 Empty ----MF---------- None

My output for nicinfo is as follows:

NE2000 Ethernet Controller
Physical Node ID … 00E098 7013CA
Current Physical Node ID … 00E098 7013CA
Media Rate … 10.00 Mb/s half-duplex UTP
MTU … 1514
Lan … 0
I/O Port Range … 0x200 → 0x21E
Hardware Interrupt … 0x5
Promiscuous … Disabled
Multicast … Enabled

Total Packets Txd OK … 0
Total Packets Txd Bad … 0
Total Packets Rxd OK … 0
Total Rx Errors … 0

Total Bytes Txd … 180
Total Bytes Rxd … 0

Tx Collision Errors … 0
Tx Collisions Errors (aborted) … 0
Carrier Sense Lost on Tx … 0
FIFO Underruns During Tx … 0
Tx deferred … 0
Out of Window Collisions … 0
FIFO Overruns During Rx … 0
Alignment errors … 0
CRC errors … 0

Why are the irqs different?

Also, I can’t set the irq when I launch devp-pccard with the -i
option.
It
always shows up at 3 when I run pin.

– Chris


“Hardware Support Account” <> hw@qnx.com> > wrote in message
news:9noeu9$rf3$> 2@nntp.qnx.com> …
Hi Chris,

The developer is currently away right now who deals with this.
We
haven’t forgotten about you > :slight_smile: > There is a patch for 6.1 comming
out
soon.

E.


Chris Thomas <> cdthomas@sympatico.ca> > wrote:
Ping


“Chris Thomas” <> cdthomas@sympatico.ca> > wrote in message
news:9mn6bp$gle$> 1@inn.qnx.com> …
I am still having problems with this. Have there been any
relevant
upgrades
or patches since 6.1. My laptop is no fun without a network
card


– Chris



“Chris Thomas” <> cdthomas@sympatico.ca> > wrote in message
news:9imt7c$npr$> 1@inn.qnx.com> …
I have re-tried this with 6.1 and I still get the same
problems.

– Chris

“Chris Thomas” <> cdthomas@sympatico.ca> > wrote in message
news:…
Is that patch C (beta)?

– Chris


“Hardware Support Account” <> hw@qnx.com> > wrote in message
news:9gvou4$jl1$> 1@nntp.qnx.com> …
Hi Chris,

Support for this chipset was only added to the latest
devp-pccard
which
is currently in beta.

Regards,

Joe

Chris Thomas <> cdthomas@sympatico.ca> > wrote:
I have tried to get both Patch A and B running on my
Dell
Inspiron
8000
notebook without much success.

When I boot, I receive the following 2 errors:

“Unable to allocate resources…”
“No PCMCIA or Cardbus adapters …”

It seems that devp-pccard is just exiting and giving
the
second
message.

As a result, I can’t get my network card to run.

Any ideas?

– Chris
















\

Replied via e-mail.

Previously, Chris Thomas wrote in qdn.public.qnxrtp.installation:

The pin output is the same as below except the irq is correct now. Also with
the io-net change the irq shows up correctly when I run nicinfo as well.
However my network card is still letting down the team > :frowning:> . I can ping my
address but I can’t ping any other machines on the network.

– Chris


“Hugh Brown” <> hsbrown@qnx.com> > wrote in message
news:> Voyager.011004085712.26440B@node90.ott.qnx.com> …
Previously, Chris Thomas wrote in qdn.public.qnxrtp.installation:
Here is the script I used. I corrected the -i, -l problem but the irqs
still show up as 3 and 5 as they did in the output below. And most
importantly the network card still doesn’t work.

#!/bin/ksh

slay pci-bios

devp-pccard -w8,8 -l7 &
#devp-pccard -l7 &
pci-bios &

slay io-net
io-net -d ne2000 irq=7, ioport=0x200 -ptcpip
^^^^^^^^^^^^^^^^^^^
You must not have spaces here. It must be ‘irq=7,ioport=0x200’.
What is the output from pin when you start devp-pccard as above?

sleep 2
netmanager -r /etc/nethome.cfg



– Chris


“Hugh Brown” <> hsbrown@qnx.com> > wrote in message
news:> Voyager.011003080529.8845A@node90.ott.qnx.com> …
Are you starting io-net as ‘io-net -dne2000 ioport=0x200,irq=3 …’?
You can force the irq for a socket by starting devp-pccard with the
-l (el) option. See the usage message.

Previously, Chris Thomas wrote in qdn.public.qnxrtp.installation:
Ping.


“Chris Thomas” <> cdthomas@sympatico.ca> > wrote in message
news:9o8lsv$73q$> 1@inn.qnx.com> …
I have done some more playing with this and I can get things to
partially
work by running devp-pccard and pci-bios in that order. At least
it
finds
my network card now. I noticed something wierd as I was trying to
get
my
setup for io-net together.

My output for pin is as follows:

Sock Func Type Flags PID Base Size IRQ
1 0 Network C—I-±-------- None 0x200 32 3
1 Empty ----MF---------- None
2 Empty ----MF---------- None
2 Empty ----MF---------- None

My output for nicinfo is as follows:

NE2000 Ethernet Controller
Physical Node ID … 00E098 7013CA
Current Physical Node ID … 00E098 7013CA
Media Rate … 10.00 Mb/s half-duplex UTP
MTU … 1514
Lan … 0
I/O Port Range … 0x200 → 0x21E
Hardware Interrupt … 0x5
Promiscuous … Disabled
Multicast … Enabled

Total Packets Txd OK … 0
Total Packets Txd Bad … 0
Total Packets Rxd OK … 0
Total Rx Errors … 0

Total Bytes Txd … 180
Total Bytes Rxd … 0

Tx Collision Errors … 0
Tx Collisions Errors (aborted) … 0
Carrier Sense Lost on Tx … 0
FIFO Underruns During Tx … 0
Tx deferred … 0
Out of Window Collisions … 0
FIFO Overruns During Rx … 0
Alignment errors … 0
CRC errors … 0

Why are the irqs different?

Also, I can’t set the irq when I launch devp-pccard with the -i
option.
It
always shows up at 3 when I run pin.

– Chris


“Hardware Support Account” <> hw@qnx.com> > wrote in message
news:9noeu9$rf3$> 2@nntp.qnx.com> …
Hi Chris,

The developer is currently away right now who deals with this.
We
haven’t forgotten about you > :slight_smile: > There is a patch for 6.1 comming
out
soon.

E.


Chris Thomas <> cdthomas@sympatico.ca> > wrote:
Ping


“Chris Thomas” <> cdthomas@sympatico.ca> > wrote in message
news:9mn6bp$gle$> 1@inn.qnx.com> …
I am still having problems with this. Have there been any
relevant
upgrades
or patches since 6.1. My laptop is no fun without a network
card


– Chris



“Chris Thomas” <> cdthomas@sympatico.ca> > wrote in message
news:9imt7c$npr$> 1@inn.qnx.com> …
I have re-tried this with 6.1 and I still get the same
problems.

– Chris

“Chris Thomas” <> cdthomas@sympatico.ca> > wrote in message
news:…
Is that patch C (beta)?

– Chris


“Hardware Support Account” <> hw@qnx.com> > wrote in message
news:9gvou4$jl1$> 1@nntp.qnx.com> …
Hi Chris,

Support for this chipset was only added to the latest
devp-pccard
which
is currently in beta.

Regards,

Joe

Chris Thomas <> cdthomas@sympatico.ca> > wrote:
I have tried to get both Patch A and B running on my
Dell
Inspiron
8000
notebook without much success.

When I boot, I receive the following 2 errors:

“Unable to allocate resources…”
“No PCMCIA or Cardbus adapters …”

It seems that devp-pccard is just exiting and giving
the
second
message.

As a result, I can’t get my network card to run.

Any ideas?

– Chris



















\

On Mon, 5 Nov 2001 12:23:20 +0000, Richard Bebbington <richard@rbebb.demon.co.uk> wrote:

In article 1104_1004911377@pentiumii, Alex Cellarius
acellarius@systems104-don’t-you-spam-me!.co.za> writes

Cancel the previous advice about A20.
I’ve tried QNX 6.1.0 on the TB486 with a custom boot image and see exactly the
same symptom IF it’s got 4MB RAM.
Fitted with 32MB, no problem.
YMMV (ito RAM sizes) depending on what you are trying to run with.

How much memory (RAM) is fitted to the TB486?
Try fitting more RAM, or try out a custom boot image that consumes less memory.

I think the card I’ve got has 8 Megs, that might explain it…

As far as a custom boot image goes, I’ve done that before
for an Elan based product we designed in work, but that was
under QNX 4.25. How different is it for RTP ?

Thanks,

Richard Bebbington

I didn’t see this post for some reason.
Here’s a build file I tested with success on a 32MB TB486:
[virtual=x86,bios +compress] .bootstrap = {
startup-bios
PATH=/proc/boot:/bin LD_LIBRARY_PATH=/proc/boot:/lib:/dll procnto
}


[+script] startup.script = {

These env variables inherited by all the programs which follow

SYSNAME=nto
TERM=ansi
devc-ser8250 -e -b115200 &
devc-con -e &
reopen /dev/con1
[+session] esh &
reopen /dev/con2
[+session] esh &
reopen /dev/con3
[+session] esh &
reopen /dev/con4
[+session] esh &
display_msg Welcome to Neutrino

io-net -dne2000 -ptcpip &
waitfor /dev/socket
ifconfig en0 192.9.200.3
inetd &
devc-pty &
pipe &

CIFS mount of the NT filesystem

fs-cifs -b //p2-notebook:192.9.200.2:/c /p2-c guest none &
fs-cifs -b //pentiumii:192.9.200.1:/c /p2-c2 guest none &


}

[type=link] /usr/lib/ldqnx.so.2=/proc/boot/libc.so
[type=link] /tmp=/dev/shmem
[type=link] /dev/console=/dev/con1

libc.so

The networking shared libraries

devn-ne2000.so
libsocket.so
npm-tcpip.so

QNET shared library

npm-qnet.so

[data=c]

Generic components

devc-pty
devc-ser8250
devc-con
esh
pidin
/bin/ls=ls
cat
/bin/pdebug=pdebug
uname
cp
chmod
mkdir
mount
stty
shutdown
pipe
/bin/termdef=termdef
env
/usr/lib/terminfo/a/ansi=qansi
/usr/lib/terminfo/q/qansi=qansi
/usr/lib/terminfo/q/qansi-m=qansi-m
/etc/termcap=termcap
slay
ifconfig
/bin/login=login

#user files

io-net and networking utilities

io-net
ping
ftp
telnet
fs-cifs
inetd
/bin/telnetd=telnetd
/bin/ftpd=ftpd

/etc/services = {
ftp 21/tcp
telnet 23/tcp
finger 79/tcp
pdebug 8000/tcp
}

/etc/inetd.conf = {
ftp stream tcp nowait root /bin/ftpd ftpd
telnet stream tcp nowait root /bin/telnetd telnetd
pdebug stream tcp nowait root /bin/pdebug pdebug -
}

/etc/hosts = {
node1 192.9.200.1
node2 192.9.200.2
node3 192.9.200.3
}

/etc/shells = {
esh
}


/etc/passwd = {
root::1:1:Root Account:/:esh
guest::1:1:Guest Account:/:esh
ftp:x:1:1:Anonymous FTP Account:/:esh
}

/etc/esh={
stty erase=08
}

Alex Cellarius <acellarius@systems104-don’t-you-spam-me!.co.za> writes

Here’s a build file I tested with success on a 32MB TB486:
[virtual=x86,bios +compress] .bootstrap = {
startup-bios
PATH=/proc/boot:/bin LD_LIBRARY_PATH=/proc/boot:/lib:/dll procnto
}

-snip-

Thanks for this, I’ll try it out!

Regards

Richard Bebbington

Alex Cellarius <acellarius@systems104-don’t-you-spam-me!.co.za> wrote:

On Mon, 5 Nov 2001 12:23:20 +0000, Richard Bebbington <> richard@rbebb.demon.co.uk> > wrote:
In article 1104_1004911377@pentiumii, Alex Cellarius
acellarius@systems104-don’t-you-spam-me!.co.za> writes

Cancel the previous advice about A20.
I’ve tried QNX 6.1.0 on the TB486 with a custom boot image and see exactly the
same symptom IF it’s got 4MB RAM.
Fitted with 32MB, no problem.
YMMV (ito RAM sizes) depending on what you are trying to run with.

How much memory (RAM) is fitted to the TB486?
Try fitting more RAM, or try out a custom boot image that consumes less memory.

I think the card I’ve got has 8 Megs, that might explain it…

As far as a custom boot image goes, I’ve done that before
for an Elan based product we designed in work, but that was
under QNX 4.25. How different is it for RTP ?

Thanks,

Richard Bebbington

For the 4M or less version of the board your OS build file must have:

[image=0x1000000] at the top, otherwise the OS image will by default
get placed after the 4M mark in RAM.

Erick.



I didn’t see this post for some reason.
Here’s a build file I tested with success on a 32MB TB486:
[virtual=x86,bios +compress] .bootstrap = {
startup-bios
PATH=/proc/boot:/bin LD_LIBRARY_PATH=/proc/boot:/lib:/dll procnto
}



[+script] startup.script = {

These env variables inherited by all the programs which follow

SYSNAME=nto
TERM=ansi
devc-ser8250 -e -b115200 &
devc-con -e &
reopen /dev/con1
[+session] esh &
reopen /dev/con2
[+session] esh &
reopen /dev/con3
[+session] esh &
reopen /dev/con4
[+session] esh &
display_msg Welcome to Neutrino

io-net -dne2000 -ptcpip &
waitfor /dev/socket
ifconfig en0 192.9.200.3
inetd &
devc-pty &
pipe &

CIFS mount of the NT filesystem

fs-cifs -b //p2-notebook:192.9.200.2:/c /p2-c guest none &
fs-cifs -b //pentiumii:192.9.200.1:/c /p2-c2 guest none &



}

[type=link] /usr/lib/ldqnx.so.2=/proc/boot/libc.so
[type=link] /tmp=/dev/shmem
[type=link] /dev/console=/dev/con1

libc.so

The networking shared libraries

devn-ne2000.so
libsocket.so
npm-tcpip.so

QNET shared library

npm-qnet.so

[data=c]

Generic components

devc-pty
devc-ser8250
devc-con
esh
pidin
/bin/ls=ls
cat
/bin/pdebug=pdebug
uname
cp
chmod
mkdir
mount
stty
shutdown
pipe
/bin/termdef=termdef
env
/usr/lib/terminfo/a/ansi=qansi
/usr/lib/terminfo/q/qansi=qansi
/usr/lib/terminfo/q/qansi-m=qansi-m
/etc/termcap=termcap
slay
ifconfig
/bin/login=login

#user files

io-net and networking utilities

io-net
ping
ftp
telnet
fs-cifs
inetd
/bin/telnetd=telnetd
/bin/ftpd=ftpd

/etc/services = {
ftp 21/tcp
telnet 23/tcp
finger 79/tcp
pdebug 8000/tcp
}

/etc/inetd.conf = {
ftp stream tcp nowait root /bin/ftpd ftpd
telnet stream tcp nowait root /bin/telnetd telnetd
pdebug stream tcp nowait root /bin/pdebug pdebug -
}

/etc/hosts = {
node1 192.9.200.1
node2 192.9.200.2
node3 192.9.200.3
}

/etc/shells = {
esh
}



/etc/passwd = {
root::1:1:Root Account:/:esh
guest::1:1:Guest Account:/:esh
ftp> :x:> 1:1:Anonymous FTP Account:/:esh
}

/etc/esh={
stty erase=08
}

On 13 Nov 2001 15:33:55 GMT, Hardware Support Account <hw@qnx.com> wrote:

[image=0x1000000] at the top, otherwise the OS image will by default
get placed after the 4M mark in RAM.

Useful to know, thanks for pointing it out!

On Wed, 21 Nov 2001 00:31:45 +0000, “Richard.Bebbington” <electric.mini@ntlworld.com> wrote:

If I try to start devc-con, the TB486 immediately resets.

If I start devc-con with the -k option to disable the keyboard
interrupt handler, it works, but I can’t type anything into the
shell ( I expected this > :wink:> .

Aaarrgghh! What on earth’s going on?

Hi Richard
Using the buildfile I previously attached, devc-con works fine for me on the TB486.
Here’s the snippet from the buildfile:

[+script] startup.script = {

These env variables inherited by all the programs which follow

SYSNAME=nto
TERM=qansi
devc-ser8250 -e -b115200 &
devc-con -e &
reopen /dev/con1
[+session] esh &
reopen /dev/con2
[+session] esh &
reopen /dev/con3
[+session] esh &
reopen /dev/con4
[+session] esh &
display_msg Welcome to Neutrino

Alex Cellarius <acellarius@systems104-don’t-you-spam-me!.co.za> writes

Hi Richard
Using the buildfile I previously attached, devc-con works fine for me on the
TB486.
Here’s the snippet from the buildfile:

[+script] startup.script = {

These env variables inherited by all the programs which follow

SYSNAME=nto
TERM=qansi

Ahhh, maybe I need the TERM=qansi line…

Thanks, I’ll try that when I get home tonight
( RTP won’t install onto my machine here in work :frowning: )

Richard Bebbington

Hi Alex,



Hi Richard
Using the buildfile I previously attached, devc-con works fine for me on the TB486.
Here’s the snippet from the buildfile:

[+script] startup.script = {

These env variables inherited by all the programs which follow

SYSNAME=nto
TERM=qansi
devc-ser8250 -e -b115200 &
devc-con -e &
reopen /dev/con1
[+session] esh &
reopen /dev/con2
[+session] esh &
reopen /dev/con3
[+session] esh &
reopen /dev/con4
[+session] esh &
display_msg Welcome to Neutrino

Ok, I’ve put in the SYSNAME=nto, the TERM=qansi and the other lines,
just as you’ve got them in your buildfile. The terminfo stuff’s in there
too, as is termcap ( detailed further down the buildfile you posted a
couple of weeks back )

But the card still reboots as soon as it tries to run devc-con.

I think I might give up, and just use QNX 4.25 on it. At least I know
that definitely boots Ok, we’ve got the full IAT dev kit in work
and a BSP for a similar Elan SC400 based board…

Actually, I just had a thought - what pcb revision is your TB486 card?
Ours here is a pretty early one, rev B I think. Maybe there’s a subtle
difference lurking in there?

Thanks

Richard Bebbington

Alex Cellarius <acellarius@systems104-don’t-you-spam-me!.co.za> writes

Actually, I just had a thought - what pcb revision is your TB486 card?
Ours here is a pretty early one, rev B I think. Maybe there’s a subtle
difference lurking in there?

It’s 164001.C01
Did you try exactly the same buildfile as I tried, with enough RAM?

Almost - I chopped out the parts that started networking, since
I haven’t got the ethernet connector pcb (yet).

I’ll try the exact buildfile you posted tonight.

My card’s got 16 megs at the moment - should be enough?

I see yours is a rev C pcb. I guess I’d better look in the manual
and see what differences there might be…

Regards

Richard Bebbington

On Thu, 22 Nov 2001 23:04:01 +0000, “Richard.Bebbington” <electric.mini@ntlworld.com> wrote:

Hi Alex,
Ok, I’ve put in the SYSNAME=nto, the TERM=qansi and the other lines,
just as you’ve got them in your buildfile. The terminfo stuff’s in there
too, as is termcap ( detailed further down the buildfile you posted a
couple of weeks back )

But the card still reboots as soon as it tries to run devc-con.

I think I might give up, and just use QNX 4.25 on it. At least I know
that definitely boots Ok, we’ve got the full IAT dev kit in work
and a BSP for a similar Elan SC400 based board…

Actually, I just had a thought - what pcb revision is your TB486 card?
Ours here is a pretty early one, rev B I think. Maybe there’s a subtle
difference lurking in there?

It’s 164001.C01
Did you try exactly the same buildfile as I tried, with enough RAM?

Richard.Bebbington <electric.mini@ntlworld.com> wrote:

Hi Alex,



Hi Richard
Using the buildfile I previously attached, devc-con works fine for me on the TB486.
Here’s the snippet from the buildfile:

[+script] startup.script = {

These env variables inherited by all the programs which follow

SYSNAME=nto
TERM=qansi
devc-ser8250 -e -b115200 &
devc-con -e &
reopen /dev/con1
[+session] esh &
reopen /dev/con2
[+session] esh &
reopen /dev/con3
[+session] esh &
reopen /dev/con4
[+session] esh &
display_msg Welcome to Neutrino



Ok, I’ve put in the SYSNAME=nto, the TERM=qansi and the other lines,
just as you’ve got them in your buildfile. The terminfo stuff’s in there
too, as is termcap ( detailed further down the buildfile you posted a
couple of weeks back )

But the card still reboots as soon as it tries to run devc-con.

Some BIOSes leave the SC400 keyboard controller in a state where the
board re-boots when devc-con loads. Compile the following code, and
run the program in your build file, before starting devc-con. It should
prevent the reboot.


// set up the keyboard controller

#include <stdlib.h>
#include <stdio.h>
#include <sys/neutrino.h>
#include <unistd.h>
#include <x86/inout.h>

int main()
{
unsigned char val;

ThreadCtl(_NTO_TCTL_IO, 0);

// call keyboard self-test
out8(0x64,0xaa);

sleep(1);

// enable keyboard interface
out8(0x64,0xae);

sleep(1);

// read the controller a few times, to clear any pending data

out8(0x64, 0x60);
val=in8(0x64);
val=in8(0x60);
val=in8(0x64);
val=in8(0x60);
val=in8(0x64);
val=in8(0x60);
val=in8(0x64);
val=in8(0x60);

// set up the controller
out8(0x64,0x60);
out8(0x60,0x45);
}


I think I might give up, and just use QNX 4.25 on it. At least I know
that definitely boots Ok, we’ve got the full IAT dev kit in work
and a BSP for a similar Elan SC400 based board…

Actually, I just had a thought - what pcb revision is your TB486 card?
Ours here is a pretty early one, rev B I think. Maybe there’s a subtle
difference lurking in there?

Thanks

Richard Bebbington

Dave Green (dgreen@qnx.com)

QNX Software Systems Ltd.
http://www.qnx.com

Dave Green wrote:


Some BIOSes leave the SC400 keyboard controller in a state where the
board re-boots when devc-con loads. Compile the following code, and
run the program in your build file, before starting devc-con. It should
prevent the reboot.

-snip-

Thanks Dave, that’s sorted out the problem!

No more reboots, lots of consoles to play with,
I’m a “happy bunny” :wink:

Funnily enough, I remember we had trouble with the
SC400 board that we embedded QNX 4.25 into where I work
( keyboard controller not initialising properly ).
You just had to cycle the power, sometimes the keyboard
would work, sometimes not.

I’ll try this out on one of those too, see if it fixes it.

Once again, thanks!



Regards

Richard Bebbington

P.S. Alex, you might want to use this little program too…

“Adilson Junior” <cabide@brfree.com.br> escreveu na mensagem news:…

Hi,
I have 3 com dual link, and qnx pppoe not work with this adsl modem.

anybody can help me?


Adilson Junior
ICQ 28528156
Linux user nº #255660
Machine Number 139383
e-mail: > cabide@cabide.tk

\

dabrown@node59.ott.qnx.com sed in <ani77g$egs$1@nntp.qnx.com>

The /etc/net,cfg file is not meant to be modified by the user directly
Phlip should be used to modify the file. If you are using phlip, the

whatif the user can’t or won’t use Photon in the installation
AND wants to use “netmanager” for network configuration?

Or those people are supposed to use dhcp.client, ifconfig, route, hostname,
setconf RESOLV etc etc manually?

(Deducing net.cfg syntax isn’t hard tho)

kabe