*BSD News Article 77353


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!lynx.aba.net.au!munnari.OZ.AU!spool.mu.edu!usenet.eel.ufl.edu!news.mathworks.com!newsfeed.internetmci.com!info.ucla.edu!nnrp.info.ucla.edu!jerijian
From: jerijian@sleet.seas.ucla.edu (Arthur D. Jerijian)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Trouble with CC compiler when recompiling kernel
Date: 31 Aug 1996 00:34:23 GMT
Organization: University of California, Los Angeles
Lines: 82
Message-ID: <slrn52f24e.114u.jerijian@sleet.seas.ucla.edu>
References: <841424914.13664@dejanews.com>
NNTP-Posting-Host: sleet.seas.ucla.edu
X-Newsreader: slrn (0.8.8.4 (BETA) UNIX)

If you tried replacing your RAM, have you tried disabling or replacing
your L2 cache?  You might have a memory problem somewhere.

http://www.bitwizard.nl/sig11 will give you some clues about GCC
crashing randomly and why it's hardware related, except that the
notes are Linux-specific and I don't know how well they apply to
FreeBSD.

--Arthur

In article <841424914.13664@dejanews.com>, parag@gsi.gsini.net wrote:
>Hi.  I recently (a few weeks ago) got the FreeBSD 2.1.5 release
>and Snapshot cd-roms.
>
>I installed the release version on to my hard drive without major problems.
>I found out that the root directory has to be on the promary drive.
>Also, I found out that my 2 IDE cd-roms have to be slaves to be detected to
>my 2 IDE drives.  
>
>The question I have is this - when i give freebsd the second slice of my
>primary drive (western digital 1.6 gb) (the first is win95) and I try to
>recompile the kernel, the make part of the compile crashes.
>
>It does not happen when i dedicate the entire drive to freeBSD.  It really
>isn't a critical error, because i just retype make, and it goes some
>more and crashes again, then i retype make, and it crashes again, and finally
>when I retype make it finishes.
>
>I have no other problems with the rest of the recompilation.  The config works,
>make depend works, and make install works.
>
>I know there is no problem in the MYKERNEL file, because al I do is copy
>the GENERIC to MYKERNEL and change the line that says ident GENERIC to ident
>MYKERNEL.
>
>I also know there is no problem with the editing of MYKERNEL (i use jove) 
>because I have done this multiple times!  (i refdisked my drives all day
>yesterday trying anything I could think of.)
>
>This really isn't a critical error, because I can continue the make over 
>multiple attempts, because it seems to keep track of how far it has gone.
>
>The part that keeps crashing is an "internal compiler error, either error
>10 or 11 (depending upon what .c file it is working on)  (oh, and it also
>is not consistent in what file it crashes - i have set up the system multiple
>times (reformat, reinstall, with thew same options (800MB slice for freebsd,
>and i get errors at different .c files.)
>
>The eventually compiled kernels work fine.  It just seems funny that cc crashes
>only when i install FreeBSD and do not dedicate the entire drive.
>
>I have tried modifying the size of my swap drive, rebooting, replacing
>video cards, hard drives, ram.
>My system hardware is as follows:
>
>I have a 
>pentium 120 mhz overclocked to 133  (no problems with overheating or cpu errors)
>triton-2 chipset motherboard with a 4 month old bios
>1.6 gb eide drive	primary master
>1.2 gb eide drive	secondary master
>6x eide cd-rom		primary slave
>4x eide cd-rom		secondary slave
>diamond stealth video 2001 64 bit w/ 2mb dram
>3 1/2" drive
>colorado jumbo 250 tape drive
>512k burst cache
>16 mb 60 ns non edo non parity ram
>mouse, keyboard, viewsonic monitor.
>
>in my current setup, i have my 1.6 gb hard drive with 1 gb to win95, and 600
>mb to freebsd, and my 1.2 gb drive with 1 gb to win95, and 200 mb to freebsd.
>
>once again. i am using FreeBSD 2.1.5 release cd-rom.
>
>Any advice is appreciated.  Thanks for your time.
>
>Parag Chhibber
>
>-----------------------------------------------------------------------
>This article was posted to Usenet via the Posting Service at Deja News:
>    http://www.dejanews.com/      [Search, Post, and Read Usenet News!]