Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Jul 1998 15:47:07 -0400 (EDT)
From:      "Larry S. Lile" <lile@stdio.com>
To:        hackers@FreeBSD.ORG, tokenring@FreeBSD.ORG
Cc:        David Greenman <dg@root.com>
Subject:   Still having problems with my driver :(
Message-ID:  <Pine.SUN.3.91.980711153811.23884C-101000@heathers.stdio.com>

next in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime@docserver.cac.washington.edu for more info.

--1461733264-1779487855-900186427=:23884
Content-Type: TEXT/PLAIN; charset=US-ASCII


I still cannot get the upper network layers to respond to incoming 
packets.  I even hacked tcpdump to make sure that I was no wrecking
the packets as I took them off the wire.

15:29:58.698564 arp who-has anatok tell blastok (0:0:83:2d:9f:35) 
hardware #6
15:29:59.588735 cyntok > anatok: icmp: echo request
15:30:00.590438 cyntok > anatok: icmp: echo request
tcpdump: WARNING: compensating for unaligned libpcap packets
        (^- anybody know how to fix this?)
15:30:03.499586 cyntok.1054 > anatok.telnet: S 3037285377:3037285377(0) 
win 16384 <mss 1452>
15:30:09.271262 cyntok.1054 > anatok.telnet: S 3037285377:3037285377(0) 
win 16384 <mss 1452>
15:30:09.702343 arp who-has anatok tell blastok (0:0:83:2d:9f:35) 
hardware #6

The only messages I got indicating anything at all is wrong were 
these when I ifconfig the card up for the first time after a 
reboot.

Jul 10 22:21:33 anarchy routed[69]: ignore RTM_ADD without gateway
Jul 10 22:21:33 anarchy routed[69]: Send bcast sendto(tok0, 
10.0.0.255.520): No buffer space available
Jul 10 22:21:33 anarchy routed[69]: write(rt_sock) RTM_ADD 10.0.0.0/24 
--> 10.0.0.1: File exists

Any ideas what might be wrong, or could someone please look at my
code and help me figure this out.

I have attached the tcpdump patches if someone would like to commit
them to the source tree, I also sent them to the tcpdump maintainers.
The source for my driver is at http://anarchy.stdio.com.

I really need some help here, It is undoubtedly something small and
simple that I am overlooking.

Larry Lile
lile@stdio.com
--1461733264-1779487855-900186427=:23884
Content-Type: APPLICATION/octet-stream; name="tcpdump-tr.tgz"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.SUN.3.91.980711154707.23884D@heathers.stdio.com>
Content-Description: tcpdump token-ring patches

H4sIAL+8pzUAA+0aa3PaSDJf4Vd0nL0YvLKNMH7HqZVBNrrF4EMij8qlWCEN
oIuQdNJgx5X1f7/ukYQEBnv3Ko+7WqZcWJrp6fd092iGW4E9nQS7z75hg1rl
cH8fngG1ysL/5AUO9vflw739SqUKIFcOapVnsP8tmUrbNOJmCPAs9H3+GNzt
mDH3ezD0fRtP7J/837F2ApNb469KQ66gPWsr7S9XDmf2rx3uH2DP3sEh2r/y
VblY0f7i9t/a2oLdaRTuRqG1a/keD53B7kOn8ENnVNBNDn+fuiDLIO+fyPJJ
tQby8fFRcXt7G2awC2CV4xP5MAbbmm/0DsdV6fgIxCsA/qE1uGPhv3BqcQhC
x+MsTP9HHz7CGXxBsMIXYHzMwr4z7ItBqdBoGX21LVeuzuFeKj5fBaKpqnqE
QQZhBJrIzQEICL2lXc+GgyBYHL++zoaHtu0sELhoNDQaJ6XE0uHT9jeQjvuf
mPejpPvRfrtuX6elS12YeFu41I71lWk8Hv9luVaV0/h/UK0cUvyvVarr+P89
2i7G3S2o+8EdRvgxh5JVxmB9dCTR7zH9HlfEryx+q+J3T/zWxO+++D1ALAVj
zKDLRszjEfhDwAgGPc+5wcjm8DvqqZuuM/RDzzF3ABTXBUEzgpBFLLxh9g5i
IXa6zHYiykRT7vgemJ4N04iB40HkT0OLiZ6B45nhHSC+SSTBrcPH4Ifivz/l
hGXi287QsUzCIYEZMghYOHE4ZzaGXP/GsfGBj01+AiW5nKK2fJtBnnxEuELG
TSRPIpkD/4bAUo15Pob0mCU+diIIzNAchWYwJn4dlA714eD8OwlK1TIhm8OO
UJY7tR1vlEokOIh72RMUCdvjRCHh2vat6QQ7hTZIUT4lGJiYmHgc0xVCzpQi
lClm5TiVhIilvTKYaDn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Uha8hCTkcpa/E1oKXXwOa4W8nSQ45yvCSHFSmP
c1fEkhOahWtiT9wRS11i9UWj8/fiQpDSM5p0vafdgHqnbXS1857R6erz95CE
3y29grTq/hFigXYnuX+EYEZH3D8iREuvIP1X948EWyhWQ9PrLQVr3sYOIBNI
GNQ3atsAvam0Wnkx8W9OynMVOVTOWwKVIINSNrSuWjdInOypjjpD5loS6Ndq
XaMH9Z2Kkijd91KCVlf/0UMgHCRsDeVKuUTZSk9oBQ1S73XVK+IX9aD3znVD
M3qGCpedTkMnVIheV7tvtLqqn0KrowuF9XRVQiKGIsgjFtQWDuPzeU/XhN60
tqF2u71ruv4l7js2O29RMcisgrMbQsedtpAZddTpvie8pA9hAgneNsWugVQq
tKaQLnTUXt0Qd/cySKSK+jRywkJbvcQqX23XVRrtEKK3mq6W0WKaTgBaTPmt
8l7I2BPik62Qt/gx57qSsChoF6A03mjEfAKMfqBric/EN9n0Xr2ZaD9ZBbvF
4ov46sfCuVPy2bs2G148EqThEk+PnejAOeIfKh/hJVQ+H1XKs3nZyWB2dFgq
xUdXND20hmUxSR5WKmV4/RqOygs8dVEn/SulHjN2kKFGRmhIVy/JRxDkHcgH
xeKyk9Ls/DL5FghgWqcPO4fLOmMRbSHiQ5Y+rpwR/ZEZ8VE9oB6W9UZs9GGJ
nIjh/rS4rmPXbd3Wbd3Wbd3Wbd3Wbd3Wbd3Wbd3Wbd3Wbd3Wbd3Wbd3W7f+0
/QdYFh4+AFAAAA==
--1461733264-1779487855-900186427=:23884--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-tokenring" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SUN.3.91.980711153811.23884C-101000>