From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Antonio Gonzalez Newsgroups: gmane.os.tru64.managers Subject: SUMMARY - Problems rebuilding kernel after upgrade to 5.1B Date: Sat, 24 May 2003 17:16:56 +0200 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <007001c32207$848c0470$a10a25d5@chucho> Reply-To: antonio.gonzalez@teleline.es NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT X-Trace: main.gmane.org 1053789165 14316 80.91.224.249 (24 May 2003 15:12:45 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 24 May 2003 15:12:45 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Sat May 24 17:12:44 2003 Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 19JahP-0003ij-00 for ; Sat, 24 May 2003 17:12:43 +0200 Original-Received: (qmail 29988 invoked by uid 5); 24 May 2003 15:14:33 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 29979 invoked by uid 49493); 24 May 2003 15:14:33 -0000 Original-Received: from antonio.gonzalez@teleline.es by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(1.0/5.0):. Processed in 0.525197 secs); 24 May 2003 15:14:33 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 24 May 2003 15:14:32 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HFE00HD0D07I0@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Sat, 24 May 2003 11:14:32 -0400 (EDT) Original-Received: from tsmtp2.mail.isp (smtp.terra.es [213.4.129.129]) by emroute1.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HFE00M54CZBL8@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Sat, 24 May 2003 11:14:01 -0400 (EDT) Original-Received: from chucho ([213.37.10.2]) by tsmtp2.mail.isp (terra.es) with ESMTP id HFECYZ01.RG3 for ; Sat, 24 May 2003 17:13:47 +0200 Original-To: tru64-unix-managers@ornl.gov X-MIMEOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal Xref: main.gmane.org gmane.os.tru64.managers:4326 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:4326 After some helpfull mails from: Dr Thomas.Blinn@HP.com & Martin Rønde Andersen the problem was solved. After trying again doconfig we have this line in the QUIJOTE.list: /usr/opt/CAIENF:CAIENF:xxxxxxxx:Computer Associates This products are no longer installed but ... is a leftover from the Unix version 4.* times In /usr/opt/CAIENF there are some files that try forced doconfig to configure the CAIENF module into the kernel. But this module isn't compatible with version 5 Renaming / Removing this directory solved the problem. Thanks to the list !!! ============================================ Reply from Dr Thomas.Blinn@HP.com ... This is the relevant part of the error messages; the rest is quite normal: > ld: > EXTRAS.mod compressed: proto_kern_ptetab: multiply defined > EXTRAS.mod compressed: proto_user_ptetab: multiply defined > EXTRAS.mod compressed: proto_user_segpte: multiply defined Is the file /sys/conf/QUIJOTE.list an empty file? If it's not, then you may well have some kind of kernel layered products installed, and it is HIGHLY LIKELY that they are incompatible with V5.x if you put them on the system while you were running V4.x. I ask because I see that when it built the basic kernel with no kernel layered products, the error message went away. In V5.1B, the symbols noted are defined in the source file arch/alpha/pmap_init.c as structures of the type pt_entry_t. I'm guessing that something that's getting linked into EXTRAS.mod has a conflicting definition. Also, you should make sure you completely clean out the directory /usr/sys/QUIJOTE which is where the kernel gets built; the easiest way to do this is to just rm -rf the whole directory, and let the kernel build procedure recreate it; this often resolves problems in kernel builds. ============================================ Reply from Martin Rønde Andersen ... It seems you have had some strange drivers put on the system , that are no longer needed. EXTRAS.mod and QuiJOTE.mod contains the root of confusion. Did you add some emx drivers back in v4.* time ?? At least there is definitions in the config file which should not be there, leftovers from version 4.* =========================================== Original question follows ... The path was 4.0D - 4.0G - 5.1 - 5.1B With v5.* we started to see a problem with doconfig: error: *** PERFORMING KERNEL BUILD *** A log file listing special device files is located in /dev/MAKEDEV.log Working....Tue May 20 20:27:10 MEST 2003 *** WARNING *** An error has occurred during system configuration. A partial listing of the error log file (/sys/QUIJOTE/errs) follows: cc -c -O2 -DLANGUAGE_C -std0 -g3 -I -I. -I.. -I../include - DIDENT=QUIJOTE -DDEC2 1000 -DUERF -DOSF -DCOMPAT_43 -DMACH -DUFS -DFFM_FS -DATM -DATM -DATM - DATM -DAT M -DRT_SEM -DCAIENF -DKERNEL -D_KERNEL -D_BSD -D_USE_KERNEL_PROTOS - compress -MD -no_excpt -nointrinsics -Wg,-unroll,1 -Wb,-static -Wco,-nofloat - msg_disable pt rmismatch1 -msg_enable cvtdiftypes,warnimplfunc,ptrmismatch,macroredef,lvaluecas t,uselesstyped -msg_inform cvtdiftypes,warnimplfunc,ptrmismatch,macroredef,lvalu ecast,uselesstyped -msg_enable uninit1,falloffend,intrinsicint,outtoomany,outtoo few,questcompare,storclsdcl,tentredef -msg_warn uninit1,falloffend,intrinsicint, outtoomany,outtoofew,questcompare,storclsdcl,tentredef -msg_enable othermember - msg_error othermember -Umips -UMIPS -U__intel__ -D__alpha - D__digital__ -D__arch ........... ........... ........... _data.o cam_data.o cam_special_data.o pcxal_data.o pci_option_data.o eisa_option _data.o ws_data.o emx_data.o cpuconf.o autoconf_data.o cons_sw_data.o /usr/lib/cmplrs/cc/objZ QUIJOTE.mod Generating version stamp Generating EXTRAS.mod Linking vmunix ld: EXTRAS.mod compressed: proto_kern_ptetab: multiply defined EXTRAS.mod compressed: proto_user_ptetab: multiply defined EXTRAS.mod compressed: proto_user_segpte: multiply defined *** Exit 1 Stop. After you select to buld the kernel only with the basic options, it works and creates a kernel, but some aditonal options are needed as well. *** 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....Tue May 20 21:38:28 MEST 2003 The new kernel is /sys/QUIJOTE/vmunix Any idea? The configuraton: - AS8400 with Tru64 v5.1B - No patches yet. I'm afraid of adding patches to this now !! - We updated frmware to 6.3 and run ECU All the reported problems dealing wth kernel builds seems to be absent here. the only thing we plan to do is to delete the kernel build modules and reload them from CD. Any hint on this ??? Antonio González Ortiz Consultoría Técnica E-Mail: Antonio.Gonzalez@teleline.es Movil: 656.300.497