?
Solved

Y2K (P008) patch installation problem

Posted on 2004-08-06
9
Medium Priority
?
267 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…
Suggested Courses

764 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