From owner-freebsd-alpha Wed May 15 21: 0: 8 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from obsecurity.dyndns.org (adsl-64-165-226-162.dsl.lsan03.pacbell.net [64.165.226.162]) by hub.freebsd.org (Postfix) with ESMTP id 0DFB437B407; Wed, 15 May 2002 21:00:03 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 41F2866DC8; Wed, 15 May 2002 21:00:02 -0700 (PDT) Date: Wed, 15 May 2002 21:00:01 -0700 From: Kris Kennaway To: John Baldwin Cc: Kris Kennaway , Andrew Gallatin , alpha@FreeBSD.org Subject: Re: memory management fault during netbooting on 4.6-PRERELEASE Message-ID: <20020515210001.A742@xor.obsecurity.org> References: <20020515204816.B302@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="k1lZvvs/B4yU6o8G" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from jhb@FreeBSD.org on Wed, May 15, 2002 at 11:55:35PM -0400 Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --k1lZvvs/B4yU6o8G Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 15, 2002 at 11:55:35PM -0400, John Baldwin wrote: >=20 > On 16-May-2002 Kris Kennaway wrote: > > On Wed, May 15, 2002 at 11:40:48PM -0400, John Baldwin wrote: > >=20 > >> > (gdb) l *0xfffffc000056bcc0 > >> > No source file for address 0xfffffc000056bcc0. > >>=20 > >> Ok, can you do a nm kernel.debug | sort | less and find the two > >> symbols that that address falls between? > >=20 > > fffffc000056bca0 t swi_net > > fffffc000056bd20 T do_sir >=20 > Ok, swi_net() looks like so (alpha/alpha/iplfuncs.c) >=20 > static void > swi_net() > { > u_int32_t bits =3D atomic_readandclear(&netisr); > int i; >=20 > for (i =3D 0; i < 32; i++) { > if (bits & 1) > netisrs[i](); > bits >>=3D 1; > } > } >=20 > My guess then is that we tried to execute a netisr() that was > NULL. Is this reproducible? Yes, it seems to be. > If so, you could try adding a > a hack to not execute the isr if it's null, i.e.: >=20 > if ((bits & 1) !=3D 0 && netisrs[i] !=3D NULL) > netisrs[i](); Will try once the current alpha package build is finished. Are there any other diagnostics I can add while I'm in there? Kris --k1lZvvs/B4yU6o8G Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE84y7BWry0BWjoQKURArraAKDudZzoFUh9ULGYvbi33SV6dQaYzwCfb8cb 43Ge6PAQMvEe/JxuaFhKLm4= =TpvJ -----END PGP SIGNATURE----- --k1lZvvs/B4yU6o8G-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message