Re: IP truncated-ip - 4 bytes missing!

Pavel Roskin <[email protected]> Fri, 04 Aug 2006 01:11:29 -0400
Newsgroups gmane.linux.drivers.at76c503a.user
Message-ID <1154668289.31353.32.camel@dv>
On Thu, 2006-08-03 at 23:45 +0200, niam.tni wrote:
> > Actually, I tried to simplify things, but it looks like it's more
> > confusing for you than it was before.  That's not a good thing.
> 
> I thought something is missing because I didn't get driver run at
> first time and knew to have had some modules more at yesterdays try.
> It was just caught up in a binary traffic jam.
> 
> Don't worry, it _is_ much easier to have only _one_ kernel module !

I've changes the README file so that the firmware is now listed as a
dependency and there is a new chapter called Troubleshooting.  Most
technical details have been moved to the end to reduce confusion.

> > Who told you to use atmel_fwl.pl?  There are absolutely no references to
> > "atmel_fwl" in the current sources.
> 
> Oh, I've read it here: http://thekelleys.org.uk/atmel/READ-ME

Well, I could say that if you only followed the documentation included
with the driver you wouldn't have wasted your time on that utility.

But in practice, nobody can expect users not to search for answers to
their questions, no matter how good the documentation is.  In fact, the
opposite is expected.

The problem with that site and the packages distributed there is that
the Atmel USB firmware is bundled together with the atmel_fwl.pl, which
uses an interface incompatible with the USB driver.  What's worse, that
script tries to load the firmware anyway and returns a confusing message
when it fails.  And the documentation doesn't say anything about it.

I think it would be a good idea to unify some code with the kernel Atmel
driver, including support for user initiated firmware download.  But
it's a long term plan.

I think I'll have a look if atmel_fwl.pl could be implemented easily.
If not, I'll submit a patch to atmel_fwl.pl to print better error
messages.

> > My guess if that the firmware doesn't get picked by udev or hotplug.
> > Are you using the firmware from
> > https://developer.berlios.de/projects/at76c503a/ ?
> 
> Maybe that your firmware from at76_usb-firmware-0.1.tar.gz is not the
> same as this from
> http://thekelleys.org.uk/atmel/atmel-firmware-1.3.tar.gz although both
> are reported as 1.101.0-84 ?

The only in the binary files is in copyright.  I updated copyright to
year 2004, which is used in the Atmel license permitting redistribution.
I thought it would be better not to try to have it "both ways" (older
copyright plus the new license).

Another difference is lack of atmel_fwl.pl, which is a good thing, for
now anyway :)

-- 
Regards,
Pavel Roskin