From owner-freebsd-questions Wed Nov 27 07:29:57 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA24586 for questions-outgoing; Wed, 27 Nov 1996 07:29:57 -0800 (PST) Received: from diablo.ppp.de (diablo.ppp.de [193.141.101.34]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id HAA24574 for ; Wed, 27 Nov 1996 07:29:48 -0800 (PST) From: Greg Lehey Received: from freebie.lemis.de by diablo.ppp.de with smtp (Smail3.1.28.1 #1) id m0vSlvK-000QsRC; Wed, 27 Nov 96 16:29 MET Received: (grog@localhost) by freebie.lemis.de (8.8.3/8.6.12) id QAA02452; Wed, 27 Nov 1996 16:08:45 +0100 (MET) Organisation: LEMIS, Schellnhausen 2, 36325 Feldatal, Germany Phone: +49-6637-919123 Fax: +49-6637-919122 Message-Id: <199611271508.QAA02452@freebie.lemis.de> Subject: Re: I have error in regereneration In-Reply-To: <199611261310.JAA26689@netgate.comintur.com.uy> from Fabrizio Cuturi at "Nov 26, 96 09:10:00 am" To: benetton@netgate.comintur.com.uy (Fabrizio Cuturi) Date: Wed, 27 Nov 1996 16:08:45 +0100 (MET) Cc: questions@FreeBSD.org X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk Fabrizio Cuturi writes: > I tried to make a generation of a new kernel simply with > cd /usr/src/sys/i386/conf > cp GENERIC IVS > /usr/sbin/config IVS > cd ../../compile/IVS > make > > And after a while I receive a message : > > myname /kernel: pid 190: cc1: uid 0: exited on signal 11 > cc: Internal compiler error: program cc1 got fatal signal 11 > *** Error code 1 > > Any suggestions ? It's a segmentation violation. If it happens here, as Doug says, it's probably an indication of hardware problems. A typical culprit is cache; try disabling cache from BIOS and see if it still happens (it'll be *really* slow, but at least you can figure out if you're looking in the right place). Another possibility we saw recently was a defective SCSI controller (in this case, NCR, but I don't think that's relevant). > PD Where I can search for an explanation of the signals and errors codes ? The signals are defined in /usr/include/sys/signal.h, and the errors are in /usr/include/errno.h. In each case, the description is really intended for people who already understand the system. If you need more explanations, a good book on programming is probably your best bet. There aren't many non-programming books which explain them. I go into some detail about signals in "Porting UNIX Software", but I don't mention error numbers much. Greg