Middleware, development tools, realtime operating system
software and services for superior embedded design
‹ QNX.com
Home
Project Categories
Projects
Community Search
Project: BSPs and Drivers     Discussion > QNX BSPs > RealTek 8111 driver > List of Posts
Forum Topic - RealTek 8111 driver: Page 1 of 2 (36 Items)
View:  as 
 
 
RealTek 8111 driver
I have a board with a realtek 8169 chip and am using a driver for the realtek 8111 family.  

There are two ethernet ports on this board.  Everything seems to work fine except under heavy load the ports "hang" and 
stop transmitting, etc.

The driver was compiled and came from an older post (10/2007) calling it experimental.  The "poster " was Hugh Brown.

Does anyone know where the source to this driver is?  I assume it is in one of the BSPs but which?

Thanx
Tim
Re: RealTek 8111 driver
Sorry, I have an 8168 chip (not 8169) and the driver file name is 
devn-rtl8169.
Re: RealTek 8111 driver
Hi,

This driver is a part of the AMD Geode LXDB800 BSP.

Regards,
Jacek
RE: RealTek 8111 driver
This driver has not yet been officially released, so that is why it was
posted as experimental.


-----Original Message-----
From: Tim Gessner [] 
Sent: Friday, May 02, 2008 5:01 PM
To: general-bsp
Subject: RealTek 8111 driver

I have a board with a realtek 8169 chip and am using a driver for the
realtek 8111 family.  

There are two ethernet ports on this board.  Everything seems to work fine
except under heavy load the ports "hang" and stop transmitting, etc.

The driver was compiled and came from an older post (10/2007) calling it
experimental.  The "poster " was Hugh Brown.

Does anyone know where the source to this driver is?  I assume it is in one
of the BSPs but which?

Thanx
Tim

_______________________________________________
QNX BSPs
http://community.qnx.com/sf/go/post7637
Re: RE: RealTek 8111 driver
Is this driver still being worked on?  I am having a problem where the network fails under heavy load.  By "Fails" I 
mean it quits transmitting (perhaps quits receiving).  The activity light is off and the device won't respond to any 
network traffic.  Similarly "pinging" from the device gives a destination unreachable error.

The only thing I have seen is that the OACTIVE flag remains on when the driver hangs.  I have two ports and both fail at
 the same time, leading me to believe the driver itself is hanging?

The error in the log is "devn-rtl8169: isr_status 0xffff PCI System Error".

Any suggestions about how to track this down?

Thanx
Tim
RE: RE: RealTek 8111 driver
Here is an updated experimental version of the driver. Please try it and let
us know how it goes.


-----Original Message-----
From: Tim Gessner [] 
Sent: Wednesday, May 07, 2008 5:41 PM
To: general-bsp
Subject: Re: RE: RealTek 8111 driver

Is this driver still being worked on?  I am having a problem where the
network fails under heavy load.  By "Fails" I mean it quits transmitting
(perhaps quits receiving).  The activity light is off and the device won't
respond to any network traffic.  Similarly "pinging" from the device gives a
destination unreachable error.

The only thing I have seen is that the OACTIVE flag remains on when the
driver hangs.  I have two ports and both fail at the same time, leading me
to believe the driver itself is hanging?

The error in the log is "devn-rtl8169: isr_status 0xffff PCI System Error".

Any suggestions about how to track this down?

Thanx
Tim

_______________________________________________
QNX BSPs
http://community.qnx.com/sf/go/post7843

Attachment: devn-rtl8169.so 60.15 KB
Re: RE: RE: RealTek 8111 driver
Thank you very much.  I have it running now and should know shortly if the problem still occurs.

Tim
Re: RE: RE: RealTek 8111 driver
That didn't solve the problem.  The network still fails.

Previously when it failed I could kill io-net and restart it and the network would function for a while.  Now killing io
-net and restarting does not bring the network back.  I actually have to reboot.

There wasn't any entry in the system log, but that isn't unusual.  Sometimes when it fails there is not log entry.

Is there anything I can do to help track the problem down?

Thanx
Tim
RE: RE: RE: RealTek 8111 driver
Is this an on-board chipset or an add-in adapter? I don't have an 8111
chipset here, only an 8169.


-----Original Message-----
From: Tim Gessner [] 
Sent: Thursday, May 08, 2008 11:04 AM
To: general-bsp
Subject: Re: RE: RE: RealTek 8111 driver

