panic inserting CF card.

M. Warner Losh imp at bsdimp.com
Thu Nov 27 21:03:28 PST 2003


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


More information about the freebsd-current mailing list