From wollman@hergotha.lcs.mit.edu  Thu Jun  5 20:43:32 2003
Return-Path: <wollman@hergotha.lcs.mit.edu>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id B00E437B401
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  5 Jun 2003 20:43:32 -0700 (PDT)
Received: from mintaka.lcs.mit.edu (mintaka.lcs.mit.edu [18.26.0.36])
	by mx1.FreeBSD.org (Postfix) with ESMTP id EAB6C43F3F
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  5 Jun 2003 20:43:31 -0700 (PDT)
	(envelope-from wollman@hergotha.lcs.mit.edu)
Received: from hergotha.lcs.mit.edu (hergotha.lcs.mit.edu [18.23.11.98])
	by mintaka.lcs.mit.edu (8.12.8p1/8.12.8) with ESMTP id h563hU0L050067
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 5 Jun 2003 23:43:30 -0400 (EDT)
	(envelope-from wollman@hergotha.lcs.mit.edu)
Received: (from wollman@localhost)
	by hergotha.lcs.mit.edu (8.12.9/8.12.9/Submit) id h563hTcB073887;
	Thu, 5 Jun 2003 23:43:29 -0400 (EDT)
	(envelope-from wollman)
Message-Id: <200306060343.h563hTcB073887@hergotha.lcs.mit.edu>
Date: Thu, 5 Jun 2003 23:43:29 -0400 (EDT)
From: Garrett Wollman <wollman@hergotha.lcs.mit.edu>
Reply-To: Garrett Wollman <wollman@hergotha.lcs.mit.edu>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: CPUTYPE=k7 results in non-functional /boot/loader
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         52975
>Category:       i386
>Synopsis:       CPUTYPE=k7 results in non-functional /boot/loader
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    remko
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 05 20:50:11 PDT 2003
>Closed-Date:    Mon Dec 26 14:50:29 GMT 2005
>Last-Modified:  Mon Dec 26 14:50:29 GMT 2005
>Originator:     Garrett Wollman
>Release:        FreeBSD 5.1-BETA i386
>Organization:
MIT Laboratory for Computer Science
>Environment:
System: FreeBSD hergotha.lcs.mit.edu 5.1-BETA FreeBSD 5.1-BETA #16: Sun Jun 1 22:15:28 EDT 2003 root@hergotha.lcs.mit.edu:/usr/src/sys/i386/compile/HERGOTHA i386

>Description:

	CPUTYPE=k7 results in a boot loader that doesn't.  It appears to 
	be entirely unable to read the hard disk (although accesses to the
	floppy seem to work fine)

>How-To-Repeat:

	make world with CPUTYPE?=k7 in /etc/make.conf
	Reboot
	Find out that the boot loader is unable to read the hard disk.

>Fix:

	This is probably a compiler bug.  Workaround is:

	Add NO_CPU_CFLAGS=yo to /sys/boot/Makefile.inc and
	/sys/boot/i386/Makefile.inc

	This generates a working boot loader.

	I suspect that the compiler may be generating code to use
	vector instructions somewhere, but these instructions do not
	work in the boot loader's environment.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: remko 
State-Changed-When: Fri Nov 4 11:04:48 GMT 2005 
State-Changed-Why:  
Does this still apply? 

Currently my make.conf gives the following about AMD CPU's: 

#       (AMD CPUs)      opteron athlon64 athlon-mp athlon-xp athlon-4 
#                       athlon-tbird athlon k8 k6-3 k6-2 k6 k5 nocona 

I do not see a k7 in there, i think this is not without reason... 

http://www.freebsd.org/cgi/query-pr.cgi?pr=52975 
Responsible-Changed-From-To: freebsd-i386->remko 
Responsible-Changed-By: remko 
Responsible-Changed-When: Fri Nov 4 11:06:55 GMT 2005 
Responsible-Changed-Why:  
Assign the PR to me to recieve feedback 

http://www.freebsd.org/cgi/query-pr.cgi?pr=52975 
State-Changed-From-To: feedback->closed 
State-Changed-By: remko 
State-Changed-When: Mon Dec 26 14:49:46 UTC 2005 
State-Changed-Why:  
No feedback was recieved, i will close the PR with the assumption 
that K7 is not mentioned in the examples listed and that might 
be with reason. If this is a incorrect closure, please give me 
feedback so that we can actually work on this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=52975 
>Unformatted:
