Problems rebuilding kernel after upgrade to 5.1B

From: AGONORT (AGONORT@teleline.es)
Date: Tue May 20 2003 - 15:42:54 EDT


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
64__ -no_warnprotos ../data/pcxal_data.c
cc -c -O2 -DLANGUAGE_C -std0 -g3 -I -I. -I.. -I../incde -
DIDENT=QUIJOTE -DDEC210
00 -DUERF -DOSF -DCOMPAT_43 -DMACH -DUFS -DFFM_FS -DATM -DATM -DATM -
DATM -DATM
-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 ptrm
ismatch1 -msg_enable
cvtdiftypes,warnimplfunc,ptrmismatch,macroredef,lvaluecast,
uselesstyped -msg_inform
cvtdiftypes,warnimplfunc,ptrmismatch,macroredef,lvaluec
ast,uselesstyped -msg_enable
uninit1,falloffend,intrinsicint,outtoomany,outtoofe
w,questcompare,storclsdcl,tentredef -msg_warn
uninit1,falloffend,intrinsicint,ou
ttoomany,outtoofew,questcompare,storclsdcl,tentredef -msg_enable
othermember -ms
g_error othermember -Umips -UMIPS -U__intel__ -D__alpha -D__digital__ -
D__arch64
__ -no_warnprotos pci_option_data.c
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
64__ -no_warnprotos eisa_option_data.c
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
rmismat1 -msg_enable
cvtdiftypes,warnimplfunc,ptrmismatch,macroredef,lvaluecast,
uselesstyped -msg_inform
cvtdiftypes,warnimplfunc,ptrmismatch,macroredef,lvaluec
ast,uselesstyped -msg_enable
uninit1,falloffend,intrinsicint,outtoomany,outtoofe
w,questcompare,storclsdcl,tentredef -msg_warn
uninit1,falloffend,intrinsicint,ou
ttoomany,outtoofew,questcompare,storclsdcl,tentredef -msg_enable
othermember -ms
g_error othermember -Umips -UMIPS -U__intel__ -D__alpha -D__digital__ -
D__arch64
__ -no_warnprotos ../data/ws_data.c
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
64__ ../data/emx_data.c
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,floffend,intrinsicint,ou
ttoomany,outtoofew,questcompare,storclsdcl,tentredef -msg_enable
othermember -ms
g_error othermember -Umips -UMIPS -U__intel__ -D__alpha -D__digital__ -
D__arch64
__ ../arch/alpha/hal/cpuconf.c
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
64__ -no_warnprotos ../data/autoconf_data.c
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
64__ -no_warnprotos ../data/cons_sw_data.c
rm -f QUIJOTE.mod
ld -dc -r -o QUIJOTE.mod inimain.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 param.o binlog_data.o conf.o ioconf.o cam_config.o
cam_debug.o lsb
_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 hnt on this ???

thanks a lot from Spain
antonio
antono.gonzalez@teleline.es



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:19 EDT