How to Rebuild the CX/UX Kernel To rebuild a kernel on CX/UX OS systems, do the following: Login to the system as root. Console Login: root Password: Login last used: Thu Apr 9 12:45:22 1998 Welcome to CX/UX Version 7.1-001 No news. SDE_TARGET set to COFF # Verify that the environment variable SDE_TARGET is set to COFF then cd to the /usr/src/uts/machine/cf directory. # echo $SDE_TARGET COFF # cd /usr/src/uts/machine/cf Run config on the configuration file then run make. This will build the new kernel under the parent directory (..). # config OPAL Doing 'make sdepend' # make ../cf/comspace.c ../cf/conf.c ../cf/linesw.c ../cf/name.c ../cf/space.c lib_net done. lib_netinet done. lib_os1 done. lib_os2 done. lib_os3 done. lib_vm done. lib_ml done. lib_specfs done. lib_ufs done. lib_exec done. lib_krpc done. lib_nfs done. lib_rpc done. lib_rpcsvc done. lib_io done. ../io/scsi_data.c lib_ise done. lib_pg done. lib_fbs done. lib_datarec done. lib_klog done. lib_fpee done. ../ml/nh5000/scb.s ../ml/nh5000/vbavec.s ../ml/nh5000/scbvec.s ../ml/nh5000/rtsys.s ../NH5000/ioconf.c loading ../unixOPAL <------- new kernel 1094484(.text) + 259072(.data) + 1112752(.bss) + 24($0001300) = 2466332 # Move the new kernel to the / directory. Then cd to / and save the current kernel. # mv ../unixOPAL / # cd / # mv unix unix.old Link the new kernel to /unix. Then reboot the system. The system will be running the new kernel. # ln /unixOPAL /unix # sync # reboot Portmapper not responding; still trying CAUTION: some process(es) wouldn't die Syncing disks... Blocks to sync: done Rebooting the system... #0>p23 80 00000080 #0>fd dsk(0) #0>fb Reset Backplane Initialize Interrupts Set Run Mode CPU 0 CPU 1 dsk(0,0,0,0)/. dsk(0,0,0,0)/boot Boot : unix is0 target 0: Model 5750 3.5" disk drive configured. 1094484+259072+1112752 start 0x16000 symbol table loaded Machine: m88k System: CX/UX Version: OPAL Release: 7.1 Node name: opal Total global memory: 16760832 bytes Available global memory: 11517952 bytes Buffer Cache: 102 buffers containing 835584 bytes Controllers found on Primary VMEbus: is0: Resetting SCSI bus...Done. is0 at address 97200000 is0 target 0: Model 5750 3.5" disk drive configured. Drive 0 : gd0 is0 target 1: Model 5740 3.5" disk drive configured. Drive 1 : gd1 Unknown Device = 'IBM 0661371 H ' is0 target 2: IBM 0661371 unknown. Default settings assumed. hardware error 10 gd2 (is0 drive 2) ERROR: Drive not on-line (device) is0 target 3: Model 5750 3.5" disk drive configured. Drive 3 : gd3 is0 target 5: Model 6141, 1/4" cartridge tape drive configured. Drive 5 : gt0 ie0 at address 97100000 eti 0 configured rtc 0 at address 9c000000 WARNING: unable to reserve memory at physical address 1f9c000 Checking root filesystem /dev/rdsk/0s0: 1076 files, 19970 used, 17469 free (141 frags, 2166 blocks, 0.4% fragmentation) /dev/rdsk/3s0: 683 files, 38839 used, 5272 free (80 frags, 649 blocks, 0.2% fragmentation) /dev/rdsk/3s3: 136 files, 21393 used, 115550 free (302 frags, 14406 blocks, 0.2% fragmentation) /dev/rdsk/3s2: 7283 files, 214297 used, 19926 free (2534 frags, 2174 blocks, 1.1% fragmentation) /dev/rdsk/0s2: 13089 files, 342915 used, 48491 free (1635 frags, 5857 blocks, 0.4% fragmentation) /dev/rdsk/1s0: 15674 files, 239659 used, 61379 free (3211 frags, 7271 blocks, 1.1% fragmentation) Adding /dev/dsk/0s1 as swap device Mon Apr 20 13:18:19 EDT 1998 Clearing: /tmp /var/tmp /etc/ps_data /etc/wtmp /var/adm/sulog /usr/lib/X11/xdm/xdm-errors xdm authentication. Clearing locks: UUCP. Reboot logged to system activity file 1: old memory bindings: global; new memory bindings: wrdata_local,pcb_local 3080: old memory bindings: global; new memory bindings: wrdata_local,pcb_local Standard daemons: errdemon. downloading MPCC boards Reading configuration file /etc/mpcctab for board # 0. Using download image /usr/lib/mpcc/mpccdl Can not open /dev/mpcc0 Assign local area network addresses... Domain name is software Starting name server daemon: named Apr 20 13:18:25 named[7177]: starting. named LOCAL-951205.134726 Tue Dec 5 13:47:26 EST 1995 Apr 20 13:18:25 named[7177]: /etc/named.boot: line 2: unknown field 'domain' Apr 20 13:18:26 named[7177]: /etc/88open.hosts:5: expected a number Starting portmap NIS daemons:. Internet Network daemons: routed inetd rwhod. System daemons: syslogd. NFS daemons: statd lockd nfsd(4) biod(4). /dev/rrtc/0c0 assigned to the high resolution callout queue Saving EX/VI Editor temporaries... More daemons: afsyncd lpsched cron sendmail. bind: Address already in use host: add net 129.134.49: gateway 129.134.36.43 host: add net 129.134.50: gateway 129.134.36.43 host: add net 129.134.244: gateway 129.134.36.39: File exists host: add net 129.134.0: gateway 129.134.36.43 host: add net 129.134.55: gateway 129.134.36.43 host: add net 129.134.8: gateway 129.134.36.73 host: add net 129.0.230: gateway 129.134.36.73 Starting xdm opal Console Login: