SUMMARY: solaris kernel help

From: Sugan Moodley <suganm_at_miraculum.net>
Date: Tue Jul 24 2001 - 02:34:02 EDT
Thanks to:

Hendrik Visage
Buddy Lumpkin

Unfortunately I have to track down what patch actually caused the system to crash so I am doing an Initial Install. Note though that when upgrading it does remove a whole lot of patches but does not downgrade them (kept a copy of this list to monitor during the new install)

Thanks a million guys.

On Mon, Jul 23, 2001 at 04:20:05PM +0200, Hendrik visage wrote:
> On Mon, Jul 23, 2001 at 04:06:20PM +0200, Sugan Moodley wrote:
> > # pkgadd -R /mnt -B /mnt/var/sadm/patch/109279-13
> > pkgadd: ERROR: attempt to process datastream failed
> > - open of </var/spool/pkg> failed, errno=2
> > pkgadd: ERROR: could not process datastream from </var/spool/pkg>
> > 
> > Hmm... why am I using pkgadd... I really thought I should be using patchadd or something.
> 
> To re-install a "package" like the "old kernel etc." you'll need to do a pkgadd from the
> installation CD.
> 
> Assume the disk FS tree are mounted under /a (Solaris standard I'm
>  used to ;^)
> 
> Format: pkgadd -d /cdrom/somewhere/packages/SUNWcsr -R /a
> Format: pkgadd -d /cdrom/somewhere/packages/SUNWcar -R /a
> (Don't have a CD handy to check the correct path :()
> 
> hermwas% pwd
> /var/sadm/install
> hermwas% grep -i genunix contents 
> /kernel/genunix f none 0755 root sys 1139108 51707 926030113 SUNWcsr
> /platform/sun4u/kernel/genunix f none 0755 root sys 1203876 58829 926027451 SUNWcar
> 
> However,
>  I would've liked to confirm it's the kernel, and not a
> library or script going west...
> 
> Hendrik


On Mon, Jul 23, 2001 at 11:22:04AM -0600, Lumpkin, Buddy wrote:
> I installed a patch cluster once (that included a kernel patch) from multi-user and the system would not
reboot. I just ran an upgrade for the same OS and it fixed the problem.
> 
> Also, the upgrade runs very fast ... I think it only replaces files that have a different length, mtime,
atime, etc...
> 
> Regards,
> 
> --Buddy

On Mon, Jul 23, 2001 at 02:56:49PM +0200, I wrote:
> Hi,
> 
> I seemed to have screwed up the kernel on a Solaris 8 SPARC box (non production) but applying the latest cluster patch which seems to have resulted in a hung system each time the disk boots. I can boot to single user mode using a cdrom and am able to mount the root partition fine but I need to know if it is possible to replace files from the cdrom (this kernel boots fine) into the disk overwriting relevant files where necessary.
> 
> The current broken kernel revision is:
> SunOS Release 5.8 Version Generic_108528-09 64-bit
> The one I want to install is from the Solaris 8 04/01 install CD:
> SunOS Release 5.8 Version Generic_108528-07 64-bit
> Hardware is a SunFire 280R with July16th Recommended Patch cluster installed.
> 
> I saw the following in the Solaris 2 FAQ but replacing these files does not work.
> 
> -----------
> kernel:  The kernel is loaded and run.  For 32-bit Solaris systems, the relevant files are:
> /platform/`arch -k`/kernel/unix
> /kernel/genunix
> 
> For 64-bit Solaris systems, the files are:
> /platform/`arch -k`/kernel/sparcV9/unix
> /kernel/genunix
> 
> As part of the kernel loading process, the kernel banner is displayed
> to the screen.  This includes the kernel version number (including
> patch level, if appropriate) and the copyright notice.
> ------------
> 
> TIA.
> 
> Sugan Moodley
> Sysadmin - Miraculum
> www.miraculum.com
> 
> Ocean:  A body of water occupying about two-thirds of a world made for man --
> who has no gills.
> -- Ambrose Bierce
> 

-- 
Sugan Moodley
Sysadmin - Miraculum
www.miraculum.com

The number of UNIX installations has grown to 10, with more expected.
	-- The Unix Programmer's Manual, 2nd Edition, June 1972
Received on Tue Jul 24 07:34:02 2001

This archive was generated by hypermail 2.1.8 : Wed Mar 23 2016 - 16:25:00 EDT