Doesn't work on embedded platform

Karsten Jeppesen <[email protected]> Fri, 1 Sep 2006 15:36:45 +0200
Newsgroups gmane.network.zeroconf.workers
Message-ID <[email protected]>
I have an embedded platform.

On the development machine I can get tmdns to work just fine. But not 
so when I transport it to the embedded platform.
The initial communication runs fine until the point where tmdns should 
actually be listening for requests.
At that point it is deaf as a door nail.

The config file is the standard built by tmdns

What to do?

Karsten

The log says:
[ 571 ]: Initialize host data ...
[ 571 ]: got address on interface eth0
[ 571 ]: got address on interface eth0
[ 571 ]:   172.22.50.33
[ 571 ]: Reverse address is 33.50.22.172.in-addr.arpa
[ 571 ]: read service config /etc/tmdns.services ...
[ 571 ]: got 4 fields, proto=tcp port=80 service=http prio=0 weight=0 
name=IMWL (000ECD00016C) (ofs=32)
[ 571 ]: found text
[ 571 ]: adding text record
[ 571 ]:   adding string >SKOV IMWL< to last text record
[ 571 ]: found extra pointer
[ 571 ]: read service config /var/run/tmdns.services ...
[ 571 ]: no service file : No such file or directory
[ 571 ]: will probe for this records:
[ 571 ]:   domain=imwlkjp.local, type=1, class=1, ttl=7200, auth=1
[ 571 ]:   domain=33.50.22.172.in-addr.arpa, type=12, class=1, 
ttl=7200, auth=0
[ 571 ]:     ptr: imwlkjp.local
[ 571 ]:   domain=imwlkjp.local, type=13, class=1, ttl=7200, auth=1
[ 571 ]:     hinfo: cpu=i486, os=Linux 2.4.26
[ 571 ]:   domain=IMWL\032(000ECD00016C)._http._tcp.local, type=33, 
class=1, ttl=7200, auth=1
[ 571 ]:     srv: prio=0, weight=0 port=80 target=imwlkjp.local
[ 571 ]:   domain=_http._tcp.local, type=12, class=1, ttl=7200, auth=0
[ 571 ]:     ptr: IMWL\032(000ECD00016C)._http._tcp.local
[ 571 ]:   domain=IMWL\032(000ECD00016C)._http._tcp.local, type=16, 
class=1, ttl=7200, auth=0
[ 571 ]:     string: SKOV IMWL
[ 571 ]:   domain=172.22.50.33, type=12, class=1, ttl=7200, auth=0
[ 571 ]:     ptr: IMWL\032(000ECD00016C)._http._tcp.local
[ 571 ]: going to open sockets ...
[ 571 ]: open sockets
[ 571 ]: allocated space for 8 listen sockets
[ 571 ]: bridge socket is index 0, fd = 3
[ 571 ]: need 2 macast sockets
[ 571 ]: init sender for interface eth0
[ 571 ]: init sender for interface eth0
[ 571 ]: mcast socket for interface eth0/224.0.0.251#5353 is index 3, 
fd = 6
[ 571 ]: have 4 sockets
[ 571 ]: running in debug mode
[ 571 ]: no user named daemon
[ 571 ]: Probe ...
[ 571 ]: alloc decoded_message
[ 571 ]: multicast response
[ 571 ]: Questions:
[ 571 ]:     domain=imwlkjp.local type=255 class=1
[ 571 ]:     domain=imwlkjp.local type=255 class=1
[ 571 ]:     domain=IMWL\032(000ECD00016C)._http._tcp.local type=255 
class=1
[ 571 ]: Answers:
[ 571 ]: Authority:
[ 571 ]:   domain=imwlkjp.local, type=1, class=1, ttl=7200, auth=1
[ 571 ]:   domain=imwlkjp.local, type=13, class=1, ttl=7200, auth=1
[ 571 ]:     hinfo: cpu=i486, os=Linux 2.4.26
[ 571 ]:   domain=IMWL\032(000ECD00016C)._http._tcp.local, type=33, 
class=1, ttl=7200, auth=1
[ 571 ]:     srv: prio=0, weight=0 port=80 target=imwlkjp.local
[ 571 ]: Additional:
[ 571 ]: sent message of 233 bytes to 224.0.0.251#5353 on fd 6
[ 571 ]: Probe ...
[ 571 ]: alloc decoded_message
[ 571 ]: multicast response
[ 571 ]: Questions:
[ 571 ]:     domain=imwlkjp.local type=255 class=1
[ 571 ]:     domain=imwlkjp.local type=255 class=1
[ 571 ]:     domain=IMWL\032(000ECD00016C)._http._tcp.local type=255 
class=1
[ 571 ]: Answers:
[ 571 ]: Authority:
[ 571 ]:   domain=imwlkjp.local, type=1, class=1, ttl=7200, auth=1
[ 571 ]:   domain=imwlkjp.local, type=13, class=1, ttl=7200, auth=1
[ 571 ]:     hinfo: cpu=i486, os=Linux 2.4.26
[ 571 ]:   domain=IMWL\032(000ECD00016C)._http._tcp.local, type=33, 
class=1, ttl=7200, auth=1
[ 571 ]:     srv: prio=0, weight=0 port=80 target=imwlkjp.local
[ 571 ]: Additional:
[ 571 ]: sent message of 233 bytes to 224.0.0.251#5353 on fd 6
[ 571 ]: Probe ...
[ 571 ]: alloc decoded_message
[ 571 ]: multicast response
[ 571 ]: Questions:
[ 571 ]:     domain=imwlkjp.local type=255 class=1
[ 571 ]:     domain=imwlkjp.local type=255 class=1
[ 571 ]:     domain=IMWL\032(000ECD00016C)._http._tcp.local type=255 
class=1
[ 571 ]: Answers:
[ 571 ]: Authority:
[ 571 ]:   domain=imwlkjp.local, type=1, class=1, ttl=7200, auth=1
[ 571 ]:   domain=imwlkjp.local, type=13, class=1, ttl=7200, auth=1
[ 571 ]:     hinfo: cpu=i486, os=Linux 2.4.26
[ 571 ]:   domain=IMWL\032(000ECD00016C)._http._tcp.local, type=33, 
class=1, ttl=7200, auth=1
[ 571 ]:     srv: prio=0, weight=0 port=80 target=imwlkjp.local
[ 571 ]: Additional:
[ 571 ]: sent message of 233 bytes to 224.0.0.251#5353 on fd 6
[ 571 ]: Announce ...
[ 571 ]: alloc decoded_message
[ 571 ]: multicast answer
[ 571 ]: Questions:
[ 571 ]: Answers:
[ 571 ]:   domain=imwlkjp.local, type=1, class=1, ttl=7200, auth=1
[ 571 ]:   domain=imwlkjp.local, type=13, class=1, ttl=7200, auth=1
[ 571 ]:     hinfo: cpu=i486, os=Linux 2.4.26
[ 571 ]:   domain=IMWL\032(000ECD00016C)._http._tcp.local, type=33, 
class=1, ttl=7200, auth=1
[ 571 ]:     srv: prio=0, weight=0 port=80 target=imwlkjp.local
[ 571 ]: Authority:
[ 571 ]: Additional:
[ 571 ]: answer to client :
;; ns_initparse: Message too long
[ 571 ]: sent message of 153 bytes to 224.0.0.251#5353 on fd 6
[ 571 ]: Announce ...
[ 571 ]: alloc decoded_message
[ 571 ]: multicast answer
[ 571 ]: Questions:
[ 571 ]: Answers:
[ 571 ]:   domain=imwlkjp.local, type=1, class=1, ttl=7200, auth=1
[ 571 ]:   domain=imwlkjp.local, type=13, class=1, ttl=7200, auth=1
[ 571 ]:     hinfo: cpu=i486, os=Linux 2.4.26
[ 571 ]:   domain=IMWL\032(000ECD00016C)._http._tcp.local, type=33, 
class=1, ttl=7200, auth=1
[ 571 ]:     srv: prio=0, weight=0 port=80 target=imwlkjp.local
[ 571 ]: Authority:
[ 571 ]: Additional:
[ 571 ]: answer to client :
;; ns_initparse: Message too long
[ 571 ]: sent message of 153 bytes to 224.0.0.251#5353 on fd 6
[ 571 ]: Announce ...
[ 571 ]: alloc decoded_message
[ 571 ]: multicast answer
[ 571 ]: Questions:
[ 571 ]: Answers:
[ 571 ]:   domain=imwlkjp.local, type=1, class=1, ttl=7200, auth=1
[ 571 ]:   domain=imwlkjp.local, type=13, class=1, ttl=7200, auth=1
[ 571 ]:     hinfo: cpu=i486, os=Linux 2.4.26
[ 571 ]:   domain=IMWL\032(000ECD00016C)._http._tcp.local, type=33, 
class=1, ttl=7200, auth=1
[ 571 ]:     srv: prio=0, weight=0 port=80 target=imwlkjp.local
[ 571 ]: Authority:
[ 571 ]: Additional:
[ 571 ]: answer to client :
;; ns_initparse: Message too long
[ 571 ]: sent message of 153 bytes to 224.0.0.251#5353 on fd 6




