Y2K (P008) patch installation problem

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?
cemfAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
gheistConnect With a Mentor Commented:
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
 
gheistCommented:
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
 
cemfAuthor Commented:
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
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
cemfAuthor Commented:
or is there any other way to clone a disk?
0
 
gheistCommented:
Common sense says;
- by moving old kernel off before linking it. (and maybe fixing kernel linking before patching)

0
 
cemfAuthor Commented:
This problem can not be solved.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.