Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - io-pkt mount double rtl839 is failure.: (18 Items)
   
io-pkt mount double rtl839 is failure.  
io-pkt mount double rtl839 is failure. 
              
                 Hi:

there are two rtl8139 net card in my board.

I can call io-pkt-hc mount frist card, but when mount second card, the calling is block at there.

when i run QNX6.5 direct on CD, everything is OK.

anybody can help me?

thanks.

dylan.
 
Re: io-pkt mount double rtl839 is failure.  
Re: io-pkt mount double rtl839 is failure. 
              
                 In my custom image , Net card init script is :

io-pkt-v4-hc -d rtl pci=0,vid=0x10ec,did=0x8139,irq=0xc
io-pkt-v4-hc -d rtl pci=1,vid=0x10ec,did=0x8139,irq=0xA

After call frist statement , use ifconfig set en0 ip address , spawn qconn ,I can connect target from host IDE .

after second call , target shell is blocking . I can ping target from host , but qconn is disconnected .


Please check attach picture . it is init process when booting by QNX CD.

thanks .

gaoyuan
 
Re: io-pkt mount double rtl839 is failure.  
Re: io-pkt mount double rtl839 is failure. 
              
                 I try again.
like this:

io-pkt-hc-v4 -ptcpip

mount -Tio-pkt -o pci=0,vid=0x10ec,did=0x8139,irq=0xf devn-rtl.so

//afer this call , en0 is ready and net connection is OK

mount -Tio-pkt -o pci=1,vid=0x10ec,did=0x8139,irq=0xb devn-rtl.so

same as befor ,system is Pending. 

I am desperated.

 
Re: io-pkt mount double rtl839 is failure.  
Have you tried using two instances of the networking stack as a
temporary workaround?

See the following documentation:

http://www.qnx.com/developers/docs/6.5.0/index.jsp?topic=/com.qnx.doc.neutrino_utilities/i/io-pkt.html

You are looking for option -i. You basically run two io-pkts one for
each driver.
Re: io-pkt mount double rtl839 is failure.  
Gervais Mulongoy wrote:
> Have you tried using two instances of the networking stack as a
> temporary workaround?

Hi,

how long is "temporary" ??

--Armin

>
> See the following documentation:
>
> http://www.qnx.com/developers/docs/6.5.0/index.jsp?topic=/com.qnx.doc.neutrino_utilities/i/io-pkt.html
>
> You are looking for option -i. You basically run two io-pkts one for
> each driver.
>
>
>
> _______________________________________________
>
> Networking Drivers
> http://community.qnx.com/sf/go/post91247
>
>
Re: io-pkt mount double rtl839 is failure.  
when I need two instances of io-pkt? 
every net card need a instance?

dylan

> Have you tried using two instances of the networking stack as a
> temporary workaround?
> 
> See the following documentation:
> 
> http://www.qnx.com/developers/docs/6.5.0/index.jsp?topic=/com.qnx.doc.
> neutrino_utilities/i/io-pkt.html
> 
> You are looking for option -i. You basically run two io-pkts one for
> each driver.


Re: io-pkt mount double rtl839 is failure.  
Hi,

when you run QNX6.5 directly from the CD it will start with "pci-bios" 
and w/o APIC/MSI support.
You have to expect esoteric problems when you use an SMP image which 
includes pci-bios-v2, APIC and MSI support.

This stuff is really in an ALPHA state !

We see this problem again and again together with frustrated customers.

Regards

--Armin



gao yuan wrote:
> io-pkt mount double rtl839 is failure.
>
>                   Hi:
>
> there are two rtl8139 net card in my board.
>
> I can call io-pkt-hc mount frist card, but when mount second card, the calling is block at there.
>
> when i run QNX6.5 direct on CD, everything is OK.
>
> anybody can help me?
>
> thanks.
>
> dylan.
>
>
>
>
>
> _______________________________________________
>
> Networking Drivers
> http://community.qnx.com/sf/go/post91237
>
>
Re: io-pkt mount double rtl839 is failure.  
Now How can I do?