That didn't solve the problem.  The network still fails.

Previously when it failed I could kill io-net and restart it and the network
would function for a while.  Now killing io-net and restarting does not
bring the network back.  I actually have to reboot.

There wasn't any entry in the system log, but that isn't unusual.  Sometimes
when it fails there is not log entry.

Is there anything I can do to help track the problem down?

Thanx
Tim

_______________________________________________
QNX BSPs
http://community.qnx.com/sf/go/post7874
RE: RE: RE: RealTek 8111 driver
It is onboard.  It is an 8168 chipset (actually two 8168 chipsets).

-----Original Message-----
From: Hugh Brown [] 
Sent: Thursday, May 08, 2008 8:09 AM
To: general-bsp
Subject: RE: RE: RE: RealTek 8111 driver

Is this an on-board chipset or an add-in adapter? I don't have an 8111
chipset here, only an 8169.


-----Original Message-----
From: Tim Gessner [] 
Sent: Thursday, May 08, 2008 11:04 AM
To: general-bsp
Subject: Re: RE: RE: RealTek 8111 driver

That didn't solve the problem.  The network still fails.

Previously when it failed I could kill io-net and restart it and the
network
would function for a while.  Now killing io-net and restarting does not
bring the network back.  I actually have to reboot.

There wasn't any entry in the system log, but that isn't unusual.
Sometimes
when it fails there is not log entry.

Is there anything I can do to help track the problem down?

Thanx
Tim

_______________________________________________
QNX BSPs
http://community.qnx.com/sf/go/post7874

_______________________________________________
QNX BSPs
http://community.qnx.com/sf/go/post7875
RE: RE: RE: RealTek 8111 driver
Please can you post the output from 'pci -vv'?

Thanks.

-----Original Message-----
From: Tim Gessner [] 
Sent: Thursday, May 08, 2008 11:21 AM
To: general-bsp
Subject: RE: RE: RE: RealTek 8111 driver

It is onboard.  It is an 8168 chipset (actually two 8168 chipsets).

-----Original Message-----
From: Hugh Brown [] 
Sent: Thursday, May 08, 2008 8:09 AM
To: general-bsp
Subject: RE: RE: RE: RealTek 8111 driver

Is this an on-board chipset or an add-in adapter? I don't have an 8111
chipset here, only an 8169.


-----Original Message-----
From: Tim Gessner [] 
Sent: Thursday, May 08, 2008 11:04 AM
To: general-bsp
Subject: Re: RE: RE: RealTek 8111 driver

That didn't solve the problem.  The network still fails.

Previously when it failed I could kill io-net and restart it and the
network
would function for a while.  Now killing io-net and restarting does not
bring the network back.  I actually have to reboot.

There wasn't any entry in the system log, but that isn't unusual.
Sometimes
when it fails there is not log entry.

Is there anything I can do to help track the problem down?

Thanx
Tim

_______________________________________________
QNX BSPs
http://community.qnx.com/sf/go/post7874

_______________________________________________
QNX BSPs
http://community.qnx.com/sf/go/post7875


_______________________________________________
QNX BSPs
http://community.qnx.com/sf/go/post7879
Re: RE: RE: RE: RealTek 8111 driver
Certainly, here it is...

Thanx
Tim
Attachment: pci.txt 34.19 KB
RE: RE: RE: RE: RealTek 8111 driver
Nothing strange about the pci output.

I have 2 machines setup here with an 8110 in one and an 8169 in the other
and have been running tests for over an hour without any problems. If you
can supply me with a reproducible client/server test case, I will be able to
debug this problem.

Thanks.


-----Original Message-----
From: Tim Gessner [] 
Sent: Thursday, May 08, 2008 11:48 AM
To: general-bsp
Subject: Re: RE: RE: RE: RealTek 8111 driver

Certainly, here it is...

Thanx
Tim

_______________________________________________
QNX BSPs
http://community.qnx.com/sf/go/post7881
RE: RE: RE: RE: RealTek 8111 driver
I'm trying to isolate the simplest case now.  I'll get back to you when
I have something.

Thank you for your help.
Tim

-----Original Message-----
From: Hugh Brown [] 
Sent: Thursday, May 08, 2008 10:11 AM
To: general-bsp
Subject: RE: RE: RE: RE: RealTek 8111 driver

Nothing strange about the pci output.

