Hi all,
I'm debugging a problem with an am3874 board that advertises its presence via mDNS (running Avahi.) I'm using a kernel and compiler derived from the SDK, with a non-stock userspace. That's a big stack, so I'll describe the underlying issue. My question (jump to the bottom!) concerns a TI kernel patch and whether or not I should backport it from the linux-am33x tree to 2.6.37.
On boot-up, my CPSW does not respond to mDNS queries. Using wireshark, I can see the requests go from my PC to the AM3874, but no response is generated. Both requests and replies should be multicast.
After several minutes, some unrelated activity from my PC causes the CPSW to add an additional ALE entry:
index 12, raw: 00000004 7002ecf4 bb33b911, type: vlan+addr(3), vlan: 2, addr: ec:f4:bb:33:b9:11, uctype: untouched(1), port: 1
After this ALE entry turns up (it seems to be either a DHCP or ARP packet that does the trick), multicasting suddenly works and mDNS queries are answered properly.
I've backported this commit from the linux-am33x tree:
https://gitorious.org/am335x/linux-am33x/commit/1a4213326177b5214ee98c8d2a8e431475a881b2
...and it also appears to fix the issue in 2.6.37. I'm wondering if this is the expected behaviour before and after this patch, and whether I can commit it to my tree and carry on.
best,
Graeme