kernel build error when upgrading Irix version 6.5.x - SGI

This is a discussion on kernel build error when upgrading Irix version 6.5.x - SGI ; I'm trying to upgrade an O2 from 6.5.18 to 6.5.19 (eventually I want to move it to the latest revision, but I need 6.5.19 for a particular application for the moment). When I reboot the system after upgrading, I get ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: kernel build error when upgrading Irix version 6.5.x

  1. kernel build error when upgrading Irix version 6.5.x

    I'm trying to upgrade an O2 from 6.5.18 to 6.5.19 (eventually I want
    to move it to the latest revision, but I need 6.5.19 for a particular
    application for the moment). When I reboot the system after upgrading,
    I get an error message that the kernel can't be rebuilt, and to reboot
    and run /etc/autoconfig -v to try to manually build the kernel. So I
    reboot, and I run autoconfig, and I get the same error that I get when
    the system tries to build the kernel, which is below. I have *no* idea
    how to proceed. Any suggestions?

    Thanks,

    Jenn Sturm

    # /etc/autoconfig -v

    /var/sysgen/master.d/cl newer than /unix...
    Automatically reconfiguring the operating system.
    TOOLROOT=/var/sysgen/root /var/sysgen/root/usr/bin/cc -c -I
    -D_MASTER_C -DCRIME -DIP32 -DCRM -D_KN32PROM32 -xansi -D_KN32PROM32
    -D_PAGESZ=4096 -D_KERNEL -DSTATIC=static -DDEBUG_CONPOLL
    -D_VCE_AVOIDANCE -DTLBMOD_BADVADDR_WAR -D_VCE_AVOIDANCE_DEBUG
    -D_TLB_LOOP_LIMIT -DP0_WAR -D_IRIX5_MIPS4 -D_IRIX5_MIPS3
    -DIDLESTACK_FASTINT -D_R5000_BADVADDR_WAR -DMIPS4_ISA
    -DSW_FAST_CACHE_SYNCH -DSCACHE_SET_ASSOC=2 -DTILES_TO_LPAGES
    -DR10000_SPECULATION_WAR -DMH_R10000_SPECULATION_WAR -DR10000_MFHI_WAR
    -DT5TREX_IBE_WAR -DCKPT -D_R5000_CVT_WAR=1 -D_MTEXT_VFS -DPOWER_DUMP
    -D_DISABLE_CDX -D_PIO_EXTRA_SAFE -DUSE_PCI_PIO -D_MP_NETLOCKS
    -DMP_STREAMS=1 -DSP -DIP32 -DR4000 -DR4000PC -DR4600 -DR4600SC
    -DTRITON -DR10000 -D_NO_R4000 -DRM5271 -DRM7000 -DINET6 -DMROUTING6
    -g3 -O2 -G 8 -TENV:kernel -OPT:space=on -DEBUGptimize_space=on
    -OPT:Olimit=0 -CG:unique_exit=on -TENV:strings_not_gprelative=on
    -TENV:X=1 -OPT:IEEE_arithmetic=1 -OPT:roundoff=0
    -OPT:wrap_around_unsafe_opt=off -fullwarn -diag_error
    1116,1196,1551,1413,1498,1009,1110,1171,1047,1140, 1164,1412,1069,1035,1183
    -LANG:vla=off -non_shared -mips3 -n32 -woff
    1685,515,608,658,799,803,852,1048,1233,1499,1501 -DDEFAULTSEMAMETER=1
    -I. -I/usr/include -I/var/sysgen/boot /var/sysgen/master.c -o
    /tmp/master5748.o
    TOOLROOT=/var/sysgen/root /var/sysgen/root/usr/bin/ld -non_shared -e
    start -N -woff 133 -G 8 -woff 84,47,39,17 -mips3 -n32 -nostdlib -T
    80002000 -wall kernel.o /tmp/master5748.o -o /unix.install qcntl.o
    stty_ld.o clone.o nsmidi.o prf.o pcimh.o pciio.o mhpckm.o tserialio.o
    mace.o devpoll.o cn.o gentty.o usema.o klog.o usync.o psema.o sem.o
    msg.o ipc.o sharena.o zero.o mem.o xfs_attr_fetch.o imon.o oplock.o
    fsctl.o alp.o sad.o log.o connld.o pipemod.o ptem.o ldterm.o tirdwr.o
    timod.o lockd.o failover.o scsiha.o tsutil.o tpscutil.o dksc.o scsi.o
    cdl.o fcal.o adp78.o if_me.o gfx.o xconn.o rrm.o htport.o idev.o
    shmiq.o rad_dd.o a3_dd.o bsd.a pts.a ptc.a sgi.a stream.a sgi.a io.a
    sduart.a io.a ptc.a pts.a io.a kmem.a ksync.a rand.a crypto.a crypto.a
    compression.a disp.a os.a sgi.a io.a disp.a stream.a compression.a
    rand.a numa.a nolocks.a capability.a eag.a eag.a llc2.a xtimer.a
    snif.a snif.a bsd.a io.a stream.a xtimer.a graph.a xfs.a sgi.a
    specfs.a io.a umfs.a lofs.a bsd.a nfs.a autofs.a bsd.a nfs.a svckudp.a
    bsd.a nfs3.a bsd.a specfs.a snfs.a bsd.a nfs.a svckudp.a nfs.a bsd.a
    specfs.a udf.a sgi.a specfs.a uds.a bsd.a efs.a sgi.a specfs.a
    namefs.a fd.a hwgfs.a fifofs.a proc.a pipefs.a fifofs.a specfs.a
    fifofs.a graph.a cpr.a ds.a adphim.a gfxs.a tportpckbd.a tport.a io.a
    crime.a keyboard.a mouse.a dms.a kdsp.a ipv6stubs.a pciiostubs.a
    udfstubs.a jlimitsstubs.a oplockstubs.a autofsstubs.a lofsstubs.a
    atmstubs.a swipestubs.a shareIIstubs.a uncstubs.a klistiostubs.a
    postwaitstubs.a dfsstubs.a mgvstubs.a devicestubs.a kaiostubs.a
    frustubs.a xfsrtstubs.a odysseystubs.a crimestubs.a mgrasstubs.a
    lockdstubs.a nlmstubs.a cachefsstubs.a failoverstubs.a xlvplexstubs.a
    sesmgrstubs.a satstubs.a aclstubs.a macstubs.a umfsstubs.a
    xfsdmapistubs.a dmistubs.a xvmcellstubs.a xvmstubs.a bpqueuestubs.a
    tpisocketstubs.a xlvstubs.a xfsquotasstubs.a xfsstubs.a efsstubs.a
    griostubs.a frsstubs.a gr2stubs.a ng1stubs.a vidstubs.a pipefsstubs.a
    nfsstubs.a idbgstubs.a quotasstubs.a prfstubs.a gfxstubs.a dnstubs.a
    cellstubs.a noncell.a kitchenstubs.a
    ld: ERROR 33 : Undefined text symbol "acl_sync_mode" -- 1st
    referenced by udf.a(udf_acl.o).
    Use linker option -v to see when and which objects, archives
    and dsos are loaded.
    ld: INFO 152: Output file removed because of error.
    lboot: ld returned 512--failed

  2. Re: kernel build error when upgrading Irix version 6.5.x

    acl.a isn't getting compiled into the kernel for some reason. Do you
    have an acl.a in /var/sysgen/boot, and is there a line like USE: acl in
    /var/sysgen/system/irix.sm? It also might be worth checking if there's
    a patch for this.
    Michael

    Jenn Sturm wrote:
    >
    > I'm trying to upgrade an O2 from 6.5.18 to 6.5.19 (eventually I want
    > to move it to the latest revision, but I need 6.5.19 for a particular
    > application for the moment). When I reboot the system after upgrading,
    > I get an error message that the kernel can't be rebuilt, and to reboot
    > and run /etc/autoconfig -v to try to manually build the kernel. So I
    > reboot, and I run autoconfig, and I get the same error that I get when
    > the system tries to build the kernel, which is below. I have *no* idea
    > how to proceed. Any suggestions?
    >
    > Thanks,
    >
    > Jenn Sturm
    >
    > # /etc/autoconfig -v
    >
    > /var/sysgen/master.d/cl newer than /unix...
    > Automatically reconfiguring the operating system.
    > TOOLROOT=/var/sysgen/root /var/sysgen/root/usr/bin/cc -c -I
    > -D_MASTER_C -DCRIME -DIP32 -DCRM -D_KN32PROM32 -xansi -D_KN32PROM32
    > -D_PAGESZ=4096 -D_KERNEL -DSTATIC=static -DDEBUG_CONPOLL
    > -D_VCE_AVOIDANCE -DTLBMOD_BADVADDR_WAR -D_VCE_AVOIDANCE_DEBUG
    > -D_TLB_LOOP_LIMIT -DP0_WAR -D_IRIX5_MIPS4 -D_IRIX5_MIPS3
    > -DIDLESTACK_FASTINT -D_R5000_BADVADDR_WAR -DMIPS4_ISA
    > -DSW_FAST_CACHE_SYNCH -DSCACHE_SET_ASSOC=2 -DTILES_TO_LPAGES
    > -DR10000_SPECULATION_WAR -DMH_R10000_SPECULATION_WAR -DR10000_MFHI_WAR
    > -DT5TREX_IBE_WAR -DCKPT -D_R5000_CVT_WAR=1 -D_MTEXT_VFS -DPOWER_DUMP
    > -D_DISABLE_CDX -D_PIO_EXTRA_SAFE -DUSE_PCI_PIO -D_MP_NETLOCKS
    > -DMP_STREAMS=1 -DSP -DIP32 -DR4000 -DR4000PC -DR4600 -DR4600SC
    > -DTRITON -DR10000 -D_NO_R4000 -DRM5271 -DRM7000 -DINET6 -DMROUTING6
    > -g3 -O2 -G 8 -TENV:kernel -OPT:space=on -DEBUGptimize_space=on
    > -OPT:Olimit=0 -CG:unique_exit=on -TENV:strings_not_gprelative=on
    > -TENV:X=1 -OPT:IEEE_arithmetic=1 -OPT:roundoff=0
    > -OPT:wrap_around_unsafe_opt=off -fullwarn -diag_error
    > 1116,1196,1551,1413,1498,1009,1110,1171,1047,1140, 1164,1412,1069,1035,1183
    > -LANG:vla=off -non_shared -mips3 -n32 -woff
    > 1685,515,608,658,799,803,852,1048,1233,1499,1501 -DDEFAULTSEMAMETER=1
    > -I. -I/usr/include -I/var/sysgen/boot /var/sysgen/master.c -o
    > /tmp/master5748.o
    > TOOLROOT=/var/sysgen/root /var/sysgen/root/usr/bin/ld -non_shared -e
    > start -N -woff 133 -G 8 -woff 84,47,39,17 -mips3 -n32 -nostdlib -T
    > 80002000 -wall kernel.o /tmp/master5748.o -o /unix.install qcntl.o
    > stty_ld.o clone.o nsmidi.o prf.o pcimh.o pciio.o mhpckm.o tserialio.o
    > mace.o devpoll.o cn.o gentty.o usema.o klog.o usync.o psema.o sem.o
    > msg.o ipc.o sharena.o zero.o mem.o xfs_attr_fetch.o imon.o oplock.o
    > fsctl.o alp.o sad.o log.o connld.o pipemod.o ptem.o ldterm.o tirdwr.o
    > timod.o lockd.o failover.o scsiha.o tsutil.o tpscutil.o dksc.o scsi.o
    > cdl.o fcal.o adp78.o if_me.o gfx.o xconn.o rrm.o htport.o idev.o
    > shmiq.o rad_dd.o a3_dd.o bsd.a pts.a ptc.a sgi.a stream.a sgi.a io.a
    > sduart.a io.a ptc.a pts.a io.a kmem.a ksync.a rand.a crypto.a crypto.a
    > compression.a disp.a os.a sgi.a io.a disp.a stream.a compression.a
    > rand.a numa.a nolocks.a capability.a eag.a eag.a llc2.a xtimer.a
    > snif.a snif.a bsd.a io.a stream.a xtimer.a graph.a xfs.a sgi.a
    > specfs.a io.a umfs.a lofs.a bsd.a nfs.a autofs.a bsd.a nfs.a svckudp.a
    > bsd.a nfs3.a bsd.a specfs.a snfs.a bsd.a nfs.a svckudp.a nfs.a bsd.a
    > specfs.a udf.a sgi.a specfs.a uds.a bsd.a efs.a sgi.a specfs.a
    > namefs.a fd.a hwgfs.a fifofs.a proc.a pipefs.a fifofs.a specfs.a
    > fifofs.a graph.a cpr.a ds.a adphim.a gfxs.a tportpckbd.a tport.a io.a
    > crime.a keyboard.a mouse.a dms.a kdsp.a ipv6stubs.a pciiostubs.a
    > udfstubs.a jlimitsstubs.a oplockstubs.a autofsstubs.a lofsstubs.a
    > atmstubs.a swipestubs.a shareIIstubs.a uncstubs.a klistiostubs.a
    > postwaitstubs.a dfsstubs.a mgvstubs.a devicestubs.a kaiostubs.a
    > frustubs.a xfsrtstubs.a odysseystubs.a crimestubs.a mgrasstubs.a
    > lockdstubs.a nlmstubs.a cachefsstubs.a failoverstubs.a xlvplexstubs.a
    > sesmgrstubs.a satstubs.a aclstubs.a macstubs.a umfsstubs.a
    > xfsdmapistubs.a dmistubs.a xvmcellstubs.a xvmstubs.a bpqueuestubs.a
    > tpisocketstubs.a xlvstubs.a xfsquotasstubs.a xfsstubs.a efsstubs.a
    > griostubs.a frsstubs.a gr2stubs.a ng1stubs.a vidstubs.a pipefsstubs.a
    > nfsstubs.a idbgstubs.a quotasstubs.a prfstubs.a gfxstubs.a dnstubs.a
    > cellstubs.a noncell.a kitchenstubs.a
    > ld: ERROR 33 : Undefined text symbol "acl_sync_mode" -- 1st
    > referenced by udf.a(udf_acl.o).
    > Use linker option -v to see when and which objects, archives
    > and dsos are loaded.
    > ld: INFO 152: Output file removed because of error.
    > lboot: ld returned 512--failed


    --
    Michael A. Raymond
    Core OS Scheduling Group Real-Time Lead

  3. Re: kernel build error when upgrading Irix version 6.5.x

    Michael Raymond wrote:
    > Jenn Sturm wrote:
    >
    >> I'm trying to upgrade an O2 from 6.5.18 to 6.5.19 (eventually I want
    >> to move it to the latest revision, but I need 6.5.19 for a particular
    >> application for the moment). When I reboot the system after upgrading,
    >> I get an error message that the kernel can't be rebuilt, and to reboot
    >> and run /etc/autoconfig -v to try to manually build the kernel. So I
    >> reboot, and I run autoconfig, and I get the same error that I get when
    >> the system tries to build the kernel, which is below. I have *no* idea
    >> how to proceed. Any suggestions?
    >>
    >> Thanks,
    >>
    >> Jenn Sturm
    >>
    >> # /etc/autoconfig -v
    >>
    >> /var/sysgen/master.d/cl newer than /unix...
    >> Automatically reconfiguring the operating system.
    >> TOOLROOT=/var/sysgen/root /var/sysgen/root/usr/bin/cc -c -I
    >> -D_MASTER_C -DCRIME -DIP32 -DCRM -D_KN32PROM32 -xansi -D_KN32PROM32
    >> -D_PAGESZ=4096 -D_KERNEL -DSTATIC=static -DDEBUG_CONPOLL
    >> -D_VCE_AVOIDANCE -DTLBMOD_BADVADDR_WAR -D_VCE_AVOIDANCE_DEBUG
    >> -D_TLB_LOOP_LIMIT -DP0_WAR -D_IRIX5_MIPS4 -D_IRIX5_MIPS3
    >> -DIDLESTACK_FASTINT -D_R5000_BADVADDR_WAR -DMIPS4_ISA
    >> -DSW_FAST_CACHE_SYNCH -DSCACHE_SET_ASSOC=2 -DTILES_TO_LPAGES
    >> -DR10000_SPECULATION_WAR -DMH_R10000_SPECULATION_WAR -DR10000_MFHI_WAR
    >> -DT5TREX_IBE_WAR -DCKPT -D_R5000_CVT_WAR=1 -D_MTEXT_VFS -DPOWER_DUMP
    >> -D_DISABLE_CDX -D_PIO_EXTRA_SAFE -DUSE_PCI_PIO -D_MP_NETLOCKS
    >> -DMP_STREAMS=1 -DSP -DIP32 -DR4000 -DR4000PC -DR4600 -DR4600SC
    >> -DTRITON -DR10000 -D_NO_R4000 -DRM5271 -DRM7000 -DINET6 -DMROUTING6
    >> -g3 -O2 -G 8 -TENV:kernel -OPT:space=on -DEBUGptimize_space=on
    >> -OPT:Olimit=0 -CG:unique_exit=on -TENV:strings_not_gprelative=on
    >> -TENV:X=1 -OPT:IEEE_arithmetic=1 -OPT:roundoff=0
    >> -OPT:wrap_around_unsafe_opt=off -fullwarn -diag_error
    >> 1116,1196,1551,1413,1498,1009,1110,1171,1047,1140, 1164,1412,1069,1035,1183
    >> -LANG:vla=off -non_shared -mips3 -n32 -woff
    >> 1685,515,608,658,799,803,852,1048,1233,1499,1501 -DDEFAULTSEMAMETER=1
    >> -I. -I/usr/include -I/var/sysgen/boot /var/sysgen/master.c -o
    >> /tmp/master5748.o
    >> TOOLROOT=/var/sysgen/root /var/sysgen/root/usr/bin/ld -non_shared -e
    >> start -N -woff 133 -G 8 -woff 84,47,39,17 -mips3 -n32 -nostdlib -T
    >> 80002000 -wall kernel.o /tmp/master5748.o -o /unix.install qcntl.o
    >> stty_ld.o clone.o nsmidi.o prf.o pcimh.o pciio.o mhpckm.o tserialio.o
    >> mace.o devpoll.o cn.o gentty.o usema.o klog.o usync.o psema.o sem.o
    >> msg.o ipc.o sharena.o zero.o mem.o xfs_attr_fetch.o imon.o oplock.o
    >> fsctl.o alp.o sad.o log.o connld.o pipemod.o ptem.o ldterm.o tirdwr.o
    >> timod.o lockd.o failover.o scsiha.o tsutil.o tpscutil.o dksc.o scsi.o
    >> cdl.o fcal.o adp78.o if_me.o gfx.o xconn.o rrm.o htport.o idev.o
    >> shmiq.o rad_dd.o a3_dd.o bsd.a pts.a ptc.a sgi.a stream.a sgi.a io.a
    >> sduart.a io.a ptc.a pts.a io.a kmem.a ksync.a rand.a crypto.a crypto.a
    >> compression.a disp.a os.a sgi.a io.a disp.a stream.a compression.a
    >> rand.a numa.a nolocks.a capability.a eag.a eag.a llc2.a xtimer.a
    >> snif.a snif.a bsd.a io.a stream.a xtimer.a graph.a xfs.a sgi.a
    >> specfs.a io.a umfs.a lofs.a bsd.a nfs.a autofs.a bsd.a nfs.a svckudp.a
    >> bsd.a nfs3.a bsd.a specfs.a snfs.a bsd.a nfs.a svckudp.a nfs.a bsd.a
    >> specfs.a udf.a sgi.a specfs.a uds.a bsd.a efs.a sgi.a specfs.a
    >> namefs.a fd.a hwgfs.a fifofs.a proc.a pipefs.a fifofs.a specfs.a
    >> fifofs.a graph.a cpr.a ds.a adphim.a gfxs.a tportpckbd.a tport.a io.a
    >> crime.a keyboard.a mouse.a dms.a kdsp.a ipv6stubs.a pciiostubs.a
    >> udfstubs.a jlimitsstubs.a oplockstubs.a autofsstubs.a lofsstubs.a
    >> atmstubs.a swipestubs.a shareIIstubs.a uncstubs.a klistiostubs.a
    >> postwaitstubs.a dfsstubs.a mgvstubs.a devicestubs.a kaiostubs.a
    >> frustubs.a xfsrtstubs.a odysseystubs.a crimestubs.a mgrasstubs.a
    >> lockdstubs.a nlmstubs.a cachefsstubs.a failoverstubs.a xlvplexstubs.a
    >> sesmgrstubs.a satstubs.a aclstubs.a macstubs.a umfsstubs.a
    >> xfsdmapistubs.a dmistubs.a xvmcellstubs.a xvmstubs.a bpqueuestubs.a
    >> tpisocketstubs.a xlvstubs.a xfsquotasstubs.a xfsstubs.a efsstubs.a
    >> griostubs.a frsstubs.a gr2stubs.a ng1stubs.a vidstubs.a pipefsstubs.a
    >> nfsstubs.a idbgstubs.a quotasstubs.a prfstubs.a gfxstubs.a dnstubs.a
    >> cellstubs.a noncell.a kitchenstubs.a
    >> ld: ERROR 33 : Undefined text symbol "acl_sync_mode" -- 1st
    >> referenced by udf.a(udf_acl.o).
    >> Use linker option -v to see when and which objects, archives
    >> and dsos are loaded.
    >> ld: INFO 152: Output file removed because of error.
    >> lboot: ld returned 512--failed

    >
    > acl.a isn't getting compiled into the kernel for some reason. Do you
    > have an acl.a in /var/sysgen/boot, and is there a line like USE: acl in
    > /var/sysgen/system/irix.sm?


    "acl_sync_mode" should be defined in aclstubs.a. I have no idea why
    it isn't defined. Perhaps you have an older aclstubs.a installed (it
    comes in eoe.sw.base).

    You can do the following to confirm whether the symbol is defined in
    aclstubs.a:

    ivanr@omen ~> nm /usr/cpu/sysgen/IP32boot/aclstubs.a|grep acl_sync_mode
    [5] | 24| 8|FUNC |GLOB |DEFAULT |5 |acl_sync_mode

    Possible solutions:
    - understand why your aclstubs.a seems to be out of sync with
    udf and then solve the problem (ie. find the right version of
    aclstubs.a)
    - uninstall eoe.sw.udf if you don't care about reading DVDs
    - install eoe.sw.acl

    > It also might be worth checking if there's a patch for this.


    There is no patch for this as it is not a problem that you would
    normally be able to get.

    Actually, now that I think about it, UDF support for ACLs wasn't added
    until 6.5.22, so it seems to me that if you're going from 6.5.18 to
    6.5.19 then something is completely screwed as you're somehow grabbing
    eoe.sw.udf (which contains udf.a) from 6.5.22!

    Ivan
    --
    Ivan Rayner
    ivanr@sgi.com

+ Reply to Thread