I have 2 machines setup here with an 8110 in one and an 8169 in the
other
and have been running tests for over an hour without any problems. If
you
can supply me with a reproducible client/server test case, I will be
able to
debug this problem.

Thanks.


-----Original Message-----
From: Tim Gessner [] 
Sent: Thursday, May 08, 2008 11:48 AM
To: general-bsp
Subject: Re: RE: RE: RE: RealTek 8111 driver

Certainly, here it is...

Thanx
Tim

_______________________________________________
QNX BSPs
http://community.qnx.com/sf/go/post7881

_______________________________________________
QNX BSPs
http://community.qnx.com/sf/go/post7889
Re: RE: RE: RE: RE: RealTek 8111 driver
I have a dual core machine running a program with two threads each talking to the same 8 devices.  This causes it to 
fail.  I am still trying to simplify the test case, but it appears that the issue is with concurrency.

With a single thread in my test program I could not get it to fail, but with two threads it failed.  Since I have a dual
 core machine there is "real" concurrency (and checking pidin sched I can see that my threads are on different 
processors).

I'll provide more details when I have them.

Thanx again
Tim
Re: RE: RE: RE: RE: RealTek 8111 driver
Also, each thread is using a separate socket bound to a different port.  While my computer has two 'nics' in it, they 
are assigned to different subnets and so the application is only using 1 nic at this point.

I was able to get it to fail with 2 threads talking to only 1 device.

I can speed up the time to failure by increasing the number of threads.  So now I have a client running on a linux box 
and an app running on my QNX machine.  I upped the number of threads to 9 all using separate sockets and bound to unique
 ports.  They all are talking to the same client which is running only 1 thread listening on only 1 port.  The client 
simply echos back the bytes sent over.  I'm using UDP at this point.

Would you like the source to my test apps?  At this point I think I have simplified it about as much as I can.

Any other suggestions?

Thanx
Tim
RE: RE: RE: RE: RE: RealTek 8111 driver
Yes, if you can send me your source code, it would be a great help.

Thanks, Hugh.

-----Original Message-----
From: Tim Gessner [] 
Sent: Friday, May 09, 2008 12:19 PM
To: general-bsp
Subject: Re: RE: RE: RE: RE: RealTek 8111 driver

Also, each thread is using a separate socket bound to a different port.
While my computer has two 'nics' in it, they are assigned to different
subnets and so the application is only using 1 nic at this point.

I was able to get it to fail with 2 threads talking to only 1 device.

I can speed up the time to failure by increasing the number of threads.  So
now I have a client running on a linux box and an app running on my QNX
machine.  I upped the number of threads to 9 all using separate sockets and
bound to unique ports.  They all are talking to the same client which is
running only 1 thread listening on only 1 port.  The client simply echos
back the bytes sent over.  I'm using UDP at this point.

Would you like the source to my test apps?  At this point I think I have
simplified it about as much as I can.

Any other suggestions?

Thanx
Tim

_______________________________________________
QNX BSPs
http://community.qnx.com/sf/go/post7921
RE: RE: RE: RE: RE: RealTek 8111 driver
Here are the files.  There is the QNX zip and Linux zip (windows zip
format).  I only included the source files and not the project files -
the QNX obviously is Momentics and Linux was Eclipse CDT on Fedora 8.
If you would like them just let me know.

The QNX files are the "master" and the Linux files are the "slave".  The
QNX files are currently using 9 threads as I mentioned.

Thanx
Tim

-----Original Message-----
From: Hugh Brown [] 
Sent: Friday, May 09, 2008 10:05 AM
To: general-bsp
Subject: RE: RE: RE: RE: RE: RealTek 8111 driver

Yes, if you can send me your source code, it would be a great help.

Thanks, Hugh.

-----Original Message-----
From: Tim Gessner [] 
Sent: Friday, May 09, 2008 12:19 PM
To: general-bsp
Subject: Re: RE: RE: RE: RE: RealTek 8111 driver

Also, each thread is using a separate socket bound to a different port.
While my computer has two 'nics' in it, they are assigned to different
subnets and so the application is only using 1 nic at this point.

I was able to get it to fail with 2 threads talking to only 1 device.

I can speed up the time to failure by increasing the number of threads.
So
now I have a client running on a linux box and an app running on my QNX
machine.  I upped the number of threads to 9 all using separate sockets
and
bound to unique ports.  They all are talking to the same client which is
running only 1 thread listening on only 1 port.  The client simply echos
back the bytes sent over.  I'm using UDP at this point.

