From: "David H. Lynch Jr." <dhlii@dlasys.net>
To: netdev@vger.kernel.org
Subject: Puzzling driver problem
Date: Tue, 12 May 2009 00:13:43 -0400 [thread overview]
Message-ID: <4A08F777.6040605@dlasys.net> (raw)
I am working on a driver for the Xilinx Local Link Fifo Temac.
It is based on an earlier driver for very similar hardware that uses
a scatter gather DMA engine rather than a FIFO.
95% of the code is common.
The FIFO code is also tested independently in a bootloader and works
fine there.
The problem I am having is that after the driver and linux load.
HTTP requests to the busy box web server hang after just a few HTTP
packets.
Many other protocols seem to be working just fine. I can send
thousands of pings and get responses,
I can SSH to the embedded linux running the driver.
Using a packet sniffer (wireshark) aside from the HTTP stalling,
nothing looks extrodinary.
Other packets are getting through and being replied
I would swear the problem can not possibly be in the driver except
that if I rebuild changing only the driver
and switching the FPGA firmware to the SDMA TEMAC everything works fine.
I have culled through the differences between the drivers.
I have been looking for problems like failing to free skb's or
similar resource issues.
But those parts of both drivers are identical. The only code
differences are specific to the hardware differences.
Nothing in the driver anywhere is sensitive or even aware of protocols.
Has anyone seen anything like this ?
Any suggestions as to things I might look at ?
I am running out of ideas even for things to try.
thank you.
--
Dave Lynch DLA Systems
Software Development: Embedded Linux
717.627.3770 dhlii@dlasys.net http://www.dlasys.net
fax: 1.253.369.9244 Cell: 1.717.587.7774
Over 25 years' experience in platforms, languages, and technologies too numerous to list.
"Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction."
Albert Einstein
next reply other threads:[~2009-05-12 4:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-12 4:13 David H. Lynch Jr. [this message]
2009-05-12 12:32 ` Puzzling driver problem Ben Hutchings
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A08F777.6040605@dlasys.net \
--to=dhlii@dlasys.net \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).