From owner-freebsd-questions@FreeBSD.ORG Thu Mar 22 16:13:23 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 49AD616A400 for ; Thu, 22 Mar 2007 16:13:23 +0000 (UTC) (envelope-from rajkumars@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.181]) by mx1.freebsd.org (Postfix) with ESMTP id 1738813C4EA for ; Thu, 22 Mar 2007 16:13:21 +0000 (UTC) (envelope-from rajkumars@gmail.com) Received: by py-out-1112.google.com with SMTP id f47so261745pye for ; Thu, 22 Mar 2007 09:13:20 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=m0YP2lkH/c6klVMUP94Bz1szbMIVmeCpC2JngtRPNrBU4zz4CYEm8j7FKXWrke1TWN6CZ/8zbAmzJwqRUV6Jq/ifcRCqTf6cg1D91vFNYWtFMS+dDnuVXg4zeSrs/WJ/dK/6yM/EjWw7lkkZ8ZE4ZX3vJ7S6hx/XGtdCdLNd9IY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=G/EhVZQqbV1Of0N7isfECFM4cQyzsJlwyKLLjsGhAlDtZFULSrU/mGyxmCqnGyGPhchz1RnIYWxXKGr8JsxedKpbl7nLt3W+P7y+/Hzk3yoL+E/bKWD/Y6ZL4wqsfa+SR153AWuWS98V0NU9dkby9rhAAmGS5xmu9Ah+SVnRYMQ= Received: by 10.35.107.20 with SMTP id j20mr3907482pym.1174579998892; Thu, 22 Mar 2007 09:13:18 -0700 (PDT) Received: by 10.35.21.10 with HTTP; Thu, 22 Mar 2007 09:13:18 -0700 (PDT) Message-ID: <64de5c8b0703220913g1c954092xbd5653404f9acabb@mail.gmail.com> Date: Thu, 22 Mar 2007 21:43:18 +0530 From: "Rajkumar S" To: freebsd-questions@freebsd.org In-Reply-To: <4602A7B5.6060107@errno.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <64de5c8b0703160732o789f6993hcd926c6b3bc123f3@mail.gmail.com> <448xdtti2d.fsf@be-well.ilk.org> <64de5c8b0703192308ya58c0b0l8a49bda8d1a4b6e1@mail.gmail.com> <64de5c8b0703200326ie3e1fb3o400033ae64836e0c@mail.gmail.com> <44lkhpbari.fsf@be-well.ilk.org> <4602A7B5.6060107@errno.com> Cc: sam@errno.com Subject: Re: safe0 and kernel panic X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Mar 2007 16:13:23 -0000 On 3/22/07, Sam Leffler wrote: > I have no context. I see a device not attaching for some reason. Then > /dev/crypto not being present (is cryptodev loaded in the kernel?). But > a subject line about a panic. The device is not attaching because bus_dma_tag_create function fails with the error ENOMEM. (in line 300, safe.c). I have changed BUS_DMA_ALLOCNOW flag in bus_dma_tag_create to BUS_DMA_COHERENT and the panic disappears. BUS_DMA_COHERENT was just taken randomly (as in some other flag) with no idea about it's use or purpose. > If you've submitted a PR please send me a pointer. Otherwise you might > consider submitting one w/ details like what version of freebsd you're > running. The PR Number is 110662. I have tried to put as much information as possible, I am always ready to provide additional details or do some testing/debugging. raj