Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - RTL8139D chipset supported?: (9 Items)
   
RTL8139D chipset supported?  
Hi,

I'm trying to make my Netgear FA311v2 PCI card (RTL8139D chipset) work
with QNX, without any success so far. Attached is the relevant PCI info
from the bootloader. Firstly & foremostly, is the device supported? 

I'm using the driver devn-rtl.so. I see interface "en0" getting created
and IP address assignment successfull. But ping does not return me
anything ...

Thanks,

Rajat 
Attachment: Text pci config space.txt 1.07 KB
RE: RTL8139D chipset supported?  
Yes, this device is supported. It sounds as though you might have an
interrupt problem. What platform are you running on?


-----Original Message-----
From: Rajat Jain [mailto:community-noreply@qnx.com] 
Sent: Monday, August 18, 2008 9:03 AM
To: drivers-networking
Subject: RTL8139D chipset supported?


Hi,

I'm trying to make my Netgear FA311v2 PCI card (RTL8139D chipset) work
with QNX, without any success so far. Attached is the relevant PCI info
from the bootloader. Firstly & foremostly, is the device supported? 

I'm using the driver devn-rtl.so. I see interface "en0" getting created
and IP address assignment successfull. But ping does not return me
anything ...

Thanks,

Rajat 


_______________________________________________
Networking Drivers
http://community.qnx.com/sf/go/post11934
RE: RTL8139D chipset supported?  
Hi Hugh,

Interrupt problem cannot be ruled out, as I am using this driver to test
the PCI server that I'm developing for the platform (MPC8313e). However,
if interrupt would be the problem, I think I should atleast see the
packets being transmitted on the wire (The Tx complete IRQ would never
arrive, but atleast the first few packates should be transmitted). 

Currently the scenario is that:

1) "en0" is successfully formed
2) I can see the correct HW MAC address displayed in ifconfig (thus the
device memory has been correctly mapped)
3) IP address assignment is successful.
4) But the LEDs on the card don't glow (cable is plugged in). Also LEDs
on the switch to which it is connected, are dead.
5) When I ping from QNX to an external IP, I expect to see an ARP packet
transmitted on wire, but nothing is transmitted.

How to debug this? I have verified by putting in debug prints that the
rtl_FindPHY() function returns success, after which I expect to atleast
see the phy correctly negotiating the speed etc and glow the LED. Also
the nicinfo shows "Link is down". Any help / pointers will be greatly
appreciated...

Thanks & Sincere Regards,

Rajat Jain


 

> -----Original Message-----
> From: Hugh Brown [mailto:community-noreply@qnx.com] 
> Sent: Monday, August 18, 2008 6:40 PM
> To: drivers-networking
> Subject: RE: RTL8139D chipset supported?
> 
> Yes, this device is supported. It sounds as though you might 
> have an interrupt problem. What platform are you running on?
> 
> 
> -----Original Message-----
> From: Rajat Jain [mailto:community-noreply@qnx.com]
> Sent: Monday, August 18, 2008 9:03 AM
> To: drivers-networking
> Subject: RTL8139D chipset supported?
> 
> 
> Hi,
> 
> I'm trying to make my Netgear FA311v2 PCI card (RTL8139D chipset) work
> with QNX, without any success so far. Attached is the 
> relevant PCI info
> from the bootloader. Firstly & foremostly, is the device supported? 
> 
> I'm using the driver devn-rtl.so. I see interface "en0" 
> getting created
> and IP address assignment successfull. But ping does not return me
> anything ...
> 
> Thanks,
> 
> Rajat 
> 
> 
> _______________________________________________
> Networking Drivers
> http://community.qnx.com/sf/go/post11934
> 
> _______________________________________________
> Networking Drivers
> http://community.qnx.com/sf/go/post11936
> 
> 
RE: RTL8139D chipset supported?  
Hi Rajat,

The first thing that I would check is to see whether you get lights on
the adapter and switch when you first power on the device. If you don't
get that, then check both your adapter and cable. If you do get the
lights at initial power on, then I would insert slogf's in the
rtl_MDIRead function to see that it is actually reading valid data from
the PHY. Without a link, you have no hope of transmitting or receiving
anything.

