From owner-freebsd-bugs Mon Feb 23 14:10:17 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA24335 for freebsd-bugs-outgoing; Mon, 23 Feb 1998 14:10:17 -0800 (PST) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: (from gnats@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA24319; Mon, 23 Feb 1998 14:10:11 -0800 (PST) (envelope-from gnats) Received: from freebsd.first.gmd.de (freebsd.first.gmd.de [194.95.170.200]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA22829 for ; Mon, 23 Feb 1998 14:05:09 -0800 (PST) (envelope-from ats@freebsd.first.gmd.de) Received: (from ats@localhost) by freebsd.first.gmd.de (8.8.7/8.6.12) id WAA09864; Mon, 23 Feb 1998 22:56:20 +0100 (MET) Message-Id: <199802232156.WAA09864@freebsd.first.gmd.de> Date: Mon, 23 Feb 1998 22:56:20 +0100 (MET) From: Andreas Schulz Reply-To: ats@freebsd.first.gmd.de To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: kern/5827: Kernel panics in current (3.0) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 5827 >Category: kern >Synopsis: kernel panics in current (3.0) >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Feb 23 14:10:07 PST 1998 >Last-Modified: >Originator: Andreas Schulz >Organization: GMD-FIRST >Release: FreeBSD 3.0-971022-SNAP i386 >Environment: Kernel sources as of last weekend. >Description: kernel panics with a "Fatal trap 9: general protection fault while in kernel mode" at address 0x8:0xf0196f9f which translates to the "stosl" in "generic_bzero". >How-To-Repeat: Boot a current kernel on an AMD K6 :-). The panics happen after the "npx0: INT 16 interface" line. >Fix: I have fixed it for the moment on my box with a save of %es, move from %ds to %es before the "stosl" and a restore afterwards. It looks like %es segment gets somewhere overwritten in the kernel. It is not sufficient to explicitly set it in locore.s, also tried after snooping around in the bootblock code and locore.s. I suspect you will only see this problem with the AMD K6 or a Cyrix chip. The Pentium and 486 use another bzero routine in the kernel. >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message