Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - devn-micrel8841.so not working with QNX : (12 Items)
   
devn-micrel8841.so not working with QNX  
Hello,

I get some problems with the driver devn-micrel8841.so and QNX 6.5 on PPC arch (MGT5200).

The driver is started with (with no other instance of io-packet running):
io-pkt-v4-hc -d micrel8841 verbose=3

Using the version of the driver devn-micrel8841.so provided with QNX 6.5 the device is detected, we are able for example
 to detect the link status (we see if the cable is plugged or unplugged) but nothing go out on the network (checked with
 a LAN analyzer directly connected on the target).

If on the same target (with the same QNX 6.5 image) I start io-packet with the version of the driver provided with QNX 6
.3.2 then in the case everything works perfectly.

In addition to this problem, we would like to set the MAC address of the board when we start the driver. If we start 
with the option mac=xxx then all the devices of the system get the same MAC address (see attached logfile).

In the log file you have also the sloginfo when we start the driver and the pci -v of the system.


Best regards,
Christophe Hannoyer
Attachment: Text logMicrel.txt 15.01 KB
Re: devn-micrel8841.so not working with QNX  
On 20/12/11 11:08 AM, Christophe Hannoyer wrote:
> # io-pkt-v4-hc -d /tmp/devn-micrel8841_650.so verbose=3,mac=00C03A400030
What's the output of sloginfo after you did the above?
RE: devn-micrel8841.so not working with QNX  
Here it is.

Christophe Hannoyer


-----Message d'origine-----
De : Gervais Mulongoy [mailto:community-noreply@qnx.com] 
Envoyé : mardi 20 décembre 2011 17:51
À : drivers-networking
Objet : Re: devn-micrel8841.so not working with QNX

On 20/12/11 11:08 AM, Christophe Hannoyer wrote:
> # io-pkt-v4-hc -d /tmp/devn-micrel8841_650.so verbose=3,mac=00C03A400030
What's the output of sloginfo after you did the above?



_______________________________________________

Networking Drivers
http://community.qnx.com/sf/go/post90695

Attachment: Text logMicrelMac.txt 11.73 KB
Re: devn-micrel8841.so not working with QNX  
Can you also provide the output of "pidin -p io-pkt-v4-hc mem"?

It looks like the driver currently doesn't support using a unique mac 
for the 4 devices. It does have support when the device has two ports 
but in this case it is 4 devices each with a single port.


Unfortunately some of the versioning information for the 6.3.x driver is 
missing which will make it a bit hard to track down the source base used 
to build it. When you use the 6.3 driver does it generate unique mac 
addresses for each of the 4 devices based on the mac value you provide 
or does it also have the issue where it uses the same value for the mac 
address.

Thanks!
RE: devn-micrel8841.so not working with QNX  
It seems that you focus on the MAC problem but it is not the main problem. The main problem was that the 6.5 driver is 
not working at all while the driver from 6.3.2 is working.

But for reply to your question yes with the two versions of the driver there is the problem with the MAC address.

Here is the pidin info:

# pidin -p io-pkt-v4-hc mem
     pid tid name               prio STATE            code  data        stack
   77832   1 /boot/io-pkt-v4-hc  21r SIGWAITINFO      996K 2636K  4096(516K)*
   77832   2 /boot/io-pkt-v4-hc  21r RECEIVE          996K 2636K  8192(132K)
   77832   3 /boot/io-pkt-v4-hc  21r RECEIVE          996K 2636K  4096(132K)
   77832   4 /boot/io-pkt-v4-hc  21r RECEIVE          996K 2636K  4096(132K)
   77832   5 /boot/io-pkt-v4-hc  21r RECEIVE          996K 2636K  4096(132K)
   77832   6 /boot/io-pkt-v4-hc  21r RECEIVE          996K 2636K  4096(132K)
            libc.so.3          @fe300000             512K   12K
            devnp-shim.so      @fe386000              32K  4096
            -micrel8841_650.so @fe38f000              56K  4096
            /dev/mem           @80100000 (92100000)        4096
            /dev/mem           @80101000 (92101000)        4096
            /dev/mem           @80102000 (92102000)        4096
            /dev/mem           @80103000 (92103000)        4096
#

Thanks for your help :)

Christophe


-----Message d'origine-----
De : Gervais Mulongoy [mailto:community-noreply@qnx.com] 
Envoyé : mardi 20 décembre 2011 20:10
À : drivers-networking
Objet : Re: devn-micrel8841.so not working with QNX

Can you also provide the output of "pidin -p io-pkt-v4-hc mem"?

It looks like the driver currently doesn't support using a unique mac for the 4 devices. It does have support when the 
device has two ports but in this case it is 4 devices each with a single port.


Unfortunately some of the versioning information for the 6.3.x driver is missing which will make it a bit hard to track 
down the source base used to build it. When you use the 6.3 driver does it generate unique mac addresses for each of the
 4 devices based on the mac value you provide or does it also have the issue where it uses the same value for the mac 
address.

Thanks!



_______________________________________________

Networking Drivers
http://community.qnx.com/sf/go/post90698
Re: devn-micrel8841.so not working with QNX  
The issue is that I have no idea what source code was used to build the 
6.3.2 driver so some investigation is required. This will take some 
time. The mac issue was easy to track down so I have a plan for that. 
When I have a chance I will post some experimental drivers for you to 
try out and see if we can narrow the issue down.
Re: RE: devn-micrel8841.so not working with QNX  
I've attached two experimental drivers. The 6.5 maintenance driver to confirm whether the issue still exists. and a 6.3 
driver to try to track down whether this one works.

Note these do not address the mac issue at this point as I still need to track down the 6.3 driver that worked.
Attachment: Text experimental-drivers.tgz 54.07 KB
RE: RE: devn-micrel8841.so not working with QNX  
The problem is still here with this 6.5 version and with the 6.3 it is also not working. See attached logfile.

Christophe Hannoyer

-----Message d'origine-----
De : Gervais Mulongoy [mailto:community-noreply@qnx.com] 
Envoyé : jeudi 22 décembre 2011 15:32
À : drivers-networking
Objet : Re: RE: devn-micrel8841.so not working with QNX

I've attached two experimental drivers. The 6.5 maintenance driver to confirm whether the issue still exists. and a 6.3 
driver to try to track down whether this one works.

Note these do not address the mac issue at this point as I still need to track down the 6.3 driver that worked.



_______________________________________________

Networking Drivers
http://community.qnx.com/sf/go/post90744
Attachment: Text logMicrel_63-65.txt 31.12 KB
Re: devn-micrel8841.so not working with QNX  
Try this one. It is another experimental 6.3 driver.

Attachment: Text devn-micrel8841.so 70.66 KB
RE: devn-micrel8841.so not working with QNX  
Good catch, this one is working.
See log file.

Christophe

-----Message d'origine-----
De : Gervais Mulongoy [mailto:community-noreply@qnx.com] 
Envoyé : jeudi 22 décembre 2011 16:36
À : drivers-networking
Objet : Re: devn-micrel8841.so not working with QNX

Try this one. It is another experimental 6.3 driver.





_______________________________________________

Networking Drivers
http://community.qnx.com/sf/go/post90746
Attachment: Text logMicrel_63-02.txt 20.14 KB
Re: RE: devn-micrel8841.so not working with QNX  
Hello,

Is the fact that you succed to found the source code build for QNX 6.3.2 and working with QNX 6.5 helps you to 
understand why the version for QNX 6.5 is not working?

Regards,
Christophe
Re: devn-micrel8841.so not working with QNX  
Hello,

Up :)

Thanks,
Christophe