Arcnet + Ethernet on QNX4.25

Hi,

I am trying to set up an Arcnet card and 2 Ethernet cards on one node. In my
sysinit file, I load the Ethernet drivers first and then the Arcnet driver
but then, the Arcnet driver is not loaded.I looked at this with a logic
analyzer and then can see that it is not even trying to write to that I/O
address of Arcnet card. If I unload the first Ethernet, then I can load the
Arcnet driver. Again if I reboot and now unload the second EtherNet, then I
cannot load the Arcnet. Here also, there is no access seen with the logic
Analyzer.

If I load the Arcnet Driver first in my sysinit, then only one Ethernet
driver is loaded.

I have set up the Network manager for 3 drivers with ‘Net -d3 &’ option.

Any suggestions please?

Regards,
Harpartap.

What’s the invocation in the sysinit file look like?
What’s the netmap look like (my guess is you should have these all one
different logical lans).
Try them by hand and see what error are reported.

On Mon, 8 Apr 2002 13:16:32 -0500, “Harpartap” <hparmar@ccontrols.com> wrote:

Hi,

I am trying to set up an Arcnet card and 2 Ethernet cards on one node. In my
sysinit file, I load the Ethernet drivers first and then the Arcnet driver
but then, the Arcnet driver is not loaded.I looked at this with a logic
analyzer and then can see that it is not even trying to write to that I/O
address of Arcnet card. If I unload the first Ethernet, then I can load the
Arcnet driver. Again if I reboot and now unload the second EtherNet, then I
cannot load the Arcnet. Here also, there is no access seen with the logic
Analyzer.

If I load the Arcnet Driver first in my sysinit, then only one Ethernet
driver is loaded.

I have set up the Network manager for 3 drivers with ‘Net -d3 &’ option.

Any suggestions please?

Thanks Alex,

I didn’t specify the logical Lan on one of the drivers and it was messing
things up!! Anyways, I can now load the drivers and have updated the netmap
file too. But I still cannot talk to the other node via Arcnet. It just
comes up with the error message of bad directory.

I updated the netmap files on both the nodes and this time, am sure that
they are on the same logical Lan and no ethernet card is there on that lan.

“Alex Cellarius” <acellarius@yahoo.com> wrote in message
news:1103_1018297489@pentiumii…

What’s the invocation in the sysinit file look like?
What’s the netmap look like (my guess is you should have these all one
different logical lans).
Try them by hand and see what error are reported.

On Mon, 8 Apr 2002 13:16:32 -0500, “Harpartap” <> hparmar@ccontrols.com
wrote:
Hi,

I am trying to set up an Arcnet card and 2 Ethernet cards on one node.
In my
sysinit file, I load the Ethernet drivers first and then the Arcnet
driver
but then, the Arcnet driver is not loaded.I looked at this with a logic
analyzer and then can see that it is not even trying to write to that
I/O
address of Arcnet card. If I unload the first Ethernet, then I can load
the
Arcnet driver. Again if I reboot and now unload the second EtherNet,
then I
cannot load the Arcnet. Here also, there is no access seen with the
logic
Analyzer.

If I load the Arcnet Driver first in my sysinit, then only one Ethernet
driver is loaded.

I have set up the Network manager for 3 drivers with ‘Net -d3 &’ option.

Any suggestions please?

Be aware that the logical LAN number is relative to the local node. I.E. if
node A has:
Lan #1 = ethernet
Lan #2 = ethernet
Lan #3 = arcnet
and node B has:
Lan #1 = arcnet
so that the arcnet card on node A is connected to hte arcnet card on node B,
then each nodes netmap file SHOULD BE different. Node A’s netmap file
should refer to the arcnet as LAN 3 and node B’s netmap file should refer to
the arcnet as LAN 1.

  • OR -

It brings up an interesting thought. I suppose it’s possible to have a node
that only has a LAN #3. I.E.

Node B:
Net -d3 &
Net.arcnet -l3 &

Also, make sure that you are aware of the physical arcnet node number for
each QNX node and that this is correctly expressed in the netmap file, as
opposed to the default “one-to-one” which hardly ever matches reality unless
all you have is arcnet.


“Harpartap” <hparmar@ccontrols.com> wrote in message
news:a8t0u1$ab8$1@inn.qnx.com

Thanks Alex,

