From: Richard B. gilbert on
GS wrote:
> Colin B. wrote:
>
>>GS <yyy(a)yyyy.com> wrote:
>>
>>>Hi,
>>>I have a Sun T2000 with Solaris 10, and I have a big big problem.
>>
>
>>>While installing a kernel patch I saw some error msgs concerning
>>>/lib/ld.so.1, and I inadvertently did Ctrl-C, so the patch modifications
>>>could not be reverted.
>>
>
>>>Now the server does not boot anymore. It hangs with the following error
>>>messages:
>>
>
>>>Loading: /platform/SUNW,Sun-Fire-T200/ufsboot
>>>Loading: /platform/sun4v/ufsboot
>>>not found: get_cpu_pagesizes
>>>do_relocations: /platform/sun4v/kernel/cpu/sparcv9/SUNW,UltraSPARC-T1
>>>do_relocate failed
>>>krtld: error during initial load/link phase
>>>panic - boot: exitto64 returned from client program
>>>Program terminated
>>
>
>>>{0} ok
>>
>
>
>>>Is there any way to recover from this or I am fu*** and I have to
>>>reinstall Solaris from scratch?
>>
>
>>Ugly!
>
>
>>You might be able to boot from media, and either reapply that patch to
>>a mounted partition, or backout on the patch. However, my instinct is that
>>it's a fairly low probability of working.
>
>
>>Good luck. Let us know how it works.
>>Colin
>
>
> I booted from CD, mounted / and applied the "interrupted" patch:
>
> mount /dev/dsk/c0t0d0s0 /mnt
> patchadd -R /mnt /mnt/var/sadm/spool/118833-36
>
> It worked! The patch was correctly applied and the machine boots
> correctly :))
>
> The server is not yet in production, so I was not really close to
> suicide ;-) I just didn't like the idea to reinstall the OS from scratch.
>
> Thanks for the tip!
> Guido

Just remember:

BACKUP: n. what you should have made yesterday!!!

It's especially important when the server is in production. It's a good
habit to get into for any system you are patching, upgrading or making
other serious changes to!

Luck will only get you so far!!!!!!

From: Uwe Wolfram on
> You might be able to boot from media, and either reapply that patch to
> a mounted partition, or backout on the patch. However, my instinct is
> that it's a fairly low probability of working.

I wonder why Sun has dropped the patchadd -u option with Solaris 10.
And patchrm -f does not work as in Solaris 9 if there are dependencies
(often I got rid of old patches before installing newer revisions in 9,
this doesn't work in 10 anymore in case of dependencies).

Uwe
First  |  Prev  | 
Pages: 1 2
Prev: network speed on t2000
Next: PS1 and "su" command