All of lore.kernel.org
 help / color / mirror / Atom feed
From: himbA <goavr@email.si>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] lan91c111 bad len
Date: Sat, 21 Feb 2004 14:15:29 +0100	[thread overview]
Message-ID: <403759F1.8020100@email.si> (raw)

hi

after upgrading my toolchain and u-boot sources to CVS 1.0.2 version I 
still can't manage to get 'clean & fast' downloads of kernel image from 
tftp server, though sometimes I do.
I'm using lan91c111 ether driver and following occours (compiled with 
either gcc-2.95.3 or gcc-3.2 toolchain)
uboot> boot
BOOTP broadcast 1
got BOOTP packet (src=67, dst=68, len=300 want_len=300)
Filtering pkt = 0
Bootfile: kernel.img
Got good BOOTP
TFTP from server 10.10.10.1; our IP address is 10.10.10.2
Filename 'kernel.img'.
Load address: 0xa0100000
Loading: ####len bad 48 < 544
len bad 48 < 544
#len bad 48 < 544
#len bad 48 < 544
##len bad 48 < 544
#len bad 48 < 544
[...]
#len bad 48 < 544
##len bad 48 < 544
len bad 212 < 544
T T T T T T T T T T
Retry count exceeded; starting again
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
BOOTP broadcast 5
[...]

after len bad is reported transmission stalls for a while then 
continues. I also noticed that sometimes it copies kernel with only few 
len bad notices sometimes it timeouts. During stalls arp requests are sent:
arp who-has 10.10.10.2 tell 10.10.10.1
14:12:00.735751 arp reply 10.10.10.2 is-at 0:c4:e:43:36:68

timeouts occour@the end of transmission and tcpdump reports
14:14:06.131236 arp who-has 10.10.10.2 tell 10.10.10.1
14:14:08.120463 arp who-has 10.10.10.2 tell 10.10.10.1
14:14:10.109675 arp who-has 10.10.10.2 tell 10.10.10.1
14:14:10.167694 10.10.10.1.32771 > 10.10.10.2.1644: udp 516 (DF)
14:14:20.164829 arp who-has 10.10.10.2 tell 10.10.10.1
14:14:22.154086 arp who-has 10.10.10.2 tell 10.10.10.1
[...]

no reply from lan91c111 ?

Anybody had similar issues ?
Where should I start debugging ? - ether driver smc91111.c seems like a 
good start.
What else am I looking for ?

regards, himba

             reply	other threads:[~2004-02-21 13:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-21 13:15 himbA [this message]
2004-02-21 14:03 ` [U-Boot-Users] lan91c111 bad len Robert Schwebel
2004-02-21 14:16   ` himbA
2004-02-21 17:02     ` Josh Fryman
2004-02-21 17:36       ` himbA
2004-02-21 18:19         ` Josh Fryman
2004-02-21 19:35           ` himbA
2004-02-23 16:44       ` himbA

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=403759F1.8020100@email.si \
    --to=goavr@email.si \
    --cc=u-boot@lists.denx.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.