From owner-freebsd-bugs Sat Jun 16 7:50:19 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3E8B437B409 for ; Sat, 16 Jun 2001 07:50:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f5GEo2e95122; Sat, 16 Jun 2001 07:50:02 -0700 (PDT) (envelope-from gnats) Date: Sat, 16 Jun 2001 07:50:02 -0700 (PDT) Message-Id: <200106161450.f5GEo2e95122@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Thomas Quinot Subject: Re: kern/24596: sysinstall crash: Page fault while in kernel mode Reply-To: Thomas Quinot Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR kern/24596; it has been noted by GNATS. From: Thomas Quinot To: freebsd-gnats-submit@FreeBSD.org, stable@freebsd.org Cc: Subject: Re: kern/24596: sysinstall crash: Page fault while in kernel mode Date: Sat, 16 Jun 2001 16:40:53 +0200 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-bugs" in the body of the message