From owner-freebsd-embedded@FreeBSD.ORG Wed Dec 17 15:38:37 2008 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 059E81065673 for ; Wed, 17 Dec 2008 15:38:37 +0000 (UTC) (envelope-from mah@jump-ing.de) Received: from mail.ud03.udmedia.de (ud03.udmedia.de [194.117.254.43]) by mx1.freebsd.org (Postfix) with ESMTP id 609158FC12 for ; Wed, 17 Dec 2008 15:38:35 +0000 (UTC) (envelope-from mah@jump-ing.de) DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=mail.ud03.udmedia.de; h= in-reply-to:references:mime-version:content-type:message-id:cc: content-transfer-encoding:from:subject:date:to; q=dns/txt; s= beta; bh=DmlKVPNnqLBPG0WexRwbxtCPpwTYDNdoCdGL+JwdGrg=; b=YaSs+xF ftAHwnbCl28k599S+cCUnkxwEL57ERjWelLwm1AQsWd0UXbFtmAjey1ViWcQxJ5U dlF9EChm5aLhlCJWowzMfGj7J294bnBXZjdCFLcFKovEq/pNc1AUhiOvDDm3JKOR 4j2mJ0O5FGQQBUXqqPn4co9/GCT8F4x0GZUc= Received: (qmail 32703 invoked from network); 17 Dec 2008 16:38:33 +0100 Received: from unknown (HELO ?10.0.0.50?) (ud03?291p1@82.212.11.84) by mail.ud03.udmedia.de with ESMTPA; 17 Dec 2008 16:38:33 +0100 In-Reply-To: <20081216191305.GA19656@psconsult.nl> References: <5CED6A5A-C532-4042-B7F3-264BD0C9791B@jump-ing.de> <20081216191305.GA19656@psconsult.nl> Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <5B4E8A71-CD88-4C0F-BD47-74B1DF6B4E0E@jump-ing.de> Content-Transfer-Encoding: 7bit From: Markus Hitter Date: Wed, 17 Dec 2008 16:38:24 +0100 To: Paul Schenkeveld X-Mailer: Apple Mail (2.753.1) Cc: freebsd-embedded@freebsd.org Subject: Re: Wake-on-lan packages don't get through X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Dec 2008 15:38:37 -0000 Am 16.12.2008 um 20:13 schrieb Paul Schenkeveld: > On Tue, Dec 16, 2008 at 07:22:39PM +0100, Markus Hitter wrote: >> >> 18:50:30.019039 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], >> proto UDP >> (17), length 130) piccard.jump-ing.de.37597 > >> 255.255.255.255.40000: [bad >> udp cksum b716!] UDP, length 102 >> >> This package woke the targeted Macintosh. Doing the same on the >> embedded >> Flepo, I get: >> >> 01:38:35.500497 IP (tos 0x0, ttl 64, id 40022, offset 0, flags >> [none], >> proto UDP (17), length 130, bad cksum 0 (->d401)!) git.jump-ing.de. >> 50582 > >> 255.255.255.255.40000: [bad udp cksum a1e4!] UDP, length 102 >> >> The later doesn't get through the switch, I can capture it on the >> sending >> host only. Accordingly, the Mac keeps sleeping. > > Please show a tcpdump -e output here. (did that privately) > What about the kernels, are they the same version? and does your > embedded system have more than one ethernet interface? These two machines have different hardware, and the kernel of the embedded box is stripped, so yes, this might be different kernel behaviour. What bugs me is: neither ethernet package contains correct checksums. How is this possible if normal network operations obviously work just fine? Do I really have to debug the kernel driver? It's the "re" driver. MarKus - - - - - - - - - - - - - - - - - - - Dipl. Ing. Markus Hitter http://www.jump-ing.de/