From owner-freebsd-net@FreeBSD.ORG Mon Jun 27 16:24:08 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 383A01065673 for ; Mon, 27 Jun 2011 16:24:08 +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 05E7C8FC19 for ; Mon, 27 Jun 2011 16:24:07 +0000 (UTC) Received: by pzk27 with SMTP id 27so779429pzk.13 for ; Mon, 27 Jun 2011 09:24:07 -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=TJipto7f9Pdn0xL6EVY/fyA73GOcC9xVdm9GV1exrWw=; b=ImiNhiXNMB5cxHkPrX+NaujrmUwF2bXAVUs1WahxIAUmSz6HAOXB2BCD+SmE4rcRHD ppUUJ8peTkTwEP2yh9QiL9XbbxhTAVl7ou5bEKps/TpQeO9Z7ziY5ZRiLiqmwg/7ohZA CttGABiJEIR/FfVhdvhi3xN0uyX6oZ+9MecCQ= 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=LEonZl3abusb/JLGECOXeLZnDj1KmJVh6ZToRp3OqFk0zBnhLHz3mAdknp9KTPTWVO eyiulI+MC/CRvOUJP/DulR5uuSgtBQbAGJy6HmMcVpSJJVvUFm6FzYx2+fXJCWLcdFVK O9wKwgDgT7ulsE4dubxI1Bj6wB7asGwlRpDYk= Received: by 10.142.249.41 with SMTP id w41mr1186508wfh.255.1309191847419; Mon, 27 Jun 2011 09:24:07 -0700 (PDT) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id x2sm4409256pbn.77.2011.06.27.09.24.04 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 27 Jun 2011 09:24:05 -0700 (PDT) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Mon, 27 Jun 2011 09:23:11 -0700 From: YongHyeon PYUN Date: Mon, 27 Jun 2011 09:23:11 -0700 To: Michael Schuh Message-ID: <20110627162311.GA1652@michelle.cdnetworks.com> References: <20110626211921.GA1629@michelle.cdnetworks.com> 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: Mon, 27 Jun 2011 16:24:08 -0000 On Mon, Jun 27, 2011 at 01:50:11PM +0200, Michael Schuh wrote: > 2011/6/26 YongHyeon PYUN > > > 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. > > > > Many thanks for the patch. > i will test him later. > > Just another question in relation to this: > Got this patch applied to the stable branch? The patch is for 8.2-RELEASE or 7.4-RELEASE. > I plan to switch the system this week to stable. > You don't have to apply the patch to stable/8. The patch was already merged to both stable/8 and stable/7. > thanks again.