mini-itx (ME6000), buildworld fails

Richard Kaestner richard.kaestner at ycn.com
Sat Jul 24 05:15:47 PDT 2004


Hi all,


I'm trying to setup a Via Epia ME6000 with FreeBSD 4.10
after several attempts (cvsup, make buildworld, 
even fresh install from CD), I get _consistent_ failures.

The same source-tree compiles without problems on a
- Via Epia CL10000
- Intel Pent.4 / Asus

The ME6000 is supposed to run headless as embedded server.
So I cross-compile on the fast(er) machines.
Attempting to boot ME6000 results in:
- show menu "F1" to boot FreeBSD
- BTX starts - and almost immediately crashes
  (illegal instruction - same as during buidlworld)
  with register dump

Latest attempts: 
- Setup "full" FreeBSD on ME6000, make buildworld ...
  (The only package installed is cvsup-without-gui)

I suspect settings in /etc/make.conf, but I have no idea where to start!
(CPUTYPE=i686 commented out - but didn't help)

Somewhere (in the depth of the forgotten in my brain ), I think, there
was something about 4.10 and Compiler ... could this be a reason?
And if so, what could I do?



------------ ME6000 dmesg:
Copyright (c) 1992-2004 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.10-RELEASE #0: Tue May 25 22:47:12 GMT 2004
    root at perseus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254"  frequency 1193182 Hz
CPU: VIA C3 Samuel 2 (599.90-MHz 686-class CPU)
  Origin = "CentaurHauls"  Id = 0x673  Stepping = 3
  Features=0x803035<FPU,DE,TSC,MSR,MTRR,PGE,MMX>
real memory  = 117374976 (114624K bytes)
avail memory = 108744704 (106196K bytes)
Preloaded elf kernel "kernel" at 0xc0551000.
md0: Malloc disk


------------ ME6000 cvsup-file:
*default host=cvsup.at.freebsd.org
#*default host=cvsup4.de.freebsd.org
#
*default base=/usr
*default prefix=/usr
# The following line is for 4-stable.  If you want 3-stable or 2.2-stable,
# change "RELENG_4" to "RELENG_3" or "RELENG_2_2" respectively.
*default release=cvs tag=RELENG_4_10
*default delete use-rel-suffix

*default compress

src-all


------------ ME6000 /etc/make.conf
CPUTYPE=i586
CPUTYPE=i686
...
BOOTWAIT=0
...
USA_RESIDENT=NO
IPFW2=true
... (plus some settings for PACKAGESITE and similar)




------------ ME6000 from script make buildworld:
cc -O -pipe -march=pentiumpro -I. -static -DIN_GCC -DHAVE_CONFIG_H 
-DPREFIX=\"/usr\" -I/usr/obj/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools
-I/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools 
-I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc 
-I/usr/src/gnu/usr.bin/cc/cc_tools
/../../../../contrib/gcc/config    -D__FBSDID=__RCSID 
-c /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/genconfig.c^M


cc -O -pipe -march=pentiumpro -I. -static -DIN_GCC -DHAVE_CONFIG_H 
-DPREFIX=\"/usr\" -I/usr/obj/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools
-I/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools 
-I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc 
-I/usr/src/gnu/usr.bin/cc/cc_tools
/../../../../contrib/gcc/config    -D__FBSDID=__RCSID  -o genconfig 
genconfig.o rtl.o print-rtl.o obstack.o bitmap.o^M


./genattr /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config/i386/i386.md 
> insn-attr.h^M

Illegal instruction (core dumped)^M
*** Error code 132^M
^M
Stop in /usr/src/gnu/usr.bin/cc/cc_tools.^M
*** Error code 1^M
^M
Stop in /usr/src.^M
*** Error code 1^M
^M
Stop in /usr/src.^M
*** Error code 1^M
^M
Stop in /usr/src.^M
ep1(root) src> ^D^H^Hexit^M

Script done on Sat Jul 24 01:27:20 2004



-- 
Mit freundlichen Grüßen

Richard Kästner
EDV-Beratung
Woerthgasse 17
2500 Baden
Austria


More information about the freebsd-questions mailing list