Would you like the source to my test apps?  At this point I think I have
simplified it about as much as I can.

Any other suggestions?

Thanx
Tim

_______________________________________________
QNX BSPs
http://community.qnx.com/sf/go/post7921

_______________________________________________
QNX BSPs
http://community.qnx.com/sf/go/post7922

Attachment: Linux.zip 2.21 KB QNX.zip 3 KB
RE: RE: RE: RE: RE: RealTek 8111 driver
Thanks. I'll take a look at it as soon as I get a chance.


-----Original Message-----
From: Tim Gessner [] 
Sent: Friday, May 09, 2008 1:20 PM
To: general-bsp
Subject: RE: RE: RE: RE: RE: RealTek 8111 driver

<<<  Incoming Message Inspected due to ZIP attachment >>  >
Here are the files.  There is the QNX zip and Linux zip (windows zip
format).  I only included the source files and not the project files -
the QNX obviously is Momentics and Linux was Eclipse CDT on Fedora 8.
If you would like them just let me know.

The QNX files are the "master" and the Linux files are the "slave".  The
QNX files are currently using 9 threads as I mentioned.

Thanx
Tim

-----Original Message-----
From: Hugh Brown [] 
Sent: Friday, May 09, 2008 10:05 AM
To: general-bsp
Subject: RE: RE: RE: RE: RE: RealTek 8111 driver

Yes, if you can send me your source code, it would be a great help.

Thanks, Hugh.

-----Original Message-----
From: Tim Gessner [] 
Sent: Friday, May 09, 2008 12:19 PM
To: general-bsp
Subject: Re: RE: RE: RE: RE: RealTek 8111 driver

Also, each thread is using a separate socket bound to a different port.
While my computer has two 'nics' in it, they are assigned to different
subnets and so the application is only using 1 nic at this point.

I was able to get it to fail with 2 threads talking to only 1 device.

I can speed up the time to failure by increasing the number of threads.
So
now I have a client running on a linux box and an app running on my QNX
machine.  I upped the number of threads to 9 all using separate sockets
and
bound to unique ports.  They all are talking to the same client which is
running only 1 thread listening on only 1 port.  The client simply echos
back the bytes sent over.  I'm using UDP at this point.

Would you like the source to my test apps?  At this point I think I have
simplified it about as much as I can.

Any other suggestions?

Thanx
Tim

_______________________________________________
QNX BSPs
http://community.qnx.com/sf/go/post7921

_______________________________________________
QNX BSPs
http://community.qnx.com/sf/go/post7922



_______________________________________________
QNX BSPs
http://community.qnx.com/sf/go/post7923
RE: RE: RE: RE: RE: RealTek 8111 driver
How long does it take for this test to fail? I have been running it for some
time without any problems.

Hugh.

-----Original Message-----
From: Tim Gessner [] 
Sent: Friday, May 09, 2008 1:20 PM
To: general-bsp
Subject: RE: RE: RE: RE: RE: RealTek 8111 driver

<<<  Incoming Message Inspected due to ZIP attachment >>  >
Here are the files.  There is the QNX zip and Linux zip (windows zip
format).  I only included the source files and not the project files -
the QNX obviously is Momentics and Linux was Eclipse CDT on Fedora 8.
If you would like them just let me know.

The QNX files are the "master" and the Linux files are the "slave".  The
QNX files are currently using 9 threads as I mentioned.

Thanx
Tim

-----Original Message-----
From: Hugh Brown [] 
Sent: Friday, May 09, 2008 10:05 AM
To: general-bsp
Subject: RE: RE: RE: RE: RE: RealTek 8111 driver

Yes, if you can send me your source code, it would be a great help.

Thanks, Hugh.

-----Original Message-----
From: Tim Gessner [] 
Sent: Friday, May 09, 2008 12:19 PM
To: general-bsp
Subject: Re: RE: RE: RE: RE: RealTek 8111 driver

Also, each thread is using a separate socket bound to a different port.
While my computer has two 'nics' in it, they are assigned to different
subnets and so the application is only using 1 nic at this point.

I was able to get it to fail with 2 threads talking to only 1 device.

