Failed to Use Net.ether82557

bridged with qdn.public.qnx4
Post Reply
Danny Gera

Failed to Use Net.ether82557

Post by Danny Gera » Wed Nov 12, 2003 3:53 pm

We are using a 3com net adapter and want to move to using on-board support
of PCA-6178, which consists of Intel 82559 chipset. I tried to initialize
the Net.ether82557 with the command (in sysinit.1):
Net.ether82557 -i 5 -v -p 0x240 -l 2 &

The -i and -p switches are needed because the system has also EISA boards,
so I cannot trust auto-detect. The -l switch is used because logical network
#1 is used as a QNX net on a serial connection.

I get the followoing error from ifconfig (/usr/ucb/ifconfig en2 xd1 up):
ifconfig: ioctl (SIOCFIFFLAGS): no such interface

The screen output when the driver comes up is:

Speedo : 82559 A/B Step
Vendor........................0x8086
Device.........................0x1229
SubSystemID...............0x000c
SubVendor...................0x8086
Interrupt......................0x5
MAC Address...............000bab 001b0f

The driver version (from sin ver) is: 4.25G Feb 17 2000

Although ifconfig does not recognize interface en2, netmap does recognize
the second logical network, as seen in the output:

# Logical Lan Physical Tx Count Last TX Fail Time
1 1 000000 000001 ; 0
1 2 000BAB 001B0F ; 0
2 1 000000 000002 ; 33

Does anyone know What am I doing wrong? What is the correct initialization
of the driver?

Danny Gera
Orbotech LTD.

Mario Charest

Re: Failed to Use Net.ether82557

Post by Mario Charest » Wed Nov 12, 2003 5:11 pm

"Danny Gera" <danny-g@orbotech.com> wrote in message
news:botjtv$4qc$1@inn.qnx.com...
We are using a 3com net adapter and want to move to using on-board support
of PCA-6178, which consists of Intel 82559 chipset. I tried to initialize
the Net.ether82557 with the command (in sysinit.1):
Net.ether82557 -i 5 -v -p 0x240 -l 2 &

82557 is installed on a PCI bus hence there is not autodetect mecanism
inside the driver that can possibly corrupt the EISA board since
The -i and -p switches are needed because the system has also EISA boards,
so I cannot trust auto-detect. The -l switch is used because logical
network
#1 is used as a QNX net on a serial connection.

I get the followoing error from ifconfig (/usr/ucb/ifconfig en2 xd1 up):
ifconfig: ioctl (SIOCFIFFLAGS): no such interface

The screen output when the driver comes up is:

Speedo : 82559 A/B Step
Vendor........................0x8086
Device.........................0x1229
SubSystemID...............0x000c
SubVendor...................0x8086
Interrupt......................0x5
MAC Address...............000bab 001b0f

The driver version (from sin ver) is: 4.25G Feb 17 2000

Although ifconfig does not recognize interface en2, netmap does recognize
the second logical network, as seen in the output:

# Logical Lan Physical Tx Count Last TX Fail
Time
1 1 000000 000001 ; 0
1 2 000BAB 001B0F ; 0
2 1 000000 000002 ; 33

Does anyone know What am I doing wrong? What is the correct initialization
of the driver?
The way you start the driver is ok (although I wouldn't use any irq or
address setting since this may change if the board is installed in a
different slot). If you run sin, is the driver there? If it is it's
most probably a TCP issue. Could you post the content of your sysinit.

Is the driver for the first card running( 00000 000001 is an odd address
;-) ) on lan 1. I don't think the number of en? is related to QNX lan
number. Hence if you are running one driver even if it's on lan 2 it will
be named en1 by the stack.

- Mario
Danny Gera
Orbotech LTD.

Danny Gera

Re: Failed to Use Net.ether82557

Post by Danny Gera » Thu Nov 13, 2003 5:36 pm

I am not worried about corrupting the EISA board, but about the autodetect
taking irqs and addresses that are used by the EISA board. We have such an
experience with other boards.

I do see the driver when I run sin (That's how I got the version).
My sysinit file is attached.

The first LAN is a QNX network to a second QNX node, using the Net.fd
driver.

I tried also using en1 interface in the ifconfig (Although my current 3Com
network board works with en2), and there was no error, but there was no TCP
communication either (ping fails).

Does this information gives any ideas?

Danny

"Mario Charest" <postmaster@127.0.0.1> wrote in message
news:botoib$7tu$1@inn.qnx.com...
"Danny Gera" <danny-g@orbotech.com> wrote in message
news:botjtv$4qc$1@inn.qnx.com...
We are using a 3com net adapter and want to move to using on-board
support
of PCA-6178, which consists of Intel 82559 chipset. I tried to
initialize
the Net.ether82557 with the command (in sysinit.1):
Net.ether82557 -i 5 -v -p 0x240 -l 2 &

82557 is installed on a PCI bus hence there is not autodetect mecanism
inside the driver that can possibly corrupt the EISA board since

The -i and -p switches are needed because the system has also EISA
boards,
so I cannot trust auto-detect. The -l switch is used because logical
network
#1 is used as a QNX net on a serial connection.

I get the followoing error from ifconfig (/usr/ucb/ifconfig en2 xd1 up):
ifconfig: ioctl (SIOCFIFFLAGS): no such interface

The screen output when the driver comes up is:

Speedo : 82559 A/B Step
Vendor........................0x8086
Device.........................0x1229
SubSystemID...............0x000c
SubVendor...................0x8086
Interrupt......................0x5
MAC Address...............000bab 001b0f

The driver version (from sin ver) is: 4.25G Feb 17 2000

Although ifconfig does not recognize interface en2, netmap does
recognize
the second logical network, as seen in the output:

# Logical Lan Physical Tx Count Last TX Fail
Time
1 1 000000 000001 ; 0
1 2 000BAB 001B0F ; 0
2 1 000000 000002 ; 33

Does anyone know What am I doing wrong? What is the correct
initialization
of the driver?

The way you start the driver is ok (although I wouldn't use any irq or
address setting since this may change if the board is installed in a
different slot). If you run sin, is the driver there? If it is it's
most probably a TCP issue. Could you post the content of your sysinit.

Is the driver for the first card running( 00000 000001 is an odd address
;-) ) on lan 1. I don't think the number of en? is related to QNX lan
number. Hence if you are running one driver even if it's on lan 2 it will
be named en1 by the stack.

- Mario


Danny Gera
Orbotech LTD.



