![]() |
|
OpenBSD Installation and Upgrading Installing and upgrading OpenBSD. |
![]() |
|
Thread Tools | Display Modes |
|
||||
![]()
This is not enough information to debug. The message you see comes from a (likely GNU) configure script, which is used hundreds of times during a userland build.
Is the OS hung, or is it just the build in some sort of loop? If the OS is still operating, perhaps top(1) can provide an indication of what process is running in a loop. If the OS is still running can ctrl-C from the shell interrupt the build? BTW, if the OS hangs, you may still be able to find out why, by forcing a kernel dump per sysctl ddb.console=1 and crash(8). Is this a repeatable problem? Does it occur at the exact same spot each time, or is it different? Different failure points in the build indicate hardware trouble (RAM, heat, power). The key to diagnosing build problems -- that don't involve hanging the entire system -- is the script(1) tool in combination with col(1). e.g.: Code:
# script Script started, output file is typescript # make build ..... <build failure ...> # exit Script done, output file is typescript # col -b < typescript > session # less session ... < examine output for clues.... Hint: start at the end and work upward> Last edited by jggimi; 30th March 2009 at 10:44 PM. |
|
||||
![]()
During initial configuration of "make build" before anything has built. GCC stops at "Checking if build environment is sane..."
The most I have waited was 15 minutes and still nothing. I have tried 4 times and it just stops right at that same line. Yes a good old Ctl+C will kill the build process. My hardware is ok, my laptop runs cool and I ran about a 6 hr memtest on my memory a couple months ago with no errors. I think I am just going to try patching the kernel instead and save me the trouble of building all the userland stuff anyways. Thanks though. |
|
|||
![]() Quote:
# cvs -d$CVSROOT checkout -rOPENBSD_4_4 -P src ...as detailed in Section 5.3.3 of the FAQ: http://openbsd.org/faq/faq5.html#BldGetSrc If you have source already installed, it may or may not be the correct version, & the above command will not correct the error. The above command also assumes you had OpenBSD 4.4 installed. If source was installed before issuing the above command, it would have to be from 4.4-release. A common error made by those new to compiling the system is to grab the source to -current while on a -release installation. Even if the version numbers match, this is an incapable mix. Weirdnesses may very well occur. I would highly recommend rereading Sections 5.1 - 5.3. |
|
||||
![]() Quote:
Quote:
Quote:
I also like CPU stress testing, which heats up CPUs to the peak of their operating range. A userland build is not a perfect CPU stress tester, but it often can show hardware problems. |
|
||||
![]()
ocicat - I already used the FAQs as a manual to do this. This is exactly what I did.
Code:
# cd /usr # export CVSROOT=anoncvs@obsd.cec.mtu.edu:/cvs # cvs -d$CVSROOT checkout -rOPENBSD_4_4 -P src ports xenocara # cd /usr/src/sys/arch/amd64/conf # config GENERIC.MP # cd ../compile/GENERIC.MP # make clean && make depend && make # make install # reboot # rm -rf /usr/obj/* # cd /usr/src # make obj # cd /usr/src/etc && env DESTDIR=/ make distrib-dirs # cd /usr/src # make build Quote:
|
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenBSD 4.6 i386 boot hangs with old gateway system - resolved | comet--berkeley | OpenBSD Installation and Upgrading | 6 | 22nd July 2011 08:15 AM |
openbsd hangs momentarily at boot | bogd | OpenBSD General | 11 | 9th January 2009 02:53 PM |
FreeBSD hangs on boot | Bubba_HoTep | FreeBSD General | 3 | 29th November 2008 10:25 PM |
FreeBSD 7.0 hangs with USB disk drive. | map7 | FreeBSD General | 7 | 9th August 2008 03:02 AM |
Do you build your own computers? | JMJ_coder | Off-Topic | 28 | 28th July 2008 03:04 AM |