SUMMARY: Problems building kernel

From: Andy Malato <andym_at_oak.njit.edu>
Date: Thu, 18 Nov 2004 11:47:02 -0500 (EST)

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 <RETURN> 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_at_zk3.dec.com, thomas.blinn_at_compaq.com, thomas.blinn_at_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_at_acm.org PC_at_Home: tom_at_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_at_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.
!
!
Received on Thu Nov 18 2004 - 16:52:47 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:45 NZDT