I have a 1.2.8 (Slackware 2.3) Linux box with a SMC Etherpower card using the
0.5 Tulip driver, and it seems to work fine except with our Apple network
printer (which speaks lpd protocol via its own TCP/IP). Connections to the
printer get hung up in short order, eventually resulting in a reset (see
tcpdump output below).
The dump: In short what seems to be happening is that all proceeds okay until
about 10-20k has been sent, at which time the printer refuses to see further
data, repeatedly 'ack'ing only the previous stuff. This send/ack cycle
repeats a number of times, and (interestingly) at the end appears to be
demonstrating some kind of exponential backoff (each host doubles its previous
wait before speaking). At the point when this delay reaches 1-2 minutes, a
reset is initiated by the printer, and then the cycle repeats (resulting in
the beginning part of the print job being printed many times).
Details: Networking code is Swansea NET 3.019. The behavior seems to be the
same using the de4x5 driver, though I haven't verified with tcpdump that
exactly the same events are occurring. Another 1.2.8 Linux box with a Linksys
PCMCIA card, NET 3.019 and a de650 driver speaks to the printer without
problems.
Thanks in advance for any suggestions about how to proceed from here.
--Mike
===========================================================================
17:44:23.045310 arp who-has ctrprinter tell chez-gnu.cstp.umkc.edu
17:44:23.057629 arp reply ctrprinter is-at 8:0:7:4:7f:e0
17:44:23.059365 chez-gnu.cstp.umkc.edu.1023 > ctrprinter.printer: S 3033454634:3033454634(0) win 512 <mss 1436>
17:44:23.064883 ctrprinter.printer > chez-gnu.cstp.umkc.edu.1023: S 267825153:267825153(0) ack 3033454635 win 4380 <mss 1460> (DF)
17:44:23.066932 chez-gnu.cstp.umkc.edu.1023 > ctrprinter.printer: . ack 1 win 14259
? 17:44:23.067990 ctrprinter.printer > chez-gnu.cstp.umkc.edu.1023: . ack 1 win 4380 (DF)
17:44:23.081939 chez-gnu.cstp.umkc.edu.1023 > ctrprinter.printer: P 1:6(5) ack 1 win 14335
17:44:23.086846 ctrprinter.printer > chez-gnu.cstp.umkc.edu.1023: . ack 6 win 4375 (DF)
17:44:23.095752 ctrprinter.printer > chez-gnu.cstp.umkc.edu.1023: P 1:2(1) ack 6 win 4380 (DF)
17:44:23.096944 chez-gnu.cstp.umkc.edu.1023 > ctrprinter.printer: . ack 2 win 14334
? 17:44:23.105437 ctrprinter.printer > chez-gnu.cstp.umkc.edu.1023: . ack 6 win 4380 (DF)
17:44:23.301724 chez-gnu.cstp.umkc.edu.1023 > ctrprinter.printer: P 6:27(21) ack 2 win 14335
17:44:23.307855 ctrprinter.printer > chez-gnu.cstp.umkc.edu.1023: . ack 27 win 4359 (DF)
17:44:23.323160 ctrprinter.printer > chez-gnu.cstp.umkc.edu.1023: P 2:3(1) ack 27 win 4380 (DF)
17:44:23.324354 chez-gnu.cstp.umkc.edu.1023 > ctrprinter.printer: . ack 3 win 14334
17:44:23.325554 chez-gnu.cstp.umkc.edu.1023 > ctrprinter.printer: P 27:1051(1024) ack 3 win 14335
17:44:23.326977 chez-gnu.cstp.umkc.edu.1023 > ctrprinter.printer: P 1051:2487(1436) ack 3 win 14335
17:44:23.341111 ctrprinter.printer > chez-gnu.cstp.umkc.edu.1023: . ack 2487 win 1920 (DF)
17:44:23.342533 chez-gnu.cstp.umkc.edu.1023 > ctrprinter.printer: P 2487:3923(1436) ack 3 win 14335
17:44:23.351912 ctrprinter.printer > chez-gnu.cstp.umkc.edu.1023: . ack 3923 win 484 (DF)
? 17:44:23.558597 chez-gnu.cstp.umkc.edu.1023 > ctrprinter.printer: . ack 3 win 14335
? 17:44:23.563773 ctrprinter.printer > chez-gnu.cstp.umkc.edu.1023: . ack 3923 win 484 (DF)
? 17:44:23.894873 ctrprinter.printer > chez-gnu.cstp.umkc.edu.1023: . ack 3923 win 484 (DF)
? 17:44:24.298682 chez-gnu.cstp.umkc.edu.1023 > ctrprinter.printer: . ack 3 win 14335
? 17:44:24.303710 ctrprinter.printer > chez-gnu.cstp.umkc.edu.1023: . ack 3923 win 484 (DF)
? 17:44:24.887097 ctrprinter.printer > chez-gnu.cstp.umkc.edu.1023: . ack 3923 win 484 (DF)
17:44:25.392991 ctrprinter.printer > chez-gnu.cstp.umkc.edu.1023: . ack 3923 win 3404 (DF)
17:44:25.394409 chez-gnu.cstp.umkc.edu.1023 > ctrprinter.printer: P 3923:5359(1436) ack 3 win 14335
17:44:25.395854 chez-gnu.cstp.umkc.edu.1023 > ctrprinter.printer: P 5359:6795(1436) ack 3 win 14335
17:44:25.404549 ctrprinter.printer > chez-gnu.cstp.umkc.edu.1023: . ack 5359 win 1968 (DF)
17:44:25.416252 ctrprinter.printer > chez-gnu.cstp.umkc.edu.1023: . ack 5359 win 3428 (DF)
17:44:25.417685 chez-gnu.cstp.umkc.edu.1023 > ctrprinter.printer: P 6795:8231(1436) ack 3 win 14335
?! 17:44:25.621118 chez-gnu.cstp.umkc.edu.1023 > ctrprinter.printer: P 5359:6795(1436) ack 3 win 14335
17:44:25.630460 ctrprinter.printer > chez-gnu.cstp.umkc.edu.1023: . ack 6795 win 1992 (DF)
17:44:25.632788 chez-gnu.cstp.umkc.edu.1023 > ctrprinter.printer: P 6795:8231(1436) ack 3 win 14335
17:44:25.643880 ctrprinter.printer > chez-gnu.cstp.umkc.edu.1023: . ack 8231 win 2016 (DF)
17:44:25.646034 chez-gnu.cstp.umkc.edu.1023 > ctrprinter.printer: P 8231:9667(1436) ack 3 win 14335
17:44:25.654136 ctrprinter.printer > chez-gnu.cstp.umkc.edu.1023: . ack 8231 win 3476 (DF)
17:44:25.655571 chez-gnu.cstp.umkc.edu.1023 > ctrprinter.printer: P 9667:11103(1436) ack 3 win 14335
17:44:25.666528 ctrprinter.printer > chez-gnu.cstp.umkc.edu.1023: . ack 8231 win 2040 (DF)
17:44:26.061150 chez-gnu.cstp.umkc.edu.1023 > ctrprinter.printer: P 8231:9667(1436) ack 3 win 14335
?!! 17:44:26.810340 ctrprinter.printer > chez-gnu.cstp.umkc.edu.1023: . ack 8231 win 2040 (DF)
17:44:26.871224 chez-gnu.cstp.umkc.edu.1023 > ctrprinter.printer: P 8231:9667(1436) ack 3 win 14335
?? 17:44:28.481324 chez-gnu.cstp.umkc.edu.1023 > ctrprinter.printer: P 8231:9667(1436) ack 3 win 14335
?!!! 17:44:29.066728 ctrprinter.printer > chez-gnu.cstp.umkc.edu.1023: . ack 8231 win 2040 (DF)
17:44:31.691555 chez-gnu.cstp.umkc.edu.1023 > ctrprinter.printer: P 8231:9667(1436) ack 3 win 14335
17:44:33.520498 ctrprinter.printer > chez-gnu.cstp.umkc.edu.1023: . ack 8231 win 2040 (DF)
17:44:38.102031 chez-gnu.cstp.umkc.edu.1023 > ctrprinter.printer: P 8231:9667(1436) ack 3 win 14335
17:44:42.378766 ctrprinter.printer > chez-gnu.cstp.umkc.edu.1023: . ack 8231 win 2040 (DF)
17:44:50.913005 chez-gnu.cstp.umkc.edu.1023 > ctrprinter.printer: P 8231:9667(1436) ack 3 win 14335
17:45:00.030735 ctrprinter.printer > chez-gnu.cstp.umkc.edu.1023: . ack 8231 win 2040 (DF)
17:45:16.524887 chez-gnu.cstp.umkc.edu.1023 > ctrprinter.printer: P 8231:9667(1436) ack 3 win 14335
17:45:35.286818 ctrprinter.printer > chez-gnu.cstp.umkc.edu.1023: . ack 8231 win 2040 (DF)
17:46:07.738686 chez-gnu.cstp.umkc.edu.1023 > ctrprinter.printer: P 8231:9667(1436) ack 3 win 14335
17:46:45.742159 ctrprinter.printer > chez-gnu.cstp.umkc.edu.1023: . ack 8231 win 2040 (DF)
17:47:50.156299 chez-gnu.cstp.umkc.edu.1023 > ctrprinter.printer: P 8231:9667(1436) ack 3 win 14335
17:47:56.212140 ctrprinter.printer > chez-gnu.cstp.umkc.edu.1023: . ack 8231 win 2040 (DF)
17:49:06.669511 ctrprinter.printer > chez-gnu.cstp.umkc.edu.1023: . ack 8231 win 2040 (DF)
17:49:50.175235 chez-gnu.cstp.umkc.edu.1023 > ctrprinter.printer: P 8231:9667(1436) ack 3 win 14335
17:49:50.180661 arp who-has chez-gnu.cstp.umkc.edu (Broadcast) tell ctrprinter
17:49:50.181561 arp reply chez-gnu.cstp.umkc.edu is-at 0:0:c0:6f:ff:e
17:49:50.184146 ctrprinter.printer > chez-gnu.cstp.umkc.edu.1023: R 267825156:267825156(0) win 0
17:49:50.191498 chez-gnu.cstp.umkc.edu.1022 > ctrprinter.printer: S 3360582081:3360582081(0) win 512 <mss 1436>
17:49:50.199780 ctrprinter.printer > chez-gnu.cstp.umkc.edu.1022: S 27045889:27045889(0) ack 3360582082 win 4380 <mss 1460> (DF)
[and so on]
===========================================================================
--
Mike Coleman * cole...@cstp.umkc.edu * http://ctr.cstp.umkc.edu/~coleman (PGP)
**** Center for TeleComputing Research, CSTP, U. of Missouri--Kansas City ****
When you say 'I wrote a program that crashed Windows', people just stare at
you blankly and say 'Hey, I got those with the system, *for free*'.--L.Torvalds