dylan

> 
> Hi,
> 
> when you run QNX6.5 directly from the CD it will start with "pci-bios" 
> and w/o APIC/MSI support.
> You have to expect esoteric problems when you use an SMP image which 
> includes pci-bios-v2, APIC and MSI support.
> 
> This stuff is really in an ALPHA state !
> 
> We see this problem again and again together with frustrated customers.
> 
> Regards
> 
> --Armin
> 
> 
> 
> gao yuan wrote:
> > io-pkt mount double rtl839 is failure.
> >
> >                   Hi:
> >
> > there are two rtl8139 net card in my board.
> >
> > I can call io-pkt-hc mount frist card, but when mount second card, the 
> calling is block at there.
> >
> > when i run QNX6.5 direct on CD, everything is OK.
> >
> > anybody can help me?
> >
> > thanks.
> >
> > dylan.
> >
> >
> >
> >
> >
> > _______________________________________________
> >
> > Networking Drivers
> > http://community.qnx.com/sf/go/post91237
> >
> >


Re: io-pkt mount double rtl839 is failure.  
Dylan,

if you don't need to support many PCI devices create a boot image with 
the old pc-bios server and without APIC/MSI support.

--Armin



Now How can I do?

dylan

>
> Hi,
>
> when you run QNX6.5 directly from the CD it will start with "pci-bios"
> and w/o APIC/MSI support.
> You have to expect esoteric problems when you use an SMP image which
> includes pci-bios-v2, APIC and MSI support.
>
> This stuff is really in an ALPHA state !
>
> We see this problem again and again together with frustrated customers.
>
> Regards
>
> --Armin
>
>
>
> gao yuan wrote:
> > io-pkt mount double rtl839 is failure.
> >
> >                   Hi:
> >
> > there are two rtl8139 net card in my board.
> >
> > I can call io-pkt-hc mount frist card, but when mount second card, the
> calling is block at there.
> >
> > when i run QNX6.5 direct on CD, everything is OK.
> >
> > anybody can help me?
> >
> > thanks.
> >
> > dylan.
> >
> >
> >
> >
> >
> > _______________________________________________
> >
> > Networking Drivers
> > http://community.qnx.com/sf/go/post91237
> >
> >






_______________________________________________

Networking Drivers
http://community.qnx.com/sf/go/post91242
Re: io-pkt mount double rtl839 is failure.  
when i use startup-apci and pci-bios-v2
I can mount two devn-rtl.so, create en0 and en1, ifconfig both of them.
but unfortunately, net connection is disconnect ,qconn and ping is failure.



> Dylan,
> 
> if you don't need to support many PCI devices create a boot image with 
> the old pc-bios server and without APIC/MSI support.
> 
> --Armin
> 
> 
> 
> Now How can I do?
> 
> dylan
> 
> >
> > Hi,
> >
> > when you run QNX6.5 directly from the CD it will start with "pci-bios"
> > and w/o APIC/MSI support.
> > You have to expect esoteric problems when you use an SMP image which
> > includes pci-bios-v2, APIC and MSI support.
> >
> > This stuff is really in an ALPHA state !
> >
> > We see this problem again and again together with frustrated customers.
> >
> > Regards
> >
> > --Armin
> >
> >
> >
> > gao yuan wrote:
> > > io-pkt mount double rtl839 is failure.
> > >
> > >                   Hi:
> > >
> > > there are two rtl8139 net card in my board.
> > >
> > > I can call io-pkt-hc mount frist card, but when mount second card, the
> > calling is block at there.
> > >
> > > when i run QNX6.5 direct on CD, everything is OK.
> > >
> > > anybody can help me?
> > >
> > > thanks.
> > >
> > > dylan.
> > >
> > >
> > >
> > >
> > >
> > > _______________________________________________
> > >
> > > Networking Drivers
> > > http://community.qnx.com/sf/go/post91237
> > >
> > >
> 
> 
> 
> 
> 
> 
> _______________________________________________
> 
> Networking Drivers
> http://community.qnx.com/sf/go/post91242


