This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ftp client problem : ftp_get fails for large files


> > This problem does bear some similarity to the problem reported earlier
> > with the tftp_get function.
>
> Yes it does.
>
> Which version of eCos are you using? 2.0beta1? anoncvs?
>
anoncvs from mid april , the patch was not included ????
I removed the printf in the file net/bsd_tcpip/current/src/sys/net/if.c.
rebuilt the lib, recompiled, rerun the ftpclient1 test , same result .

thanks

Henri


> Another shot in the dark:
>
> Do you have this entry in packages/net/bsd_tcpip/current/ChangeLog:
>
> 2003-03-14  Andrew Lunn  <andrew dot lunn at ascom dot ch>
>
>         * src/sys/net/if.c (if_attach): Removed printf which causes the
>         ethernet device to become corrupt. At this point the app driver
>         has started but not completed taking over from the redboot
>         driver. It is unsafe for redboot to use the ethernet device.
>
> If not, apply this patch:
>
>  Index: packages/net/bsd_tcpip/current/src/sys/net/if.c
> ===================================================================
> RCS file: /cvs/ecos/ecos-opt/net/net/bsd_tcpip/current/src/sys/net/if.c,v
> retrieving revision 1.2
> retrieving revision 1.3
> diff -u -r1.2 -r1.3
> --- packages/net/bsd_tcpip/current/src/sys/net/if.c     4 Nov 2002
20:23:25 -000
> 0       1.2
> +++ packages/net/bsd_tcpip/current/src/sys/net/if.c     14 Mar 2003
13:04:05 -00
> 00      1.3
> @@ -194,8 +194,6 @@
>         }
>
>          if (ifp->if_snd.ifq_maxlen == 0) {
> -            printf("%s%d XXX: driver didn't set ifq_maxlen\n",
> -                   ifp->if_name, ifp->if_unit);
>              ifp->if_snd.ifq_maxlen = ifqmaxlen;
>          }
>
>          Andrew
>


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]