Re: panic inserting CF card.

From: M. Warner Losh <imp_at_bsdimp.com>
Date: Thu, 27 Nov 2003 22:03:11 -0700 (MST)
In message: <200311280333.hAS3XkeF016528_at_gw.catspoiler.org>
            Don Lewis <truckman_at_freebsd.org> writes:
: Offhand I'd guess that adp->heads and/or adp->sectors is zero.  If
: you've got a core file, try backtracking from there with gdb, otherwise
: sprinkle some printf's around.  Either this calculation is new, or some
: recent change is causing the heads and sectors to be initialized to
: zero.

I have patches in my tree that prevent the panic.  However, they
prevent the panic by not dividing by zero, rather than fixing the
underlying problem.

Warner
Received on Thu Nov 27 2003 - 20:03:28 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:31 UTC