Re: io-pkt mount double rtl839 is failure.  
Are you trying to assign both interfaces on the same subnet? What IP
addresses are you assigning to each interface?

-- 
Hugh Brown
QNX Software Systems Limited
1001 Farrar Rd.,
Ottawa. ON. K2K 0B3.
Telephone: 613-591-0931







On 12-01-31 8:04 PM, "gao yuan" <community-noreply@qnx.com> wrote:

>when i use startup-apci and pci-bios-v2
>I can mount two devn-rtl.so, create en0 and en1, ifconfig both of them.
>but unfortunately, net connection is disconnect ,qconn and ping is
>failure.
>
>
>
>> Dylan,
>> 
>> if you don't need to support many PCI devices create a boot image with
>> the old pc-bios server and without APIC/MSI support.
>> 
>> --Armin
>> 
>> 
>> 
>> Now How can I do?
>> 
>> dylan
>> 
>> >
>> > Hi,
>> >
>> > when you run QNX6.5 directly from the CD it will start with "pci-bios"
>> > and w/o APIC/MSI support.
>> > You have to expect esoteric problems when you use an SMP image which
>> > includes pci-bios-v2, APIC and MSI support.
>> >
>> > This stuff is really in an ALPHA state !
>> >
>> > We see this problem again and again together with frustrated
>>customers.
>> >
>> > Regards
>> >
>> > --Armin
>> >
>> >
>> >
>> > gao yuan wrote:
>> > > io-pkt mount double rtl839 is failure.
>> > >
>> > >                   Hi:
>> > >
>> > > there are two rtl8139 net card in my board.
>> > >
>> > > I can call io-pkt-hc mount frist card, but when mount second card,
>>the
>> > calling is block at there.
>> > >
>> > > when i run QNX6.5 direct on CD, everything is OK.
>> > >
>> > > anybody can help me?
>> > >
>> > > thanks.
>> > >
>> > > dylan.
>> > >
>> > >
>> > >
>> > >
>> > >
>> > > _______________________________________________
>> > >
>> > > Networking Drivers
>> > > http://community.qnx.com/sf/go/post91237
>> > >
>> > >
>> 
>> 
>> 
>> 
>> 
>> 
>> _______________________________________________
>> 
>> Networking Drivers
>> http://community.qnx.com/sf/go/post91242
>
>
>
>
>
>_______________________________________________
>
>Networking Drivers
>http://community.qnx.com/sf/go/post91267

Re: io-pkt mount double rtl839 is failure.  
my system will have three net card with pci interface,and a pci-pci-e bridge,and a pci slave device in FPGA.



> Dylan,
> 
> if you don't need to support many PCI devices create a boot image with 
> the old pc-bios server and without APIC/MSI support.
> 
> --Armin

Re: io-pkt mount double rtl839 is failure.  
OK ... then check which PCI devices are sharing its interrupt with other 
devices.
The PCI device which needs a minimum of interrupt latency shouln't share 
its interrupt.

--Armin

gao yuan wrote:
> my system will have three net card with pci interface,and a pci-pci-e bridge,and a pci slave device in FPGA.
>
>
>
>> Dylan,
>>
>> if you don't need to support many PCI devices create a boot image with
>> the old pc-bios server and without APIC/MSI support.
>>
>> --Armin
>
>
>
>
> _______________________________________________
>
> Networking Drivers
> http://community.qnx.com/sf/go/post91268
>
>
Re: io-pkt mount double rtl839 is failure.  
Can you explain detaily?

thanks.

Re: io-pkt mount double rtl839 is failure.  
I try mount two 8139 like this:

1.  io-pkt-v4-hc -ptcpip
2.  mount -Tio-pkt -opci=0,vid=0x10ec,did=0x8139 devn-rtl.so
3.  ifconfig en0 192.168.3.60
4.  qconn
5.  mount -Tio-pkt -opci=1,vid=0x10ec,did=0x8139 devn-rtl.so

