From owner-freebsd-stable@FreeBSD.ORG Fri Mar 27 06:32:50 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1587D106564A for ; Fri, 27 Mar 2009 06:32:50 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.182]) by mx1.freebsd.org (Postfix) with ESMTP id D41698FC16 for ; Fri, 27 Mar 2009 06:32:49 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: by wa-out-1112.google.com with SMTP id m38so628953waf.27 for ; Thu, 26 Mar 2009 23:32:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent:organization :x-operation-sytem; bh=1nFLm2LFBst4bxF3O0n8VdBQDY5M5AuO8BfG638FtdE=; b=l9ohOJr1NAWVJr83WJpgAgofuJWyhkLy76vhNrCVcitV8am0YqnZcl9KGzcl+69m/f w6Y6tppzQe6gbg6x+/71AZsWONpfJCDUGivTQ0vawAlYoYw27qJwwUDpmwmnHEJFJxQr kFsUaARWWZlTrfBxECCv3IdGmkDtr+N5hTNtc= 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 :organization:x-operation-sytem; b=bmLtPoodCmFpH/rE6bPaPKc50MpdreLE+nx6MDcge4ClL7+yb/+6MWq0ZrJf/B8Nxc StUQ6xVxp/3uUH7H87Jw8/goppX96J/+FmEsPLtv/EAHJcAYBjeLnzgfau0huhBoPCJD rENTNatHeP9fYBfMAI2Yo5+CsUu6RpmLbusrM= Received: by 10.114.170.1 with SMTP id s1mr1223426wae.57.1238135569463; Thu, 26 Mar 2009 23:32:49 -0700 (PDT) Received: from weongyo ([114.111.62.249]) by mx.google.com with ESMTPS id b39sm2045119rvf.8.2009.03.26.23.32.47 (version=SSLv3 cipher=RC4-MD5); Thu, 26 Mar 2009 23:32:48 -0700 (PDT) Received: by weongyo (sSMTP sendmail emulation); Fri, 27 Mar 2009 15:32:45 +0900 From: Weongyo Jeong Date: Fri, 27 Mar 2009 15:32:45 +0900 To: John Message-ID: <20090327063245.GD19512@weongyo.cdnetworks.kr> References: <49CAA7AB.8030506@reiteration.net> <20090326025431.GC14916@weongyo.cdnetworks.kr> <49CB659D.2000108@reiteration.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49CB659D.2000108@reiteration.net> User-Agent: Mutt/1.4.2.3i Organization: CDNetworks. X-Operation-Sytem: FreeBSD Cc: FreeBSD Stable Subject: Re: malo causes sig 12 error and panic on Freebsd 7.2-PRERELEASE (7-STABLE) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Weongyo Jeong List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Mar 2009 06:32:50 -0000 On Thu, Mar 26, 2009 at 11:23:09AM +0000, John wrote: > Weongyo Jeong wrote: > > > Could you please test it with attached patch to fix a page fault? I > > don't know why bus_dma_tag_create() returns ENOMEM that it looks > > temporary. > > Hi, > > Seems the patch failed to apply: > > [root@potato /usr/src/sys/dev/malo]# ls -la > total 140 > drwxr-xr-x 2 root wheel 512 Mar 26 11:17 . > drwxr-xr-x 199 root wheel 3072 Mar 24 16:58 .. > -rw-r--r-- 1 root wheel 66668 May 4 2008 if_malo.c > -rw-r--r-- 1 root wheel 19096 May 4 2008 if_malo.h > -rw-r--r-- 1 root wheel 9625 Mar 26 11:14 if_malo_pci.c > -rw-r--r-- 1 root wheel 22333 May 4 2008 if_malohal.c > -rw-r--r-- 1 root wheel 8266 May 4 2008 if_malohal.h > -rw-r--r-- 1 root wheel 3722 May 4 2008 if_maloioctl.h > -rw-r--r-- 1 root wheel 375 Mar 26 11:15 > patch_malo_20090326_panic.diff > > [root@potato /usr/src/sys/dev/malo]# patch < patch_malo_20090326_panic.diff > > Hmm... Looks like a unified diff to me... > The text leading up to this was: > -------------------------- > |Index: if_malo_pci.c > |=================================================================== > |--- if_malo_pci.c (revision 187939) > |+++ if_malo_pci.c (working copy) > -------------------------- > Patching file if_malo_pci.c using Plan A... > Hunk #1 failed at 260. > 1 out of 1 hunks failed--saving rejects to if_malo_pci.c.rej > done It looks something goes wrong so could you please patch if_malo_pci.c manually it's a very simple patch and test? Sorry for inconvenience. regards, Weongyo Jeong