How to apply solaris patches.

Ok, I am helping out as a consultant on a Solaris device driver project. I have an Intel EM64T machine with Solaris 10 x64 installed along with Sun Studio tools. I am trying to compile a device driver as a module for Solaris and I got some error in peekpoke_ctlops_t in some ddi_xxx header file /usr/include/sys. I did an online search and figured out that i need patch 118844-27 but it is obseleted by 118844-30 patch. So I registered with SunSolver and downloaded the WinZip file for the patch.

How do I apply the patch now?. Note that the machine that I downloaded the winzip file is NOT my Solaris machine as the Solaris machine is not on the Internet (behind a firewall, actually).

I have heard of updatemanager or patchadd. How do I apply the patches?. what are the built-in tools that come with Solaris?. I have Sun Studio Compiler collection as well as the Solaris Software companion with me ( I purchased all the DVD from Sun for just under $50).

Thanks,

RK

[998 byte] By [rksaripalli1] at [2007-11-26 9:11:47]
# 1

> How do I apply the patch now?. Note that the machine

> that I downloaded the winzip file is NOT my Solaris

> machine as the Solaris machine is not on the Internet

> (behind a firewall, actually).

You need to transfer the zip file to the Sun system, then use the "unzip" command on it. It'll unpack into a subdirectory named for the patch (e.g., 123456-07). Then, as root, run 'patchadd 123456-07'.

Man patchadd for more details.

timevans at 2007-7-6 23:32:27 > top of Java-index,Solaris Operating System,Solaris 10 Features...