From owner-freebsd-stable Wed Sep 25 13:48:13 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 460AE37B401 for ; Wed, 25 Sep 2002 13:48:11 -0700 (PDT) Received: from ns2.gnf.org (ns2.gnf.org [63.196.132.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 67D0B43E7B for ; Wed, 25 Sep 2002 13:48:10 -0700 (PDT) (envelope-from gtetlow@gnf.org) Received: from EXCHCLUSTER01.lj.gnf.org (exch02.lj.gnf.org [172.25.10.20]) by ns2.gnf.org (8.12.3/8.12.3) with ESMTP id g8PKg5Xb054542 for ; Wed, 25 Sep 2002 13:42:05 -0700 (PDT) (envelope-from gtetlow@gnf.org) Received: from roark.gnf.org ([172.25.24.15]) by EXCHCLUSTER01.lj.gnf.org with Microsoft SMTPSVC(5.0.2195.4905); Wed, 25 Sep 2002 13:51:47 -0700 Received: from roark.gnf.org (localhost [127.0.0.1]) by roark.gnf.org (8.12.6/8.12.5) with ESMTP id g8PKm97j034739 for ; Wed, 25 Sep 2002 13:48:09 -0700 (PDT) (envelope-from gtetlow@gnf.org) Received: (from gtetlow@localhost) by roark.gnf.org (8.12.6/8.12.6/Submit) id g8PKm9er034738 for stable@freebsd.org; Wed, 25 Sep 2002 13:48:09 -0700 (PDT) Date: Wed, 25 Sep 2002 13:48:09 -0700 From: Gordon Tetlow To: stable@freebsd.org Subject: Re: Panic on 4.6.1-RELEASE-p10 with a Crusoe processors Message-ID: <20020925204809.GR41477@roark.gnf.org> References: <20020920220916.GA41477@roark.gnf.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vvRocJ6whMXXNc9q" Content-Disposition: inline In-Reply-To: <20020920220916.GA41477@roark.gnf.org> User-Agent: Mutt/1.4i X-OriginalArrivalTime: 25 Sep 2002 20:51:47.0947 (UTC) FILETIME=[5D82F3B0:01C264D5] Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --vvRocJ6whMXXNc9q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 20, 2002 at 03:09:16PM -0700, Gordon Tetlow wrote: > I have a *very* reproducable panic from my RLX Transmeta Blade when I try > to do a sysctl -a. It hits hw.crusoe.longrun and crashes the box. Since t= his > is in production I didn't get a core dump (I don't have a debug kernel ar= ound > since this is on a production server). Here's the info from the console: >=20 > stack pointer =3D 0x10:0xc874cdfc > frame pointer =3D 0x10:0xc874ce0c > code segment =3D base 0x0, limit 0xfffff, type 0x1b > =3D DPL 0, pres 1, def32 1, gran 1 > processor eflags =3D resume, IOPL =3D 0 > current process =3D 174 (sysctl) > interrupt mask =3D none > trap number =3D 9 > panic: general protection fault >=20 > I don't know if that helps, but there it is. >=20 > If you want to look at the code that pertains, > src/sys/i386/i386/identcpu.c:1138 The problem turns out to be the fact that this CPU doesn't have longrun on it. I think there is a CPU flag that indicates longrun capability or not. I'm not sure what it is, or what it looks like, but I can provide some code (from a Linux package) that does the detection. -gordon --vvRocJ6whMXXNc9q Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9kiEJRu2t9DV9ZfsRAiR4AJ9yQEeimO8C3A4rL6WEotmt+hyCHACcCzyo fhtaVeYlmK4mQz1xxCHpIYs= =4NbG -----END PGP SIGNATURE----- --vvRocJ6whMXXNc9q-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message