From owner-freebsd-bugs Fri Jul 6 8:20: 9 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 61E3637B407 for ; Fri, 6 Jul 2001 08:20:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f66FK4B38904; Fri, 6 Jul 2001 08:20:04 -0700 (PDT) (envelope-from gnats) Date: Fri, 6 Jul 2001 08:20:04 -0700 (PDT) Message-Id: <200107061520.f66FK4B38904@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Thomas Quinot Subject: Re: kern/28736: sysctl -a: kernel trap 12. 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/28736; it has been noted by GNATS. From: Thomas Quinot To: Dima Dorfman Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: kern/28736: sysctl -a: kernel trap 12. Date: Fri, 6 Jul 2001 17:12:06 +0200 Le 2001-07-06, Dima Dorfman écrivait : > If you can reproduce the problem, please try the patch below and see > if it helps (and you should be able to reproduce it). The patch seems to fix the problem, thanks! > + if (softc->dev) { > + disk_destroy(softc->dev); > + } I rewrote this as if (softc->disk.d_dev) { disk_destroy(softc->disk.d_dev); } as I am using -STABLE. Apparently my guess was correct: the machine rebooted correctly, and the sysctl -a went fine. Next issue will be: why is the attach failing? I'll try to clarify this and submit a separate PR. -- Thomas.Quinot@Cuivre.FR.EU.ORG To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message