APLawrence - Information and Resources for Unix and Linux Systems, Bloggers and the self-employed
RSS Feeds Get APLawrence.com by RSS











(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Home > News Posts > sco osr5.0.7 on older compaq
Printer Friendly Version




News Group Posts

sco osr5.0.7 on older compaq





From belal@sco.com Mon Sep  8 07:49:48 2003
Newsgroups: comp.unix.sco.misc
From: Bela Lubkin <belal@sco.com>
Subject: Re: Running OSR5.0.7 on older Compaq ProLiant
Date: Mon, 8 Sep 2003 07:35:31 GMT
Message-ID: <a href="http://groups.google.com/groups?selm=<20030908073531.GC24551@sco.com>"><<20030908073531.GC24551@sco.com>></a> 
X-Nntp-Posting-Host: enigma.xenitec.on.ca
References: <a href="http://groups.google.com/groups?selm=<3F5BCE03.E42857BC@tkg.ca>"><<3F5BCE03.E42857BC@tkg.ca>></a> <a href="http://groups.google.com/groups?selm=<3f5bf5f2$1@dnews.tpgi.com.au>"><<3f5bf5f2$1@dnews.tpgi.com.au>></a> 

Stuart J. Browne wrote:

> "Mike Brown" <mike@tkg.ca> wrote in message
> news:3F5BCE03.E42857BC@tkg.ca...
> > Thanks to Bela and JPR, here is how to run 5.0.7 on
> > an older Compaq such as the 800/1200/1500/1600/2500 series
> > servers.  In other words all pre-CASM servers that
> > require EFS5.48 or earlier.
> >
> > Load 5.0.7 and patches such as MP1.
> >
> > #cd /etc/conf/pack.d/pci
> > #cp -p Driver.o Driver.o.orig
> > strings -a -o Driver.o | grep -i debug
> > 18782 pci_debug
> > # echo pci_Debug | dd bs=1 count=9 oseek=18782 conv=notrunc of=Driver.o
> 
> Umm, is that supposed to be a 'D' ? or a 'd'?














big 'D'.  The purpose of the patch is to rename a symbol in the OSR5 PCI
driver so that it doesn't conflict with a symbol of the same name in one
of the Compaq EFS drivers.

> > 9+0 records in
> > 9+0 records out
> > # strings -a -o Driver.o | grep -i debug
> > 18782 pci_Debug
> > # cd /etc/conf/cf.d
> > # ./link_unix
> >
> > Reboot, then load EFS5.48 as usual.

Here's a script that does this more safely and automatically.

>Bela<

DIR=/etc/conf/pack.d/pci
cd $DIR

set -- `strings -a -o Driver.o | grep -i ' pci_debug$'`



if [ $# -eq 0 ]; then
  echo $DIR/Driver.o does not require patching.
  exit 0
fi

if [ $2 = pci_Debug ]; then
  echo $DIR/Driver.o is already patched.
  exit 0
fi

if [ -f Driver.o.orig ]; then
  echo $DIR/Driver.o.orig already exists, aborting. 1>&2
  exit 1
fi

cp -p Driver.o Driver.o.orig

if echo pci_Debug | dd bs=1 count=9 oseek=$1 conv=notrunc of=Driver.o 2>/dev/null; then
  echo $DIR/Driver.o successfully patched.
  exit 0
else
  echo $DIR/Driver.o was not successfully patched. 1>&2
  mv -f Driver.o.orig Driver.o
  exit 1
fi
=============================================================================


If this page was useful to you, please click to help others find it:  

Your +1's can help friends, contacts, and others on the web find the best stuff when they search.

Comments?



Click here to add your comments



Don't miss responses! Subscribe to Comments by RSS or by Email

Click here to add your comments


If you want a picture to show with your comment, go get a Gravatar



Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

Jump to Comments



Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.

Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.

We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.

g_face.jpg

This post tagged:

       - SCO_OSR5




Unix/Linux Consultants

Skills Tests

Guest Post Here