From owner-freebsd-bugs Mon Jul 8 16:40: 9 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0863737B400 for ; Mon, 8 Jul 2002 16:40:04 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE05643E52 for ; Mon, 8 Jul 2002 16:40:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g68Ne3JU024885 for ; Mon, 8 Jul 2002 16:40:03 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g68Ne3Yx024884; Mon, 8 Jul 2002 16:40:03 -0700 (PDT) Date: Mon, 8 Jul 2002 16:40:03 -0700 (PDT) Message-Id: <200207082340.g68Ne3Yx024884@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Bruce Evans Subject: Re: i386/40354: crash, whith floating ops in kernel mode Reply-To: Bruce Evans 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 i386/40354; it has been noted by GNATS. From: Bruce Evans To: unicorn@forest.od.ua Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: i386/40354: crash, whith floating ops in kernel mode Date: Tue, 9 Jul 2002 09:38:38 +1000 (EST) On Mon, 8 Jul 2002 unicorn@forest.od.ua wrote: > >Description: > npx dna handler tries to modify curpcb even if it does not exist (yet). > it couses page fault in kernel mode. curpcb is supposed to always exist if the npx dna handler is called. > >How-To-Repeat: > do some floating point operations before the first process created. Don't do that. Normal floating point operations are only supported for user processes (*). The kernel does some FP initializations, but it is supposed to be careful to call stop_emulating() before it does them so that an npx dna exception doesn't occur. (*) FP is close to working or working in kernel processes, but this is not supported. FP is used in i586_bcopy() and i586_bzero(), but these are broken and not used in -current. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message