From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Andy Malato Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: Problems building kernel Date: Thu, 18 Nov 2004 11:47:02 -0500 (EST) Message-ID: References: <200411181512.KAA0000024935@doctor.zk3.dec.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: sea.gmane.org 1100796730 846 80.91.229.6 (18 Nov 2004 16:52:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 18 Nov 2004 16:52:10 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Thu Nov 18 17:51:53 2004 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1CUpVh-0002mI-00 for ; Thu, 18 Nov 2004 17:51:53 +0100 Original-Received: (qmail 25154 invoked by uid 5); 18 Nov 2004 16:51:07 -0000 Original-Sender: tru64-unix-managers-owner@ornl.gov Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 25139 invoked by uid 49501); 18 Nov 2004 16:51:06 -0000 Original-Received: from andym@oak.njit.edu by sws1 by uid 49491 with qmail-scanner-1.21 (clamdscan: 0.70-rc. iscan: v3.1/v5.600-1011/847/50540. spamassassin: 2.63. Clear:RC:0(160.91.4.119):SA:0(-2.6/5.0):. Processed in 2.132895 secs); 18 Nov 2004 16:51:06 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 18 Nov 2004 16:51:04 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0I7D002S6W50I8@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 18 Nov 2004 11:51:04 -0500 (EST) Original-Received: from VIRUSCAN-DAEMON.emroute1.cind.ornl.gov by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) id <0I7D00505W4CE3@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 18 Nov 2004 11:50:50 -0500 (EST) Original-Received: from mail-gw5.njit.edu (mail-gw5.njit.edu [128.235.251.173]) by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0I7D00IN9VYFMB@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 18 Nov 2004 11:47:06 -0500 (EST) Original-Received: from mars.njit.edu (mars.njit.edu [128.235.204.97]) by mail-gw5.njit.edu (8.12.10/8.12.4) with ESMTP id iAIGl2Kk020708 for ; Thu, 18 Nov 2004 11:47:02 -0500 (EST) Original-Received: from localhost (andym@localhost) by mars.njit.edu (8.12.11/8.12.8/Submit) with ESMTP id iAIGl2QJ006224 for ; Thu, 18 Nov 2004 11:47:02 -0500 (EST) In-reply-to: <200411181512.KAA0000024935@doctor.zk3.dec.com> X-X-Sender: andym@mars.njit.edu Original-To: tru64-unix-managers@ornl.gov X-Envelope-From: X-ORNL-Envelope-To: tru64-unix-managers@sws1.ctd.ornl.gov rfc822;tru64-unix-managers@ornl.gov X-Authentication-warning: mars.njit.edu: andym owned process doing -bs Xref: main.gmane.org gmane.os.tru64.managers:7792 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:7792 Thanks to Dr. Blinn I was able to solve the problem by taking the config file to another system and building the kernel on that machine. Then just moved it back to the original system. Thanks to all those who replied. ---Andy ! ! My guess (and it is mostly a guess) is that you have a bad patch ! of some kind on the system. Something in the kernel build files ! is probably just plain wrong. Can you build a kernel WITHOUT any ! of the AFS support involved? ! ! The symbols "ld" is complaining about are these: ! ! > Error: Undefined: ! > ccmn_iob_req_li ! > ccmn_iob_mask_li ! ! In V5.1A as of the BL24 patch kit, these are defined and used in ! two places; one is in the SCSI/CAM subsystem, where they are in ! the source file io/cam/pdrv3_common.c, and the other is in the ! lock information database, kernel/kern/lockinfo.c. Since in the ! CAM subsystem they are both defined and referenced, I doubt the ! problem is there, unless you have a version of cam.mod that does ! not define the symbols at all; in kern/lockinfo.c they are used ! but not defined, so the unresolved reference is probably that on ! this particular system you have a current kern/lockinfo.c and an ! old cam.mod, and I believe that kern/lockinfo.c is delivered in ! source form in the kernel build part of the product kit, but I ! would have to triple check to be certain. ! ! Again, probably a bad kernel cam.mod file, but not certain, I'd ! be unlikely to be able to reproduce it. ! ! By the way, you should be able to take your config file for this ! system to another system running the same software revision and ! build the kernel there, then move it to this system. If you can ! not do the build on a system where other kernels do build OK, you ! have a broken config file on this system. If you take the config ! file from another system where it does build OK and try to build ! it on this system and it fails, that's evidence that you have a ! problem with the kernel build environment on this system. ! ! Tom ! ! > Hello All: ! > ! > ! > I am trying to build a kernel ( to include AFS support ) on my Alpha ES40, ! > but am running into trouble. I've done this type of build on several ! > other machines, including an identical ES40, without any problems. This ! > machine like all the rest is running Tru64 5.1A ! > ! > When I attempt the build I run into the following error: ! > ! > ! > /usr/sbin/doconfig -c CAMS2 ! > ! > *** KERNEL CONFIGURATION AND BUILD PROCEDURE *** ! > ! > Saving /sys/conf/CAMS2 as /sys/conf/CAMS2.bck ! > ! > Do you want to edit the configuration file? (y/n) [n]: ! > ! > ! > *** PERFORMING KERNEL BUILD *** ! > Working....Thu Nov 18 08:58:47 EST 2004 ! > ! > *** WARNING *** ! > An error has occurred during system configuration. A ! > partial listing ! > of the error log file (/sys/CAMS2/errs) follows: ! > ! > ! > ... ! > ! > ! > ld -dc -r -o CAMS2.mod init_main.o ipc_globals.o vm_init.o lockinfo.o ! > pmap_init.o alpha_init.o startup.o bootio_subrs.o bootio_net.o io.o sys.o ! > sys_advfs.o sys_cdfs.o steal_mem.o entry.o vmunix.swap kdebug_data.o ! > ufs_quota_stubs.o cm_data.o device_data.o gw_screen_data.o time_data.o ! > netaf_config.o str_config.o vfs_conf.o tty_conf.o binlog_data.o conf.o ! > ioconf.o cam_config.o cam_debug.o cam_data.o cam_special_data.o ! > pcxal_data.o pci_option_data.o isa_option_data.o ws_data.o cpuconf.o ! > autoconf_data.o cons_sw_data.o ! > /usr/lib/cmplrs/cc/objZ CAMS2.mod ! > Generating version stamp ! > Generating EXTRAS.mod ! > Linking vmunix ! > ld: ! > Error: Undefined: ! > ccmn_iob_req_li ! > ccmn_iob_mask_li ! > *** Exit 1 ! > Stop. ! > Press to continue: ! > ! > *** NOTE *** ! > The customized kernel for this machine could not be successfully ! > created. One possible problem could be kernel layered products ! > that might be incompatible with the base operating system. This ! > script will now automatically attempt to build a kernel using the ! > base operating system only. ! > Is this ok? (y/n) [y]: ! > ! > *** Retrying Kernel Build *** ! > Working....Thu Nov 18 08:59:37 EST 2004 ! > ! > *** WARNING *** ! > An error has occurred during system configuration. A partial listing ! > of the error log file (/sys/CAMS2/errs) follows: ! > ! > ! > Any ideas as to why this is failing and how I may fix this? ! > ! > ! > Thanks in advance, ! > ! > ! > ---Andy ! ! Tom ! ! Dr. Thomas P. Blinn + Tru64 UNIX Software + Hewlett-Packard Company ! Internet: tpb@zk3.dec.com, thomas.blinn@compaq.com, thomas.blinn@hp.com ! 110 Spit Brook Road, MS ZKO3-2/W17 Nashua, New Hampshire 03062-2698 ! Alpha Tru64 UNIX kernel support Phone: (603) 884-0646 ! ACM Member: tpblinn@acm.org PC@Home: tom@felines.mv.net ! ! Worry kills more people than work because more people worry than work. ! ! Keep your stick on the ice. -- Steve Smith ("Red Green") ! ! My favorite palindrome is: Satan, oscillate my metallic sonatas. ! -- Phil Agre, pagre@alpha.oac.ucla.edu ! ! Yesterday it worked / Today it is not working / UNIX is like that ! -- apologies to Margaret Segall ! ! Opinions expressed herein are my own, and do not necessarily represent ! those of my employer or anyone else, living or dead, real or imagined. ! !