Date: Thu, 27 Nov 2003 22:03:11 -0700 (MST) From: "M. Warner Losh" <imp@bsdimp.com> To: truckman@freebsd.org Cc: current@freebsd.org Subject: Re: panic inserting CF card. Message-ID: <20031127.220311.38782698.imp@bsdimp.com> In-Reply-To: <200311280333.hAS3XkeF016528@gw.catspoiler.org> References: <61677.24.0.61.35.1069989467.squirrel@mail.yazzy.org> <200311280333.hAS3XkeF016528@gw.catspoiler.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message: <200311280333.hAS3XkeF016528@gw.catspoiler.org> Don Lewis <truckman@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031127.220311.38782698.imp>