From owner-freebsd-stable Fri Mar 29 7:12:39 2002 Delivered-To: freebsd-stable@freebsd.org Received: from pc3-cove5-0-cust178.bir.cable.ntl.com (pc3-cove5-0-cust178.bir.cable.ntl.com [213.105.113.178]) by hub.freebsd.org (Postfix) with ESMTP id 89F1737B41A for ; Fri, 29 Mar 2002 07:12:28 -0800 (PST) Received: from ntlworld.com (alpha.private.lan [192.168.0.2]) by pc3-cove5-0-cust178.bir.cable.ntl.com (8.11.6/8.11.6) with ESMTP id g2TFCFP97611; Fri, 29 Mar 2002 15:12:15 GMT (envelope-from ianjhart@ntlworld.com) Message-ID: <3CA4844F.DE8FB92C@ntlworld.com> Date: Fri, 29 Mar 2002 15:12:15 +0000 From: ian j hart X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: Guilherme Oliveira Cc: freebsd-stable@FreeBSD.ORG Subject: Re: Bug ? Building kernel/world error on Cyrix References: <3CA3F28B.C28FA8A2@nortenet.pt> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Guilherme Oliveira wrote: > > Hi ! > > I'm having serious problems building kernel or world in my Cyrix 200MHZ. > > Booting '4.5-RELEASE #0' it detects my processor as being Cyrix 6x86MX > (167.05-MHz 686-class CPU), that I think it's wrong ('6x86' ?!?!) and > maybe this is the origin for all my problems. That does seem strange, but you need a kernel hacker for that. While you're waiting for one... Did you installworld yet? If NOT try booting kernel.old to single user. If that looks okay, undo the the installkernel. What was the previous build? > > I've cvsup'd and builded freebsd all the time without problem until +- > 4.5 RELEASE. > I've tried building GENERIC with the same result. > > I have tried building world+kernel with 'CPUTYPE=i686' in make.conf and > 'cpu I686_CPU' (as allways did) in kernel but it gives me error in: Was the currently installed world built with this CPUTYPE=? What else is in /etc/make.conf? > > ===> portal > @ -> /usr/src/sys > machine -> /usr/src/sys/i386/include > perl @/kern/vnode_if.pl -h @/kern/vnode_if.src > Internal error at @/kern/vnode_if.pl line 248, chunk 472. > *** Error code 255 > Stop in /usr/src/sys/modules/portal. > *** Error code 1 > Stop in /usr/src/sys/modules. > *** Error code 1 > Stop in /usr/obj/usr/src/sys/SARPA. > *** Error code 1 > Stop in /usr/src. > *** Error code 1 > > I have tried building world+kernel with 'CPUTYPE=i586' in make.conf and > 'cpu I586_CPU' in kernel but it gives me error in: > > /obj/usr/src/i386/usr/include -c /usr/src/bin/sh/error.c > cc -O -pipe -march=pentium -DSHELL -I. -I/usr/src/bin/sh -Wall > -Wformat -I/usr > /obj/usr/src/i386/usr/include -c /usr/src/bin/sh/eval.c > {standard input}: cc: Assembler messages: > Internal compiler error: program cc1 got fatal signal 11{standard > input}:0: > Warning: *** Error code 1 > end of file not at end of a line; newline inserted > Stop in /usr/src/bin/sh. > *** Error code 1 > Stop in /usr/src/bin. > *** Error code 1 > Stop in /usr/src. > *** Error code 1 > Stop in /usr/src. > *** Error code 1 > Stop in /usr/src. > bash-2.05# {standard input}:1107: Error: unbalanced parenthesis in > operand 2. Open the case and check the CPU fan with the system running. If you burn your finger it's not good enough :) Stop the system, take off the fan and read exactly what the chip is. IIRC it will say 6x86 MII, clock speed + voltage. Does the BIOS have a cyrix detect option? > > My partially dmesg: > > Copyright (c) 1992-2002 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights > reserved. > FreeBSD 4.5-RELEASE #0: Mon Feb 11 05:52:10 WET 2002 > root@sarpa.garpa:/usr/obj/usr/src/sys/SARPA > Timecounter "i8254" frequency 1193182 Hz > CPU: Cyrix 6x86MX (167.05-MHz 686-class CPU) > Origin = "CyrixInstead" Id = 0x600 Stepping = 0 DIR=0x0452 > Features=0x80a135 [snip] > My kernel configuration: > > # > # GENERIC -- Generic kernel configuration file for FreeBSD/i386 > # > # For more information on this file, please read the handbook section on > # Kernel Configuration Files: > # > # http://www.FreeBSD.org/handbook/kernelconfig-config.html > # > # The handbook is also available locally in /usr/share/doc/handbook > # if you've installed the doc distribution, otherwise always see the > # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the > # latest information. > # > # An exhaustive list of options and more detailed explanations of the > # device lines is also present in the ./LINT configuration file. If you > are > # in doubt as to the purpose or necessity of a line, check first in > LINT. > # > # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.246.2.35 2001/09/27 17:43:06 > alfred Exp $ > > machine i386 > cpu I586_CPU # aka Pentium Pro(tm) > ident SARPA > maxusers 0 [snip] That comment doesn't belong to I586_CPU. -- ian j hart To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message