The strange thing is that you don't see anything in the nicinfo. If the
transmit routine was working correctly, you should at least see the
bytes transmitted count incrementing. Have you tried any other network
adapters?

Hugh.


-----Original Message-----
From: Rajat Jain [mailto:community-noreply@qnx.com] 
Sent: Tuesday, August 19, 2008 8:23 AM
To: drivers-networking
Subject: RE: RTL8139D chipset supported?


Hi Hugh,

Interrupt problem cannot be ruled out, as I am using this driver to test
the PCI server that I'm developing for the platform (MPC8313e). However,
if interrupt would be the problem, I think I should atleast see the
packets being transmitted on the wire (The Tx complete IRQ would never
arrive, but atleast the first few packates should be transmitted). 

Currently the scenario is that:

1) "en0" is successfully formed
2) I can see the correct HW MAC address displayed in ifconfig (thus the
device memory has been correctly mapped)
3) IP address assignment is successful.
4) But the LEDs on the card don't glow (cable is plugged in). Also LEDs
on the switch to which it is connected, are dead.
5) When I ping from QNX to an external IP, I expect to see an ARP packet
transmitted on wire, but nothing is transmitted.

How to debug this? I have verified by putting in debug prints that the
rtl_FindPHY() function returns success, after which I expect to atleast
see the phy correctly negotiating the speed etc and glow the LED. Also
the nicinfo shows "Link is down". Any help / pointers will be greatly
appreciated...

Thanks & Sincere Regards,

Rajat Jain


 

> -----Original Message-----
> From: Hugh Brown [mailto:community-noreply@qnx.com] 
> Sent: Monday, August 18, 2008 6:40 PM
> To: drivers-networking
> Subject: RE: RTL8139D chipset supported?
> 
> Yes, this device is supported. It sounds as though you might 
> have an interrupt problem. What platform are you running on?
> 
> 
> -----Original Message-----
> From: Rajat Jain [mailto:community-noreply@qnx.com]
> Sent: Monday, August 18, 2008 9:03 AM
> To: drivers-networking
> Subject: RTL8139D chipset supported?
> 
> 
> Hi,
> 
> I'm trying to make my Netgear FA311v2 PCI card (RTL8139D chipset) work
> with QNX, without any success so far. Attached is the 
> relevant PCI info
> from the bootloader. Firstly & foremostly, is the device supported? 
> 
> I'm using the driver devn-rtl.so. I see interface "en0" 
> getting created
> and IP address assignment successfull. But ping does not return me
> anything ...
> 
> Thanks,
> 
> Rajat 
> 
> 
> _______________________________________________
> Networking Drivers
> http://community.qnx.com/sf/go/post11934
> 
> _______________________________________________
> Networking Drivers
> http://community.qnx.com/sf/go/post11936
> 
> 

_______________________________________________
Networking Drivers
http://community.qnx.com/sf/go/post12003
RE: RTL8139D chipset supported?  

Hello Hugh,

Thanks for the reply. 

> 
> The first thing that I would check is to see whether you get
> lights on the adapter and switch when you first power on the
> device. If you don't get that, then check both your adapter
> and cable.

