I have a SPARC box, with snv_60 installed.
System is configured to use the german locale:

% locale
LANG=
LC_CTYPE=de_DE.ISO8859-1
LC_NUMERIC=de_DE.ISO8859-1
LC_TIME=de_DE.ISO8859-1
LC_COLLATE=de_DE.ISO8859-1
LC_MONETARY=de_DE.ISO8859-1
LC_MESSAGES=de
LC_ALL=


I tried a live-upgrade of the system from snv_60 to snv_66, using:

# luupgrade -u -n snv -s /mnt

110608 Bl?cke
Miniroot-Dateisystem ist <lofs>
Miniroot wird an </mnt/Solaris_11/Tools/Boot> eingeh?ngt.
Der Inhalt des Mediums </mnt> wird ?berpr?ft.
Das Medium ist ein Standard-Solaris-Medium.
Das Medium enth?lt ein Image f?r eine Betriebssystem-Aufr?stung.
Das Medium enth?lt <Solaris> Version <11>.
Zu verwendendes Upgrade-Profil wird erstellt.
Das Programm f?r die Aufr?stung des Betriebssystems wird gesucht.
Es wird gepr?ft, ob fr?here eingeplante Live Upgrade-Anforderungen vorliegen.
Das Aufr?stungsprofil f?r die BU <snv> wird erstellt.
Packages f?r Installation oder Upgrade von BU <snv> werden bestimmt.
Aufr?stung des Betriebssystems von BU <snv> wird durchgef?hrt.
VORSICHT: Wenn Sie diesen Prozess unterbrechen, wird die Boot-Umgebung 
m?glicherweise instabil oder kann nicht gebootet werden.
<---- At this point the upgrade seems to hang; no more disk activity, no more 
progress


I see a pfinstall process consuming lots of cpu time:

   PID USERNAME  SIZE   RSS STATE  PRI NICE      TIME  CPU PROCESS/NLWP       
  3071 root     7072K 5600K run      0   19   0:10:17  98% pfinstall/1
  3101 root     5272K 3256K cpu1    59    0   0:00:00 0,8% prstat/1
   132 root     9544K 3848K sleep   59    0   0:00:00 0,1% nscd/29
   497 root     2648K 1744K sleep   59    0   0:00:00 0,1% in.routed/1
   762 root      127M   27M sleep   59    0   0:00:01 0,0% Xsun/1
   797 root       14M 8824K sleep   59    0   0:00:00 0,0% dtgreet/1
  3103 jk       3216K 2768K sleep   59    0   0:00:00 0,0% tcsh/1
   463 root     2568K 1464K sleep  100    -   0:00:00 0,0% xntpd/1
   121 root     7320K 3960K sleep   59    0   0:00:00 0,0% named/4
Total: 62 processes, 193 lwps, load averages: 1,01, 0,92, 0,61


Truss shows no system call activity for the pfinstall process.
Sampling pfinstall's stack backtrace shows either:

122# pstack 3071
3071:   /mnt/Solaris_11/Tools/Boot/usr/sbin/install.d/pfinstall -r /tmp/.luupg
 fef5774c __strcoll_sb (fedf5250, fffffff9, ed078, 146628, 39, ffbfe608) + 19c
 ff1d3d68 sort_modules (2d52f8, 2d89b0, 2d89b0, 2d74b0, 2d7228, 2cd570) + 44
 ff1ba2c0 load_clusters (2d9868, 8, 5, ff19d5dc, 43eac, 29dff8) + 478
 ff1bc4dc load_product (43ea8, 1, 0, 2, 43ea8, 71030) + 214
 ff1b9e04 load_all_products (43ed0, 1, ffbfe850, 3, 0, 43ea8) + 70
 ff1a7ea8 swi_load_media (43ed0, 1, 0, ff1f236c, ff1aa5c0, 5) + d4
 ff1cc1b8 load_media (0, 1, 6e6f, ff1ef008, 5b50, 5800) + 2c
 00026d64 configure_media (ffbfef24, 0, 1, 10, ffbfef24, 42af0) + 4c
 0001aa90 main     (2a800, 41400, 2000, 0, 41400, 42400) + 7e8
 00015ba8 _start   (0, 0, 0, 0, 0, 0) + 108

123# pstack 3071
3071:   /mnt/Solaris_11/Tools/Boot/usr/sbin/install.d/pfinstall -r /tmp/.luupg
 feefafac strpbrk  (fedf5250, ffffffff, ffb58, 28a638, 3f, ffbfe608) + 2c
 ff1d3d68 sort_modules (2d52f8, 2d8700, 2d8700, 2d77d0, 2d7228, 2cd570) + 44
 ff1ba2c0 load_clusters (2d9868, 8, 5, ff19d5dc, 43eac, 29dff8) + 478
 ff1bc4dc load_product (43ea8, 1, 0, 2, 43ea8, 71030) + 214
 ff1b9e04 load_all_products (43ed0, 1, ffbfe850, 3, 0, 43ea8) + 70
 ff1a7ea8 swi_load_media (43ed0, 1, 0, ff1f236c, ff1aa5c0, 5) + d4
 ff1cc1b8 load_media (0, 1, 6e6f, ff1ef008, 5b50, 5800) + 2c
 00026d64 configure_media (ffbfef24, 0, 1, 10, ffbfef24, 42af0) + 4c
 0001aa90 main     (2a800, 41400, 2000, 0, 41400, 42400) + 7e8
 00015ba8 _start   (0, 0, 0, 0, 0, 0) + 108




127# pargs -e 3071 | grep LC_
envp[10]: LC_MONETARY=de_DE.ISO8859-1
envp[12]: LC_TIME=de_DE.ISO8859-1
envp[57]: LC_MESSAGES=de
envp[61]: LC_CTYPE=de_DE.ISO8859-1
envp[80]: LC_COLLATE=de_DE.ISO8859-1
envp[84]: LC_NUMERIC=de_DE.ISO8859-1


========================================================================
Workaround:  run luupgrade in the C locale, e.g. like this

env LC_ALL=C luupgrade -u -n snv -s /mnt
 
 
This message posted from opensolaris.org

Reply via email to