I didn’t specify the logical Lan on one of the drivers and it was messing
things up!! Anyways, I can now load the drivers and have updated the
netmap
file too. But I still cannot talk to the other node via Arcnet. It just
comes up with the error message of bad directory.

I updated the netmap files on both the nodes and this time, am sure that
they are on the same logical Lan and no ethernet card is there on that
lan.

“Alex Cellarius” <> acellarius@yahoo.com> > wrote in message
news:1103_1018297489@pentiumii…
What’s the invocation in the sysinit file look like?
What’s the netmap look like (my guess is you should have these all one
different logical lans).
Try them by hand and see what error are reported.

On Mon, 8 Apr 2002 13:16:32 -0500, “Harpartap” <> hparmar@ccontrols.com
wrote:
Hi,

I am trying to set up an Arcnet card and 2 Ethernet cards on one node.
In my
sysinit file, I load the Ethernet drivers first and then the Arcnet
driver
but then, the Arcnet driver is not loaded.I looked at this with a
logic
analyzer and then can see that it is not even trying to write to that
I/O
address of Arcnet card. If I unload the first Ethernet, then I can
load
the
Arcnet driver. Again if I reboot and now unload the second EtherNet,
then I
cannot load the Arcnet. Here also, there is no access seen with the
logic
Analyzer.

If I load the Arcnet Driver first in my sysinit, then only one
Ethernet
driver is loaded.

I have set up the Network manager for 3 drivers with ‘Net -d3 &’
option.

Any suggestions please?
\

I have the netmap setup as Lan4 in both the nodes. I didn’t think of the
scenario where I could make it as lan #1 on one node which has just one
ARCNET…I will try it out too…otherwise the netmap files are correct with
the logical nodes IDs, lan nos and physical node ids.


“Bill Caroselli (Q-TPS)” <QTPS@EarthLink.net> wrote in message
news:a8t2ek$ba1$1@inn.qnx.com

Be aware that the logical LAN number is relative to the local node. I.E.
if
node A has:
Lan #1 = ethernet
Lan #2 = ethernet
Lan #3 = arcnet
and node B has:
Lan #1 = arcnet
so that the arcnet card on node A is connected to hte arcnet card on node
B,
then each nodes netmap file SHOULD BE different. Node A’s netmap file
should refer to the arcnet as LAN 3 and node B’s netmap file should refer
to
the arcnet as LAN 1.

  • OR -

It brings up an interesting thought. I suppose it’s possible to have a
node
that only has a LAN #3. I.E.

Node B:
Net -d3 &
Net.arcnet -l3 &

Also, make sure that you are aware of the physical arcnet node number for
each QNX node and that this is correctly expressed in the netmap file, as
opposed to the default “one-to-one” which hardly ever matches reality
unless
all you have is arcnet.


“Harpartap” <> hparmar@ccontrols.com> > wrote in message
news:a8t0u1$ab8$> 1@inn.qnx.com> …
Thanks Alex,

I didn’t specify the logical Lan on one of the drivers and it was
messing
things up!! Anyways, I can now load the drivers and have updated the
netmap
file too. But I still cannot talk to the other node via Arcnet. It just
comes up with the error message of bad directory.

I updated the netmap files on both the nodes and this time, am sure that
they are on the same logical Lan and no ethernet card is there on that
lan.

“Alex Cellarius” <> acellarius@yahoo.com> > wrote in message
news:1103_1018297489@pentiumii…
What’s the invocation in the sysinit file look like?
What’s the netmap look like (my guess is you should have these all one
different logical lans).
Try them by hand and see what error are reported.

On Mon, 8 Apr 2002 13:16:32 -0500, “Harpartap” <> hparmar@ccontrols.com
wrote:
Hi,

I am trying to set up an Arcnet card and 2 Ethernet cards on one
node.
In my
sysinit file, I load the Ethernet drivers first and then the Arcnet
driver
but then, the Arcnet driver is not loaded.I looked at this with a
logic
analyzer and then can see that it is not even trying to write to
that
I/O
address of Arcnet card. If I unload the first Ethernet, then I can
load
the
Arcnet driver. Again if I reboot and now unload the second
EtherNet,
then I
cannot load the Arcnet. Here also, there is no access seen with the
logic
Analyzer.

If I load the Arcnet Driver first in my sysinit, then only one
Ethernet
driver is loaded.

I have set up the Network manager for 3 drivers with ‘Net -d3 &’
option.

Any suggestions please?


\