The LEDs (on both switch & the adapter) do not glow even once when I
reboot the board and boot QNX through u-boot. Ditto for Linux BSP that
comes with the board :-(

However, switch & cable are allright because if I pull out the cable and
plug it into an onboard ethernet port, they work fine (LEDs glowing).
Similarly the PCI adapter works fine on a Windows PC box.

What would you say if I told you that even the Linux BSP that came with
the board is showing similar behaviour? The device "eth2" gets created,
HW MAC address correctly detected, but LEDs doesn't glow. Ifconfig shows
Link as down. I'm not sure on how to debug this down.

Your idea of u-boot putting the device in Low-power mode looked likely,
but I checked in the capabilities of the card and found that it is in
the D0 state (Powered up) :-(. Any ideas?

> If you do get the lights at initial power on, then
> I would insert slogf's in the rtl_MDIRead function to see
> that it is actually reading valid data from the PHY. Without
> a link, you have no hope of transmitting or receiving anything.

LED is not glowing even once, so no point of doing this....

> 
> The strange thing is that you don't see anything in the
> nicinfo. If the transmit routine was working correctly, you
> should at least see the bytes transmitted count incrementing.

Oh, I do see Transmitted packets being incremented in nicinfo - as
attached. Does it help, or change anything? 

Thank You very much,

Rajat Jain


> 
> 
> -----Original Message-----
> From: Rajat Jain [mailto:community-noreply@qnx.com]
> Sent: Tuesday, August 19, 2008 8:23 AM
> To: drivers-networking
> Subject: RE: RTL8139D chipset supported?
> 
> 
> Hi Hugh,
> 
> Interrupt problem cannot be ruled out, as I am using this
> driver to test
> the PCI server that I'm developing for the platform (MPC8313e).
> However, if interrupt would be the problem, I think I should atleast
> see the packets being transmitted on the wire (The Tx complete IRQ
> would never arrive, but atleast the first few packates should be
> transmitted). 
> 
> Currently the scenario is that:
> 
> 1) "en0" is successfully formed
> 2) I can see the correct HW MAC address displayed in ifconfig (thus
> the device memory has been correctly mapped)
> 3) IP address assignment is successful.
> 4) But the LEDs on the card don't glow (cable is plugged in).
> Also LEDs
> on the switch to which it is connected, are dead.
> 5) When I ping from QNX to an external IP, I expect to see an
> ARP packet
> transmitted on wire, but nothing is transmitted.
> 
> How to debug this? I have verified by putting in debug prints that the
> rtl_FindPHY() function returns success, after which I expect
> to atleast
> see the phy correctly negotiating the speed etc and glow the LED. Also
> the nicinfo shows "Link is down". Any help / pointers will be greatly
> appreciated... 
> 
> Thanks & Sincere Regards,
> 
> Rajat Jain
> 
> 
> 
> 
>> -----Original Message-----
>> From: Hugh Brown [mailto:community-noreply@qnx.com]
>> Sent: Monday, August 18, 2008 6:40 PM
>> To: drivers-networking
>> Subject: RE: RTL8139D chipset supported?
>> 
>> Yes, this device is supported. It sounds as though you might
>> have an interrupt problem. What platform are you running on?
>> 
>> 
>> -----Original Message-----
>> From: Rajat Jain [mailto:community-noreply@qnx.com]
>> Sent: Monday, August 18, 2008 9:03 AM
>> To:...
View Full Message
Attachment: Text nicinfo.txt 1.43 KB
RE: RTL8139D chipset supported?  
Hi Rajat,

If the Linux BSP provided by Freescale does the same thing, then I think
that you should contact Freescale and find out from them what the
problem is. Not having looked at the hardware, I don't have any further
ideas.

Hugh.

-----Original Message-----
From: Rajat Jain [mailto:community-noreply@qnx.com] 
Sent: Wednesday, August 20, 2008 6:54 AM
To: drivers-networking
Subject: RE: RTL8139D chipset supported?



Hello Hugh,

Thanks for the reply. 

> 
> The first thing that I would check is to see whether you get
> lights on the adapter and switch when you first power on the
> device. If you don't get that, then check both your adapter
> and cable.