I can speed up the time to failure by increasing the number of threads.
So
now I have a client running on a linux box and an app running on my QNX
machine.  I upped the number of threads to 9 all using separate sockets
and
bound to unique ports.  They all are talking to the same client which is
running only 1 thread listening on only 1 port.  The client simply echos
back the bytes sent over.  I'm using UDP at this point.

Would you like the source to my test apps?  At this point I think I have
simplified it about as much as I can.

Any other suggestions?

Thanx
Tim

_______________________________________________
QNX BSPs
http://community.qnx.com/sf/go/post7921

_______________________________________________
QNX BSPs
http://community.qnx.com/sf/go/post7922



_______________________________________________
QNX BSPs
http://community.qnx.com/sf/go/post7923
RE: RE: RE: RE: RE: RealTek 8111 driver
Less than an hour, perhaps 5 - 30 minutes.  It differs each time.  As I
mentioned I am running it on an SMP machine.  It seems like some sort of
race condition.

Is there an info I could provide after the crash that would help?

Tim

-----Original Message-----
From: Hugh Brown [] 
Sent: Tuesday, May 27, 2008 1:03 PM
To: general-bsp
Subject: RE: RE: RE: RE: RE: RealTek 8111 driver

How long does it take for this test to fail? I have been running it for
some
time without any problems.

Hugh.

-----Original Message-----
From: Tim Gessner [] 
Sent: Friday, May 09, 2008 1:20 PM
To: general-bsp
Subject: RE: RE: RE: RE: RE: RealTek 8111 driver

<<<  Incoming Message Inspected due to ZIP attachment >>  >
Here are the files.  There is the QNX zip and Linux zip (windows zip
format).  I only included the source files and not the project files -
the QNX obviously is Momentics and Linux was Eclipse CDT on Fedora 8.
If you would like them just let me know.

The QNX files are the "master" and the Linux files are the "slave".  The
QNX files are currently using 9 threads as I mentioned.

Thanx
Tim

-----Original Message-----
From: Hugh Brown [] 
Sent: Friday, May 09, 2008 10:05 AM
To: general-bsp
Subject: RE: RE: RE: RE: RE: RealTek 8111 driver

Yes, if you can send me your source code, it would be a great help.

Thanks, Hugh.

-----Original Message-----
From: Tim Gessner [] 
Sent: Friday, May 09, 2008 12:19 PM
To: general-bsp
Subject: Re: RE: RE: RE: RE: RealTek 8111 driver

Also, each thread is using a separate socket bound to a different port.
While my computer has two 'nics' in it, they are assigned to different
subnets and so the application is only using 1 nic at this point.

I was able to get it to fail with 2 threads talking to only 1 device.

I can speed up the time to failure by increasing the number of threads.
So
now I have a client running on a linux box and an app running on my QNX
machine.  I upped the number of threads to 9 all using separate sockets
and
bound to unique ports.  They all are talking to the same client which is
running only 1 thread listening on only 1 port.  The client simply echos
back the bytes sent over.  I'm using UDP at this point.

Would you like the source to my test apps?  At this point I think I have
simplified it about as much as I can.

Any other suggestions?

Thanx
Tim

_______________________________________________
QNX BSPs
http://community.qnx.com/sf/go/post7921

_______________________________________________
QNX BSPs
http://community.qnx.com/sf/go/post7922



_______________________________________________
QNX BSPs
http://community.qnx.com/sf/go/post7923

_______________________________________________
QNX BSPs
http://community.qnx.com/sf/go/post8486
RE: RE: RE: RE: RE: RealTek 8111 driver
I am also running the sending application on an SMP machine and the other on
a uni-processor. Both machines have RTL8169 adapters in them, so that is why
I am thinking that the problem is chip specific. The sending machine has an
RTL8169 and the receiving machine has an RTL8110 - not the same as you have.

I am going to leave the test running all night and see what transpires.

Thanks, Hugh.


-----Original Message-----
From: Tim Gessner [] 
Sent: Tuesday, May 27, 2008 4:20 PM
To: general-bsp
Subject: RE: RE: RE: RE: RE: RealTek 8111 driver

Less than an hour, perhaps 5 - 30 minutes.  It differs each time.  As I
mentioned I am running it on an SMP machine.  It seems like some sort of
race condition.

Is there an info I could provide after the crash that would help?

Tim

-----Original Message-----
From: Hugh Brown [] 
Sent: Tuesday, May 27, 2008 1:03 PM
To: general-bsp
Subject: RE: RE: RE: RE: RE: RealTek 8111 driver

