Date: 28 Jul 2002 13:10:16 +0200 From: Dag-Erling Smorgrav <des@ofug.org> To: Charles Sprickman <spork@fasttrackmonkey.com> Cc: freebsd-hackers@freebsd.org, sos@freebsd.org Subject: Re: kern/40003: Panic on boot w/4.6-stable Message-ID: <xzpbs8skt0n.fsf@flood.ping.uio.no> In-Reply-To: <Pine.OSX.4.44.0207261646450.12157-100000@white.nat.fasttrackmonkey.com> References: <Pine.OSX.4.44.0207261646450.12157-100000@white.nat.fasttrackmonkey.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Charles Sprickman <spork@fasttrackmonkey.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpbs8skt0n.fsf>