OK. So on the node that only has an ARCNET, ‘netinfo -l’ will report that
the driver IS for logical network #4?

If so, then what you’re doing should, I thought, work and I don’t know what
else to suggest.

Is your ARCNET healthy? I.E. No duplicate node IDs, all cables are properly
terminated into a resister (I forget the value, but 93 ohms stick in my
mind)?

Are you able to make the ARCNET work if it is the only node configured as
LAN #1?

“Harpartap” <hparmar@ccontrols.com> wrote in message
news:a8t4d9$cll$1@inn.qnx.com

I have the netmap setup as Lan4 in both the nodes. I didn’t think of the
scenario where I could make it as lan #1 on one node which has just one
ARCNET…I will try it out too…otherwise the netmap files are correct
with
the logical nodes IDs, lan nos and physical node ids.


“Bill Caroselli (Q-TPS)” <> QTPS@EarthLink.net> > wrote in message
news:a8t2ek$ba1$> 1@inn.qnx.com> …
Be aware that the logical LAN number is relative to the local node.
I.E.
if
node A has:
Lan #1 = ethernet
Lan #2 = ethernet
Lan #3 = arcnet
and node B has:
Lan #1 = arcnet
so that the arcnet card on node A is connected to hte arcnet card on
node
B,
then each nodes netmap file SHOULD BE different. Node A’s netmap file
should refer to the arcnet as LAN 3 and node B’s netmap file should
refer
to
the arcnet as LAN 1.

  • OR -

It brings up an interesting thought. I suppose it’s possible to have a
node
that only has a LAN #3. I.E.

Node B:
Net -d3 &
Net.arcnet -l3 &

Also, make sure that you are aware of the physical arcnet node number
for
each QNX node and that this is correctly expressed in the netmap file,
as
opposed to the default “one-to-one” which hardly ever matches reality
unless
all you have is arcnet.


“Harpartap” <> hparmar@ccontrols.com> > wrote in message
news:a8t0u1$ab8$> 1@inn.qnx.com> …
Thanks Alex,

I didn’t specify the logical Lan on one of the drivers and it was
messing
things up!! Anyways, I can now load the drivers and have updated the
netmap
file too. But I still cannot talk to the other node via Arcnet. It
just
comes up with the error message of bad directory.

I updated the netmap files on both the nodes and this time, am sure
that
they are on the same logical Lan and no ethernet card is there on that
lan.

“Alex Cellarius” <> acellarius@yahoo.com> > wrote in message
news:1103_1018297489@pentiumii…
What’s the invocation in the sysinit file look like?
What’s the netmap look like (my guess is you should have these all
one
different logical lans).
Try them by hand and see what error are reported.

On Mon, 8 Apr 2002 13:16:32 -0500, “Harpartap”
hparmar@ccontrols.com
wrote:
Hi,

I am trying to set up an Arcnet card and 2 Ethernet cards on one
node.
In my
sysinit file, I load the Ethernet drivers first and then the
Arcnet
driver
but then, the Arcnet driver is not loaded.I looked at this with a
logic
analyzer and then can see that it is not even trying to write to
that
I/O
address of Arcnet card. If I unload the first Ethernet, then I can
load
the
Arcnet driver. Again if I reboot and now unload the second
EtherNet,
then I
cannot load the Arcnet. Here also, there is no access seen with
the
logic
Analyzer.

If I load the Arcnet Driver first in my sysinit, then only one
Ethernet
driver is loaded.

I have set up the Network manager for 3 drivers with ‘Net -d3 &’
option.

Any suggestions please?




\

“Bill Caroselli (Q-TPS)” <QTPS@earthlink.net> wrote:

Be aware that the logical LAN number is relative to the local node. I.E. if
node A has:
Lan #1 = ethernet
Lan #2 = ethernet
Lan #3 = arcnet
and node B has:
Lan #1 = arcnet

I don’t think that configuration will work.

You’d need node B to have:
and node B has:
Lan #3 = arcnet

It brings up an interesting thought. I suppose it’s possible to have a node
that only has a LAN #3. I.E.

Node B:
Net -d3 &
Net.arcnet -l3 &

Absolutely possible.

In fact, most QNX4 machines here at QSSL run with only lan 2 (though
it is Ethernet). This is historical, as lan 1 was the arcnet network,
and as ethernet was added, it was lan 2. When I started at QSSL, my
desktop machine only had arcnet in it, on lan 1… I can remember the
ethernet spreading accross the building…