The LEDs (on both switch & the adapter) do not glow even once when I
reboot the board and boot QNX through u-boot. Ditto for Linux BSP that
comes with the board :-(

However, switch & cable are allright because if I pull out the cable and
plug it into an onboard ethernet port, they work fine (LEDs glowing).
Similarly the PCI adapter works fine on a Windows PC box.

What would you say if I told you that even the Linux BSP that came with
the board is showing similar behaviour? The device "eth2" gets created,
HW MAC address correctly detected, but LEDs doesn't glow. Ifconfig shows
Link as down. I'm not sure on how to debug this down.

Your idea of u-boot putting the device in Low-power mode looked likely,
but I checked in the capabilities of the card and found that it is in
the D0 state (Powered up) :-(. Any ideas?

> If you do get the lights at initial power on, then
> I would insert slogf's in the rtl_MDIRead function to see
> that it is actually reading valid data from the PHY. Without
> a link, you have no hope of transmitting or receiving anything.

LED is not glowing even once, so no point of doing this....

> 
> The strange thing is that you don't see anything in the
> nicinfo. If the transmit routine was working correctly, you
> should at least see the bytes transmitted count incrementing.

Oh, I do see Transmitted packets being incremented in nicinfo - as
attached. Does it help, or change anything? 

Thank You very much,

Rajat Jain


> 
> 
> -----Original Message-----
> From: Rajat Jain [mailto:community-noreply@qnx.com]
> Sent: Tuesday, August 19, 2008 8:23 AM
> To: drivers-networking
> Subject: RE: RTL8139D chipset supported?
> 
> 
> Hi Hugh,
> 
> Interrupt problem cannot be ruled out, as I am using this
> driver to test
> the PCI server that I'm developing for the platform (MPC8313e).
> However, if interrupt would be the problem, I think I should atleast
> see the packets being transmitted on the wire (The Tx complete IRQ
> would never arrive, but atleast the first few packates should be
> transmitted). 
> 
> Currently the scenario is that:
> 
> 1) "en0" is successfully formed
> 2) I can see the correct HW MAC address displayed in ifconfig (thus
> the device memory has been correctly mapped)
> 3) IP address assignment is successful.
> 4) But the LEDs on the card don't glow (cable is plugged in).
> Also LEDs
> on the switch to which it is connected, are dead.
> 5) When I ping from QNX to an external IP, I expect to see an
> ARP packet
> transmitted on wire, but nothing is transmitted.
> 
> How to debug this? I have verified by putting in debug prints that the
> rtl_FindPHY() function returns success, after which I expect
> to atleast
> see the phy correctly negotiating the speed etc and glow the LED. Also
> the nicinfo shows "Link is down". Any help / pointers will be greatly
> appreciated... 
> 
> Thanks & Sincere Regards,
> 
> Rajat Jain
> 
> 
> 
> 
>> -----Original Message-----
>> From: Hugh Brown [mailto:community-noreply@qnx.com]
>> Sent: Monday, August 18,...
View Full Message
RE: RTL8139D chipset supported?  
Thanks Hugh ... I will do that.

----Original Message----
From: Hugh Brown [mailto:community-noreply@qnx.com]
Sent: Wednesday, August 20, 2008 5:44 PM
To: drivers-networking
Subject: RE: RTL8139D chipset supported?

> Hi Rajat,
> 
> If the Linux BSP provided by Freescale does the same thing,
> then I think that you should contact Freescale and find out
> from them what the problem is. Not having looked at the
> hardware, I don't have any further ideas.
> 
> Hugh.
> 
> -----Original Message-----
> From: Rajat Jain [mailto:community-noreply@qnx.com]
> Sent: Wednesday, August 20, 2008 6:54 AM
> To: drivers-networking
> Subject: RE: RTL8139D chipset supported?
> 
> 
> 
> Hello Hugh,
> 
> Thanks for the reply.
> 
>> 
>> The first thing that I would check is to see whether you get
>> lights on the adapter and switch when you first power on the
>> device. If you don't get that, then check both your adapter
>> and cable.
> 
> The LEDs (on both switch & the adapter) do not glow even once when I
> reboot the board and boot QNX through u-boot. Ditto for Linux BSP
> that comes with the board :-( 
> 
> However, switch & cable are allright because if I pull out
> the cable and
> plug it into an onboard ethernet port, they work fine (LEDs glowing).
> Similarly the PCI adapter works fine on a Windows PC box.
> 
> What would you say if I told you that even the Linux BSP that
> came with
> the board is showing similar behaviour? The device "eth2"
> gets created,
> HW MAC address correctly detected, but LEDs doesn't glow.
> Ifconfig shows
> Link as down. I'm not sure on how to debug this down.
> 
> Your idea of u-boot putting the device in Low-power mode
> looked likely,
> but I checked in the capabilities of the card and found that it is in
> the D0 state (Powered up) :-(. Any ideas?
> 
>> If you do get the lights at initial power on, then
>> I would insert slogf's in the rtl_MDIRead function to see
>> that it is actually reading valid data from the PHY. Without
>> a link, you have no hope of transmitting or receiving anything.
> 
> LED is not glowing even once, so no point of doing this....
> 
>> 
>> The strange thing is that you don't see anything in the
>> nicinfo. If the transmit routine was working correctly, you
>> should at least see the bytes transmitted count incrementing.
> 
> Oh, I do see Transmitted packets being incremented in nicinfo - as
> attached. Does it help, or change anything?
> 
> Thank You very much,
> 
> Rajat Jain
> 
> 
>> 
>> 
>> -----Original Message-----
>> From: Rajat Jain [mailto:community-noreply@qnx.com]
>> Sent: Tuesday, August 19, 2008 8:23 AM
>> To: drivers-networking
>> Subject: RE: RTL8139D chipset supported?
>> 
>> 
>> Hi Hugh,
>> 
>> Interrupt problem cannot be ruled out, as I am using this
>> driver to test
>> the PCI server that I'm developing for the platform (MPC8313e).
>> However, if interrupt would be the problem, I think I should atleast
>> see the packets being transmitted on the wire (The Tx complete IRQ
>> would never arrive, but atleast the first few packates should be
>> transmitted). 
>> 
>> Currently the scenario is that:
>> 
>> 1) "en0" is successfully formed
>> 2) I can see the correct HW MAC address displayed in ifconfig (thus
>> the device memory has been correctly mapped)
>> 3) IP address assignment is successful.
>> 4) But the LEDs on the card don't glow (cable is plugged in).
>> Also LEDs
>> on the switch to which it is connected, are dead.
>> 5) When I ping from QNX...
View Full Message
RE: RTL8139D chipset supported?  
Rajat,

