Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Mar 2002 15:12:15 +0000
From:      ian j hart <ianjhart@ntlworld.com>
To:        Guilherme Oliveira <guilherme@nortenet.pt>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: Bug ? Building kernel/world error on Cyrix
Message-ID:  <3CA4844F.DE8FB92C@ntlworld.com>
References:  <3CA3F28B.C28FA8A2@nortenet.pt>

next in thread | previous in thread | raw e-mail | index | archive | help
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, <SRC> 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<FPU,DE,TSC,MSR,CX8,PGE,CMOV,MMX>
[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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3CA4844F.DE8FB92C>