|
Tim Gessner
05/02/2008 5:00 PM
post7637
|
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
|
|
|
|
|
|
Tim Gessner
05/02/2008 5:41 PM
post7639
|
Re: RealTek 8111 driver
Sorry, I have an 8168 chip (not 8169) and the driver file name is
devn-rtl8169.
|
|
|
|
|
|
Jacek Rudnicki
05/05/2008 4:17 AM
post7649
|
Re: RealTek 8111 driver
Hi,
This driver is a part of the AMD Geode LXDB800 BSP.
Regards,
Jacek
|
|
|
|
|
|
Hugh Brown
05/05/2008 7:37 AM
post7651
|
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
|
|
|
|
|
|
Tim Gessner
05/07/2008 5:40 PM
post7843
|
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
|
|
|
|
|
|
Hugh Brown
05/08/2008 8:00 AM
post7861
|
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
|
|
|
|
|
|
Tim Gessner
05/08/2008 9:49 AM
post7868
|
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
|
|
|
|
|
|
Tim Gessner
05/08/2008 11:03 AM
post7874
|
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
|
|
|
|
|
|
Hugh Brown
05/08/2008 11:09 AM
post7875
|
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
|
|
|
|
|
|
Tim Gessner
05/08/2008 11:21 AM
post7879
|
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
|
|
|
|
|
|
Hugh Brown
05/08/2008 11:32 AM
post7880
|
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
|
|
|
|
|
|
Tim Gessner
05/08/2008 11:47 AM
post7881
|
Re: RE: RE: RE: RealTek 8111 driver
Certainly, here it is...
Thanx
Tim
|
|
|
|
|
|
Hugh Brown
05/08/2008 1:10 PM
post7889
|
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
|
|
|
|
|
|
Tim Gessner
05/08/2008 5:44 PM
post7902
|
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
|
|
|
|
|
|
Tim Gessner
05/09/2008 9:28 AM
post7916
|
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
|
|
|
|
|
|
Tim Gessner
05/09/2008 12:19 PM
post7921
|
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
|
|
|
|
|
|
Hugh Brown
05/09/2008 1:05 PM
post7922
|
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
|
|
|
|
|
|
Tim Gessner
05/09/2008 1:20 PM
post7923
|
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
|
|
|
|
|
|
Hugh Brown
05/09/2008 1:54 PM
post7924
|
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
|
|
|
|
|
|
Hugh Brown
05/27/2008 4:02 PM
post8486
|
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
|
|
|
|
|
|
Tim Gessner
05/27/2008 4:19 PM
post8488
|
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
|
|
|
|
|
|
Hugh Brown
05/27/2008 4:33 PM
post8490
|
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
|
|
|
|
|
|
Tim Gessner
05/27/2008 4:35 PM
post8491
|
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
|
|
|
|
|
|
Hugh Brown
05/28/2008 7:48 AM
post8500
|
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
|
|
|
|
|
|
Tim Gessner
05/28/2008 10:17 AM
post8523
|
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
|
|
|
|
|
|