Nasty catch-22 with failed kernel patch - Solaris

This is a discussion on Nasty catch-22 with failed kernel patch - Solaris ; I have a nasty little problem with a 32-bit x86 Sol10 install. I applied kernel patch 127128-11 which was released a few days ago and it hangs the system on boot. So, I booted failsafe and mounted the root disk ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: Nasty catch-22 with failed kernel patch

  1. Nasty catch-22 with failed kernel patch

    I have a nasty little problem with a 32-bit x86 Sol10 install. I
    applied kernel patch 127128-11 which was released a few days ago and
    it hangs the system on boot. So, I booted failsafe and mounted the
    root disk and did

    patchrm -R /a 127128-11

    but unfortunately, there are packages in the patch which have
    SUNW_PKG_ALLZONES set to "true" so it tried to start the one non-
    global zone which exists on the machine. OF course, this can't start
    as everything's under /a and anyway, it's also got the broken
    127128-11 so wouldn't boot anyway. So, I tried the -G flag to patchrm
    and this fails too because of the packages with the ALLZONES set to
    "true"; these packages won't uninstall with "-G" and patchrm.
    Catch-22.

    Any ideas?

    I don't even need the zone but I can't delete it without zoneadm
    seeing the zone under a failsafe boot, which of course it doesn't. I
    can't work out where patchrm is seeing the zone anyway since "zoneadm
    list" doesn't see it. Perhaps I could take any reference in the patch
    files to this zone out but I can't find where this is mentioned?

    I did split the SVM root mirror before I applied the patch but I can't
    figure out under grub how to get the machine (an old Dell 500SC) to
    boot the split mirror ...

  2. Re: Nasty catch-22 with failed kernel patch

    In article <0957f3b4-bce5-4a00-ba46-269e6c45f754@n1g2000prb.googlegroups.com>,
    philkime wrote:
    >I did split the SVM root mirror before I applied the patch but I can't
    >figure out under grub how to get the machine (an old Dell 500SC) to
    >boot the split mirror ...


    I think you'll need to boot single-user from your installation media
    and adjust /etc/vfstab and /boot/solaris/bootenv.rc on your mirror
    disk or slice.

    Then you can GRUB boot from your mirror hd or slice.

    John
    groenveld@acm.org

  3. Re: Nasty catch-22 with failed kernel patch

    On May 1, 7:42 am, groen...@cse.psu.edu (John D Groenveld) wrote:
    > In article <0957f3b4-bce5-4a00-ba46-269e6c45f...@n1g2000prb.googlegroups.com>,
    >
    > philkime wrote:
    > >I did split the SVM root mirror before I applied the patch but I can't
    > >figure out under grub how to get the machine (an old Dell 500SC) to
    > >boot the split mirror ...

    >
    > I think you'll need to boot single-user from your installation media
    > and adjust /etc/vfstab and /boot/solaris/bootenv.rc on your mirror
    > disk or slice.
    >
    > Then you can GRUB boot from your mirror hd or slice.


    I did all the vfstab/bootenv.rc alterations but I think it boils down
    to the fact that the server, a very old Dell 500SC has such a
    primitive BIOS that it can't boot from any disk other than the first
    IDE primary. There is no setting in the BIOS to change this, the only
    HD boot option is "Hard Disk C:".


+ Reply to Thread