How long does it take for this test to fail? I have been running it for
some
time without any problems.

Hugh.

-----Original Message-----
From: Tim Gessner [] 
Sent: Friday, May 09, 2008 1:20 PM
To: general-bsp
Subject: RE: RE: RE: RE: RE: RealTek 8111 driver

<<<  Incoming Message Inspected due to ZIP attachment >>  >
Here are the files.  There is the QNX zip and Linux zip (windows zip
format).  I only included the source files and not the project files -
the QNX obviously is Momentics and Linux was Eclipse CDT on Fedora 8.
If you would like them just let me know.

The QNX files are the "master" and the Linux files are the "slave".  The
QNX files are currently using 9 threads as I mentioned.

Thanx
Tim

-----Original Message-----
From: Hugh Brown [] 
Sent: Friday, May 09, 2008 10:05 AM
To: general-bsp
Subject: RE: RE: RE: RE: RE: RealTek 8111 driver

Yes, if you can send me your source code, it would be a great help.

Thanks, Hugh.

-----Original Message-----
From: Tim Gessner [] 
Sent: Friday, May 09, 2008 12:19 PM
To: general-bsp
Subject: Re: RE: RE: RE: RE: RealTek 8111 driver

Also, each thread is using a separate socket bound to a different port.
While my computer has two 'nics' in it, they are assigned to different
subnets and so the application is only using 1 nic at this point.

I was able to get it to fail with 2 threads talking to only 1 device.

I can speed up the time to failure by increasing the number of threads.
So
now I have a client running on a linux box and an app running on my QNX
machine.  I upped the number of threads to 9 all using separate sockets
and
bound to unique ports.  They all are talking to the same client which is
running only 1 thread listening on only 1 port.  The client simply echos
back the bytes sent over.  I'm using UDP at this point.

Would you like the source to my test apps?  At this point I think I have
simplified it about as much as I can.

Any other suggestions?

Thanx
Tim

_______________________________________________
QNX BSPs
http://community.qnx.com/sf/go/post7921

_______________________________________________
QNX BSPs
http://community.qnx.com/sf/go/post7922



_______________________________________________
QNX BSPs
http://community.qnx.com/sf/go/post7923

_______________________________________________
QNX BSPs
http://community.qnx.com/sf/go/post8486


_______________________________________________
QNX BSPs
http://community.qnx.com/sf/go/post8488
RE: RE: RE: RE: RE: RealTek 8111 driver
Great.  Thanx

-----Original Message-----
From: Hugh Brown [] 
Sent: Tuesday, May 27, 2008 1:34 PM
To: general-bsp
Subject: RE: RE: RE: RE: RE: RealTek 8111 driver

I am also running the sending application on an SMP machine and the
other on
a uni-processor. Both machines have RTL8169 adapters in them, so that is
why
I am thinking that the problem is chip specific. The sending machine has
an
RTL8169 and the receiving machine has an RTL8110 - not the same as you
have.

I am going to leave the test running all night and see what transpires.

Thanks, Hugh.


-----Original Message-----
From: Tim Gessner [] 
Sent: Tuesday, May 27, 2008 4:20 PM
To: general-bsp
Subject: RE: RE: RE: RE: RE: RealTek 8111 driver

Less than an hour, perhaps 5 - 30 minutes.  It differs each time.  As I
mentioned I am running it on an SMP machine.  It seems like some sort of
race condition.

Is there an info I could provide after the crash that would help?

Tim

-----Original Message-----
From: Hugh Brown [] 
Sent: Tuesday, May 27, 2008 1:03 PM
To: general-bsp
Subject: RE: RE: RE: RE: RE: RealTek 8111 driver

How long does it take for this test to fail? I have been running it for
some
time without any problems.

Hugh.

-----Original Message-----
From: Tim Gessner [] 
Sent: Friday, May 09, 2008 1:20 PM
To: general-bsp
Subject: RE: RE: RE: RE: RE: RealTek 8111 driver

<<<  Incoming Message Inspected due to ZIP attachment >>  >
Here are the files.  There is the QNX zip and Linux zip (windows zip
format).  I only included the source files and not the project files -
the QNX obviously is Momentics and Linux was Eclipse CDT on Fedora 8.
If you would like them just let me know.

The QNX files are the "master" and the Linux files are the "slave".  The
QNX files are currently using 9 threads as I mentioned.

