From owner-freebsd-stable Sat Jun 16 7:41:10 2001 Delivered-To: freebsd-stable@freebsd.org Received: from melchior.cuivre.fr.eu.org (melchior.enst.fr [137.194.161.6]) by hub.freebsd.org (Postfix) with ESMTP id 7148C37B40B; Sat, 16 Jun 2001 07:40:57 -0700 (PDT) (envelope-from thomas@cuivre.fr.eu.org) Received: from melusine.cuivre.fr.eu.org (melusine.enst.fr [137.194.160.34]) by melchior.cuivre.fr.eu.org (Postfix) with ESMTP id DC87C790D; Sat, 16 Jun 2001 16:40:54 +0200 (CEST) Received: by melusine.cuivre.fr.eu.org (Postfix, from userid 1000) id 3897024D0C; Sat, 16 Jun 2001 16:40:53 +0200 (CEST) Date: Sat, 16 Jun 2001 16:40:53 +0200 From: Thomas Quinot To: freebsd-gnats-submit@FreeBSD.org, stable@freebsd.org Subject: Re: kern/24596: sysinstall crash: Page fault while in kernel mode Message-ID: <20010616164052.B1885@melusine.cuivre.fr.eu.org> Reply-To: thomas@cuivre.fr.eu.org References: <20010616014110.A1456@melusine.cuivre.fr.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: <20010616014110.A1456@melusine.cuivre.fr.eu.org>; from thomas@cuivre.fr.eu.org on Sat, Jun 16, 2001 at 01:41:10AM +0200 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Le 2001-06-16, Thomas Quinot écrivait : > (kgdb) print *pdev > $3 = {si_flags = 0, si_udev = 69378, si_hash = {le_next = 0xc0342818, > le_prev = 0xc0c48a88}, si_hlist = {slh_first = 0x0}, > si_name = "cd0", '\000' , si_drv1 = 0x0, si_drv2 = 0x0, > si_devsw = 0xc033e540, si_devfs = 0x0, si_bdevfs = 0x0, > si_iosize_max = 65536, __si_u = {__si_tty = {__sit_tty = 0xc0c46034}, > __si_disk = {__sid_disk = 0xc0c46034, __sid_mountpoint = 0x0, > __sid_bsize_phys = 0, __sid_bsize_best = 0}}} Since we had some indication (si_name) that this problem was related to cd0 (an HP Surestore CDW 6020) I investigated that direction a bit further. I was able to recreate a similar crash when trying to mount a CD, but the crash dump was of no help (the stack frame pointer was apparently wrong, and gdb was unable to produce a backtrace). However, I noted that these crashes occur only when one specific faulty disc is present in the CD burner at boot time (a failed disc that was not fixated correctly). When this CD is in the drive at boot time, I get the following messages: (cd0:sym0:0:2:0): got CAM status 0x4c (cd0:sym0:0:2:0): fatal error, failed to attach to device (cd0:sym0:0:2:0): lost device (cd0:sym0:0:2:0): removing device entry When the CD is not in the drive at boot time, I get no such error, and sysinstall and mounting a CD work correctly afterward. Hope this helps, Thomas. -- Thomas.Quinot@Cuivre.FR.EU.ORG To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message