?
Solved

Y2K (P008) patch installation problem

Posted on 2004-08-06
9
Medium Priority
?
274 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
6 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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 62

Accepted Solution

by:
gheist earned 2000 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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
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.
Suggested Courses
Course of the Month13 days, 12 hours left to enroll

755 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