From owner-freebsd-questions@FreeBSD.ORG Thu Mar 22 07:13:45 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 4562416A51C for ; Thu, 22 Mar 2007 07:13:45 +0000 (UTC) (envelope-from rajkumars@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.183]) by mx1.freebsd.org (Postfix) with ESMTP id 071BF13C468 for ; Thu, 22 Mar 2007 07:13:44 +0000 (UTC) (envelope-from rajkumars@gmail.com) Received: by py-out-1112.google.com with SMTP id f47so199643pye for ; Thu, 22 Mar 2007 00:13:44 -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:mime-version:content-type:content-transfer-encoding:content-disposition; b=e92yvs17Pjmtezh/ysZkEYH2+fzLhfTWmJmvghmHA4bwHbVlPFWLectE8eMXdyd8hPGKCmTRAGrTkTiSlMtBkhoFAraw4X84swKfZU/V7cZCLLFzuZYnpIV7fn906wYbu8FS8+M1Kebuiwf/Tl6v9nOlnYjHJZWKQ3+2gb2p3+8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=unsBtyghKl4P/qDayI21B3sPoa4uWUfQ3Z5pdZSK/1t5TL1NxxQTSLgAsTKcpuKSNm9G+wpp0PuFiKyUj7pMQNJRUtoZlCfDyEGD/750xOh+FwNkbyk06eMma031xs6skNv29/0QQ7mrTtLQiDcnRGlfoWIscBLtU8kpO+BOMKs= Received: by 10.35.96.7 with SMTP id y7mr3072739pyl.1174547623774; Thu, 22 Mar 2007 00:13:43 -0700 (PDT) Received: by 10.35.21.10 with HTTP; Thu, 22 Mar 2007 00:13:43 -0700 (PDT) Message-ID: <64de5c8b0703220013v7a4a130en77aa5bcb94e00c0a@mail.gmail.com> Date: Thu, 22 Mar 2007 12:43:43 +0530 From: "Rajkumar S" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Re: safe0 and kernel panic - solved?? 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 07:13:45 -0000 On 3/16/07, Rajkumar S wrote: > safe0 mem 0xf6120000-0xf6121fff irq 5 at device 10.0 on pci0 > safe0: cannot allocate DMA tag Hi, I have managed to track down this issue. The problem was that one bus_dma_tag_create (at line 300) was failing to create dma tag, and was returning So I changed the flag from BUS_DMA_ALLOCNOW to BUS_DMA_COHERENT and the driver was loading and was working. Now, I have no idea what these two flags mean or the changed I made are appropriate. Any way I am off to file a PR against safe.c raj