Re: IP truncated-ip - 4 bytes missing!

Pavel Roskin <[email protected]> Tue, 01 Aug 2006 22:27:08 -0400
Newsgroups gmane.linux.drivers.at76c503a.user
Message-ID <1154485628.20020.28.camel@dv>
Hello!

Hello!

On Tue, 2006-08-01 at 23:41 +0200, niam.tni wrote:
> I'm using at76c503 driver for Linksys WUSB11 on Sharp Zaurus
> (OpenZaurus 3.5.4.1, kernel 2.6.16) and have a very very odd problem.
> Only ping -s 14 192.168.1.1 does work! Nothing more than 14 bytes come
> IN! But anything above go out (56 bytes...)!
> If I do a normal ping (56 bytes), all 56 bytes go out, I see that
> because I've listening tcpdump on target machine. But reply doesn't
> get back completely. Looks like a leck somewhere.

What's the firmware version?  If it's the new 1.103 firmware from CVS
then it's known to have some problems.  Please use older firmware from
http://thekelleys.org.uk/atmel/atmel_firmware.tar.gz for now.  Sorry for
the inconvenience.  I hope to fix it soon.

> Here's what tcpdump says about incoming traffic (ECHO REPLY), if I
> send out more than 14 bytes at once (ping 192.168.1.1):
> 
> "IP truncated-ip - 4 bytes missing!"
> 
> I'm using at76c503 CVS, cross compiled with OpenEmbedded.
> USB device is wlan0.
> There is an externel powered USB Hub, where WLAN Adapter is connected to.
> To load at76c503 driver I have to do a modprobe -f at76c503 at76c503_rfmd.

There is no at76c503_rfmd in CVS.  You must be using some older version
from CVS.  Loading more than one module at once is undocumented, and I
wouldn't do it.

> Force "-f" because kernel says "version magic '2.6.16 preempt ARMv5
> gcc-4.1' should be '2.6.16 preempt ARMv5 gcc-3.4'. But that shouldn't
> be the problem?

It might.  It's better to compile everything with the same compiler, or
at least with compilers with the same minor and major versions.

-- 
Regards,
Pavel Roskin