Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Mar 2007 21:43:18 +0530
From:      "Rajkumar S" <rajkumars@gmail.com>
To:        freebsd-questions@freebsd.org
Cc:        sam@errno.com
Subject:   Re: safe0 and kernel panic
Message-ID:  <64de5c8b0703220913g1c954092xbd5653404f9acabb@mail.gmail.com>
In-Reply-To: <4602A7B5.6060107@errno.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On 3/22/07, Sam Leffler <sam@errno.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?64de5c8b0703220913g1c954092xbd5653404f9acabb>