Another thing to check is to see whether the network device is in power
saving mode. You can see this by looking at the power capabilities in
the PCI space. Maybe U-boot is setting this device in low-power mode.

Hugh.

-----Original Message-----
From: Rajat Jain [mailto:community-noreply@qnx.com] 
Sent: Tuesday, August 19, 2008 8:23 AM
To: drivers-networking
Subject: RE: RTL8139D chipset supported?


Hi Hugh,

Interrupt problem cannot be ruled out, as I am using this driver to test
the PCI server that I'm developing for the platform (MPC8313e). However,
if interrupt would be the problem, I think I should atleast see the
packets being transmitted on the wire (The Tx complete IRQ would never
arrive, but atleast the first few packates should be transmitted). 

Currently the scenario is that:

1) "en0" is successfully formed
2) I can see the correct HW MAC address displayed in ifconfig (thus the
device memory has been correctly mapped)
3) IP address assignment is successful.
4) But the LEDs on the card don't glow (cable is plugged in). Also LEDs
on the switch to which it is connected, are dead.
5) When I ping from QNX to an external IP, I expect to see an ARP packet
transmitted on wire, but nothing is transmitted.

How to debug this? I have verified by putting in debug prints that the
rtl_FindPHY() function returns success, after which I expect to atleast
see the phy correctly negotiating the speed etc and glow the LED. Also
the nicinfo shows "Link is down". Any help / pointers will be greatly
appreciated...

Thanks & Sincere Regards,

Rajat Jain


 

> -----Original Message-----
> From: Hugh Brown [mailto:community-noreply@qnx.com] 
> Sent: Monday, August 18, 2008 6:40 PM
> To: drivers-networking
> Subject: RE: RTL8139D chipset supported?
> 
> Yes, this device is supported. It sounds as though you might 
> have an interrupt problem. What platform are you running on?
> 
> 
> -----Original Message-----
> From: Rajat Jain [mailto:community-noreply@qnx.com]
> Sent: Monday, August 18, 2008 9:03 AM
> To: drivers-networking
> Subject: RTL8139D chipset supported?
> 
> 
> Hi,
> 
> I'm trying to make my Netgear FA311v2 PCI card (RTL8139D chipset) work
> with QNX, without any success so far. Attached is the 
> relevant PCI info
> from the bootloader. Firstly & foremostly, is the device supported? 
> 
> I'm using the driver devn-rtl.so. I see interface "en0" 
> getting created
> and IP address assignment successfull. But ping does not return me
> anything ...
> 
> Thanks,
> 
> Rajat 
> 
> 
> _______________________________________________
> Networking Drivers
> http://community.qnx.com/sf/go/post11934
> 
> _______________________________________________
> Networking Drivers
> http://community.qnx.com/sf/go/post11936
> 
> 

_______________________________________________
Networking Drivers
http://community.qnx.com/sf/go/post12003
Re: RTL8139D chipset supported?  
我是新手,RTL8139D如何在qnx4.25下安装、使用?
有devn-rtl.so文件,谢谢!