| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
--
Rob McKeever writes:
The symptom in Explorer is that you can't connect to the internal
web-based admin page on the home router I'm running on. This page
works under the exact same configuration just fine with IE if another
network driver is used and also works with my driver with any other web
Assuming that IE is using only TCP/IP, you may be able to determine
whether the problem is transmit or receive based by using netstat
to look for bad checksums. Eg: run 'netstat -s | grep sum' on the
host your driver is running on.
If you see bad checksums, its likely that your receive handling has
a problem and you should concentrate on that facet of the driver.
If you don't see anything here, then it may be safe to assume that
the problem is transmit based. You might then look for bad checksum
on your home router (if it provides such a mechanism, *nix based ones
sometimes do).
Once you've isolated the problem to transmit or receive, you can stare
at that part of your driver, looking for bugs, adding printfs for
packets which stress error handling paths, etc.
I'm not sure what interfaces IOKit provides to an ethernet driver, as
my driver ignores this part of IOKit, but its conceivable that you're
getting screwed up by getting a very unusual mbuf chain. Eg, a chain
with more segments than you are prepared to handle.
Two tests I've found helpful to isolate bad drivers in the past is to
just telnet to a host using your driver, and do a find . -name '*c'
-exec cat {} \; in some large source tree. Netpipe is also a good
tool.
Good luck!
Drew
| References: | |
| >Re: Network driver strangeness (From: Andrew Gallatin <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.