now the shell is almost hang. when i type keyboard, i get severl input on screen shell.

I connect target from development host by qconn.
I can get io-pkt process information, the pic attached.

I can ping target .

From target filesystem navigation windows ,I can see en0 and en1 device in /dev/io-net/ directionary.



anybody can tell me the reason.

Attachment: Image IMG_20120207_094046.jpg 4.74 MB
Re: io-pkt mount double rtl839 is failure.  
Please try the following:

slay io-pkt-v4-hc dhcp.client inetd
io-pkt-v4-hc -drtl
ifconfig en0 .........

Does that work? If not, please post the output of 'pidin' and 'pidin irq'.

-- 
Hugh Brown
QNX Software Systems Limited
1001 Farrar Rd.,
Ottawa. ON. K2K 0B3.
Telephone: 613-591-0931







On 12-02-06 9:08 PM, "gao yuan" <community-noreply@qnx.com> wrote:

>I try mount two 8139 like this:
>
>1.  io-pkt-v4-hc -ptcpip
>2.  mount -Tio-pkt -opci=0,vid=0x10ec,did=0x8139 devn-rtl.so
>3.  ifconfig en0 192.168.3.60
>4.  qconn
>5.  mount -Tio-pkt -opci=1,vid=0x10ec,did=0x8139 devn-rtl.so
>
>now the shell is almost hang. when i type keyboard, i get severl input on
>screen shell.
>
>I connect target from development host by qconn.
>I can get io-pkt process information, the pic attached.
>
>I can ping target .
>
>From target filesystem navigation windows ,I can see en0 and en1 device
>in /dev/io-net/ directionary.
>
>
>
>anybody can tell me the reason.
>
>
>
>
>
>_______________________________________________
>
>Networking Drivers
>http://community.qnx.com/sf/go/post91367
Re: io-pkt mount double rtl839 is failure.  
can you explain detaily.
thanks.

> 
> Hi,
> 
> when you run QNX6.5 directly from the CD it will start with "pci-bios" 
> and w/o APIC/MSI support.
> You have to expect esoteric problems when you use an SMP image which 
> includes pci-bios-v2, APIC and MSI support.
> 
> This stuff is really in an ALPHA state !
> 
> We see this problem again and again together with frustrated customers.
> 
> Regards
> 
> --Armin
> 
> 
> 
> gao yuan wrote:
> > io-pkt mount double rtl839 is failure.
> >
> >                   Hi:
> >
> > there are two rtl8139 net card in my board.
> >
> > I can call io-pkt-hc mount frist card, but when mount second card, the 
> calling is block at there.
> >
> > when i run QNX6.5 direct on CD, everything is OK.
> >
> > anybody can help me?
> >
> > thanks.
> >
> > dylan.
> >
> >
> >
> >
> >
> > _______________________________________________
> >
> > Networking Drivers
> > http://community.qnx.com/sf/go/post91237
> >
> >


Re: io-pkt mount double rtl839 is failure.  
can you explain detaily.
thanks.

> 
> Hi,
> 
> when you run QNX6.5 directly from the CD it will start with "pci-bios" 
> and w/o APIC/MSI support.
> You have to expect esoteric problems when you use an SMP image which 
> includes pci-bios-v2, APIC and MSI support.
> 
> This stuff is really in an ALPHA state !
> 
> We see this problem again and again together with frustrated customers.
> 
> Regards
> 
> --Armin
> 
> 
> 
> gao yuan wrote:
> > io-pkt mount double rtl839 is failure.
> >
> >                   Hi:
> >
> > there are two rtl8139 net card in my board.
> >
> > I can call io-pkt-hc mount frist card, but when mount second card, the 
> calling is block at there.
> >
> > when i run QNX6.5 direct on CD, everything is OK.
> >
> > anybody can help me?
> >
> > thanks.
> >
> > dylan.
> >
> >
> >
> >
> >
> > _______________________________________________
> >
> > Networking Drivers
> > http://community.qnx.com/sf/go/post91237
> >
> >