The continuation taken from the development platform and which never 
happens here on the embedded platform looks like this:

[ 19502 ]: Announce ...
[ 19502 ]: alloc decoded_message
[ 19502 ]: multicast answer
[ 19502 ]: Questions:
[ 19502 ]: Answers:
[ 19502 ]:   domain=imwlworks.local, type=1, class=1, ttl=7200, auth=1
[ 19502 ]:   domain=imwlworks.local, type=13, class=1, ttl=7200, auth=1
[ 19502 ]:     hinfo: cpu=i686, os=Linux 2.4.27-2-386
[ 19502 ]:   domain=IMWL\032(00508BF35AE4)._http._tcp.local, type=33, 
class=1, ttl=7200, auth=1
[ 19502 ]:     srv: prio=0, weight=0 port=80 target=imwlworks.local
[ 19502 ]: Authority:
[ 19502 ]: Additional:
[ 19502 ]: answer to client :
;; ns_initparse: Message too long
[ 19502 ]: sent message of 165 bytes to 224.0.0.251#5353 on fd 5
 >>>>> The embedded platform stops here and never gets past this point 
<<<<<<
[ 19502 ]: check socket idx 0, fd=3
[ 19502 ]: check socket idx 1, fd=4
[ 19502 ]: check socket idx 2, fd=5
[ 19502 ]: packet TTL is 255
[ 19502 ]: packet from 172.22.2.37#5353
[ 19502 ]:   loop check for lo/(unknown address family)
[ 19502 ]:   loop check for eth0/(unknown address family)
[ 19502 ]:   loop check for lo/127.0.0.1#0
[ 19502 ]:   loop check for eth0/172.22.2.44#0
[ 19502 ]: Message from 172.22.2.37#5353 , size 730 bytes
[ 19502 ]: multicast query  :


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642