repeated trouble w/ buildworld
I usually update my office machine weekly, but did not the week of Thanksgiving. Last week the buildworld failed, but I didn't have time to follow up on the problem (and thought it might not be my problem and so be resolved in short order). However, the build failed again this week. I removed /usr/src and tried again without any luck. I've checked UPDATING. I'm subscribed to the mailing list and try to quickly review it -- I haven't noticed anything related, but that doesn't mean I haven't missed something. Any ideas? This machine has been running this configuration since last spring without problems. I can't recall anything that I might have done in the last several weeks that might have contributed. Some info is included below (system name, make.conf, tail of build logs). Thanks for any suggestions you can offer. Russ Murphy System: knock [rdmurphy]% uname -a FreeBSD knock.econ.vt.edu 4.7-STABLE FreeBSD 4.7-STABLE #0: Fri Nov 22 04:24:57 EST 2002 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/KNOCK i386 I have logs of the builds, but won't send them out unless needed. knock [rdmurphy]% cd /var/tmp knock [tmp]% ll 20* -rw-r--r-- 1 root wheel 1466206 Dec 6 13:27 20-buildworld-021206a.log -rw-r--r-- 1 root wheel39116 Dec 13 11:10 20-buildworld-021213.log -rw-r--r-- 1 root wheel 5611940 Dec 13 04:17 20-buildworld-021213a.log -rw-r--r-- 1 root wheel 1241704 Dec 13 10:28 20-buildworld-021213b.log The make command used was: make buildworld 21 ${BWLOG}-$TODAY.log The top of /etc/make.conf is: CPUTYPE=i686 CFLAGS= -O -pipe CXXFLAGS+= -fmemoize-lookups -fsave-memoized COPTFLAGS= -O -pipe ENABLE_SUID_SSH= true NOPROFILE= true# Avoid compiling profiled libraries NOUUCP= true# do not build uucp related programs NO_I4B= true# do not build isdn4bsd package MAKE_IDEA= YES # IDEA (128 bit symmetric encryption) COMPAT22=yes COMPAT3X=yes COMPAT4X=yes The tail ends of the build logs are: (last week) 1 - knock [tmp]% tail -20 20-buildworld-021206a.log === sh /usr/src/tools/install.sh -o root -g wheel -m 444 crt1.o crti.o crtn.o gcrt1 .o /usr/obj/usr/src/i386/usr/lib echo === lib/libcrypt; cd /usr/src/lib/libcrypt; make DIRPRFX=lib/libcrypt/ depend; make DIRPRFX=lib/libcrypt/ all; make DIRPRFX=lib/libcrypt/ install === lib/libcrypt rm -f .depend mkdep -f .depend -a-I/usr/src/lib/libcrypt/../libmd -I/usr/src/lib/libcrypt/ ../libutil -DLIBC_SCCS -I/usr/src/lib/libcrypt -DHAS_DES -DHAS_BLOWFISH -DMD5Ini t=__MD5Init -DMD5Final=__MD5Final -DMD5Update=__MD5Update -DMD5Pad=__MD5Pad -Dau th_getval=__auth_getval -Dproperty_find=__property_find -Dproperties_read=__prop erties_read -Dproperties_free=__properties_free /usr/src/lib/libcrypt/crypt.c / usr/src/lib/libcrypt/crypt-md5.c /usr/src/lib/libcrypt/../libmd/md5c.c /usr/src/ lib/libcrypt/misc.c /usr/src/lib/libcrypt/../../secure/lib/libcrypt/crypt-des.c /usr/src/lib/libcrypt/../../secure/lib/libcrypt/crypt-blowfish.c /usr/src/lib/li bcrypt/../../secure/lib/libcrypt/blowfish.c /usr/src/lib/libcrypt/../libutil/aut h.c /usr/src/lib/libcrypt/../libutil/property.c *** Error code 1 Stop in /usr/src/lib/libcrypt. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. (first today) 2 - knock [tmp]% tail -20 20-buildworld-021213a.log === cc -O -pipe -march=pentiumpro -DMONOLITH -I/usr/src/secure/usr.bin/openssl-c /usr/src/secure/usr.bin/openssl/../../../crypto/openssl/apps/version.c cc -O -pipe -march=pentiumpro -DMONOLITH -I/usr/src/secure/usr.bin/openssl - o openssl app_rand.o apps.o asn1pars.o ca.o ciphers.o crl.o crl2p7.o dgst.o dh.o dhparam.o dsa.o dsaparam.o enc.o errstr.o gendh.o gendsa.o genrsa.o nseq.o open ssl.o passwd.o pkcs12.o pkcs7.o pkcs8.o rand.o req.o rsa.o rsautl.o s_cb.o s_cli ent.o s_server.o s_socket.o s_time.o sess_id.o smime.o speed.o spkac.o verify.o version.o x509.o -lssl -lcrypto *** Error code 1 Stop in /usr/src/secure/usr.bin/openssl. *** Error code 1 Stop in /usr/src/secure/usr.bin. *** Error code 1 Stop in /usr/src/secure. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. (second time today) 3 - knock [tmp]% tail -16 20-buildworld-021213b.log === mkdep -f .depend -a-DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\/usr/obj/usr/src/i386 /usr\ -I/usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools -I/usr/ src/gnu/usr.bin/cc/cc_int/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc_int/../../../ ../contrib/gcc -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/config - DTARGET_NAME=\i386-unknown-freebsd\ -DIN_GCC -D__FBSDID=__RCSID /usr/src/gnu/
Re: repeated trouble w/ buildworld
Kent Stewart writes: | You aren't showing the error. The error 1 just means there was an | error messager earlier. Since they are stopping in different places, | I would expect hardware errors of some sort. If you are running a | make with a -j?, turn it off so you don't get your error message in | a misleading location in the output. There's no -j specified; I just ran another buildworld just to be sure. The command line (tcsh) was: make buildworld /var/tmp/buildworld-021213.log I'm not sure if this is what you're looking for, but the last part of that log is: === gnu/usr.bin/cc/c++ rm -f .depend mkdep -f .depend -a-DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\/usr/obj/usr/src/i386/usr\ -I/usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/c++/../cc_tools -I/usr/src/gnu/usr.bin/cc/c++/../cc_tools -I/usr/src/gnu/usr.bin/cc/c++/../../../../contrib/gcc -I/usr/src/gnu/usr.bin/cc/c++/../../../../contrib/gcc/config -DDEFAULT_TARGET_VERSION=\2.95.4\ -DDEFAULT_TARGET_MACHINE=\i386-unknown-freebsd\ -D__FBSDID=__RCSID /usr/src/gnu/usr.bin/cc/c++/../../../../contrib/gcc/gcc.c /usr/src/gnu/usr.bin/cc/c++/../../../../contrib/gcc/cp/g++spec.c echo c++: /usr/lib/libc.a /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/c++/../cc_int/libcc_int.a .depend === gnu/usr.bin/cc/c++filt echo int xxy_us_dummy; tmp-dum.c cc -S tmp-dum.c echo '/*WARNING: This file is automatically generated!*/' underscore.c if grep _xxy_us_dummy tmp-dum.s /dev/null ; then echo int prepends_underscore = 1; underscore.c; else echo int prepends_underscore = 0; underscore.c; fi rm -f tmp-dum.c tmp-dum.s rm -f .depend mkdep -f .depend -a-DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\/usr/obj/usr/src/i386/usr\ -I/usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/c++filt/../cc_tools -I/usr/src/gnu/usr.bin/cc/c++filt/../cc_tools -I/usr/src/gnu/usr.bin/cc/c++filt/../../../../contrib/gcc -I/usr/src/gnu/usr.bin/cc/c++filt/../../../../contrib/gcc/config -DMAIN -DIN_GCC -DVERSION=\2.95.4\ -D__FBSDID=__RCSID /usr/src/gnu/usr.bin/cc/c++filt/../../../../contrib/gcc/cplus-dem.c /usr/src/gnu/usr.bin/cc/c++filt/../../../../contrib/gcc/getopt.c /usr/src/gnu/usr.bin/cc/c++filt/../../../../contrib/gcc/getopt1.c underscore.c Illegal instruction (core dumped) mkdep: compile failed *** Error code 1 Stop in /usr/src/gnu/usr.bin/cc/c++filt. *** Error code 1 Stop in /usr/src/gnu/usr.bin/cc. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. | I personally find no -j faster then supplying a -j. These days, the speed doesn't bother me much one way or another (CPU: Pentium 4 (1694.86-MHz 686-class CPU) Origin = GenuineIntel Id = 0xf12 Stepping = 2) Thanks- RDM -- Russell D. Murphy Department of Economics Virginia Polytechnic Institute and State University Blacksburg, Virginia 24061 (540) 231-4537 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-stable in the body of the message
Root mount failed in 3.5-Stable to 4.1-Release upgrade
I'm upgrading an old machine from 3.5-Stable to 4.1-Release (on the way to 4.3-Stable). I've been following /usr/src/UPDATING. The buildworld, buildkernel, installkernel, modules, and mknod steps went fine (as far as I can tell). I copied /usr/src/etc/MAKEDEV to /dev and ran MAKEDEV for ad0 and ad0s2a. The only filesystems in use were wd0s2a, wd0s2h, wd0s2e wd0s2g, and wd0s2f. The first slice is a 100MB dos partition. I changed fstab to reflect ad0 rather than wd0. When I try to re-boot into single user mode with either the new kernel or the new GENERIC kernel, I get: mounting root from ufs:wd0s2a wd0: bad sector table not supported wd0s2a: bad sector table not supported Root mount failed: 22 I tried asking it to boot from ad0s2a, ad0s2, ad0, wd0s2a, wd0s2, and wd0 with the same results. If I boot kernel.old (3.5-Stable), I can boot, but can't mount anything read-write. / will fsck OK, but: mount /dev/wd0s2a / generates mount: Block device required I've tried using the fixit floppy to re-make the devices ad0, ad0s2a, wd0, and wd0s2a, but this didn't seem to help (though I may not have done it in a completely kosher fashion). I've checked the list archives, but didn't find anything helpful (probably looked for the wrong keywords. . .). Any suggestions? Thanks- Russ Murphy -- Russell D. Murphy Department of Economics Virginia Polytechnic Institute and State University Blacksburg, Virginia 24061 (540) 231-4537 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-stable in the body of the message
Fatal trap 12?
My machine has locked up solid and rebooted a few times lately; the most recent time I managed to get this from the console (copied by hand - I believe it's accurate, but no guarantees): (some information probably scrolled off the screen) QOUTFIFO entries: Sequencer Free SCB List: Pending list: (several lines of numbers) Kernel Free SCB list: 66 64 63 62 61 60 panic: for safety syncing disks. . . Fatal trap 12: page fault while in kernel mode fault virtual address = 0x30 fault code = supervisor read, page not present instruction pointer = 0x8:0xc01efafe stack pointer = 0x10:0xc029e2a4 frame pointer = 0x10:0xc029e2a8 code segment= base 0x0, limit 0xf, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor flags = interupt enabled, resume IOPL=0 current process = idle interupt mask = net bio cam trap number = 12 panic: page fault uptime: 5m11s (pause for -perhaps- 1 or 2 minutes) (da0:ahc0:0:0:0): Synchronize cache failed, status==0x34, scsi status=0x0 (da1:ahc1:0:4:0): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0 (da1:ahc1:0:4:0): error code 1 Can anyone translate? Is one of my disks failing? If so, which one? The lockups do appear correlated with heavy disk activity. Below, I've included the current /var/run/dmesg.boot and kernel configuration files. These crashes have left no trace (that I can find) in any of the log files. I'm running Stable from last Friday: FreeBSD knock.econ.vt.edu 4.2-STABLE FreeBSD 4.2-STABLE #0: Fri Dec 8 07:42:12 EST 2000 [EMAIL PROTECTED]:/disk1/obj/usr/src/sys/KNOCK i386 The machine is a Dell with an Adaptec 2940, one Quantum Viking hard drive, and one Fujitsu (external drive in Sun packaging) hard drive. Thanks for any light you can shed on this -- and guidance you can offer. Russ Copyright (c) 1992-2000 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.2-STABLE #0: Fri Dec 8 07:42:12 EST 2000 [EMAIL PROTECTED]:/disk1/obj/usr/src/sys/KNOCK Calibrating clock(s) ... TSC clock: 397930877 Hz, i8254 clock: 1193133 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency Timecounter "i8254" frequency 1193182 Hz CLK_USE_TSC_CALIBRATION not specified - using old calibration method Timecounter "TSC" frequency 397949138 Hz CPU: Pentium II/Pentium II Xeon/Celeron (397.95-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x652 Stepping = 2 Features=0x183f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR real memory = 268435456 (262144K bytes) Physical memory chunk(s): 0x1000 - 0x0009, 651264 bytes (159 pages) 0x0037a000 - 0x0fff7fff, 264757248 bytes (64638 pages) avail memory = 257970176 (251924K bytes) bios32: Found BIOS32 Service Directory header at 0xc00ffe80 bios32: Entry = 0xffe90 (c00ffe90) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0xcaee pnpbios: Found PnP BIOS data at 0xc00fe2d0 pnpbios: Entry = f:e2f4 Rev = 1.0 Other BIOS signatures found: ACPI: 000fdf50 Preloaded elf kernel "kernel" at 0xc0354000. VESA: information block 56 45 53 41 00 02 00 01 00 01 00 00 00 00 22 00 00 01 40 00 00 01 0b 01 00 01 21 01 00 01 2a 01 00 01 00 01 01 01 10 01 11 01 12 01 03 01 13 01 14 01 15 01 05 01 16 01 17 01 18 01 07 01 19 01 VESA: 3 mode(s) found VESA: v2.0, 4096k memory, flags:0x0, mode table:0xc02f8462 (122) VESA: ATI MACH64 VESA: ATI Technologies Inc. MACH64GT 01.00 Pentium Pro MTRR support enabled pci_open(1):mode 1 addr port (0x0cf8) is 0x80010014 pci_open(1a): mode1res=0x8000 (0x8000) pci_cfgcheck: device 0 [class=06] [hdr=00] is there (id=71908086) npx0: math processor on motherboard npx0: INT 16 interface pci_open(1):mode 1 addr port (0x0cf8) is 0x pci_open(1a): mode1res=0x8000 (0x8000) pci_cfgcheck: device 0 [class=06] [hdr=00] is there (id=71908086) pcib0: Intel 82443BX (440 BX) host to PCI bridge on motherboard found- vendor=0x8086, dev=0x7190, revid=0x03 class=06-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0secondarybus=0 map[10]: type 1, range 32, base f400, size 26 found- vendor=0x8086, dev=0x7191, revid=0x03 class=06-04-00, hdrtype=0x01, mfdev=0 subordinatebus=1secondarybus=1 found- vendor=0x8086, dev=0x7110, revid=0x02 class=06-01-00, hdrtype=0x00, mfdev=1 subordinatebus=0secondarybus=0 found- vendor=0x8086, dev=0x7111, revid=0x01 class=01-01-80, hdrtype=0x00, mfdev=0 subordinatebus=0secondarybus=0 map[20]: type 1, range 32, base ffa0, size
can't load kernel after build/install world/kernel
I seem to have shot myself in the foot. I ran cvsup, buildworld, installworld, buildkernel, and installkernel yesterday on my laptop as well as my desktop. The laptop will no longer boot FreeBSD; the desktop is fine. The laptop shows: F1 DOS F2 FreeBSD Default: F2 BTX loader 1.00 BTX version is 1.01 Console: internal video/keryboard BIOS drive A: is disk0 BIOS drive C: is disk1 BIOS 639kB/64448kB available memory FreeBSD/i386 bootstrap loader, Revision 0.8 ([EMAIL PROTECTED], Mon Jul 24 14.53.22 EDT 2000) Hit [Enter] to boot immediately, or any other key ofr command prompt. Booting [kernel]... can't load 'kernel' can't load 'kernel.old' ok ls open '/' failed: no such file or directory ok lsdev disk @0x10738 disk0: BIOS drive A disk1: BIOS drive C pxe @ 0xe4dc The machine boots up in W95. The machine was running 4.0-Stable from a few weeks ago. I have a script which runs the sequence of build/install steps; the script on the laptop stopped because the laptop was running under a different machine name than usual and so the script did not find the kernel config file. I ran buildkernel and installkernel by hand for my kernel config file and for GENERIC. I believe I followed the UPDATING instructions (but something's not working, so I probably missed something). Any suggestions? Thanks- Russ Murphy -- Russell D. Murphy Department of Economics Virginia Polytechnic Institute and State University 3034 Pamplin Hall Blacksburg, Virginia 24061-0316 (540) 231-4537 [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message