From owner-freebsd-net@FreeBSD.ORG Sun Jun 26 21:20:19 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 746E31065674 for ; Sun, 26 Jun 2011 21:20:19 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 43E2E8FC13 for ; Sun, 26 Jun 2011 21:20:19 +0000 (UTC) Received: by pzk27 with SMTP id 27so202349pzk.13 for ; Sun, 26 Jun 2011 14:20:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:date:to:cc:subject:message-id:reply-to :references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=o5HgdgoXhK0BwmApnomI+DorFDGeR1P5E8bcTz4J2HQ=; b=SpnvD3+B+/r5bJnUj7AffljN3l4WDmPvN3TBnwqeg1SB8I993Dlsprjyzm2mciqCSP SrsA3zSciOqzk7em4as4xaqW8guappjVmb9pJFoue+EdM75a207SGKGheTsS8o7BzpBP dl12iSOqz/K8lCTfvOVl3HklO4hVGgIuZqWl0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=BthcpZGE5xzR56Vorv065xIT+RYhzr0mNY09E56pDirQsy2iS55FOTSyIEsBXvZ8lr 7+y8cI9ws1Y/juwbjFF89drrPQwRUh6dgBV4lsz942z9Rcuj2owwgjGgTv9Chj7DUcl4 o8NlDkR952Vk9dE+5MskL6HRyweJQ2WgUMCK4= Received: by 10.142.152.28 with SMTP id z28mr982048wfd.293.1309123218549; Sun, 26 Jun 2011 14:20:18 -0700 (PDT) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id n9sm4098098wfk.8.2011.06.26.14.20.15 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 26 Jun 2011 14:20:17 -0700 (PDT) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Sun, 26 Jun 2011 14:19:22 -0700 From: YongHyeon PYUN Date: Sun, 26 Jun 2011 14:19:21 -0700 To: Michael Schuh Message-ID: <20110626211921.GA1629@michelle.cdnetworks.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: FreeBSD Net Subject: Re: Kernel memory corruption(?) with age(4) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jun 2011 21:20:19 -0000 On Sun, Jun 26, 2011 at 06:53:57AM +0200, Michael Schuh wrote: > Hi, > > i am not on the list atm. > > i found this entry after digging in google during problems with a normally > rock stable > system ( under linux). > > I can also confirm the behaviour from the first post. > After a long hard night digging in the system and changing some options > i found a repeatable way to crash the system ultrafast. > > at the initial crashes the system crashed after copying around 800GB. > the second and third and further attempts/impacts got issued everytime > after an ~ hour from reboot on. leaving the system withouth any power, > changing some hardware > forth and back didn't changed anything, except the network card. > > a happening beside that: immediatly after the initial boot will get the > ntpdate and ntpd started. > by this, the ntpd complains about unsresolveable hostnames from ntp.conf. > if you log in and restart the ntpd by hand, everything is fine, no > complains, > no unresolveable hostnames. > the hostnames are well known and tested and the DNS works still fine. > this happening will also leave if you change the Ethernet-adapter to an > Intel Card. > > My system crashed so fast that i didn't got any log entry nor a crashdump. > > my last try's crashed my system after 100 - 120 seconds. > > HW: AMD P5K with Atheros age-Interface enabled, 6GB Corsair DDR2 800MHZ > (pc6400) RAM ( latency 5-5-5-5-18) > Ati Radeon HD4350 with 512MB Onboard Memory, 3 disks 2 PATA, 1 SATA. > > OS: FreeBSD/amd64 8.2-RELEASE ( unmodified original RELEASE install ) > > REQUIREMENTS to repeat the issue: > box A: a stable FreeBSD or Linux Box with GBitEthernet interface and no > essential networkload > box B: the affected FreeBSD Host with the age interface. > > the age0 interface is configured with default options. > only the ip-configuration got applied through rc.conf > > ifconfig_age0="192.168.1.3 netmask 255.255.255.0" > > PROCEDURE: > On Box A ( p.e IP: 192.168.1.2 ) issue the command: > > # dd if=/dev/zero |nc -l -p 1666 > > On Box B issue a complementary command like: > > # nc 192.168.1.2 1666| dd of=/dev/null > > I am sorry i cannot test a patch at this time cause this is a backup server, > that has to get asap into production. > After disabling the age-Interface in the bios settings and inserting a Intel > GBit NIC the System runs stable again. > > i hope this informations will help a bit. > if you need to message me, please message me directly cause i am not > registered for this list. > I think the issue was already fixed(r220249, r220252). Apply the patch and rebuild your kernel after downloading it from the following URL. http://svnweb.freebsd.org/base/head/sys/dev/age/if_age.c?r1=219902&r2=220252&view=patch If you see the same issue again with this patch please let me know.