Also, make sure that you are aware of the physical arcnet node number for
each QNX node and that this is correctly expressed in the netmap file, as
opposed to the default “one-to-one” which hardly ever matches reality unless
all you have is arcnet.

Yes, have actual physical arcnet numbers – don’t use the “magic”
one-to-one mapping.

-David

QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.

Harpartap <hparmar@ccontrols.com> wrote:

I have the netmap setup as Lan4 in both the nodes. I didn’t think of the
scenario where I could make it as lan #1 on one node which has just one
ARCNET…I will try it out too…otherwise the netmap files are correct with
the logical nodes IDs, lan nos and physical node ids.

Compare the netmap files for both nodes to the output from running
“netmap” on both nodes, and between nodes – does it all match up?

If they can’t talk, what errors do you get? What does netinfo
report? What does netinfo -l report?

What flavour of Arcnet card do you have, and how old is it? What
type of machine (PC) do you have? Some older arcnet cards may not
work on PCI/ISA bus machines. (Lots of notes about PCI say something
like “legacy 8-bit ISA cards may fail”. Older Arcnet cards are
legacy 8-bit ISA cards.) What irq & io-port is your Arcnet card
using, and are these marked in your BIOS as reserved for ISA?

-David

QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.

“David Gibbs” <dagibbs@qnx.com> wrote in message
news:a8v4lq$kcp$1@nntp.qnx.com

“Bill Caroselli (Q-TPS)” <> QTPS@earthlink.net> > wrote:
Be aware that the logical LAN number is relative to the local node.
I.E. if
node A has:
Lan #1 = ethernet
Lan #2 = ethernet
Lan #3 = arcnet
and node B has:
Lan #1 = arcnet

I don’t think that configuration will work.

For the record, I have done this and it does work.

Providing that the netmap for each node accurately indicate what LAN to put
a packet on for that a given destination node.

Harpartap wrote:

I have the netmap setup as Lan4 in both the nodes. I didn’t think of the
scenario where I could make it as lan #1 on one node which has just one
ARCNET…I will try it out too…otherwise the netmap files are correct with
the logical nodes IDs, lan nos and physical node ids.

If you want to make your life easy, get automap, it will set the netmap
up automatically for you.

http://www.zinformatic.com/product.htm

I have no association with zinformatic, other than that I have used
automap in the past, and been very happy with it.

Rennie

“Bill Caroselli (Q-TPS)” <QTPS@EarthLink.net> wrote in message
news:a8v5nu$qrl$1@inn.qnx.com

“David Gibbs” <> dagibbs@qnx.com> > wrote in message
news:a8v4lq$kcp$> 1@nntp.qnx.com> …
“Bill Caroselli (Q-TPS)” <> QTPS@earthlink.net> > wrote:
Be aware that the logical LAN number is relative to the local node.
I.E. if
node A has:
Lan #1 = ethernet
Lan #2 = ethernet
Lan #3 = arcnet
and node B has:
Lan #1 = arcnet

I don’t think that configuration will work.

For the record, I have done this and it does work.
Providing that the netmap for each node accurately indicate what LAN to
put
a packet on for that a given destination node.

Maybe it does, but I don’t think that’s lega. Add a second arcnet to this
setup
and it becomes pretty confusing.

“Mario Charest” <goto@nothingness.com> wrote in message
news:a8vftc$52d$1@inn.qnx.com

“Bill Caroselli (Q-TPS)” <> QTPS@EarthLink.net> > wrote in message
news:a8v5nu$qrl$> 1@inn.qnx.com> …

For the record, I have done this and it does work.
Providing that the netmap for each node accurately indicate what LAN to
put
a packet on for that a given destination node.

Maybe it does, but I don’t think that’s lega. Add a second arcnet to this
setup
and it becomes pretty confusing.

I agree it is confusing.

Let’s say that the backbone of the internet ran on FLEET and you had to
write the netmap for each gateway. Would you want that netmap file to have
to have all of the LAN information for every other gateway? I don’t think
so.

I’ve put together some pretty large networks (15 LANS) but no node ever had
more than 3 LANs connected to it. So why require a ‘Net -d15 &’ which I’m
sure has some overhead all it’s own. I look at the LAN number as an ID
rather than an index into a global list of LANs.

But alas, if you have only 3 or 4 LANs you’re better off keeping the same
LAN number on each node, even if a node doesn’t have access to a LAN.