[Coco] OT: NetBSD on Quadra 700???

Gene Heskett gene.heskett at verizon.net
Tue Sep 27 22:47:28 EDT 2005

On Tuesday 27 September 2005 22:28, Kevin Diggs wrote:
> Umm. If anybody can explain the odd behavior I am seeing with a Quadra
>700 running NetBSD 1.6.1 I would appreciate it. With the standard 25 MHz
>040 it runs ... as expected. When I put a 50 MHz Newer Tech 040
>overdrive in it it seems to run fine ... until I try to compile a small
>X program, an updated version of maze. The following command should
>produce an assembler file (-S):
>gcc -O2 -m68040 -fomit-frame-pointer -S -v -I/usr/X11R6/include
>-DBITMAPDIR=\"/usr/X11R6/include/X11/bitmaps\" -DPOLL_IN=0
>-DxmzmStopBM=\"stop32.xbm\" -DxmzmStopMaskBM=\"stopmask32.xbm\" xmaze.c
>With the overdrive this command rarely produces the same output. Aren't
>compilers supposed to be deterministic? The resulting program will not
>run. This program does not have any problems on Linux, x86 or ppc.
> If -fno-gcse is added it works. I've never seen anything like this
> before?
>     kevin

First, I wasn't aware of any 50 mhz 040 being available.  My own
25mhz always told me rather quickly when the cpu fan had stopped.

Second, I'd imagine the memory is way too slow if the clock is
doubled, you would need 35ns ram instead of the 80-100 thats probably
in it now.  I had to go down to 70ns on my PP&S card before it was
stable, and then it was *very* stable, often up 24/7 for 2 to 3 weeks
straight being used for everything I did at the time.  And this
sounds like a slow memory problem to me.

What type of ram is in it?  Simms. dips, zips?  My PP&S card had
64megs of zips on it, lotsa money at the time for 70ns stuff.

>Using builtin specs.
>gcc version 2.95.3 20010315 (release) (NetBSD nb3)
>  /usr/libexec/cpp0 -lang-c -v -I/usr/X11R6/include -D__GNUC__=2
>-D__GNUC_MINOR__=95 -D__m68k__ -D__NetBSD__ -D__ELF__
>-D__KPRINTF_ATTRIBUTE__ -D__SVR4_ABI__ -D__motorola__ -D__m68k__
>-D__motorola__ -Asystem(unix) -Asystem(NetBSD) -Acpu(m68k)
>-Amachine(m68k) -D__OPTIMIZE__ -D__mc68040__ -D__HAVE_68881__
>-DBITMAPDIR="/usr/X11R6/include/X11/bitmaps" -DPOLL_IN=0
>-DxmzmStopBM="stop32.xbm" -DxmzmStopMaskBM="stopmask32.xbm" xmaze.c
>GNU CPP version 2.95.3 20010315 (release) (NetBSD nb3) (NetBSD/m68k ELF)
>#include "..." search starts here:
>#include <...> search starts here:
>  /usr/X11R6/include
>  /usr/include
>End of search list.
>The following default directories have been omitted from the search
> path: /usr/include/g++
>End of omitted list.
>  /usr/libexec/cc1 /var/tmp/cc2DkxGs.i -quiet -dumpbase xmaze.c -m68040
>-O2 -version -fomit-frame-pointer -o xmaze.s
>GNU C version 2.95.3 20010315 (release) (NetBSD nb3) (m68k--netbsdelf)
>compiled by GNU C version 2.95.3 20010315 (release) (NetBSD nb3).

Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.35% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com and AOL/TW attorneys please note, additions to the above
message by Gene Heskett are:
Copyright 2005 by Maurice Eugene Heskett, all rights reserved.

More information about the Coco mailing list