From owner-freebsd-stable@FreeBSD.ORG Thu Mar 26 02:54:35 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 8594A106567F for ; Thu, 26 Mar 2009 02:54:35 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.230]) by mx1.freebsd.org (Postfix) with ESMTP id 47DE78FC1E for ; Thu, 26 Mar 2009 02:54:35 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: by rv-out-0506.google.com with SMTP id l9so567881rvb.43 for ; Wed, 25 Mar 2009 19:54:34 -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=ucEZSA7Gf6oZOEcR73GrBCVLlqZVIzgN4ic5n00sbRE=; b=uVqq9fnoq8vmJqSfC1IMBH/WVDVdqPTNx+B9EE4qs6KZf1e0XrQbAkkqqFhuItDW2p Nqw5QnlV3fpFbmGih7vuVq/R+TAiqGgOnqonfU+kAekOV7W+4wmpNIl6VJepYLsdSyiy 1nU/u6iYC/XK/1RA3TUDfnUrJDzV72FcFr1fY= 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=VPCXgUZ6x02uwiesHYpx1Gh06Nm9z6bE4mxuIPa/YUsqdNBA5PqSo9H5OpeRvLgvBR O6gFh+7CIsm6KUrViTFQxDZNhrmQ+YpTH7t5h+S0mFryrAfhUs055VX1tAGjCS3Ddbia B7uHSNVm8kKPSgLC3anhXQPVMG7u9467beqZU= Received: by 10.141.42.10 with SMTP id u10mr159121rvj.241.1238036074845; Wed, 25 Mar 2009 19:54:34 -0700 (PDT) Received: from weongyo ([114.111.62.249]) by mx.google.com with ESMTPS id k41sm5382257rvb.26.2009.03.25.19.54.33 (version=SSLv3 cipher=RC4-MD5); Wed, 25 Mar 2009 19:54:34 -0700 (PDT) Received: by weongyo (sSMTP sendmail emulation); Thu, 26 Mar 2009 11:54:31 +0900 From: Weongyo Jeong Date: Thu, 26 Mar 2009 11:54:31 +0900 To: John Message-ID: <20090326025431.GC14916@weongyo.cdnetworks.kr> References: <49CAA7AB.8030506@reiteration.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="HlL+5n6rz5pIUxbD" Content-Disposition: inline In-Reply-To: <49CAA7AB.8030506@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: Thu, 26 Mar 2009 02:54:36 -0000 --HlL+5n6rz5pIUxbD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Mar 25, 2009 at 09:52:43PM +0000, John wrote: > Hi list > > I configured the malo device as per the manpage. Now I'm getting panic > after the device is probed as per > http://www.growveg.org/desktop/DSC_6973-3008.jpg 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. > Is there a parameter I can pass to boot that will ignore this > driver/module? I have tried disable-module to no avail. Is the only > option to use the rescue disk? I need loader.conf to be ignored now in > order to get the system up at all. > > Is malo known to work under 7-STABLE? I notice the man page says it > first appeared under FreeBSD 8.0. It works since 7.1 Release and it's my fault that the manpage should be updated. regards, Weongyo Jeong --HlL+5n6rz5pIUxbD Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="patch_malo_20090326_panic.diff" Index: if_malo_pci.c =================================================================== --- if_malo_pci.c (revision 187939) +++ if_malo_pci.c (working copy) @@ -260,10 +260,8 @@ error = malo_attach(pci_get_device(dev), sc); - if (error != 0) { - malo_pci_detach(dev); - return (error); - } + if (error != 0) + goto bad1; return (error); bad1: --HlL+5n6rz5pIUxbD--