Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jun 1996 12:36:12 +0200 (MET DST)
From:      grog@lemis.de (Greg Lehey)
To:        ajohn@mail.bcpl.lib.md.us (Anil John)
Cc:        questions@FreeBSD.org (FreeBSD Questions)
Subject:   Re: Compiling kernel for ATAPI CD-ROM error - fatal signal 11- what is it?
Message-ID:  <199606251036.MAA22225@allegro.lemis.de>
In-Reply-To: <01BB6204.435BC6E0@ppp61.bcpl.lib.md.us> from "Anil John" at Jun 24, 96 07:35:11 pm

next in thread | previous in thread | raw e-mail | index | archive | help
Anil John writes:
>
> Greg Lehey[SMTP:grog@lemis.de] wrote:
>> Anil John writes:
>>> My compile stopped with the following error:
>>> --------
>>> June 22 17:31:56 hammer /kernel: pid 453: cc1: uid 0: exited on
> signal 11
>>> cc: Interal compiler error: program as got fatal signal 11
>>> *** Error code 1
>>>
>>> Stop.
>>
>> strncmp.c.  Check which file causes the compiler to fail, then try
>> again.  If it fails in the same place, there's probably something
>> wrong with the source (so check it).  If it fails at random places,
>> there's probably something wrong with your hardware.
>>
> Greg,
>
> It is failing at random places, so it must be hardware. Any suggestions for
> what could be the most likely places to look?

Well, I'm not the most experienced in this area, so maybe somebody
else will come up with better ideas, but normally a SIGSEGV (signal
11) indicates memory problems.  This could be main memory, or it could
be cache.  Before you go out and buy a new motherboard and memory,
check the BIOS setup menus.  Probably the best bet is to disable
cache, which will make the machine horribly slow, but if you can then
build your kernel, you'll know where the problem lies.  If your BIOS
has memory refresh options, try slowing them down a bit.

> Another question - I have my CD ROM as master on my secondary IDE
> controller.
> It is not detected by atapi.flp when you boot from the floppy, BUT if I put
> it as slave on my primary controller (with my hard disk) it is
> detected.

Yes, I'm afraid this is currently a limitation (described on page 26
of Installing and Running FreeBSD).  The real problem is that nobody
in the development team likes IDE/ATAPI CD-ROMs, so nothing is being
done about it.

>  When I installed my system, I installed the kernel developer system.  It
> did not install X.  I would like X.
>
> Since I cannot get my kernel to recompile until I fix this problem, can I
> boot up using the floppy, then do a Custom installation from the main
> installation menu and just install the X-Server software and have all of my
> other previously installed software remain the same?

Yes, you could do this.  However, if you have serious hardware
problems, you really need to look at them first.  There's every chance
that the bug that bit the compiler will bite X, too, and X is a pig to
debug.

> Also is there something like a DOS command prompt I can go to when I boot
> up with the floppy?  The reason being I would like to come up in command
> prompt, go to the live file system and copy the kernel.atapi binary.

Well, the "something like a DOS command prompt" is the shell prompt,
but it looks like you want to be able to access your CD-ROM without
being able to access it.  That won't work, of course.  Is there some
pressing reason why you can't leave your ATAPI drive as the slave of
the master controller?

If you're talking about accessing a DOS partition on the same system,
you can do that with the MS-DOS file system.  This is another
little-loved part of the system, though, and it has been known to
cause problems writing to the system, so if you do use it, you should
mount it read-only.

> As you can probably tell, I am relatively new to UNIX, so please bear with
> me :)

That's what we're here for.

Greg



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