Date: Sun, 8 May 2011 23:45:13 +0300 From: Kostik Belousov <kostikbel@gmail.com> To: Joerg Wunsch <joerg_wunsch@uriah.heep.sax.de> Cc: freebsd-scsi@freebsd.org Subject: Re: Panic when removing a SCSI device entry Message-ID: <20110508204513.GC48734@deviant.kiev.zoral.com.ua> In-Reply-To: <20110508203634.GE5364@uriah.heep.sax.de> References: <20110508085314.GA5364@uriah.heep.sax.de> <20110508094509.GT48734@deviant.kiev.zoral.com.ua> <20110508104543.GB5364@uriah.heep.sax.de> <20110508113332.GX48734@deviant.kiev.zoral.com.ua> <20110508203634.GE5364@uriah.heep.sax.de>
next in thread | previous in thread | raw e-mail | index | archive | help
--OKDvWbuR4VtOam1v Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, May 08, 2011 at 10:36:34PM +0200, Joerg Wunsch wrote: > As Kostik Belousov wrote: >=20 > > > I could perhaps setup a serial console, so to get at least DDB > > > functioning if you'd like to see more details. ... >=20 > > Serial console is fine, I do want to see a backtrace. > > There is also "show cdev" command in ddb, that might provide some > > useful information. >=20 > OK, I'm setting up a DDB kernel right now, and attached an old laptop > as the console terminal. I also applied your suggested patch. Great. >=20 > > INVARIANTS may be also useful, since the kernel might catch the > > corruption earlier. >=20 > As INVARIANTS has a performance impact, I'd like to avoid that by now. > Let's see first whether an analysis is possible without that. If not, > would it suffice to just compile kern_conf.c with INVARIANTS? No, it is not enough to compile only kern_conf.c with INVARIANTS. Performance impact is not that huge, and definitely pays it cost for such problems. --OKDvWbuR4VtOam1v Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEARECAAYFAk3HANkACgkQC3+MBN1Mb4jztgCgmPIRvRmk3YbPcWxk+yPsrcCO CC4AoL8TOj7Lj1QAN/BXf1cLnOoxNEcW =KPuP -----END PGP SIGNATURE----- --OKDvWbuR4VtOam1v--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110508204513.GC48734>