begin 666 sysinit.1
M<V5T("UI"F5X<&]R="!46CUU=&,P, IR=&,@+6P@:'<*1&5V("UN(#8T("8*
M1&5V+F-O;B M;B T("8*(T1E=BYS97(@+4D@-# Y-B M3R T,#DV("8*1&5V
M+G-E<B M=#$T(#-F."PT(" M=#$T(#)F."PS(" M=#$T(#-E."PW("UT,30@
M,F4X+#<@("UM("8*(T1E=BYS97(@+70@,3 @,D8P+#$Q(#-%,"PQ," F"B,@
M861D:6YG(&1E=BYP='D@:7,@9&]N92!T;R!E;F%B;&4@=&AE('5S92!O9B!T
M96QN970@(2$A"D1E=BYP='D@+6X@.2 F( HC<W1T>2!B875D/3$Q,C P," \
M("]D978O<V5R,0IS='1Y(&)A=60],S@T,# @/" O9&5V+W-E<C$*<W1T>2 M
M;VAP86=E9" M:6AF;&]W("UO:&9L;W<@;&MH9FQO=R \("]D978O<V5R,PIS
M='1Y("UO:'!A9V5D("UI:&9L;W<@+6]H9FQO=R!L:V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:69C;VYF
M:6<@96XR('!L;W1T97(M>&0Q('5P"B,O=7-R+W5C8B]I;F5T9" F"B]U<W(O
M=6-B+W!O<G1M87 *+W5S<B]U8V(O;F9S9 HO=7-R+W5C8B]M;W5N=&0*+W5S
M<B]U8V(O:6YE=&0@)@H*(R!4:&4@9FQO<'!Y(&1I<VL@;6]U;G1I;F<@87,@
M+V9D(#H*;6]U;G0@+V1E=B]F9# @+V9D"@HO+S(@<G1C(&YE= H*(R!S=&%R
M=&EN9R!A=71O;6%T:6-A;&QY('1H92!P;&]T=&5R"@HO=7-R+W5C8B]R<V@@
M+6P@=F5R<VEO;B!P;&]T=&5R+7AD,2 O971C+V-O;F9I9R]A=71O7W-T87)T
G7W!L;W1T97(@=F5R<VEO;B ^("]T;7 O<&QO='1E<E]U<"YL;V<*
`
end

Mario Charest

Re: Failed to Use Net.ether82557

Post by Mario Charest » Thu Nov 13, 2003 8:45 pm

"Danny Gera" <danny-g@orbotech.com> wrote in message
news:bp0eai$5e8$1@inn.qnx.com...
I am not worried about corrupting the EISA board, but about the autodetect
taking irqs and addresses that are used by the EISA board. We have such an
experience with other boards.
Well irqs and addresses are assigned by PCI BIOS. Proving info via command
line doesn't assigned resources it just forces the driver to use the setting
you want instead of the one specified by the PCI BIOS. It doesn't prevent
conflict since the board was already assigned resources even before QNX
starts.

You might have missinterpreted your pass observations ;-)
I do see the driver when I run sin (That's how I got the version).
My sysinit file is attached.

The first LAN is a QNX network to a second QNX node, using the Net.fd
driver.

I tried also using en1 interface in the ifconfig (Although my current 3Com
network board works with en2), and there was no error, but there was no
TCP
communication either (ping fails).

Does this information gives any ideas?
Can you post the output of show_pci -v and netinfo -l
Danny

"Mario Charest" <postmaster@127.0.0.1> wrote in message
news:botoib$7tu$1@inn.qnx.com...

"Danny Gera" <danny-g@orbotech.com> wrote in message
news:botjtv$4qc$1@inn.qnx.com...
We are using a 3com net adapter and want to move to using on-board
support
of PCA-6178, which consists of Intel 82559 chipset. I tried to
initialize
the Net.ether82557 with the command (in sysinit.1):
Net.ether82557 -i 5 -v -p 0x240 -l 2 &

82557 is installed on a PCI bus hence there is not autodetect mecanism
inside the driver that can possibly corrupt the EISA board since

The -i and -p switches are needed because the system has also EISA
boards,
so I cannot trust auto-detect. The -l switch is used because logical
network
#1 is used as a QNX net on a serial connection.

I get the followoing error from ifconfig (/usr/ucb/ifconfig en2 xd1
up):
ifconfig: ioctl (SIOCFIFFLAGS): no such interface

The screen output when the driver comes up is:

Speedo : 82559 A/B Step
Vendor........................0x8086
Device.........................0x1229
SubSystemID...............0x000c
SubVendor...................0x8086
Interrupt......................0x5
MAC Address...............000bab 001b0f

The driver version (from sin ver) is: 4.25G Feb 17 2000

Although ifconfig does not recognize interface en2, netmap does
recognize
the second logical network, as seen in the output:

# Logical Lan Physical Tx Count Last TX
Fail
Time
1 1 000000 000001 ; 0
1 2 000BAB 001B0F ; 0
2 1 000000 000002 ; 33

Does anyone know What am I doing wrong? What is the correct
initialization
of the driver?

The way you start the driver is ok (although I wouldn't use any irq or
address setting since this may change if the board is installed in a
different slot). If you run sin, is the driver there? If it is
it's
most probably a TCP issue. Could you post the content of your sysinit.

Is the driver for the first card running( 00000 000001 is an odd address
;-) ) on lan 1. I don't think the number of en? is related to QNX lan
number. Hence if you are running one driver even if it's on lan 2 it
will
be named en1 by the stack.

- Mario


Danny Gera
Orbotech LTD.






Hugh Brown

Re: Failed to Use Net.ether82557

Post by Hugh Brown » Mon Nov 17, 2003 1:45 pm

Have you tried using the -V and -D command line arguments to the driver to
specifiy the Vendor and Device IDs? Run show_pci to get these values first.

"Danny Gera" <danny-g@orbotech.com> wrote in message
news:botjtv$4qc$1@inn.qnx.com...
We are using a 3com net adapter and want to move to using on-board support
of PCA-6178, which consists of Intel 82559 chipset. I tried to initialize
the Net.ether82557 with the command (in sysinit.1):
Net.ether82557 -i 5 -v -p 0x240 -l 2 &

The -i and -p switches are needed because the system has also EISA boards,
so I cannot trust auto-detect. The -l switch is used because logical
network
#1 is used as a QNX net on a serial connection.

I get the followoing error from ifconfig (/usr/ucb/ifconfig en2 xd1 up):
ifconfig: ioctl (SIOCFIFFLAGS): no such interface

The screen output when the driver comes up is:

Speedo : 82559 A/B Step
Vendor........................0x8086
Device.........................0x1229
SubSystemID...............0x000c
SubVendor...................0x8086
Interrupt......................0x5
MAC Address...............000bab 001b0f

The driver version (from sin ver) is: 4.25G Feb 17 2000

Although ifconfig does not recognize interface en2, netmap does recognize
the second logical network, as seen in the output:

# Logical Lan Physical Tx Count Last TX Fail
Time
1 1 000000 000001 ; 0
1 2 000BAB 001B0F ; 0
2 1 000000 000002 ; 33

Does anyone know What am I doing wrong? What is the correct initialization
of the driver?

Danny Gera
Orbotech LTD.

Danny Gera

Re: Failed to Use Net.ether82557

Post by Danny Gera » Mon Nov 17, 2003 5:46 pm

The output files for the "show_pci -v" and "netinfo -l" commands are
attached. Please let me know what information can be learnt from them.

If irqs and addresses are assigned by PCI BIOS, than I might need to ask the
board vendor how to pre-configure the board, if this is possible. I will do
that also. Your insights about the commands output should be helpful in this
regards as well.

Thanks for your help

Danny

"Mario Charest" <postmaster@127.0.0.1> wrote in message
news:bp0pdl$cl8$1@inn.qnx.com...
"Danny Gera" <danny-g@orbotech.com> wrote in message
news:bp0eai$5e8$1@inn.qnx.com...
I am not worried about corrupting the EISA board, but about the
autodetect
taking irqs and addresses that are used by the EISA board. We have such
an
experience with other boards.

Well irqs and addresses are assigned by PCI BIOS. Proving info via
command
line doesn't assigned resources it just forces the driver to use the
setting
you want instead of the one specified by the PCI BIOS. It doesn't prevent
conflict since the board was already assigned resources even before QNX
starts.

You might have missinterpreted your pass observations ;-)


I do see the driver when I run sin (That's how I got the version).
My sysinit file is attached.

The first LAN is a QNX network to a second QNX node, using the Net.fd
driver.

I tried also using en1 interface in the ifconfig (Although my current
3Com
network board works with en2), and there was no error, but there was no
TCP
communication either (ping fails).

Does this information gives any ideas?

Can you post the output of show_pci -v and netinfo -l


Danny

"Mario Charest" <postmaster@127.0.0.1> wrote in message
news:botoib$7tu$1@inn.qnx.com...

"Danny Gera" <danny-g@orbotech.com> wrote in message
news:botjtv$4qc$1@inn.qnx.com...
We are using a 3com net adapter and want to move to using on-board
support
of PCA-6178, which consists of Intel 82559 chipset. I tried to
initialize
the Net.ether82557 with the command (in sysinit.1):
Net.ether82557 -i 5 -v -p 0x240 -l 2 &

82557 is installed on a PCI bus hence there is not autodetect mecanism
inside the driver that can possibly corrupt the EISA board since

The -i and -p switches are needed because the system has also EISA
boards,
so I cannot trust auto-detect. The -l switch is used because logical
network
#1 is used as a QNX net on a serial connection.

I get the followoing error from ifconfig (/usr/ucb/ifconfig en2 xd1
up):
ifconfig: ioctl (SIOCFIFFLAGS): no such interface

The screen output when the driver comes up is:

Speedo : 82559 A/B Step
Vendor........................0x8086
Device.........................0x1229
SubSystemID...............0x000c
SubVendor...................0x8086
Interrupt......................0x5
MAC Address...............000bab 001b0f

The driver version (from sin ver) is: 4.25G Feb 17 2000

Although ifconfig does not recognize interface en2, netmap does
recognize
the second logical network, as seen in the output:

# Logical Lan Physical Tx Count Last TX
Fail
Time
1 1 000000 000001 ; 0
1 2 000BAB 001B0F ; 0
2 1 000000 000002 ; 33

Does anyone know What am I doing wrong? What is the correct
initialization
of the driver?

The way you start the driver is ok (although I wouldn't use any irq or
address setting since this may change if the board is installed in a
different slot). If you run sin, is the driver there? If it is
it's
most probably a TCP issue. Could you post the content of your
sysinit.

Is the driver for the first card running( 00000 000001 is an odd
address
;-) ) on lan 1. I don't think the number of en? is related to QNX lan
number. Hence if you are running one driver even if it's on lan 2 it
will
be named en1 by the stack.

- Mario


Danny Gera
Orbotech LTD.








Hugh Brown

Re: Failed to Use Net.ether82557

Post by Hugh Brown » Mon Nov 17, 2003 6:09 pm

I don't see any attachments.

"Danny Gera" <danny-g@orbotech.com> wrote in message
news:bpb0be$fjt$1@inn.qnx.com...
The output files for the "show_pci -v" and "netinfo -l" commands are
attached. Please let me know what information can be learnt from them.

If irqs and addresses are assigned by PCI BIOS, than I might need to ask
the
board vendor how to pre-configure the board, if this is possible. I will
do
that also. Your insights about the commands output should be helpful in
this
regards as well.

Thanks for your help

Danny

"Mario Charest" <postmaster@127.0.0.1> wrote in message
news:bp0pdl$cl8$1@inn.qnx.com...

"Danny Gera" <danny-g@orbotech.com> wrote in message
news:bp0eai$5e8$1@inn.qnx.com...
I am not worried about corrupting the EISA board, but about the
autodetect
taking irqs and addresses that are used by the EISA board. We have
such
an
experience with other boards.

Well irqs and addresses are assigned by PCI BIOS. Proving info via
command
line doesn't assigned resources it just forces the driver to use the
setting
you want instead of the one specified by the PCI BIOS. It doesn't
prevent
conflict since the board was already assigned resources even before QNX
starts.

You might have missinterpreted your pass observations ;-)


I do see the driver when I run sin (That's how I got the version).
My sysinit file is attached.

The first LAN is a QNX network to a second QNX node, using the Net.fd
driver.

I tried also using en1 interface in the ifconfig (Although my current
3Com
network board works with en2), and there was no error, but there was
no
TCP
communication either (ping fails).

Does this information gives any ideas?

Can you post the output of show_pci -v and netinfo -l


Danny

"Mario Charest" <postmaster@127.0.0.1> wrote in message
news:botoib$7tu$1@inn.qnx.com...

"Danny Gera" <danny-g@orbotech.com> wrote in message
news:botjtv$4qc$1@inn.qnx.com...
We are using a 3com net adapter and want to move to using on-board
support
of PCA-6178, which consists of Intel 82559 chipset. I tried to
initialize
the Net.ether82557 with the command (in sysinit.1):
Net.ether82557 -i 5 -v -p 0x240 -l 2 &

82557 is installed on a PCI bus hence there is not autodetect
mecanism
inside the driver that can possibly corrupt the EISA board since

The -i and -p switches are needed because the system has also EISA
boards,
so I cannot trust auto-detect. The -l switch is used because
logical
network
#1 is used as a QNX net on a serial connection.

I get the followoing error from ifconfig (/usr/ucb/ifconfig en2
xd1
up):
ifconfig: ioctl (SIOCFIFFLAGS): no such interface

The screen output when the driver comes up is:

Speedo : 82559 A/B Step
Vendor........................0x8086
Device.........................0x1229
SubSystemID...............0x000c
SubVendor...................0x8086
Interrupt......................0x5
MAC Address...............000bab 001b0f

The driver version (from sin ver) is: 4.25G Feb 17 2000

Although ifconfig does not recognize interface en2, netmap does
recognize
the second logical network, as seen in the output:

# Logical Lan Physical Tx Count Last TX
Fail
Time
1 1 000000 000001 ; 0
1 2 000BAB 001B0F ; 0
2 1 000000 000002 ; 33

Does anyone know What am I doing wrong? What is the correct
initialization
of the driver?

The way you start the driver is ok (although I wouldn't use any irq
or
address setting since this may change if the board is installed in a
different slot). If you run sin, is the driver there? If it is
it's
most probably a TCP issue. Could you post the content of your
sysinit.

Is the driver for the first card running( 00000 000001 is an odd
address
;-) ) on lan 1. I don't think the number of en? is related to QNX
lan
number. Hence if you are running one driver even if it's on lan 2
it
will
be named en1 by the stack.

- Mario


Danny Gera
Orbotech LTD.










Danny Gera

Re: Failed to Use Net.ether82557

Post by Danny Gera » Tue Nov 18, 2003 3:32 pm

Sorry, I forgot to add the files after writing the message. They're attached
here.


"Hugh Brown" <hsbrown@qnx.com> wrote in message
news:bpb177$g79$1@inn.qnx.com...
I don't see any attachments.

"Danny Gera" <danny-g@orbotech.com> wrote in message
news:bpb0be$fjt$1@inn.qnx.com...
The output files for the "show_pci -v" and "netinfo -l" commands are
attached. Please let me know what information can be learnt from them.

If irqs and addresses are assigned by PCI BIOS, than I might need to ask
the
board vendor how to pre-configure the board, if this is possible. I will
do
that also. Your insights about the commands output should be helpful in
this
regards as well.

Thanks for your help

Danny

"Mario Charest" <postmaster@127.0.0.1> wrote in message
news:bp0pdl$cl8$1@inn.qnx.com...

"Danny Gera" <danny-g@orbotech.com> wrote in message
news:bp0eai$5e8$1@inn.qnx.com...
I am not worried about corrupting the EISA board, but about the
autodetect
taking irqs and addresses that are used by the EISA board. We have
such
an
experience with other boards.

Well irqs and addresses are assigned by PCI BIOS. Proving info via
command
line doesn't assigned resources it just forces the driver to use the
setting
you want instead of the one specified by the PCI BIOS. It doesn't
prevent
conflict since the board was already assigned resources even before
QNX
starts.

You might have missinterpreted your pass observations ;-)


I do see the driver when I run sin (That's how I got the version).
My sysinit file is attached.

The first LAN is a QNX network to a second QNX node, using the
Net.fd
driver.

I tried also using en1 interface in the ifconfig (Although my
current
3Com
network board works with en2), and there was no error, but there was
no
TCP
communication either (ping fails).

Does this information gives any ideas?

Can you post the output of show_pci -v and netinfo -l


Danny

"Mario Charest" <postmaster@127.0.0.1> wrote in message
news:botoib$7tu$1@inn.qnx.com...

"Danny Gera" <danny-g@orbotech.com> wrote in message
news:botjtv$4qc$1@inn.qnx.com...
We are using a 3com net adapter and want to move to using
on-board
support
of PCA-6178, which consists of Intel 82559 chipset. I tried to
initialize
the Net.ether82557 with the command (in sysinit.1):
Net.ether82557 -i 5 -v -p 0x240 -l 2 &

82557 is installed on a PCI bus hence there is not autodetect
mecanism
inside the driver that can possibly corrupt the EISA board since

The -i and -p switches are needed because the system has also
EISA
boards,
so I cannot trust auto-detect. The -l switch is used because
logical
network
#1 is used as a QNX net on a serial connection.

I get the followoing error from ifconfig (/usr/ucb/ifconfig en2
xd1
up):
ifconfig: ioctl (SIOCFIFFLAGS): no such interface

The screen output when the driver comes up is:

Speedo : 82559 A/B Step
Vendor........................0x8086
Device.........................0x1229
SubSystemID...............0x000c
SubVendor...................0x8086
Interrupt......................0x5
MAC Address...............000bab 001b0f

The driver version (from sin ver) is: 4.25G Feb 17 2000

Although ifconfig does not recognize interface en2, netmap does
recognize
the second logical network, as seen in the output:

# Logical Lan Physical Tx Count Last
TX
Fail
Time
1 1 000000 000001 ; 0
1 2 000BAB 001B0F ; 0
2 1 000000 000002 ; 33

Does anyone know What am I doing wrong? What is the correct
initialization
of the driver?

The way you start the driver is ok (although I wouldn't use any
irq
or
address setting since this may change if the board is installed in
a
different slot). If you run sin, is the driver there? If it
is
it's
most probably a TCP issue. Could you post the content of your
sysinit.

Is the driver for the first card running( 00000 000001 is an odd
address
;-) ) on lan 1. I don't think the number of en? is related to QNX
lan
number. Hence if you are running one driver even if it's on lan 2
it
will
be named en1 by the stack.

- Mario


Danny Gera
Orbotech LTD.












begin 666 show_pci.txt
M"E!#22!V97)S:6]N(" @(#T@,BXQ, H*5F5N9&]R($E$(" @(" @/2 X,#@V
M:"P@24Y414P@0T]24$]2051)3TX*1&5V:6-E($E$(" @(" @/2 W,3DP:"P@
M"E!#22!I;F1E>" @(" @(#T@,&@*0VQA<W,@0V]D92 @(" @/2 P-C P,#!H
M($)R:61G92 H2&]S="]00TDI(%!R;V=)1CTP"E)E=FES:6]N($E$(" @(#T@
M,V@*0G5S(&YU;6)E<B @(" @/2 P"D1E=FEC92!N=6UB97(@(#T@, I&=6YC
M=&EO;B!N=6T@(" ](# *4W1A='5S(%)E9R @(" @/2 R,C$P: I#;VUM86YD
M(%)E9R @(" ](#9H"DAE861E<B!T>7!E(" @(#T@,&@@4VEN9VQE+69U;F-T
M:6]N"D))4U0@(" @(" @(" @(#T@,&@@0G5I;&0M:6XM<V5L9BUT97-T(&YO
M="!S=7!P;W)T960*3&%T96YC>2!4:6UE<B @/2 R,&@*0V%C:&4@3&EN92!3
M:7IE/2 P:" *0F%S92!!9&1R97-S(" @/2!-14U 9# P,# P,#!H+%!R969E
M=&-H86)L92PS,F)I="!L96YG=&@@-C<Q,#@X-C0*36%X($QA=" @(" @(" @
M/2 P;G,*36EN($=N=" @(" @(" @/2 P;G,*4$-)($EN="!0:6X@(" @/2 P
M"E!#22!);G0@4&EN(" @(#T@3D,*26YT97)R=7!T(&QI;F4@/2 P"@I696YD
M;W(@240@(" @(" ](#@P.#9H+"!)3E1%3"!#3U)03U)!5$E/3@I$979I8V4@
M240@(" @(" ](#<Q.3%H+" *4$-)(&EN9&5X(" @(" @/2 P: I#;&%S<R!#
M;V1E(" @(" ](# V,#0P,&@@0G)I9&=E("A00TDO4$-)*2!0<F]G248], I2
M979I<VEO;B!)1" @(" ](#-H"D)U<R!N=6UB97(@(" @(#T@, I$979I8V4@
M;G5M8F5R(" ](#$*1G5N8W1I;VX@;G5M(" @/2 P"E-T871U<R!296<@(" @
M(#T@,C(P: I#;VUM86YD(%)E9R @(" ](#$P-V@*2&5A9&5R('1Y<&4@(" @
M/2 Q:"!3:6YG;&4M9G5N8W1I;VX*0DE35" @(" @(" @(" @/2 P:"!"=6EL
M9"UI;BUS96QF+71E<W0@;F]T('-U<'!O<G1E9 I,871E;F-Y(%1I;65R(" ]
M(#0P: I#86-H92!,:6YE(%-I>F4](#!H( I0<FEM87)Y($)U<R!.=6UB97(@
M(" @(" @/2 P: I396-O;F1A<GD@0G5S($YU;6)E<B @(" @/2 Q: I3=6)O
M<F1I;F%T92!"=7,@3G5M8F5R(" @/2 Q: I396-O;F1A<GD@3&%T96YC>2!4
M:6UE<B @/2 R,&@*22]/($)A<V4@(" @(" @(" @(" @(" @(#T@9#!H"DDO
M3R!,:6UI=" @(" @(" @(" @(" @(" ](&0P: I396-O;F1A<GD@4W1A='5S
M(" @(" @(" @/2 R,F$P: I-96UO<GD@0F%S92 @(" @(" @(" @(" @/2!D
M-# P: I-96UO<GD@3&EM:70@(" @(" @(" @(" @/2!D-V8P: I0<F5F971C
M:&%B;&4@365M;W)Y($)A<V4@/2!F9F8P: I0<F5F971C:&%B;&4@365M;W)Y
M($QI;6ET/2 P: I0<F5F971C:&%B;&4@0F%S92!5<'!E<B S,B!":71S(" ]
M(#!H"E!R969E=&-H86)L92!,:6UI="!5<'!E<B S,B!":71S(#T@,&@*22]/
M($)A<V4@57!P97(@,38@0FET<R @(#T@,&@*22]/($QI;6ET(%5P<&5R(#$V
M($)I=',@(#T@,&@*0G)I9&=E($-O;G1R;VP@(" @(" @(" @(#T@,&YS"E!#
M22!);G0@4&EN(" @(" @(" @(" @(" ](# *4$-)($EN="!0:6X@(" @(" @
M(" @(" @(#T@3D,*26YT97)R=7!T(&QI;F4@(" @(" @(" @(#T@, H*"E9E
M;F1O<B!)1" @(" @(#T@.# X-F@L($E.5$5,($-/4E!/4D%424]."D1E=FEC
M92!)1" @(" @(#T@-S$Q,&@L( I00TD@:6YD97@@(" @(" ](#!H"D-L87-S
M($-O9&4@(" @(#T@,#8P,3 P:"!"<FED9V4@*%!#22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(" @(#T@,&YS
M"E!#22!);G0@4&EN(" @(#T@, I00TD@26YT(%!I;B @(" ]($Y#"DEN=&5R
M<G5P="!L:6YE(#T@, H*5F5N9&]R($E$(" @(" @/2 X,#@V:"P@24Y414P@
M0T]24$]2051)3TX*1&5V:6-E($E$(" @(" @/2 W,3$R:"P@"E!#22!I;F1E
M>" @(" @(#T@,&@*0VQA<W,@0V]D92 @(" @/2 P8S S,#!H(%-E<FEA;"!"
M=7,@*%5N:79E<G-A;"!397)I86P@0G5S*2!0<F]G248], I2979I<VEO;B!)
M1" @(" ](#%H"D)U<R!N=6UB97(@(" @(#T@, I$979I8V4@;G5M8F5R(" ]
M(#<*1G5N8W1I;VX@;G5M(" @/2 R"E-T871U<R!296<@(" @(#T@,C@P: I#
M;VUM86YD(%)E9R @(" ](#5H"DAE861E<B!T>7!E(" @(#T@,&@@4VEN9VQE
M+69U;F-T:6]N"D))4U0@(" @(" @(" @(#T@,&@@0G5I;&0M:6XM<V5L9BUT
M97-T(&YO="!S=7!P;W)T960*3&%T96YC>2!4:6UE<B @/2 R,&@*0V%C:&4@
M3&EN92!3:7IE/2 P:" *($E/0&4P,#!H(&QE;F=T:" S,B!B>71E<PI-87@@
M3&%T(" @(" @(" ](#!N<PI-:6X@1VYT(" @(" @(" ](#!N<PI00TD@26YT
M(%!I;B @(" ](#0*4$-)($EN="!0:6X@(" @/2!)3E0@1 I);G1E<G)U<'0@
M;&EN92 ](&YO(&-O;FYE8W1I;VX*"E9E;F1O<B!)1" @(" @(#T@.# X-F@L
M($E.5$5,($-/4E!/4D%424]."D1E=FEC92!)1" @(" @(#T@-S$Q,V@L( I0
M0TD@:6YD97@@(" @(" ](#!H"D-L87-S($-O9&4@(" @(#T@,#8X,# P:"!"
M<FED9V4@*$]T:&5R(#$R."D@4')O9TE&/3 *4F5V:7-I;VX@240@(" @/2 R
M: I"=7,@;G5M8F5R(" @(" ](# *1&5V:6-E(&YU;6)E<B @/2 W"D9U;F-T
M:6]N(&YU;2 @(#T@,PI3=&%T=7,@4F5G(" @(" ](#(X,&@*0V]M;6%N9"!2
M96<@(" @/2 S: I(96%D97(@='EP92 @(" ](#!H(%-I;F=L92UF=6YC=&EO
M;@I"25-4(" @(" @(" @(" ](#!H($)U:6QD+6EN+7-E;&8M=&5S="!N;W0@
M<W5P<&]R=&5D"DQA=&5N8WD@5&EM97(@(#T@,&@*0V%C:&4@3&EN92!3:7IE
M/2 P:" *"DUA>"!,870@(" @(" @(#T@,&YS"DUI;B!';G0@(" @(" @(#T@
M,&YS"E!#22!);G0@4&EN(" @(#T@, I00TD@26YT(%!I;B @(" ]($Y#"DEN
M=&5R<G5P="!L:6YE(#T@, H*5F5N9&]R($E$(" @(" @/2 X,#@V:"P@24Y4
M14P@0T]24$]2051)3TX*1&5V:6-E($E$(" @(" @/2 Q,C(Y:"P@.#(U-3<O
M."!%=&AE<FYE="!!9&%P=&5R"E!#22!I;F1E>" @(" @(#T@,&@*0VQA<W,@
M0V]D92 @(" @/2 P,C P,#!H($YE='=O<FL@*$5T:&5R;F5T*2!0<F]G248]
M, I2979I<VEO;B!)1" @(" ](#AH"D)U<R!N=6UB97(@(" @(#T@, I$979I
M8V4@;G5M8F5R(" ](#$P"D9U;F-T:6]N(&YU;2 @(#T@, I3=&%T=7,@4F5G
M(" @(" ](#(Y,&@*0V]M;6%N9"!296<@(" @/2 W: I(96%D97(@='EP92 @
M(" ](#!H(%-I;F=L92UF=6YC=&EO;@I"25-4(" @(" @(" @(" ](#!H($)U
M:6QD+6EN+7-E;&8M=&5S="!N;W0@<W5P<&]R=&5D"DQA=&5N8WD@5&EM97(@
M(#T@-#!H"D-A8VAE($QI;F4@4VEZ93T@,3!H('5N+6-A8VAE86)L90I"87-E
M($%D9')E<W,@(" ]($U%34!D.3$P,# P,&@L,S)B:70@;&5N9W1H(#0P.38@
M24] 930P,&@@;&5N9W1H(#8T(&)Y=&5S($U%34!D.3 P,# P,&@L,S)B:70@
M;&5N9W1H(#$P-#@U-S8*4W5B<WES=&5M(%9E;F1O<B!)1" ](#@P.#9H"E-U
M8G-Y<W1E;2!)1" @(" @(" @/2!C: I-87@@3&%T(" @(" @(" ](#4V;G,*
M36EN($=N=" @(" @(" @/2 X;G,*4$-)($EN="!0:6X@(" @/2 Q"E!#22!)
M;G0@4&EN(" @(#T@24Y4($$*26YT97)R=7!T(&QI;F4@/2!N;R!C;VYN96-T
M:6]N"@I696YD;W(@240@(" @(" ](#$P,#)H+"!!5$D@5$5#2$Y/3$]'2453
M($E.0PI$979I8V4@240@(" @(" ](#0W-&1H+" *4$-)(&EN9&5X(" @(" @
M/2 P: I#;&%S<R!#;V1E(" @(" ](# S,# P,&@@1&ES<&QA>2 H5D=!*2!0
M<F]G248], I2979I<VEO;B!)1" @(" ](#(W: I"=7,@;G5M8F5R(" @(" ]
M(#$*1&5V:6-E(&YU;6)E<B @/2 P"D9U;F-T:6]N(&YU;2 @(#T@, I3=&%T
M=7,@4F5G(" @(" ](#(Y,&@*0V]M;6%N9"!296<@(" @/2 X-V@*2&5A9&5R
M('1Y<&4@(" @/2 P:"!3:6YG;&4M9G5N8W1I;VX*0DE35" @(" @(" @(" @
M/2 P:"!"=6EL9"UI;BUS96QF+71E<W0@;F]T('-U<'!O<G1E9 I,871E;F-Y
M(%1I;65R(" ](#(P: I#86-H92!,:6YE(%-I>F4](#AH('5N+6-A8VAE86)L
M90I"87-E($%D9')E<W,@(" ]($U%34!D-# P,# P,&@L,S)B:70@;&5N9W1H
M(#$V-S<W,C$V($E/0&0P,#!H(&QE;F=T:" R-38@8GET97,@345-0&0V,# P
M,# P:"PS,F)I="!L96YG=&@@-# Y-@I3=6)S>7-T96T@5F5N9&]R($E$(#T@
M,3 P,F@*4W5B<WES=&5M($E$(" @(" @(" ](#1H"DUA>"!,870@(" @(" @
M(#T@,&YS"DUI;B!';G0@(" @(" @(#T@.&YS"E!#22!);G0@4&EN(" @(#T@
M, I00TD@26YT(%!I;B @(" ]($Y#"DEN=&5R<G5P="!L:6YE(#T@;F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D%"(# P,4(P
M1@H@(" @365D:6$@4F%T92 N+BXN+BXN+BXN+BXN+BXN+BXN+BXN+B Q,#!-
M8B]S"B @("!-='4@+BXN+BXN+BXN+BXN+BXN+BXN+BXN+BXN+BXN+BXN(#$U
M,30*(" @($AA<F1W87)E($EN=&5R<G5P=" N+BXN+BXN+BXN+BXN+BX@-0H*
M(" @(%1O=&%L(%!A8VME=',@5'AD($]+("XN+BXN+BXN+BXN+BX@, H@(" @
M5&]T86P@4&%C:V5T<R!4>&0@0F%D("XN+BXN+BXN+BXN+B P"B @("!4>"!#
M;VQL:7-I;VX@17)R;W)S("XN+BXN+BXN+BXN+BXN(# *(" @(%1X($-O;&QI
M<VEO;B!%<G)O<G,@*&%B;W)T960I("XN+BX@, H@(" @0V%R<FEE<B!396YS
M92!,;W-T(&]N(%1X("XN+BXN+BXN+B P"B @("!&249/(%5N9&5R<G5N<R!$
M=7)I;F<@5'@@+BXN+BXN+BXN(# *(" @(%1X(&1E9F5R<F5D("XN+BXN+BXN
M+BXN+BXN+BXN+BXN+BX@, H@(" @3W5T(&]F(%=I;F1O=R!#;VQL:7-I;VYS
M("XN+BXN+BXN+B P"@H@(" @5&]T86P@4&%C:V5T<R!2>&0@3TL@+BXN+BXN
M+BXN+BXN+B P"B @("!4;W1A;"!2>"!%<G)O<G,@+BXN+BXN+BXN+BXN+BXN
M+BXN(# *(" @($9)1D\@3W9E<G)U;G,@1'5R:6YG(%)X("XN+BXN+BXN+BX@
M, H@(" @06QI9VYM96YT(&5R<F]R<R N+BXN+BXN+BXN+BXN+BXN+B P"B @
H("!#4D,@97)R;W)S("XN+BXN+BXN+BXN+BXN+BXN+BXN+BXN(# *"@``
`
end

Hugh Brown

Re: Failed to Use Net.ether82557

Post by Hugh Brown » Wed Nov 19, 2003 6:12 pm

From the show_pci output, I see that the ethernet chip displays
"no connection" for the interrupt line. Do you have PnP BIOS
turned on on this machine? If so, you should set it to off.

Previously, Danny Gera wrote in qdn.public.qnx4:
Sorry, I forgot to add the files after writing the message. They're attached
here.


"Hugh Brown" <hsbrown@qnx.com> wrote in message
news:bpb177$g79$1@inn.qnx.com...
I don't see any attachments.

"Danny Gera" <danny-g@orbotech.com> wrote in message
news:bpb0be$fjt$1@inn.qnx.com...
The output files for the "show_pci -v" and "netinfo -l" commands are
attached. Please let me know what information can be learnt from them.

If irqs and addresses are assigned by PCI BIOS, than I might need to ask
the
board vendor how to pre-configure the board, if this is possible. I will
do
that also. Your insights about the commands output should be helpful in
this
regards as well.

Thanks for your help

Danny

"Mario Charest" <postmaster@127.0.0.1> wrote in message
news:bp0pdl$cl8$1@inn.qnx.com...

"Danny Gera" <danny-g@orbotech.com> wrote in message
news:bp0eai$5e8$1@inn.qnx.com...
I am not worried about corrupting the EISA board, but about the
autodetect
taking irqs and addresses that are used by the EISA board. We have
such
an
experience with other boards.

Well irqs and addresses are assigned by PCI BIOS. Proving info via
command
line doesn't assigned resources it just forces the driver to use the
setting
you want instead of the one specified by the PCI BIOS. It doesn't
prevent
conflict since the board was already assigned resources even before
QNX
starts.

You might have missinterpreted your pass observations ;-)


I do see the driver when I run sin (That's how I got the version).
My sysinit file is attached.

The first LAN is a QNX network to a second QNX node, using the
Net.fd
driver.

I tried also using en1 interface in the ifconfig (Although my
current
3Com
network board works with en2), and there was no error, but there was
no
TCP
communication either (ping fails).

Does this information gives any ideas?

Can you post the output of show_pci -v and netinfo -l


Danny

"Mario Charest" <postmaster@127.0.0.1> wrote in message
news:botoib$7tu$1@inn.qnx.com...

"Danny Gera" <danny-g@orbotech.com> wrote in message
news:botjtv$4qc$1@inn.qnx.com...
We are using a 3com net adapter and want to move to using
on-board
support
of PCA-6178, which consists of Intel 82559 chipset. I tried to
initialize
the Net.ether82557 with the command (in sysinit.1):
Net.ether82557 -i 5 -v -p 0x240 -l 2 &

82557 is installed on a PCI bus hence there is not autodetect
mecanism
inside the driver that can possibly corrupt the EISA board since

The -i and -p switches are needed because the system has also
EISA
boards,
so I cannot trust auto-detect. The -l switch is used because
logical
network
#1 is used as a QNX net on a serial connection.

I get the followoing error from ifconfig (/usr/ucb/ifconfig en2
xd1
up):
ifconfig: ioctl (SIOCFIFFLAGS): no such interface

The screen output when the driver comes up is:

Speedo : 82559 A/B Step
Vendor........................0x8086
Device.........................0x1229
SubSystemID...............0x000c
SubVendor...................0x8086
Interrupt......................0x5
MAC Address...............000bab 001b0f

The driver version (from sin ver) is: 4.25G Feb 17 2000

Although ifconfig does not recognize interface en2, netmap does
recognize
the second logical network, as seen in the output:

# Logical Lan Physical Tx Count Last
TX
Fail
Time
1 1 000000 000001 ; 0
1 2 000BAB 001B0F ; 0
2 1 000000 000002 ; 33

Does anyone know What am I doing wrong? What is the correct
initialization
of the driver?

The way you start the driver is ok (although I wouldn't use any
irq
or
address setting since this may change if the board is installed in
a
different slot). If you run sin, is the driver there? If it
is
it's
most probably a TCP issue. Could you post the content of your
sysinit.

Is the driver for the first card running( 00000 000001 is an odd
address
;-) ) on lan 1. I don't think the number of en? is related to QNX
lan
number. Hence if you are running one driver even if it's on lan 2
it
will
be named en1 by the stack.

- Mario


Danny Gera
Orbotech LTD.












Danny Gera

Re: Failed to Use Net.ether82557

Post by Danny Gera » Mon Nov 24, 2003 5:27 pm

I modified the PnP BIOS setup (I still have conflicts with the EISA boards,
but I'll try to sort it with the board supplier). Now the show_pci output
(attached) says that the interrupt line is 11, but I still get the error in
ifconfig.
Any idea?

"Hugh Brown" <hsbrown@qnx.com> wrote in message
news:Voyager.031119131241.28715F@node90.ott.qnx.com...
From the show_pci output, I see that the ethernet chip displays
"no connection" for the interrupt line. Do you have PnP BIOS
turned on on this machine? If so, you should set it to off.

Previously, Danny Gera wrote in qdn.public.qnx4:
Sorry, I forgot to add the files after writing the message. They're
attached
here.


"Hugh Brown" <hsbrown@qnx.com> wrote in message
news:bpb177$g79$1@inn.qnx.com...
I don't see any attachments.

"Danny Gera" <danny-g@orbotech.com> wrote in message
news:bpb0be$fjt$1@inn.qnx.com...
The output files for the "show_pci -v" and "netinfo -l" commands are
attached. Please let me know what information can be learnt from
them.

If irqs and addresses are assigned by PCI BIOS, than I might need to
ask
the
board vendor how to pre-configure the board, if this is possible. I
will
do
that also. Your insights about the commands output should be helpful
in
this
regards as well.

Thanks for your help

Danny

"Mario Charest" <postmaster@127.0.0.1> wrote in message
news:bp0pdl$cl8$1@inn.qnx.com...

"Danny Gera" <danny-g@orbotech.com> wrote in message
news:bp0eai$5e8$1@inn.qnx.com...
I am not worried about corrupting the EISA board, but about the
autodetect
taking irqs and addresses that are used by the EISA board. We
have
such
an
experience with other boards.

Well irqs and addresses are assigned by PCI BIOS. Proving info
via
command
line doesn't assigned resources it just forces the driver to use
the
setting
you want instead of the one specified by the PCI BIOS. It doesn't
prevent
conflict since the board was already assigned resources even
before
QNX
starts.

You might have missinterpreted your pass observations ;-)


I do see the driver when I run sin (That's how I got the
version).
My sysinit file is attached.

The first LAN is a QNX network to a second QNX node, using the
Net.fd
driver.

I tried also using en1 interface in the ifconfig (Although my
current
3Com
network board works with en2), and there was no error, but there
was
no
TCP
communication either (ping fails).

Does this information gives any ideas?

Can you post the output of show_pci -v and netinfo -l


Danny

"Mario Charest" <postmaster@127.0.0.1> wrote in message
news:botoib$7tu$1@inn.qnx.com...

"Danny Gera" <danny-g@orbotech.com> wrote in message
news:botjtv$4qc$1@inn.qnx.com...
We are using a 3com net adapter and want to move to using
on-board
support
of PCA-6178, which consists of Intel 82559 chipset. I tried
to
initialize
the Net.ether82557 with the command (in sysinit.1):
Net.ether82557 -i 5 -v -p 0x240 -l 2 &

82557 is installed on a PCI bus hence there is not autodetect
mecanism
inside the driver that can possibly corrupt the EISA board
since

The -i and -p switches are needed because the system has
also
EISA
boards,
so I cannot trust auto-detect. The -l switch is used because
logical
network
#1 is used as a QNX net on a serial connection.

I get the followoing error from ifconfig (/usr/ucb/ifconfig
en2
xd1
up):
ifconfig: ioctl (SIOCFIFFLAGS): no such interface

The screen output when the driver comes up is:

Speedo : 82559 A/B Step
Vendor........................0x8086
Device.........................0x1229
SubSystemID...............0x000c
SubVendor...................0x8086
Interrupt......................0x5
MAC Address...............000bab 001b0f

The driver version (from sin ver) is: 4.25G Feb 17 2000

Although ifconfig does not recognize interface en2, netmap
does
recognize
the second logical network, as seen in the output:

# Logical Lan Physical Tx Count
Last
TX
Fail
Time
1 1 000000 000001 ; 0
1 2 000BAB 001B0F ; 0
2 1 000000 000002 ; 33

Does anyone know What am I doing wrong? What is the correct
initialization
of the driver?

The way you start the driver is ok (although I wouldn't use
any
irq
or
address setting since this may change if the board is
installed in
a
different slot). If you run sin, is the driver there? If
it
is
it's
most probably a TCP issue. Could you post the content of your
sysinit.

Is the driver for the first card running( 00000 000001 is an
odd
address
;-) ) on lan 1. I don't think the number of en? is related to
QNX
lan
number. Hence if you are running one driver even if it's on
lan 2
it
will
be named en1 by the stack.

- Mario


Danny Gera
Orbotech LTD.













begin 666 show_pci.txt
M"E!#22!V97)S:6]N(" @(#T@,BXQ, H*0VQA<W,@(" @(" @(" @/2!-87-S
M(%-T;W)A9V4@*$E$12D*5F5N9&]R($E$(" @(" @/2 X,#@V:"P@24Y414P@
M0T]24$]2051)3TX*1&5V:6-E($E$(" @(" @/2 W,3$Q:"P@"E!#22!I;F1E
M>" @(" @(#T@,&@*(" @(" @(" @(" @(" @("!)3R! (&8P,#!H( I00TD@
M26YT(%!I;B @(" ]($Y#"DEN=&5R<G5P="!L:6YE(#T@, H*0VQA<W,@(" @
M(" @(" @/2!.971W;W)K("A%=&AE<FYE="D*5F5N9&]R($E$(" @(" @/2 X
M,#@V:"P@24Y414P@0T]24$]2051)3TX*1&5V:6-E($E$(" @(" @/2 Q,C(Y
M:"P@.#(U-3<O."!%=&AE<FYE="!!9&%P=&5R"E!#22!I;F1E>" @(" @(#T@
M,&@*(" @(" @(" @(" @(" @("!-14T@0"!D.3$P,# P,&@@24\@0"!E-# P
M:"!-14T@0"!D.3 P,# P,&@@"E!#22!);G0@4&EN(" @(#T@24Y4($$*26YT
M97)R=7!T(&QI;F4@/2 Q,0H*0VQA<W,@(" @(" @(" @/2!$:7-P;&%Y("A6
M1T$I"E9E;F1O<B!)1" @(" @(#T@,3 P,F@L($%422!414-(3D],3T=)15,@
M24Y#"D1E=FEC92!)1" @(" @(#T@-#<T9&@L( I00TD@:6YD97@@(" @(" ]
M(#!H"B @(" @(" @(" @(" @(" @345-($ @9#0P,# P,#!H($E/($ @9# P
M,&@@345-($ @9#8P,# P,#!H( I00TD@26YT(%!I;B @(" ]($Y#"DEN=&5R
;<G5P="!L:6YE(#T@;F\@8V]N;F5C=&EO;@H*
`
end

Hugh Brown

Re: Failed to Use Net.ether82557

Post by Hugh Brown » Tue Nov 25, 2003 1:06 pm

Are you trying to ifconfig immediately after the driver has started? The
Net.ether82557 driver has to autonegotiate the link, which could take up to
3 seconds, so you have to have a sleep in your script after starting the
driver and before starting TCP/IP.

"Danny Gera" <danny-g@orbotech.com> wrote in message
news:bptds4$gfa$1@inn.qnx.com...
I modified the PnP BIOS setup (I still have conflicts with the EISA
boards,
but I'll try to sort it with the board supplier). Now the show_pci output
(attached) says that the interrupt line is 11, but I still get the error
in
ifconfig.
Any idea?

"Hugh Brown" <hsbrown@qnx.com> wrote in message
news:Voyager.031119131241.28715F@node90.ott.qnx.com...
From the show_pci output, I see that the ethernet chip displays
"no connection" for the interrupt line. Do you have PnP BIOS
turned on on this machine? If so, you should set it to off.

Previously, Danny Gera wrote in qdn.public.qnx4:
Sorry, I forgot to add the files after writing the message. They're
attached
here.


"Hugh Brown" <hsbrown@qnx.com> wrote in message
news:bpb177$g79$1@inn.qnx.com...
I don't see any attachments.

"Danny Gera" <danny-g@orbotech.com> wrote in message
news:bpb0be$fjt$1@inn.qnx.com...
The output files for the "show_pci -v" and "netinfo -l" commands
are
attached. Please let me know what information can be learnt from
them.

If irqs and addresses are assigned by PCI BIOS, than I might need
to
ask
the
board vendor how to pre-configure the board, if this is possible.
I
will
do
that also. Your insights about the commands output should be
helpful
in
this
regards as well.

Thanks for your help

Danny

"Mario Charest" <postmaster@127.0.0.1> wrote in message
news:bp0pdl$cl8$1@inn.qnx.com...

"Danny Gera" <danny-g@orbotech.com> wrote in message
news:bp0eai$5e8$1@inn.qnx.com...
I am not worried about corrupting the EISA board, but about
the
autodetect
taking irqs and addresses that are used by the EISA board. We
have
such
an
experience with other boards.

Well irqs and addresses are assigned by PCI BIOS. Proving info
via
command
line doesn't assigned resources it just forces the driver to use
the
setting
you want instead of the one specified by the PCI BIOS. It
doesn't
prevent
conflict since the board was already assigned resources even
before
QNX
starts.

You might have missinterpreted your pass observations ;-)


I do see the driver when I run sin (That's how I got the
version).
My sysinit file is attached.

The first LAN is a QNX network to a second QNX node, using the
Net.fd
driver.

I tried also using en1 interface in the ifconfig (Although my
current
3Com
network board works with en2), and there was no error, but
there
was
no
TCP
communication either (ping fails).

Does this information gives any ideas?

Can you post the output of show_pci -v and netinfo -l


Danny

"Mario Charest" <postmaster@127.0.0.1> wrote in message
news:botoib$7tu$1@inn.qnx.com...

"Danny Gera" <danny-g@orbotech.com> wrote in message
news:botjtv$4qc$1@inn.qnx.com...
We are using a 3com net adapter and want to move to using
on-board
support
of PCA-6178, which consists of Intel 82559 chipset. I
tried
to
initialize
the Net.ether82557 with the command (in sysinit.1):
Net.ether82557 -i 5 -v -p 0x240 -l 2 &

82557 is installed on a PCI bus hence there is not
autodetect
mecanism
inside the driver that can possibly corrupt the EISA board
since

The -i and -p switches are needed because the system has
also
EISA
boards,
so I cannot trust auto-detect. The -l switch is used
because
logical
network
#1 is used as a QNX net on a serial connection.

I get the followoing error from ifconfig
(/usr/ucb/ifconfig
en2
xd1
up):
ifconfig: ioctl (SIOCFIFFLAGS): no such interface

The screen output when the driver comes up is:

Speedo : 82559 A/B Step
Vendor........................0x8086
Device.........................0x1229
SubSystemID...............0x000c
SubVendor...................0x8086
Interrupt......................0x5
MAC Address...............000bab 001b0f

The driver version (from sin ver) is: 4.25G Feb 17
2000

Although ifconfig does not recognize interface en2, netmap
does
recognize
the second logical network, as seen in the output:

# Logical Lan Physical Tx Count
Last
TX
Fail
Time
1 1 000000 000001 ; 0
1 2 000BAB 001B0F ; 0
2 1 000000 000002 ; 33

Does anyone know What am I doing wrong? What is the
correct
initialization
of the driver?

The way you start the driver is ok (although I wouldn't use
any
irq
or
address setting since this may change if the board is
installed in
a
different slot). If you run sin, is the driver there?
If
it
is
it's
most probably a TCP issue. Could you post the content of
your
sysinit.

Is the driver for the first card running( 00000 000001 is an
odd
address
;-) ) on lan 1. I don't think the number of en? is related
to
QNX
lan
number. Hence if you are running one driver even if it's on
lan 2
it
will
be named en1 by the stack.

- Mario


Danny Gera
Orbotech LTD.
















Danny Gera

Re: Failed to Use Net.ether82557

Post by Danny Gera » Wed Dec 10, 2003 12:27 pm

Yes, the adding the sleep solved the problem. Thanks. It tool me some time
to test it because of system availability. Now it seems to work.
I had to alter BIOS definitions because of the ISA boards, and now I have
everything working.

Danny Gera

"Hugh Brown" <hsbrown@qnx.com> wrote in message
news:bpvjtl$2ov$1@nntp.qnx.com...
Are you trying to ifconfig immediately after the driver has started? The
Net.ether82557 driver has to autonegotiate the link, which could take up
to
3 seconds, so you have to have a sleep in your script after starting the
driver and before starting TCP/IP.

"Danny Gera" <danny-g@orbotech.com> wrote in message
news:bptds4$gfa$1@inn.qnx.com...
I modified the PnP BIOS setup (I still have conflicts with the EISA
boards,
but I'll try to sort it with the board supplier). Now the show_pci
output
(attached) says that the interrupt line is 11, but I still get the error
in
ifconfig.
Any idea?

"Hugh Brown" <hsbrown@qnx.com> wrote in message
news:Voyager.031119131241.28715F@node90.ott.qnx.com...
From the show_pci output, I see that the ethernet chip displays
"no connection" for the interrupt line. Do you have PnP BIOS
turned on on this machine? If so, you should set it to off.

Previously, Danny Gera wrote in qdn.public.qnx4:
Sorry, I forgot to add the files after writing the message. They're
attached
here.


"Hugh Brown" <hsbrown@qnx.com> wrote in message
news:bpb177$g79$1@inn.qnx.com...
I don't see any attachments.

"Danny Gera" <danny-g@orbotech.com> wrote in message
news:bpb0be$fjt$1@inn.qnx.com...
The output files for the "show_pci -v" and "netinfo -l" commands
are
attached. Please let me know what information can be learnt from
them.

If irqs and addresses are assigned by PCI BIOS, than I might
need
to
ask
the
board vendor how to pre-configure the board, if this is
possible.
I
will
do
that also. Your insights about the commands output should be
helpful
in
this
regards as well.

Thanks for your help

Danny

"Mario Charest" <postmaster@127.0.0.1> wrote in message
news:bp0pdl$cl8$1@inn.qnx.com...

"Danny Gera" <danny-g@orbotech.com> wrote in message
news:bp0eai$5e8$1@inn.qnx.com...
I am not worried about corrupting the EISA board, but about
the
autodetect
taking irqs and addresses that are used by the EISA board.
We
have
such
an
experience with other boards.

Well irqs and addresses are assigned by PCI BIOS. Proving
info
via
command
line doesn't assigned resources it just forces the driver to
use
the
setting
you want instead of the one specified by the PCI BIOS. It
doesn't
prevent
conflict since the board was already assigned resources even
before
QNX
starts.

You might have missinterpreted your pass observations ;-)


I do see the driver when I run sin (That's how I got the
version).
My sysinit file is attached.

The first LAN is a QNX network to a second QNX node, using
the
Net.fd
driver.

I tried also using en1 interface in the ifconfig (Although
my
current
3Com
network board works with en2), and there was no error, but
there
was
no
TCP
communication either (ping fails).

Does this information gives any ideas?

Can you post the output of show_pci -v and netinfo -l


Danny

"Mario Charest" <postmaster@127.0.0.1> wrote in message
news:botoib$7tu$1@inn.qnx.com...

"Danny Gera" <danny-g@orbotech.com> wrote in message
news:botjtv$4qc$1@inn.qnx.com...
We are using a 3com net adapter and want to move to
using
on-board
support
of PCA-6178, which consists of Intel 82559 chipset. I
tried
to
initialize
the Net.ether82557 with the command (in sysinit.1):
Net.ether82557 -i 5 -v -p 0x240 -l 2 &

82557 is installed on a PCI bus hence there is not
autodetect
mecanism
inside the driver that can possibly corrupt the EISA board
since

The -i and -p switches are needed because the system has
also
EISA
boards,
so I cannot trust auto-detect. The -l switch is used
because
logical
network
#1 is used as a QNX net on a serial connection.

I get the followoing error from ifconfig
(/usr/ucb/ifconfig
en2
xd1
up):
ifconfig: ioctl (SIOCFIFFLAGS): no such interface

The screen output when the driver comes up is:

Speedo : 82559 A/B Step
Vendor........................0x8086
Device.........................0x1229
SubSystemID...............0x000c
SubVendor...................0x8086
Interrupt......................0x5
MAC Address...............000bab 001b0f

The driver version (from sin ver) is: 4.25G Feb 17
2000

Although ifconfig does not recognize interface en2,
netmap
does
recognize
the second logical network, as seen in the output:

# Logical Lan Physical Tx Count
Last
TX
Fail
Time
1 1 000000 000001 ; 0
1 2 000BAB 001B0F ; 0
2 1 000000 000002 ; 33

Does anyone know What am I doing wrong? What is the
correct
initialization
of the driver?

The way you start the driver is ok (although I wouldn't
use
any
irq
or
address setting since this may change if the board is
installed in
a
different slot). If you run sin, is the driver there?
If
it
is
it's
most probably a TCP issue. Could you post the content of
your
sysinit.

Is the driver for the first card running( 00000 000001 is
an
odd
address
;-) ) on lan 1. I don't think the number of en? is
related
to
QNX
lan
number. Hence if you are running one driver even if it's
on
lan 2
it
will
be named en1 by the stack.

- Mario


Danny Gera
Orbotech LTD.


















Post Reply

Return to “qdn.public.qnx4”