Skip navigation.
Home
The QNX Community Portal

View topic - realtek 8169 on QNX632

realtek 8169 on QNX632

anything that doesn't fit to other groups.

realtek 8169 on QNX632

Postby queBurro » Wed Jun 25, 2014 3:52 pm

Hi,

in short: please can someone help me use/load the realtek 8169 nw card on to Qnx632? I've got the devnp-rtl8169.so driver handy but I failed to load it against io-net.

here's why:
Circumstances at work are forcing me to deploy an old version (v4) of one of my apps on to Qnx632 OS. v4 leverages a bug in Qnet (the not having to respond to open connection requests on Qnet) and so v4 won't work on a later OS, so I'm stuck with 632.

Due to having to use another expensive card in the PC I've been asked to set up a dual boot, offering both v5 on qnx641 and v4 on 632. The dual boot appears to work but I've been forced to add another nw card (realtek 8139 100Mb card) to get comms up on 632. If I can get the 1Gb card working then I'm happy. Incidentally, the reason why I'm not using both nw cards on 641 is that Qnets not configured correctly, fixing this is probably my next option but it seems clunky when all I really want it a working 1Gb nw card.

All help and ideas greatly appreciated. Thanks
queBurro
Active Member
 
Posts: 79
Joined: Fri Jul 30, 2010 2:05 pm

Re: realtek 8169 on QNX632

Postby Tim » Wed Jun 25, 2014 4:48 pm

According to this link:

http://www.qnx.com/developers/hardware_ ... earch.html

When I select 6.3.2 and scroll down the Realtek I see

Realtek RT8139A/B/C 10ec: 8139 devn-rtl.so ARM, MIPS, PPC, X86 PCI
Realtek RT8139 A/B/C 10ec: 8029 devn-ne2000.so ARM, MIPS, PPC, SH4, X86 PCI

I don't see any support for 8169.

Now you are saying you have the devnp-rtl8169.so file but that's from 6.4+. It's not likely to work under 6.3.2. I suspect you need to obtain the source code for this driver and compile it under 6.3.2 for it to work (this will involve making it work with io-net since it's designed to work with io-pkt).

Out of curiosity, what error are you seeing when you try to start that driver with IO-Net?

Tim
Tim
Senior Member
 
Posts: 1389
Joined: Wed Mar 10, 2004 12:28 am

Re: realtek 8169 on QNX632

Postby queBurro » Wed Jun 25, 2014 6:26 pm

(from memory) "can't find devn-rtl8169", I tried absolute paths as well but with no luck. I know the card's not supported but I read in a thread somewhere that someone had gotten the card working, and they posted the driver in the thread, so I thought I'd give it a go.
queBurro
Active Member
 
Posts: 79
Joined: Fri Jul 30, 2010 2:05 pm

Re: realtek 8169 on QNX632

Postby queBurro » Wed Jun 25, 2014 7:02 pm

I think I'm going to get an intel gigabit card that 632 recognizes and just not tell anyone I've swapped the realtek one out :)
queBurro
Active Member
 
Posts: 79
Joined: Fri Jul 30, 2010 2:05 pm

Re: realtek 8169 on QNX632

Postby maschoen » Thu Jun 26, 2014 1:58 pm

I'm under the impression that devnp drivers work with io-pkt and devn driver work with io-net. There's forward compatibility, so a devn driver can work with io-pkt but not the other way around. Recompiling the io-pkt driver in 6.32 will not help. The structure of the two driver typess is somewhat different.
maschoen
QNX Master
 
Posts: 2644
Joined: Wed Jun 25, 2003 5:18 pm

Re: realtek 8169 on QNX632

Postby queBurro » Thu Jun 26, 2014 2:25 pm

I only tried devnp-rtl8169.so because I read devn-rtl8169.so had been superceded
I did the following:
placed the driver in /lib/dll (and chmod 775 it)
Code: Select all
xx:/lib/dll# io-net -d rtl8169 -p tcpip
xx:/lib/dll# unable to load dll devn-rtl8169: Library cannot be found
xx:/lib/dll# io-net -d /lib/dll/devnp-rtl8169.so -p tcpip
xx:/lib/dll# unable to load dll /lib/dll/devnp-rtl8169.so: Library cannot be found


'which' tells me there's no io-pkt on 632 (nor io-pkt-v4), but I might have gotten away with devn-rtl8169.so and io-net ?

thanks for the replies
queBurro
Active Member
 
Posts: 79
Joined: Fri Jul 30, 2010 2:05 pm

Re: realtek 8169 on QNX632

Postby Thunderblade » Fri Jul 04, 2014 12:07 pm

queBurro wrote:'which' tells me there's no io-pkt on 632 (nor io-pkt-v4), but I might have gotten away with devn-rtl8169.so and io-net ?

Yes. There is no io-pkt under 632 so devnp will not work. So either use io-net + devn driver.

If this doesn't work, there might be the possibility to run io-pkt under 632. AFAIR back then there was a prerelease of io-pkt for 632 before 6.4 came out. Maybe if you request the source for io-pkt from QNX, you can recompile it for 632. But it's not something I would recommend...
Thunderblade
Senior Member
 
Posts: 487
Joined: Thu Apr 07, 2005 11:52 am

Re: realtek 8169 on QNX632

Postby queBurro » Fri Jul 04, 2014 12:43 pm

@tb, I'm good now thanks. I bought a supported 1Gb Intel card instead. It was useful to learn the difference between the devn and the devnp drivers though (it's probably written in the documentation in large letters somewhere...) - cheers
queBurro
Active Member
 
Posts: 79
Joined: Fri Jul 30, 2010 2:05 pm


Return to General Programming

Who is online

Users browsing this forum: No registered users and 1 guest