From owner-freebsd-hackers Sun Jul 28 4:10:30 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AC4F237B405; Sun, 28 Jul 2002 04:10:21 -0700 (PDT) Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9294443E42; Sun, 28 Jul 2002 04:10:20 -0700 (PDT) (envelope-from des@ofug.org) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 795F8535C; Sun, 28 Jul 2002 13:10:16 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Charles Sprickman Cc: freebsd-hackers@freebsd.org, sos@freebsd.org Subject: Re: kern/40003: Panic on boot w/4.6-stable References: From: Dag-Erling Smorgrav Date: 28 Jul 2002 13:10:16 +0200 In-Reply-To: Message-ID: Lines: 20 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Charles Sprickman writes: > (kgdb) up 11 > #11 0xc013e8a5 in ad_attach (atadev=0xc075b650) at ../../dev/ata/ata-disk.c:124 > 124 adp->heads = atadev->param->heads; > > (kgdb) p adp > $2 = (struct ad_softc *) 0x68c040 > (kgdb) p atadev > $3 = (struct ata_device *) 0xc075b650 > (kgdb) p *adp > Cannot access memory at address 0x68c040. > (kgdb) p *atadev > $4 = {channel = 0xc075b600, unit = 16, name = 0xc04503b0 "ad1", param = 0x0, > driver = 0x0, flags = 0, mode = 0, cmd = 0, result = 0x0} ad_attach() is trying to dereference atadev->param, which is NULL. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message