Thanx
Tim

-----Original Message-----
From: Hugh Brown [] 
Sent: Friday, May 09, 2008 10:05 AM
To: general-bsp
Subject: RE: RE: RE: RE: RE: RealTek 8111 driver

Yes, if you can send me your source code, it would be a great help.

Thanks, Hugh.

-----Original Message-----
From: Tim Gessner [] 
Sent: Friday, May 09, 2008 12:19 PM
To: general-bsp
Subject: Re: RE: RE: RE: RE: RealTek 8111 driver

Also, each thread is using a separate socket bound to a different port.
While my computer has two 'nics' in it, they are assigned to different
subnets and so the application is only using 1 nic at this point.

I was able to get it to fail with 2 threads talking to only 1 device.

I can speed up the time to failure by increasing the number of threads.
So
now I have a client running on a linux box and an app running on my QNX
machine.  I upped the number of threads to 9 all using separate sockets
and
bound to unique ports.  They all are talking to the same client which is
running only 1 thread listening on only 1 port.  The client simply echos
back the bytes sent over.  I'm using UDP at this point.

Would you like the source to my test apps?  At this point I think I have
simplified it about as much as I can.

Any other suggestions?

Thanx
Tim

_______________________________________________
QNX BSPs
http://community.qnx.com/sf/go/post7921

_______________________________________________
QNX BSPs
http://community.qnx.com/sf/go/post7922



_______________________________________________
QNX BSPs
http://community.qnx.com/sf/go/post7923

_______________________________________________
QNX BSPs
http://community.qnx.com/sf/go/post8486


_______________________________________________
QNX BSPs
http://community.qnx.com/sf/go/post8488


_______________________________________________
QNX BSPs
http://community.qnx.com/sf/go/post8490
RE: RE: RE: RE: RE: RealTek 8111 driver
Well the test has run without problems all night, with 300,000,000 messages
sent between the 2 nodes. This definitely looks like a hardware specific
problem, so without the hardware, I'm afraid that there is not much more
that I can do.

Hugh.

-----Original Message-----
From: Tim Gessner [] 
Sent: Tuesday, May 27, 2008 4:20 PM
To: general-bsp
Subject: RE: RE: RE: RE: RE: RealTek 8111 driver

Less than an hour, perhaps 5 - 30 minutes.  It differs each time.  As I
mentioned I am running it on an SMP machine.  It seems like some sort of
race condition.

Is there an info I could provide after the crash that would help?

Tim

-----Original Message-----
From: Hugh Brown [] 
Sent: Tuesday, May 27, 2008 1:03 PM
To: general-bsp
Subject: RE: RE: RE: RE: RE: RealTek 8111 driver

How long does it take for this test to fail? I have been running it for
some
time without any problems.

Hugh.

-----Original Message-----
From: Tim Gessner [] 
Sent: Friday, May 09, 2008 1:20 PM
To: general-bsp
Subject: RE: RE: RE: RE: RE: RealTek 8111 driver

<<<  Incoming Message Inspected due to ZIP attachment >>  >
Here are the files.  There is the QNX zip and Linux zip (windows zip
format).  I only included the source files and not the project files -
the QNX obviously is Momentics and Linux was Eclipse CDT on Fedora 8.
If you would like them just let me know.

The QNX files are the "master" and the Linux files are the "slave".  The
QNX files are currently using 9 threads as I mentioned.

Thanx
Tim

-----Original Message-----
From: Hugh Brown [] 
Sent: Friday, May 09, 2008 10:05 AM
To: general-bsp
Subject: RE: RE: RE: RE: RE: RealTek 8111 driver

Yes, if you can send me your source code, it would be a great help.

Thanks, Hugh.

-----Original Message-----
From: Tim Gessner [] 
Sent: Friday, May 09, 2008 12:19 PM
To: general-bsp
Subject: Re: RE: RE: RE: RE: RealTek 8111 driver

Also, each thread is using a separate socket bound to a different port.
While my computer has two 'nics' in it, they are assigned to different
subnets and so the application is only using 1 nic at this point.

I was able to get it to fail with 2 threads talking to only 1 device.

I can speed up the time to failure by increasing the number of threads.
So
now I have a client running on a linux box and an app running on my QNX
machine.  I upped the number of threads to 9 all using separate sockets
and
bound to unique ports.  They all are talking to the same client which is
running only 1 thread listening on only 1 port.  The client simply echos
back the bytes sent over.  I'm using UDP at this point.

