Solved

Y2K (P008) patch installation problem

Posted on 2004-08-06
9
263 Views
Last Modified: 2010-04-21
I am trying to install patches on Unix MP system V Release 4 Motorola m88k version R40V4. The patches are P008 patch and FIX_BOS980702 (these fixes y2k prob). After installing FIX patch system tries to rebuild the kernel (etc/buildsys). However it can not complete in success.

Errors:

While installing P008 (patch cluster):

/etc/master.d/pipefs: cannot open
pathname does not exist.
cannot access /etc/init.d/lockport: no such file or directory.

While installing y2k patch (FIX_BOS980702):
/usr/sbin/mkboot: /boot/CIO: not precessed, cannot open /etc/master.d/cio
/usr/sbin/mkboot: /boot/CMMUCTL_CPI: not precessed, cannot open /etc/master.d/cmmuctl_cpi
/usr/sbin/mkboot: /boot/CMMUCTL_UNI: not precessed, cannot open /etc/master.d/cmmuctl_uni
/usr/sbin/mkboot: /boot/IEN: not precessed, cannot open /etc/master.d/ien
/usr/sbin/mkboot: /boot/PIPEFS: not precessed, cannot open /etc/master.d/pipefs


warning: Parameter STARVESIN multiply defined
warning: Parameter SWITCHSIN multiply defined duplicate parameters encountered(2); aborting
buildsys: ERROR: cunix failed

auto-configuration failed, consult a system adminsitrator


I am able to eliminate "can not open" errors by removing corresponding file from /boot directory. Also I have eliminated STARVESIN, SWITCHSIN errors by undefining these variables from /etc/master.d files.
However it copntinues to give other errors concerning duplicate variables of "conslogging" etc.

I have tried to "-t" parameter of cunix to give "-a" parameter to "ld".
This would do suspend errors concernign multiply defined variable.
However, it did not work.
 Any IDEA?
0
Comment
Question by:cemf
  • 3
  • 3
9 Comments
 
LVL 62

Expert Comment

by:gheist
ID: 11741494
You try to link two kernels into one....
Try creating one kernel from modules you have (maybe buildsys (-f or -o or so) /newunix or so)

0
 

Author Comment

by:cemf
ID: 11823079
I dont know why but I can not install Y2K, so I decided to clone a disk from an identical server. In order to do so I install the new disk to the working server, it saw it as /dev/dsk/m328_c0d6s7. I need to format this, than create a ufs on it and than use DD command.

Could you help me out with these commands please?

0
 

Author Comment

by:cemf
ID: 11823084
or is there any other way to clone a disk?
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
LVL 62

Accepted Solution

by:
gheist earned 500 total points
ID: 11824635
No problem - insert both disks in a PC
Boot OpenBSD floppy, choose shell
export TERM=vt220
dmesg | less
dd if=/dev/rmd0c of=/dev/rmd1c bs=128b count=x
where x is block count on source drive/128
i mentioned md, your actual disks are likely to be named sd
r - prefix to signify raw unbuffered device
m - disk type - memory disk here
d - spacefiller
0 - device number
c - partition covering whole disk

this will make new disk exact copy of old one
if you see errno = 5 with lots of dmesg output - source disk is bad, just add conv=noerror to dd command line.
Hardware spec for copy machine - some i386+ with 16M+ and floppy drive, some scsi controller that plugs into mainboard and connects to disks

then you may need to relabel new disk to accomodate bigger size (or not) outside OpenBSD
0
 
LVL 62

Expert Comment

by:gheist
ID: 12008283
Common sense says;
- by moving old kernel off before linking it. (and maybe fixing kernel linking before patching)

0
 

Author Comment

by:cemf
ID: 12009143
This problem can not be solved.
0

Featured Post

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question