Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Jun 2001 16:40:53 +0200
From:      Thomas Quinot <thomas@cuivre.fr.eu.org>
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>
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 %2B0200
References:  <20010616014110.A1456@melusine.cuivre.fr.eu.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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' <repeats 12 times>, 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010616164052.B1885>