Would you like the source to my test apps?  At this point I think I have
simplified it about as much as I can.

Any other suggestions?

Thanx
Tim

_______________________________________________
QNX BSPs
http://community.qnx.com/sf/go/post7921

_______________________________________________
QNX BSPs
http://community.qnx.com/sf/go/post7922



_______________________________________________
QNX BSPs
http://community.qnx.com/sf/go/post7923

_______________________________________________
QNX BSPs
http://community.qnx.com/sf/go/post8486


_______________________________________________
QNX BSPs
http://community.qnx.com/sf/go/post8488
RE: RE: RE: RE: RE: RealTek 8111 driver
Well, if we provide hardware are you willing to continue looking into
the problem?  Or can you give me some pointers on how to debug the
problem?

Thanx
Tim

-----Original Message-----
From: Hugh Brown [] 
Sent: Wednesday, May 28, 2008 4:48 AM
To: general-bsp
Subject: RE: RE: RE: RE: RE: RealTek 8111 driver

Well the test has run without problems all night, with 300,000,000
messages
sent between the 2 nodes. This definitely looks like a hardware specific
problem, so without the hardware, I'm afraid that there is not much more
that I can do.

Hugh.

-----Original Message-----
From: Tim Gessner [] 
Sent: Tuesday, May 27, 2008 4:20 PM
To: general-bsp
Subject: RE: RE: RE: RE: RE: RealTek 8111 driver

Less than an hour, perhaps 5 - 30 minutes.  It differs each time.  As I
mentioned I am running it on an SMP machine.  It seems like some sort of
race condition.

Is there an info I could provide after the crash that would help?

Tim

-----Original Message-----
From: Hugh Brown [] 
Sent: Tuesday, May 27, 2008 1:03 PM
To: general-bsp
Subject: RE: RE: RE: RE: RE: RealTek 8111 driver

How long does it take for this test to fail? I have been running it for
some
time without any problems.

Hugh.

-----Original Message-----
From: Tim Gessner [] 
Sent: Friday, May 09, 2008 1:20 PM
To: general-bsp
Subject: RE: RE: RE: RE: RE: RealTek 8111 driver

<<<  Incoming Message Inspected due to ZIP attachment >>  >
Here are the files.  There is the QNX zip and Linux zip (windows zip
format).  I only included the source files and not the project files -
the QNX obviously is Momentics and Linux was Eclipse CDT on Fedora 8.
If you would like them just let me know.

The QNX files are the "master" and the Linux files are the "slave".  The
QNX files are currently using 9 threads as I mentioned.

Thanx
Tim

-----Original Message-----
From: Hugh Brown [] 
Sent: Friday, May 09, 2008 10:05 AM
To: general-bsp
Subject: RE: RE: RE: RE: RE: RealTek 8111 driver

Yes, if you can send me your source code, it would be a great help.

Thanks, Hugh.

-----Original Message-----
From: Tim Gessner [] 
Sent: Friday, May 09, 2008 12:19 PM
To: general-bsp
Subject: Re: RE: RE: RE: RE: RealTek 8111 driver

Also, each thread is using a separate socket bound to a different port.
While my computer has two 'nics' in it, they are assigned to different
subnets and so the application is only using 1 nic at this point.

I was able to get it to fail with 2 threads talking to only 1 device.

I can speed up the time to failure by increasing the number of threads.
So
now I have a client running on a linux box and an app running on my QNX
machine.  I upped the number of threads to 9 all using separate sockets
and
bound to unique ports.  They all are talking to the same client which is
running only 1 thread listening on only 1 port.  The client simply echos
back the bytes sent over.  I'm using UDP at this point.

Would you like the source to my test apps?  At this point I think I have
simplified it about as much as I can.

Any other suggestions?

Thanx
Tim

_______________________________________________
QNX BSPs
http://community.qnx.com/sf/go/post7921

_______________________________________________
QNX BSPs
http://community.qnx.com/sf/go/post7922



_______________________________________________
QNX BSPs
http://community.qnx.com/sf/go/post7923

_______________________________________________
QNX BSPs
http://community.qnx.com/sf/go/post8486


_______________________________________________
QNX BSPs
http://community.qnx.com/sf/go/post8488


_______________________________________________
QNX BSPs
http://community.qnx.com/sf/go/post8500