openserver 507 mp5 custom install-media hang on dell pe2800 - SCO

This is a discussion on openserver 507 mp5 custom install-media hang on dell pe2800 - SCO ; Hi All, I'm experiencing the following problem with SCO Openserver 5.0.7 MP5 on a DELL PE2800 Dual Core Dual CPU SCSI-RAID box: Custom Is Hanging at the Install Media Pulldown Example: # custom (Software Manager) Install New From Local Machine ...

+ Reply to Thread
Results 1 to 9 of 9

Thread: openserver 507 mp5 custom install-media hang on dell pe2800

  1. openserver 507 mp5 custom install-media hang on dell pe2800

    Hi All,

    I'm experiencing the following problem with SCO Openserver 5.0.7 MP5
    on a DELL PE2800 Dual Core Dual CPU SCSI-RAID box:
    Custom Is Hanging at the Install Media Pulldown

    Example:
    # custom (Software Manager)
    Install New
    From Local Machine
    CUSTOM-HANGS-HERE

    You never get the "from CDROM or MEDIA IMAGE" pulldown.

    When Custom hangs, you are forced to INTR out of custom, which leaves the
    top left corner star-generating script generating ***** to your screen, as
    you continue to work at the prompt (quite annoying).

    Then the usual is required:
    # stty sane ^J
    Kill off 1-2 pieces of custom, which remained
    running (one is always the **** generator),
    # rm /var/opt/K/SCO/SoftMgr/1.0.3a/custom/client.lock
    Then you are ready to run custom again.
    You can remove software, but not install software,
    since the installation source selection never appears.

    Other aspects of custom seem ok (verify, remove, etc).

    TA 110684 "custom+ back end dies before showing install sources"
    seems to be the best description, but rebuilding the sysRegistry
    does NOT help (no change was seen).

    When this all started, I first thought the bug was:
    TA 110929 "install SMP, then reboot, then custom hangs"
    and I had backed out and re-installed quite a bit, going all the way
    back to the 507july respin without any MPs, but then moving forward
    to MP5 brought the problem back.

    (TA 126669 describes the clearing of the custom lockfile, after
    you have to kill custom.)

    Backing everything out and moving forward one MP at a time...
    I now have the custom hang isolated to MP5.
    Custom does not hang with 507 MP3 or MP4.

    With 507 MP5, if you truncate the custom logfile and attempt to
    run an install... you don't get much...

    # cat /var/opt/K/SCO/SoftMgr/1.0.3a/custom/custom.log
    TASK-BEGIN 1177099983.421 INSTALL {Fri Apr 20 2007}
    #

    I also tried starting out with 507 MP4, then installing MP5 w/o MP5's
    custom (in case it was the newer custom itself), but either version of
    custom hangs as long as MP5 is running. I cannot do a test boot with
    MP4's unix.old, once MP5 is loaded (it won't boot).

    Any thoughts/clues?

    Is there a way to enable debugging in the various custom processes that
    get kicked off? Has anyone figured out a fix or workaround?

    This machine is not yet in production (do to this problem), so I can
    play with it a bit.

    ......

    Misc info:

    Other problems seen along the way (aka: pe2800 507 faq):

    a) 507july cd install panic when usb enabled in bios
    (So turn it off in bios)

    b) mp3/mp4 boot panic when usb enabled in bios
    (Bios Disable, and TA 125546 disable=usb... helps here)
    Strangely, enough has been patched now that running
    at MP4 with usb enabled seems OK.

    c) mp5 hang during boot when usb DISABLED in bios
    (Think it hangs after you get the %usb_uhci output)

    d) mp5 boot hang due to out of streams memory NSTRPAGES
    (Seems better after upping NSTREAM, NSTRPAGES, NCLIST)

    e) custom cannot remove software since knl cannot link
    1) TA 126252 stack_growth_threshold problem
    2) other unref syms in misc drivers
    (fixed by reinstall of MP5, so must have happened at MP4)

    f) jumping between MPs makes a royal mess of the symlinks:
    /etc/rc[02].d/:
    lrwxrwxrwx 1 root sys 53 Apr 6 18:30 S99cups# -> /var/opt/K/SCO/cups/1.1.23Aa/etc/software/init.d/cups
    lrwxrwxrwx 1 root sys 53 Apr 18 20:18 S99cups## -> /var/opt/K/SCO/cups/1.1.23Aa/etc/software/init.d/cups
    lrwxrwxrwx 1 root sys 53 Apr 20 19:04 S99cups### -> /var/opt/K/SCO/cups/1.1.23Aa/etc/software/init.d/cups
    lrwxrwxrwx 1 root sys 53 Apr 20 19:46 S99cups#### -> /var/opt/K/SCO/cups/1.1.23Ba/etc/software/init.d/cups
    lrwxrwxrwx 1 root sys 53 Apr 20 19:54 S99cups##### -> /var/opt/K/SCO/cups/1.1.23Aa/etc/software/init.d/cups
    *** NOTE the poor choice of names here, they ALL
    execute on startup/shutdown.

    g) >3000 corrupted symlinks to the point of perl and ssh being
    left unlinked.
    (Probably from backing out of the dependencies)

    h) of course, running the [evil] custom verify/fix symlinks
    fixed a bunch of issues, and perl+ssh came back,
    but then the X11 fonts disappear (this is with MP5).
    (I expect that going back to MP3 and moving forward
    again should fix this up.)

    i) cupsd failed: libz.so.1 missing.
    (MP uninstall dependencies & resulting bad symlinks.)

    j) various strange issues where "emergency single user mode"
    was the only mode working since the knl was hosed
    or the licmgr crashed. Usually happened randomly
    when backing out and reinstalling MPs and other sw.
    (Clean uninstall of the last 1-2 MPs, then clean
    reinstalls of them fixes this)

    k) when the knl (or licmgr?) gets "messed up", you see every
    other CPU inactive.
    (backing out & reinstalling the MPs cleans this up.)

    l) mp3/mp4 showed only the 4 actual cores originally, mp5
    shows everything HT'd always. (documented)

    m) I believe ad160 had to be disabled in the bootstr to get
    the original install going on amird.
    (see hwconfig below, intr conflict??)

    n) various other serious and non-serious issues.
    (been using SCO since before it was SCO [1984]...
    this install wins the prize for being outright nasty,
    most problems probably due to attempted TA workarounds
    to custom hanging in MP5 [ie. backing things out])

    The system feels pretty good running at MP4 (now that usb doesn't
    crash/hang). MP5 feels ok too... the custom hang being the critical
    problem.

    Ongoing annoyance with DELL PERC 4 internal SCSI RAID init:
    amird225 ALWAYS takes 2.5 - 3.5 min to get past "F amirdinit"
    during boot. I believe others have reported this.
    During the init, the drive LEDs "dance" around repeatedly,
    across all disks, as if it keeps probing and probing, to
    find all possible logical disks that amird supports.
    (total array consists of 4 u320 scsi disks, 2 x 2 mirrors.)
    (I believe the scsi noprobe bootstr does NOT help this)

    Installed Licenses:
    507, SMP, +25USR, MSTPPP, Strong Encr.

    507mp5# hwconfig -hc
    device address vec dma comment
    ======== ============= === === ================================================
    kernel - - - rel=3.2v5.0.7 kid=2003-02-18
    cpu - - - unit=1 family=15
    cpuid - - - unit=1 vend=GenuineIntel tfms=0:15:4:8(0)
    fpu - 13 - unit=1 type=80387-compatible
    pci 0xcf8-0xcff - - am=1 sc=0 buses=17
    PnP - - - nodes=0
    clock - - - type=TSC/2.793182408Ghz
    serial 0x3f8-0x3ff 4 - unit=0 type=Standard nports=1 base=0 16550A/16
    console - - - unit=vga type=0 num=12 scoansi=1 scroll=50
    adapter 0xec00-0xecff 7 - type=ad160 ha=0 slot=0 bus=0 id=7 fts=sto
    adapter 0xe800-0xe8ff 10 - type=ad160 ha=1 slot=0 bus=0 id=7 fts=sto
    floppy 0x3f2-0x3f7 6 2 unit=0 type=135ds18
    kbmouse 0x60-0x64 12 - type=Keyboard|PS/2 mouse (wheel) id=0x03
    udi - - - UDI environment
    adapter - - - ha=0 type=usb_msto UDI SCSI HBA
    adapter 0x1f0-0x1f7 14 - type=IDE ctlr=0 dvr=wd
    adapter 0x9cf0-0x9cf7 3 - type=IDE ctlr=1 dvr=wd
    adapter - 7 - type=amird ha=0 id=7
    eeG0 0xccc0-0xccdf 16 - type=PRO/1000 00:15:c5:e5:77:f2
    epca - - - mem=0xDE800000 ports=32 PCI C/X V7.0.6
    cd-rom - - - type=IDE ctlr=0 cfg=mst unit=0 dvr=Srom->wd
    tape - - - type=S ha=0 id=6 lun=0 bus=0 ht=ad160 unit=0
    disk - - - type=S ha=0 id=0 lun=0 bus=2 ht=amird unit=0
    Sdsk - - - cyls=8908 hds=255 secs=63 unit=0 fts=sdb
    Sdsk-0 - - - Vnd=MEGA 1 Prd=LOGICAL DRIVE 0 Rev=
    usb_ehci - 17 - PCI bus=0 dev=29 func=7
    usb_uhci - 18 - PCI bus=0 dev=29 func=0
    usb_uhci - 19 - PCI bus=0 dev=29 func=1
    usb_uhci - 20 - PCI bus=0 dev=29 func=2
    Sdsk-add - - - type=IDE ctlr=1 cfg=mst unit=1 dvr=Sdsk->wd
    floppy - - - type=IDE ctlr=1 cfg=mst unit=0 dvr=Sflp->wd
    cd-rom - - - type=IDE ctlr=1 cfg=slv unit=1 dvr=Srom->wd
    cpu - 255 - unit=2 family=15
    cpuid - - - unit=2 vend=GenuineIntel tfms=0:15:4:8(0)
    fpu - - - unit=2 type=80387-compatible
    cpu - 255 - unit=3 family=15
    cpuid - - - unit=3 vend=GenuineIntel tfms=0:15:4:8(0)
    fpu - - - unit=3 type=80387-compatible
    cpu - 255 - unit=4 family=15
    cpuid - - - unit=4 vend=GenuineIntel tfms=0:15:4:8(0)
    fpu - - - unit=4 type=80387-compatible
    cpu - 255 - unit=5 family=15
    cpuid - - - unit=5 vend=GenuineIntel tfms=0:15:4:8(0)
    fpu - - - unit=5 type=80387-compatible
    cpu - 255 - unit=6 family=15
    cpuid - - - unit=6 vend=GenuineIntel tfms=0:15:4:8(0)
    fpu - - - unit=6 type=80387-compatible
    cpu - 255 - unit=7 family=15
    cpuid - - - unit=7 vend=GenuineIntel tfms=0:15:4:8(0)
    fpu - - - unit=7 type=80387-compatible
    cpu - 255 - unit=8 family=15
    cpuid - - - unit=8 vend=GenuineIntel tfms=0:15:4:8(0)
    fpu - - - unit=8 type=80387-compatible

    *** There may be an interrupt conflict on interrupt vector 7
    *** There may be an interrupt conflict on interrupt vector 255

    Note: SCO's Hyperthreading settings are turned off, yet HT is on.
    I'm assuming HT is on due to something in the bios tables as
    documented in the Hyperthread man page. (I did not yet have a
    chance to see how to disable HT in the bios.)

    Thanks in advance for any help!
    -Rob

    --
    Robert Weiner / Programming Plus
    Hardware & Software Consulting

  2. Re: openserver 507 mp5 custom install-media hang on dell pe2800

    On 25 Apr, 20:03, Robert Weiner wrote:
    > Hi All,
    >
    > I'm experiencing the following problem with SCO Openserver 5.0.7 MP5
    > on a DELL PE2800 Dual Core Dual CPU SCSI-RAID box:
    > Custom Is Hanging at the Install Media Pulldown


    Robert,

    You could try:

    http://wdb1.sco.com/kb/showta?taid=104921

    to see if this will provide any useful debug at the vtcl level.

    John


  3. Re: openserver 507 mp5 custom install-media hang on dell pe2800

    On Thu, 26 Apr 2007, jboland@sco.com wrote:

    > On 25 Apr, 20:03, Robert Weiner wrote:
    > > I'm experiencing the following problem with SCO Openserver 5.0.7 MP5
    > > on a DELL PE2800 Dual Core Dual CPU SCSI-RAID box:
    > > Custom Is Hanging at the Install Media Pulldown


    > Robert,
    >
    > You could try:
    >
    > http://wdb1.sco.com/kb/showta?taid=104921
    >
    > to see if this will provide any useful debug at the vtcl level.


    Hi,

    TA 110684 "custom+ back end dies before showing install sources"
    mentioned the sysRegistry...

    The big question is: where does the hang occur, inside custom's
    vtcl (and then where exactly), or inside the custom+ binary itself,
    or one of its binary helper apps?

    Thinking about this, I just re-read these:
    TA 105025 "custom with non-standard device"
    and TA 105029 "scoadmin does not start".

    They seem to apply to this problem too, and this gave me an
    idea... rename sysRegistry, see what happens.

    Without a sysRegistry, Custom does NOT hang!!
    Time for SCO to create a new TA for this problem!
    So, the custom bug is in the DQI kernel-custom interface ??

    So I may have a workaround, but the problem will reoccur after
    the next knl link.

    Here is the 507mp5 /etc/conf/cf.d/sysRegistry from the box
    with the hanging custom... perhaps someone can figure out:
    a) the offending entries
    b) how does this sysRegistry differ from other 507mp5
    (or perhaps other dell poweredge mp5s)
    c) what changed between mp4 and mp5 in the kernel,
    or custom, that would cause a problem with one
    of these entries below?

    .................................................. ..........
    Sdsk0:
    INDEX=101376
    PATH=node0,node1
    node0=15,SCSI Disk,0,4,0,NULL
    node1=16,SCSI Drive 0,0,0,34,NULL
    D_USER_MSG=17,SCSI Disk Drive,0,0,0,NULL
    D_BLOCK_NODE=3,hd00,0,0,0,NULL
    D_CHAR_NODE=5,rhd00,0,0,0,NULL
    fp00h:
    INDEX=102400
    PATH=node0,node1,node2
    node0=15,SCSI Floppy Disk,0,1,0,NULL
    node1=4,1.44M,0,1440,0,NULL
    node2=16,Drive 0,0,0,42,NULL
    D_USER_MSG=17,SCSI Floppy Drive,10,0,0,NULL
    D_FORMAT_CMD=9,format -f,0,0,0,NULL
    fp00d:
    INDEX=102401
    PATH=node0,node1,node2
    node0=15,SCSI Floppy Disk,0,1,0,NULL
    node1=4,720K,0,720,0,NULL
    node2=16,Drive 0,0,0,42,NULL
    D_USER_MSG=17,SCSI Floppy Drive,10,0,0,NULL
    D_FORMAT_CMD=9,format -f,0,0,0,NULL
    fp00auto:
    INDEX=102402
    PATH=node0,node1,node2
    node0=15,SCSI Floppy Disk,0,1,0,NULL
    node1=4,120M,0,123124,0,NULL
    node2=16,Drive 0,0,0,42,NULL
    D_USER_MSG=17,SCSI Floppy Drive,10,0,0,NULL
    D_FORMAT_CMD=9,format -f,0,0,0,NULL
    fp01h:
    INDEX=102403
    PATH=node0,node1,node2
    node0=15,SCSI Floppy Disk,0,1,0,NULL
    node1=4,1.44M,0,1440,0,NULL
    node2=16,Drive 1,0,1,42,NULL
    D_USER_MSG=17,SCSI Floppy Drive,10,0,0,NULL
    D_FORMAT_CMD=9,format -f,0,0,0,NULL
    fp01d:
    INDEX=102404
    PATH=node0,node1,node2
    node0=15,SCSI Floppy Disk,0,1,0,NULL
    node1=4,720K,0,720,0,NULL
    node2=16,Drive 1,0,1,42,NULL
    D_USER_MSG=17,SCSI Floppy Drive,10,0,0,NULL
    D_FORMAT_CMD=9,format -f,0,0,0,NULL
    fp01auto:
    INDEX=102405
    PATH=node0,node1,node2
    node0=15,SCSI Floppy Disk,0,1,0,NULL
    node1=4,120M,0,123124,0,NULL
    node2=16,Drive 1,0,1,42,NULL
    D_USER_MSG=17,SCSI Floppy Drive,10,0,0,NULL
    D_FORMAT_CMD=9,format -f,0,0,0,NULL
    fp02h:
    INDEX=102406
    PATH=node0,node1,node2
    node0=15,SCSI Floppy Disk,0,1,0,NULL
    node1=4,1.44M,0,1440,0,NULL
    node2=16,Drive 2,0,2,42,NULL
    D_USER_MSG=17,SCSI Floppy Drive,10,0,0,NULL
    D_FORMAT_CMD=9,format -f,0,0,0,NULL
    fp02d:
    INDEX=102407
    PATH=node0,node1,node2
    node0=15,SCSI Floppy Disk,0,1,0,NULL
    node1=4,720K,0,720,0,NULL
    node2=16,Drive 2,0,2,42,NULL
    D_USER_MSG=17,SCSI Floppy Drive,10,0,0,NULL
    D_FORMAT_CMD=9,format -f,0,0,0,NULL
    fp02auto:
    INDEX=102408
    PATH=node0,node1,node2
    node0=15,SCSI Floppy Disk,0,1,0,NULL
    node1=4,120M,0,123124,0,NULL
    node2=16,Drive 2,0,2,42,NULL
    D_USER_MSG=17,SCSI Floppy Drive,10,0,0,NULL
    D_FORMAT_CMD=9,format -f,0,0,0,NULL
    fp03h:
    INDEX=102409
    PATH=node0,node1,node2
    node0=15,SCSI Floppy Disk,0,1,0,NULL
    node1=4,1.44M,0,1440,0,NULL
    node2=16,Drive 3,0,3,42,NULL
    D_USER_MSG=17,SCSI Floppy Drive,10,0,0,NULL
    D_FORMAT_CMD=9,format -f,0,0,0,NULL
    fp03d:
    INDEX=102410
    PATH=node0,node1,node2
    node0=15,SCSI Floppy Disk,0,1,0,NULL
    node1=4,720K,0,720,0,NULL
    node2=16,Drive 3,0,3,42,NULL
    D_USER_MSG=17,SCSI Floppy Drive,10,0,0,NULL
    D_FORMAT_CMD=9,format -f,0,0,0,NULL
    fp03auto:
    INDEX=102411
    PATH=node0,node1,node2
    node0=15,SCSI Floppy Disk,0,1,0,NULL
    node1=4,120M,0,123124,0,NULL
    node2=16,Drive 3,0,3,42,NULL
    D_USER_MSG=17,SCSI Floppy Drive,10,0,0,NULL
    D_FORMAT_CMD=9,format -f,0,0,0,NULL
    Scd0:
    INDEX=104448
    PATH=node0,node1
    node0=15,SCSI CD-ROM,0,3,0,NULL
    node1=16,Drive 0,0,0,46,NULL
    D_USER_MSG=17,SCSI CD-ROM Drive,10,0,0,NULL
    D_CHAR_NODE=5,rcd0,0,0,0,NULL
    D_BLOCK_NODE=3,cd0,0,0,0,NULL
    Scd1:
    INDEX=104449
    PATH=node0,node1
    node0=15,SCSI CD-ROM,0,3,0,NULL
    node1=16,Drive 1,0,1,46,NULL
    D_USER_MSG=17,SCSI CD-ROM Drive,10,0,0,NULL
    Scd2:
    INDEX=104450
    PATH=node0,node1
    node0=15,SCSI CD-ROM,0,3,0,NULL
    node1=16,Drive 2,0,2,46,NULL
    D_USER_MSG=17,SCSI CD-ROM Drive,10,0,0,NULL
    Scd3:
    INDEX=104451
    PATH=node0,node1
    node0=15,SCSI CD-ROM,0,3,0,NULL
    node1=16,Drive 3,0,3,46,NULL
    D_USER_MSG=17,SCSI CD-ROM Drive,10,0,0,NULL
    Scd4:
    INDEX=104452
    PATH=node0,node1
    node0=15,SCSI CD-ROM,0,3,0,NULL
    node1=16,Drive 4,0,4,46,NULL
    D_USER_MSG=17,SCSI CD-ROM Drive,10,0,0,NULL
    Scd5:
    INDEX=104453
    PATH=node0,node1
    node0=15,SCSI CD-ROM,0,3,0,NULL
    node1=16,Drive 5,0,5,46,NULL
    D_USER_MSG=17,SCSI CD-ROM Drive,10,0,0,NULL
    Scd6:
    INDEX=104454
    PATH=node0,node1
    node0=15,SCSI CD-ROM,0,3,0,NULL
    node1=16,Drive 6,0,6,46,NULL
    D_USER_MSG=17,SCSI CD-ROM Drive,10,0,0,NULL
    Scd7:
    INDEX=104455
    PATH=node0,node1
    node0=15,SCSI CD-ROM,0,3,0,NULL
    node1=16,Drive 7,0,7,46,NULL
    D_USER_MSG=17,SCSI CD-ROM Drive,10,0,0,NULL
    Scd8:
    INDEX=104456
    PATH=node0,node1
    node0=15,SCSI CD-ROM,0,3,0,NULL
    node1=16,Drive 8,0,8,46,NULL
    D_USER_MSG=17,SCSI CD-ROM Drive,10,0,0,NULL
    Scd9:
    INDEX=104457
    PATH=node0,node1
    node0=15,SCSI CD-ROM,0,3,0,NULL
    node1=16,Drive 9,0,9,46,NULL
    D_USER_MSG=17,SCSI CD-ROM Drive,10,0,0,NULL
    Stp0:
    INDEX=105472
    PATH=node0,node1
    node0=15,SCSI Tape,0,2,0,NULL
    node1=16,Drive 0,0,0,8,NULL
    D_USER_MSG=17,SCSI Tape Drive,8,0,0,NULL
    D_REWIND_NODE=13,rmt/Sc0s0,0,0,0,NULL
    D_NOREWIND_NODE=12,rmt/Sc0s0n,0,0,0,NULL
    D_CTL_NODE=6,rmt/Sc0s0x,0,0,0,NULL
    fd_048ds9:
    INDEX=126976
    PATH=node0,node1,node2,node3
    node0=15,Floppy Disk,0,1,0,NULL
    node1=22,5.25in,0,133,0,NULL
    node2=4,360Kb,0,360,0,NULL
    node3=16,Drive 0,0,0,42,NULL
    D_USER_MSG=17,360Kb 5.25in Floppy Drive,2,0,0,NULL
    D_FORMAT_CMD=9,format -f,0,0,0,NULL
    D_CHAR_NODE=5,rfd048,0,0,0,NULL
    D_BLOCK_NODE=3,fd048,0,0,0,NULL
    fd_148ds9:
    INDEX=126977
    PATH=node0,node1,node2,node3
    node0=15,Floppy Disk,0,1,0,NULL
    node1=22,5.25in,0,133,0,NULL
    node2=4,360Kb,0,360,0,NULL
    node3=16,Drive 1,0,1,42,NULL
    D_USER_MSG=17,360Kb 5.25in Floppy Drive,2,0,0,NULL
    D_FORMAT_CMD=9,format -f,0,0,0,NULL
    D_CHAR_NODE=5,rfd148,0,0,0,NULL
    D_BLOCK_NODE=3,fd148,0,0,0,NULL
    fd_048ds8:
    INDEX=126978
    PATH=node0,node1,node2,node3
    node0=15,Floppy Disk,0,1,0,NULL
    node1=22,5.25in,0,133,0,NULL
    node2=4,320Kb,0,360,0,NULL
    node3=16,Drive 0,0,0,42,NULL
    D_USER_MSG=17,320Kb 5.25in Floppy Drive,1,0,0,NULL
    D_FORMAT_CMD=9,format -f,0,0,0,NULL
    D_CHAR_NODE=5,rfd048ds8,0,0,0,NULL
    D_BLOCK_NODE=3,fd048ds8,0,0,0,NULL
    fd_148ds8:
    INDEX=126979
    PATH=node0,node1,node2,node3
    node0=15,Floppy Disk,0,1,0,NULL
    node1=22,5.25in,0,133,0,NULL
    node2=4,320Kb,0,360,0,NULL
    node3=16,Drive 1,0,1,42,NULL
    D_USER_MSG=17,320Kb 5.25in Floppy Drive,1,0,0,NULL
    D_FORMAT_CMD=9,format -f,0,0,0,NULL
    D_CHAR_NODE=5,rfd148ds8,0,0,0,NULL
    D_BLOCK_NODE=3,fd148ds8,0,0,0,NULL
    fd_096ds15:
    INDEX=126980
    PATH=node0,node1,node2,node3
    node0=15,Floppy Disk,0,1,0,NULL
    node1=22,5.25in,0,133,0,NULL
    node2=4,1.2Mb,0,1200,0,NULL
    node3=16,Drive 0,0,0,42,NULL
    D_USER_MSG=17,1.2Mb 5.25in Floppy Drive,3,0,0,NULL
    D_FORMAT_CMD=9,format -f,0,0,0,NULL
    D_CHAR_NODE=5,rfd096,0,0,0,NULL
    D_BLOCK_NODE=3,fd096,0,0,0,NULL
    fd_196ds15:
    INDEX=126981
    PATH=node0,node1,node2,node3
    node0=15,Floppy Disk,0,1,0,NULL
    node1=22,5.25in,0,133,0,NULL
    node2=4,1.2Mb,0,1200,0,NULL
    node3=16,Drive 1,0,1,42,NULL
    D_USER_MSG=17,1.2Mb 5.25in Floppy Drive,3,0,0,NULL
    D_FORMAT_CMD=9,format -f,0,0,0,NULL
    D_CHAR_NODE=5,rfd196,0,0,0,NULL
    D_BLOCK_NODE=3,fd196,0,0,0,NULL
    fd_0135ds9:
    INDEX=126982
    PATH=node0,node1,node2,node3
    node0=15,Floppy Disk,0,1,0,NULL
    node1=22,3.5in,0,89,0,NULL
    node2=4,720Kb,0,720,0,NULL
    node3=16,Drive 0,0,0,42,NULL
    D_USER_MSG=17,720Kb 3.5in Floppy Drive,4,0,0,NULL
    D_FORMAT_CMD=9,format -f,0,0,0,NULL
    D_CHAR_NODE=5,rfd0135ds9,0,0,0,NULL
    D_BLOCK_NODE=3,fd0135ds9,0,0,0,NULL
    fd_1135ds9:
    INDEX=126983
    PATH=node0,node1,node2,node3
    node0=15,Floppy Disk,0,1,0,NULL
    node1=22,3.5in,0,89,0,NULL
    node2=4,720Kb,0,720,0,NULL
    node3=16,Drive 1,0,1,42,NULL
    D_USER_MSG=17,720Kb 3.5in Floppy Drive,4,0,0,NULL
    D_FORMAT_CMD=9,format -f,0,0,0,NULL
    D_CHAR_NODE=5,rfd1135ds9,0,0,0,NULL
    D_BLOCK_NODE=3,fd1135ds9,0,0,0,NULL
    fd_0135ds15:
    INDEX=126984
    PATH=node0,node1,node2,node3
    node0=15,Floppy Disk,0,1,0,NULL
    node1=22,3.5in,0,89,0,NULL
    node2=4,1.2Mb,0,1200,0,NULL
    node3=16,Drive 0,0,0,42,NULL
    D_USER_MSG=17,1.2Mb 3.5in Floppy Drive,5,0,0,NULL
    D_FORMAT_CMD=9,format -f,0,0,0,NULL
    D_CHAR_NODE=5,rfd0135ds15,0,0,0,NULL
    D_BLOCK_NODE=3,fd0135ds15,0,0,0,NULL
    fd_1135ds15:
    INDEX=126985
    PATH=node0,node1,node2,node3
    node0=15,Floppy Disk,0,1,0,NULL
    node1=22,3.5in,0,89,0,NULL
    node2=4,1.2Mb,0,1200,0,NULL
    node3=16,Drive 1,0,1,42,NULL
    D_USER_MSG=17,1.2Mb 3.5in Floppy Drive,5,0,0,NULL
    D_FORMAT_CMD=9,format -f,0,0,0,NULL
    D_CHAR_NODE=5,rfd1135ds15,0,0,0,NULL
    D_BLOCK_NODE=3,fd1135ds15,0,0,0,NULL
    fd_0135ds18:
    INDEX=126986
    PATH=node0,node1,node2,node3
    node0=15,Floppy Disk,0,1,0,NULL
    node1=22,3.5in,0,89,0,NULL
    node2=4,1.44Mb,0,1440,0,NULL
    node3=16,Drive 0,0,0,42,NULL
    D_USER_MSG=17,1.44Mb 3.5in Floppy Drive,5,0,0,NULL
    D_FORMAT_CMD=9,format -f,0,0,0,NULL
    D_CHAR_NODE=5,rfd0135ds18,0,0,0,NULL
    D_BLOCK_NODE=3,fd0135ds18,0,0,0,NULL
    fd_1135ds18:
    INDEX=126987
    PATH=node0,node1,node2,node3
    node0=15,Floppy Disk,0,1,0,NULL
    node1=22,3.5in,0,89,0,NULL
    node2=4,1.44Mb,0,1440,0,NULL
    node3=16,Drive 1,0,1,42,NULL
    D_USER_MSG=17,1.44Mb 3.5in Floppy Drive,5,0,0,NULL
    D_FORMAT_CMD=9,format -f,0,0,0,NULL
    D_CHAR_NODE=5,rfd1135ds18,0,0,0,NULL
    D_BLOCK_NODE=3,fd1135ds18,0,0,0,NULL
    fd_0135ds36:
    INDEX=126988
    PATH=node0,node1,node2,node3
    node0=15,Floppy Disk,0,1,0,NULL
    node1=22,3.5in,0,89,0,NULL
    node2=4,2.88Mb,0,2880,0,NULL
    node3=16,Drive 0,0,0,42,NULL
    D_USER_MSG=17,2.88Mb 3.5in Floppy Drive,6,0,0,NULL
    D_FORMAT_CMD=9,format -f,0,0,0,NULL
    D_CHAR_NODE=5,rfd0135ds36,0,0,0,NULL
    D_BLOCK_NODE=3,fd0135ds36,0,0,0,NULL
    fd_1135ds36:
    INDEX=126989
    PATH=node0,node1,node2,node3
    node0=15,Floppy Disk,0,1,0,NULL
    node1=22,3.5in,0,89,0,NULL
    node2=4,2.88Mb,0,2880,0,NULL
    node3=16,Drive 1,0,1,42,NULL
    D_USER_MSG=17,2.88Mb 3.5in Floppy Drive,6,0,0,NULL
    D_FORMAT_CMD=9,format -f,0,0,0,NULL
    D_CHAR_NODE=5,rfd1135ds36,0,0,0,NULL
    D_BLOCK_NODE=3,fd1135ds36,0,0,0,NULL
    fd_0auto:
    INDEX=126990
    PATH=node0,node1,node2,node3
    node0=15,Floppy Disk,0,1,0,NULL
    node1=22,Auto,0,0,0,NULL
    node2=4,Auto,0,0,0,NULL
    node3=16,Drive 0,0,0,42,NULL
    D_USER_MSG=17, Autosense Floppy Drive,6,0,0,NULL
    D_CHAR_NODE=5,rfd0,0,0,0,NULL
    D_BLOCK_NODE=3,fd0,0,0,0,NULL
    fd_1auto:
    INDEX=126991
    PATH=node0,node1,node2,node3
    node0=15,Floppy Disk,0,1,0,NULL
    node1=22,Auto,0,0,0,NULL
    node2=4,Auto,0,0,0,NULL
    node3=16,Drive 1,0,1,42,NULL
    D_USER_MSG=17,Autosense Floppy Drive,6,0,0,NULL
    D_CHAR_NODE=5,rfd1,0,0,0,NULL
    D_BLOCK_NODE=3,fd1,0,0,0,NULL
    wd10100_0:
    INDEX=182272
    PATH=node0,node1
    node0=15,Hard disk,0,4,0,NULL
    node1=16,Controller 0 Drive 0,0,0,34, NULL
    D_USER_MSG=17,Hard disk ,0,0,0,NULL
    D_BLOCK_NODE=3,hd00,0,0,0,NULL
    D_CHAR_NODE=5,rhd00,0,0,0,NULL
    wd10100_1:
    INDEX=182273
    PATH=node0,node1
    node0=15,Hard disk,0,4,0,NULL
    node1=16,Controller 0 Drive 1,0,1,34, NULL
    D_USER_MSG=17,Hard disk ,0,0,0,NULL
    D_BLOCK_NODE=3,hd10,0,0,0,NULL
    D_CHAR_NODE=5,rhd10,0,0,0,NULL
    wd10101_0:
    INDEX=182274
    PATH=node0,node1
    node0=15,Hard disk,0,4,0,NULL
    node1=16,Controller 1 Drive 0,0,2,34, NULL
    D_USER_MSG=17,Hard disk ,0,0,0,NULL
    wd10101_1:
    INDEX=182275
    PATH=node0,node1
    node0=15,Hard disk,0,4,0,NULL
    node1=16,Controller 1 Drive 1,0,3,34, NULL
    D_USER_MSG=17,Hard disk ,0,0,0,NULL
    .................................................. ..........

    Thanks,
    -Rob

    --
    Robert Weiner / Programming Plus
    Hardware & Software Consulting

  4. Re: openserver 507 mp5 custom install-media hang on dell pe2800

    awsome report

    I had a problem with custom hanging due to botched scsi device or cdrom
    device recognition, was causing custom to try to access a device that didn't
    exist or was otherwise "bad" while scanning the possible install sources.
    Don't remember what I did to fix it but someone, Bela I think, hinted at
    bad/invalid devices that could be considered possible install sources as a
    possible cause and I hunted it down from there.
    May have done more than fix up data in custom but actually removed or
    re-installed kernel recognition of a device. Or altering a device in bios,
    or moving a card to get a different irq etc... I think it was a bad tape
    drive actually. Definitely an old machine but still 506 and ony a couple
    years old at the time. Info about it might be in c.u.s.m archive.
    This was somewhere from 2001 to 2005, most likely 03, and I failed to find
    it just now but didn't look hard. Maybe in your case it has to do with
    missing floppy drive? usb floppy drive?

    I have a few machines with amird 2.25 that hang a long time at amird init
    and have no other visible problem at the hardware, software, or performance
    levels, all in production a while now too so presumably if there was a
    hidden problem I'd have hit it by now. I have a few amird that don't hang
    but don't know if any are 2.25

    Brian K. White brian@aljex.com http://www.myspace.com/KEYofR
    +++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++.
    filePro BBx Linux SCO FreeBSD #callahans Satriani Filk!


    ----- Original Message -----
    From: "Robert Weiner"
    Newsgroups: comp.unix.sco.misc
    To:
    Sent: Wednesday, April 25, 2007 2:03 PM
    Subject: openserver 507 mp5 custom install-media hang on dell pe2800


    > Hi All,
    >
    > I'm experiencing the following problem with SCO Openserver 5.0.7 MP5
    > on a DELL PE2800 Dual Core Dual CPU SCSI-RAID box:
    > Custom Is Hanging at the Install Media Pulldown
    >
    > Example:
    > # custom (Software Manager)
    > Install New
    > From Local Machine
    > CUSTOM-HANGS-HERE
    >
    > You never get the "from CDROM or MEDIA IMAGE" pulldown.
    >
    > When Custom hangs, you are forced to INTR out of custom, which leaves the
    > top left corner star-generating script generating ***** to your screen, as
    > you continue to work at the prompt (quite annoying).
    >
    > Then the usual is required:
    > # stty sane ^J
    > Kill off 1-2 pieces of custom, which remained
    > running (one is always the **** generator),
    > # rm /var/opt/K/SCO/SoftMgr/1.0.3a/custom/client.lock
    > Then you are ready to run custom again.
    > You can remove software, but not install software,
    > since the installation source selection never appears.
    >
    > Other aspects of custom seem ok (verify, remove, etc).
    >
    > TA 110684 "custom+ back end dies before showing install sources"
    > seems to be the best description, but rebuilding the sysRegistry
    > does NOT help (no change was seen).
    >
    > When this all started, I first thought the bug was:
    > TA 110929 "install SMP, then reboot, then custom hangs"
    > and I had backed out and re-installed quite a bit, going all the way
    > back to the 507july respin without any MPs, but then moving forward
    > to MP5 brought the problem back.
    >
    > (TA 126669 describes the clearing of the custom lockfile, after
    > you have to kill custom.)
    >
    > Backing everything out and moving forward one MP at a time...
    > I now have the custom hang isolated to MP5.
    > Custom does not hang with 507 MP3 or MP4.
    >
    > With 507 MP5, if you truncate the custom logfile and attempt to
    > run an install... you don't get much...
    >
    > # cat /var/opt/K/SCO/SoftMgr/1.0.3a/custom/custom.log
    > TASK-BEGIN 1177099983.421 INSTALL {Fri Apr 20 2007}
    > #
    >
    > I also tried starting out with 507 MP4, then installing MP5 w/o MP5's
    > custom (in case it was the newer custom itself), but either version of
    > custom hangs as long as MP5 is running. I cannot do a test boot with
    > MP4's unix.old, once MP5 is loaded (it won't boot).
    >
    > Any thoughts/clues?
    >
    > Is there a way to enable debugging in the various custom processes that
    > get kicked off? Has anyone figured out a fix or workaround?
    >
    > This machine is not yet in production (do to this problem), so I can
    > play with it a bit.
    >
    > .....
    >
    > Misc info:
    >
    > Other problems seen along the way (aka: pe2800 507 faq):
    >
    > a) 507july cd install panic when usb enabled in bios
    > (So turn it off in bios)
    >
    > b) mp3/mp4 boot panic when usb enabled in bios
    > (Bios Disable, and TA 125546 disable=usb... helps here)
    > Strangely, enough has been patched now that running
    > at MP4 with usb enabled seems OK.
    >
    > c) mp5 hang during boot when usb DISABLED in bios
    > (Think it hangs after you get the %usb_uhci output)
    >
    > d) mp5 boot hang due to out of streams memory NSTRPAGES
    > (Seems better after upping NSTREAM, NSTRPAGES, NCLIST)
    >
    > e) custom cannot remove software since knl cannot link
    > 1) TA 126252 stack_growth_threshold problem
    > 2) other unref syms in misc drivers
    > (fixed by reinstall of MP5, so must have happened at MP4)
    >
    > f) jumping between MPs makes a royal mess of the symlinks:
    > /etc/rc[02].d/:
    > lrwxrwxrwx 1 root sys 53 Apr 6 18:30 S99cups# ->
    > /var/opt/K/SCO/cups/1.1.23Aa/etc/software/init.d/cups
    > lrwxrwxrwx 1 root sys 53 Apr 18 20:18 S99cups## ->
    > /var/opt/K/SCO/cups/1.1.23Aa/etc/software/init.d/cups
    > lrwxrwxrwx 1 root sys 53 Apr 20 19:04 S99cups### ->
    > /var/opt/K/SCO/cups/1.1.23Aa/etc/software/init.d/cups
    > lrwxrwxrwx 1 root sys 53 Apr 20 19:46 S99cups#### ->
    > /var/opt/K/SCO/cups/1.1.23Ba/etc/software/init.d/cups
    > lrwxrwxrwx 1 root sys 53 Apr 20 19:54 S99cups##### ->
    > /var/opt/K/SCO/cups/1.1.23Aa/etc/software/init.d/cups
    > *** NOTE the poor choice of names here, they ALL
    > execute on startup/shutdown.
    >
    > g) >3000 corrupted symlinks to the point of perl and ssh being
    > left unlinked.
    > (Probably from backing out of the dependencies)
    >
    > h) of course, running the [evil] custom verify/fix symlinks
    > fixed a bunch of issues, and perl+ssh came back,
    > but then the X11 fonts disappear (this is with MP5).
    > (I expect that going back to MP3 and moving forward
    > again should fix this up.)
    >
    > i) cupsd failed: libz.so.1 missing.
    > (MP uninstall dependencies & resulting bad symlinks.)
    >
    > j) various strange issues where "emergency single user mode"
    > was the only mode working since the knl was hosed
    > or the licmgr crashed. Usually happened randomly
    > when backing out and reinstalling MPs and other sw.
    > (Clean uninstall of the last 1-2 MPs, then clean
    > reinstalls of them fixes this)
    >
    > k) when the knl (or licmgr?) gets "messed up", you see every
    > other CPU inactive.
    > (backing out & reinstalling the MPs cleans this up.)
    >
    > l) mp3/mp4 showed only the 4 actual cores originally, mp5
    > shows everything HT'd always. (documented)
    >
    > m) I believe ad160 had to be disabled in the bootstr to get
    > the original install going on amird.
    > (see hwconfig below, intr conflict??)
    >
    > n) various other serious and non-serious issues.
    > (been using SCO since before it was SCO [1984]...
    > this install wins the prize for being outright nasty,
    > most problems probably due to attempted TA workarounds
    > to custom hanging in MP5 [ie. backing things out])
    >
    > The system feels pretty good running at MP4 (now that usb doesn't
    > crash/hang). MP5 feels ok too... the custom hang being the critical
    > problem.
    >
    > Ongoing annoyance with DELL PERC 4 internal SCSI RAID init:
    > amird225 ALWAYS takes 2.5 - 3.5 min to get past "F amirdinit"
    > during boot. I believe others have reported this.
    > During the init, the drive LEDs "dance" around repeatedly,
    > across all disks, as if it keeps probing and probing, to
    > find all possible logical disks that amird supports.
    > (total array consists of 4 u320 scsi disks, 2 x 2 mirrors.)
    > (I believe the scsi noprobe bootstr does NOT help this)
    >
    > Installed Licenses:
    > 507, SMP, +25USR, MSTPPP, Strong Encr.
    >
    > 507mp5# hwconfig -hc
    > device address vec dma comment
    > ======== ============= === ===
    > ================================================
    > kernel - - - rel=3.2v5.0.7 kid=2003-02-18
    > cpu - - - unit=1 family=15
    > cpuid - - - unit=1 vend=GenuineIntel tfms=0:15:4:8(0)
    > fpu - 13 - unit=1 type=80387-compatible
    > pci 0xcf8-0xcff - - am=1 sc=0 buses=17
    > PnP - - - nodes=0
    > clock - - - type=TSC/2.793182408Ghz
    > serial 0x3f8-0x3ff 4 - unit=0 type=Standard nports=1 base=0
    > 16550A/16
    > console - - - unit=vga type=0 num=12 scoansi=1 scroll=50
    > adapter 0xec00-0xecff 7 - type=ad160 ha=0 slot=0 bus=0 id=7 fts=sto
    > adapter 0xe800-0xe8ff 10 - type=ad160 ha=1 slot=0 bus=0 id=7 fts=sto
    > floppy 0x3f2-0x3f7 6 2 unit=0 type=135ds18
    > kbmouse 0x60-0x64 12 - type=Keyboard|PS/2 mouse (wheel) id=0x03
    > udi - - - UDI environment
    > adapter - - - ha=0 type=usb_msto UDI SCSI HBA
    > adapter 0x1f0-0x1f7 14 - type=IDE ctlr=0 dvr=wd
    > adapter 0x9cf0-0x9cf7 3 - type=IDE ctlr=1 dvr=wd
    > adapter - 7 - type=amird ha=0 id=7
    > eeG0 0xccc0-0xccdf 16 - type=PRO/1000 00:15:c5:e5:77:f2
    > epca - - - mem=0xDE800000 ports=32 PCI C/X V7.0.6
    > cd-rom - - - type=IDE ctlr=0 cfg=mst unit=0 dvr=Srom->wd
    > tape - - - type=S ha=0 id=6 lun=0 bus=0 ht=ad160
    > unit=0
    > disk - - - type=S ha=0 id=0 lun=0 bus=2 ht=amird
    > unit=0
    > Sdsk - - - cyls=8908 hds=255 secs=63 unit=0 fts=sdb
    > Sdsk-0 - - - Vnd=MEGA 1 Prd=LOGICAL DRIVE 0 Rev=
    > usb_ehci - 17 - PCI bus=0 dev=29 func=7
    > usb_uhci - 18 - PCI bus=0 dev=29 func=0
    > usb_uhci - 19 - PCI bus=0 dev=29 func=1
    > usb_uhci - 20 - PCI bus=0 dev=29 func=2
    > Sdsk-add - - - type=IDE ctlr=1 cfg=mst unit=1 dvr=Sdsk->wd
    > floppy - - - type=IDE ctlr=1 cfg=mst unit=0 dvr=Sflp->wd
    > cd-rom - - - type=IDE ctlr=1 cfg=slv unit=1 dvr=Srom->wd
    > cpu - 255 - unit=2 family=15
    > cpuid - - - unit=2 vend=GenuineIntel tfms=0:15:4:8(0)
    > fpu - - - unit=2 type=80387-compatible
    > cpu - 255 - unit=3 family=15
    > cpuid - - - unit=3 vend=GenuineIntel tfms=0:15:4:8(0)
    > fpu - - - unit=3 type=80387-compatible
    > cpu - 255 - unit=4 family=15
    > cpuid - - - unit=4 vend=GenuineIntel tfms=0:15:4:8(0)
    > fpu - - - unit=4 type=80387-compatible
    > cpu - 255 - unit=5 family=15
    > cpuid - - - unit=5 vend=GenuineIntel tfms=0:15:4:8(0)
    > fpu - - - unit=5 type=80387-compatible
    > cpu - 255 - unit=6 family=15
    > cpuid - - - unit=6 vend=GenuineIntel tfms=0:15:4:8(0)
    > fpu - - - unit=6 type=80387-compatible
    > cpu - 255 - unit=7 family=15
    > cpuid - - - unit=7 vend=GenuineIntel tfms=0:15:4:8(0)
    > fpu - - - unit=7 type=80387-compatible
    > cpu - 255 - unit=8 family=15
    > cpuid - - - unit=8 vend=GenuineIntel tfms=0:15:4:8(0)
    > fpu - - - unit=8 type=80387-compatible
    >
    > *** There may be an interrupt conflict on interrupt vector 7
    > *** There may be an interrupt conflict on interrupt vector 255
    >
    > Note: SCO's Hyperthreading settings are turned off, yet HT is on.
    > I'm assuming HT is on due to something in the bios tables as
    > documented in the Hyperthread man page. (I did not yet have a
    > chance to see how to disable HT in the bios.)
    >
    > Thanks in advance for any help!
    > -Rob
    >
    > --
    > Robert Weiner / Programming Plus
    > Hardware & Software Consulting
    >



  5. Re: openserver 507 mp5 custom install-media hang on dell pe2800

    Robert Weiner wrote:

    > TA 110684 "custom+ back end dies before showing install sources"
    > mentioned the sysRegistry...
    >
    > The big question is: where does the hang occur, inside custom's
    > vtcl (and then where exactly), or inside the custom+ binary itself,
    > or one of its binary helper apps?
    >
    > Thinking about this, I just re-read these:
    > TA 105025 "custom with non-standard device"
    > and TA 105029 "scoadmin does not start".
    >
    > They seem to apply to this problem too, and this gave me an
    > idea... rename sysRegistry, see what happens.
    >
    > Without a sysRegistry, Custom does NOT hang!!
    > Time for SCO to create a new TA for this problem!
    > So, the custom bug is in the DQI kernel-custom interface ??
    >
    > So I may have a workaround, but the problem will reoccur after
    > the next knl link.
    >
    > Here is the 507mp5 /etc/conf/cf.d/sysRegistry from the box
    > with the hanging custom... perhaps someone can figure out:
    > a) the offending entries
    > b) how does this sysRegistry differ from other 507mp5
    > (or perhaps other dell poweredge mp5s)
    > c) what changed between mp4 and mp5 in the kernel,
    > or custom, that would cause a problem with one
    > of these entries below?


    And that someone is... you!

    Good report, as Brian White said. Now what you can do is: copy aside
    the defective sysRegistry file, pare it down, try again. The file you
    posted had 44 entries. So try deleting the last 22, see if custom comes
    up. If not, copy back the original, delete the first 22 entries. Work
    down from there by presenting it with sysRegistry files that have only a
    few entries omitted, until you find the (presumably) one entry that
    causes it to fail. By then you may already know why (I suspect it will
    look different in a way that isn't obvious at a glance, but once you've
    learned that it's the problem one, you'll see it).

    >Bela<


  6. Re: openserver 507 mp5 custom install-media hang on dell pe2800

    On Fri, 27 Apr 2007, Bela Lubkin wrote:

    > Robert Weiner wrote:
    >
    > > TA 110684 "custom+ back end dies before showing install sources"
    > > mentioned the sysRegistry...
    > >
    > > The big question is: where does the hang occur, inside custom's
    > > vtcl (and then where exactly), or inside the custom+ binary itself,
    > > or one of its binary helper apps?
    > >
    > > Thinking about this, I just re-read these:
    > > TA 105025 "custom with non-standard device"
    > > and TA 105029 "scoadmin does not start".
    > >
    > > They seem to apply to this problem too, and this gave me an
    > > idea... rename sysRegistry, see what happens.
    > >
    > > Without a sysRegistry, Custom does NOT hang!!
    > > Time for SCO to create a new TA for this problem!
    > > So, the custom bug is in the DQI kernel-custom interface ??
    > >
    > > So I may have a workaround, but the problem will reoccur after
    > > the next knl link.
    > >
    > > Here is the 507mp5 /etc/conf/cf.d/sysRegistry from the box
    > > with the hanging custom... perhaps someone can figure out:
    > > a) the offending entries
    > > b) how does this sysRegistry differ from other 507mp5
    > > (or perhaps other dell poweredge mp5s)
    > > c) what changed between mp4 and mp5 in the kernel,
    > > or custom, that would cause a problem with one
    > > of these entries below?

    >
    > And that someone is... you!


    I was already trying...

    > Good report, as Brian White said. Now what you can do is: copy aside
    > the defective sysRegistry file, pare it down, try again. The file you
    > posted had 44 entries. So try deleting the last 22, see if custom comes
    > up. If not, copy back the original, delete the first 22 entries. Work
    > down from there by presenting it with sysRegistry files that have only a
    > few entries omitted, until you find the (presumably) one entry that
    > causes it to fail. By then you may already know why (I suspect it will
    > look different in a way that isn't obvious at a glance, but once you've
    > learned that it's the problem one, you'll see it).


    That's the hard way... which I did... custom hangs on every attempt.
    I tried sysRegistry with any single entry for one: tape|floppy|disk|etc.

    The easy way turns out to be:
    # > sysRegistry
    and see that custom install HANGS.

    And then:
    # rm sysRegistry
    and see that custom does NOT hang.

    So the behavior is:
    [ -f sysRegistry ] && CUSTOM-INSTALL-MEDIA-HANG

    And on every attempt, these unkillable procs keep building up:

    F S UID PID PPID C PRI NI ADDR SZ WCHAN STIME TTY TIME CMD
    30 S root 11215 1 0 81 20 fb11b890 2128 f0457ca0 18:59:56 ttyp0 00:00:19 /opt/K/SCO/SoftMgr/1.0.3a/custom/custom+ -c
    30 S root 25250 1 0 81 20 fb11bb40 2152 f0457ca0 17:08:23 ttyp0 00:00:00 /opt/K/SCO/SoftMgr/1.0.3a/custom/custom+ -c
    30 S root 25268 1 0 81 20 fb11bc98 2144 f0457ca0 17:09:21 ttyp0 00:00:00 /opt/K/SCO/SoftMgr/1.0.3a/custom/custom+ -c
    30 S root 25292 1 0 81 20 fb11c4a8 2144 f0457ca0 17:10:54 ttyp0 00:00:00 /opt/K/SCO/SoftMgr/1.0.3a/custom/custom+ -c
    30 S root 1156 1 0 81 20 fb11db80 2384 f0457ca0 Apr-20 tty01 00:00:00 /opt/K/SCO/SoftMgr/1.0.3a/custom/custom+ -c
    30 S root 25309 1 0 81 20 fb11dcd8 2144 f0457ca0 17:12:16 ttyp0 00:00:00 /opt/K/SCO/SoftMgr/1.0.3a/custom/custom+ -c
    30 S root 25328 1 0 81 20 fb11de30 2144 f0457ca0 17:13:34 ttyp0 00:00:00 /opt/K/SCO/SoftMgr/1.0.3a/custom/custom+ -c
    30 S root 4796 1 0 81 20 fb11df88 2384 f0457ca0 Apr-24 ttyp0 00:00:00 /opt/K/SCO/SoftMgr/1.0.3a/custom/custom+ -c
    30 S root 7994 1 0 81 20 fb11e0e0 2376 f0457ca0 Apr-27 ttyp0 00:00:00 /opt/K/SCO/SoftMgr/1.0.3a/custom/custom+ -c
    30 S root 8071 1 0 81 20 fb11e238 3992 f0457ca0 17:52:54 ttyp0 00:00:31 /opt/K/SCO/SoftMgr/1.0.3a/custom/custom+ -c
    30 S root 25391 1 0 81 20 fb11e4e8 2144 f0457ca0 17:18:37 ttyp0 00:00:00 /opt/K/SCO/SoftMgr/1.0.3a/custom/custom+ -c

    If custom+ blocked on a device (dqi or something), would PS or LSOF or
    CRASH show something useful?

    -Rob

    --
    Robert Weiner / Programming Plus
    Hardware & Software Consulting

  7. Re: openserver 507 mp5 custom install-media hang on dell pe2800

    A lot of custom is shell & tcl scripts you can edit to insert debugging to
    track how far it gets and zero in on what specific command or tcl function
    is hanging.
    In fact they already have debugging you can activate just by setting
    particular env variables I beleive.
    This looks interesting from the top-level /etc/custom
    ....
    if [info exists env(CUSTOM_TRACE_LOG)] {
    if [file exists ./tmp/custom.trace.log] {exec rm
    ../tmp/custom.trace.log}
    cmdtrace on [open ./tmp/custom.trace.log w]
    }
    ....


    Brian K. White brian@aljex.com http://www.myspace.com/KEYofR
    +++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++.
    filePro BBx Linux SCO FreeBSD #callahans Satriani Filk!

    ----- Original Message -----
    From: "Robert Weiner"
    Newsgroups: comp.unix.sco.misc
    To:
    Sent: Saturday, April 28, 2007 5:36 PM
    Subject: Re: openserver 507 mp5 custom install-media hang on dell pe2800


    > On Fri, 27 Apr 2007, Bela Lubkin wrote:
    >
    >> Robert Weiner wrote:
    >>
    >> > TA 110684 "custom+ back end dies before showing install sources"
    >> > mentioned the sysRegistry...
    >> >
    >> > The big question is: where does the hang occur, inside custom's
    >> > vtcl (and then where exactly), or inside the custom+ binary itself,
    >> > or one of its binary helper apps?
    >> >
    >> > Thinking about this, I just re-read these:
    >> > TA 105025 "custom with non-standard device"
    >> > and TA 105029 "scoadmin does not start".
    >> >
    >> > They seem to apply to this problem too, and this gave me an
    >> > idea... rename sysRegistry, see what happens.
    >> >
    >> > Without a sysRegistry, Custom does NOT hang!!
    >> > Time for SCO to create a new TA for this problem!
    >> > So, the custom bug is in the DQI kernel-custom interface ??
    >> >
    >> > So I may have a workaround, but the problem will reoccur after
    >> > the next knl link.
    >> >
    >> > Here is the 507mp5 /etc/conf/cf.d/sysRegistry from the box
    >> > with the hanging custom... perhaps someone can figure out:
    >> > a) the offending entries
    >> > b) how does this sysRegistry differ from other 507mp5
    >> > (or perhaps other dell poweredge mp5s)
    >> > c) what changed between mp4 and mp5 in the kernel,
    >> > or custom, that would cause a problem with one
    >> > of these entries below?

    >>
    >> And that someone is... you!

    >
    > I was already trying...
    >
    >> Good report, as Brian White said. Now what you can do is: copy aside
    >> the defective sysRegistry file, pare it down, try again. The file you
    >> posted had 44 entries. So try deleting the last 22, see if custom comes
    >> up. If not, copy back the original, delete the first 22 entries. Work
    >> down from there by presenting it with sysRegistry files that have only a
    >> few entries omitted, until you find the (presumably) one entry that
    >> causes it to fail. By then you may already know why (I suspect it will
    >> look different in a way that isn't obvious at a glance, but once you've
    >> learned that it's the problem one, you'll see it).

    >
    > That's the hard way... which I did... custom hangs on every attempt.
    > I tried sysRegistry with any single entry for one: tape|floppy|disk|etc.
    >
    > The easy way turns out to be:
    > # > sysRegistry
    > and see that custom install HANGS.
    >
    > And then:
    > # rm sysRegistry
    > and see that custom does NOT hang.
    >
    > So the behavior is:
    > [ -f sysRegistry ] && CUSTOM-INSTALL-MEDIA-HANG
    >
    > And on every attempt, these unkillable procs keep building up:
    >
    > F S UID PID PPID C PRI NI ADDR SZ WCHAN STIME
    > TTY TIME CMD
    > 30 S root 11215 1 0 81 20 fb11b890 2128 f0457ca0 18:59:56
    > ttyp0 00:00:19 /opt/K/SCO/SoftMgr/1.0.3a/custom/custom+ -c
    > 30 S root 25250 1 0 81 20 fb11bb40 2152 f0457ca0 17:08:23
    > ttyp0 00:00:00 /opt/K/SCO/SoftMgr/1.0.3a/custom/custom+ -c
    > 30 S root 25268 1 0 81 20 fb11bc98 2144 f0457ca0 17:09:21
    > ttyp0 00:00:00 /opt/K/SCO/SoftMgr/1.0.3a/custom/custom+ -c
    > 30 S root 25292 1 0 81 20 fb11c4a8 2144 f0457ca0 17:10:54
    > ttyp0 00:00:00 /opt/K/SCO/SoftMgr/1.0.3a/custom/custom+ -c
    > 30 S root 1156 1 0 81 20 fb11db80 2384 f0457ca0 Apr-20
    > tty01 00:00:00 /opt/K/SCO/SoftMgr/1.0.3a/custom/custom+ -c
    > 30 S root 25309 1 0 81 20 fb11dcd8 2144 f0457ca0 17:12:16
    > ttyp0 00:00:00 /opt/K/SCO/SoftMgr/1.0.3a/custom/custom+ -c
    > 30 S root 25328 1 0 81 20 fb11de30 2144 f0457ca0 17:13:34
    > ttyp0 00:00:00 /opt/K/SCO/SoftMgr/1.0.3a/custom/custom+ -c
    > 30 S root 4796 1 0 81 20 fb11df88 2384 f0457ca0 Apr-24
    > ttyp0 00:00:00 /opt/K/SCO/SoftMgr/1.0.3a/custom/custom+ -c
    > 30 S root 7994 1 0 81 20 fb11e0e0 2376 f0457ca0 Apr-27
    > ttyp0 00:00:00 /opt/K/SCO/SoftMgr/1.0.3a/custom/custom+ -c
    > 30 S root 8071 1 0 81 20 fb11e238 3992 f0457ca0 17:52:54
    > ttyp0 00:00:31 /opt/K/SCO/SoftMgr/1.0.3a/custom/custom+ -c
    > 30 S root 25391 1 0 81 20 fb11e4e8 2144 f0457ca0 17:18:37
    > ttyp0 00:00:00 /opt/K/SCO/SoftMgr/1.0.3a/custom/custom+ -c
    >
    > If custom+ blocked on a device (dqi or something), would PS or LSOF or
    > CRASH show something useful?
    >
    > -Rob
    >
    > --
    > Robert Weiner / Programming Plus
    > Hardware & Software Consulting
    >



  8. Re: openserver 507 mp5 custom install-media hang on dell pe2800

    Robert Weiner wrote:

    > That's the hard way... which I did... custom hangs on every attempt.
    > I tried sysRegistry with any single entry for one: tape|floppy|disk|etc.
    >
    > The easy way turns out to be:
    > # > sysRegistry
    > and see that custom install HANGS.
    >
    > And then:
    > # rm sysRegistry
    > and see that custom does NOT hang.
    >
    > So the behavior is:
    > [ -f sysRegistry ] && CUSTOM-INSTALL-MEDIA-HANG
    >
    > And on every attempt, these unkillable procs keep building up:
    >
    > F S UID PID PPID C PRI NI ADDR SZ WCHAN STIME TTY TIME CMD
    > 30 S root 11215 1 0 81 20 fb11b890 2128 f0457ca0 18:59:56 ttyp0 00:00:19 /opt/K/SCO/SoftMgr/1.0.3a/custom/custom+ -c
    > 30 S root 25250 1 0 81 20 fb11bb40 2152 f0457ca0 17:08:23 ttyp0 00:00:00 /opt/K/SCO/SoftMgr/1.0.3a/custom/custom+ -c


    > If custom+ blocked on a device (dqi or something), would PS or LSOF or
    > CRASH show something useful?


    Likely; also `trace` and/or `truss`. Those are also likely to crash the
    process under test, but fortunately you have an unlimited supply. Using
    a different hung process each time, try:

    lsof -p 11215
    trace -n -p 25250
    truss -p 25268

    `trace` and `truss` are either going to fail, or show you the process
    hung in some manner. That could either be that it's entered some system
    call and never returned; or it's in some sort of loop. We can see from
    `ps` output that it isn't in a tight spin loop, but it could easily be
    doing something like:

    sleep(2 seconds)
    open("/does/not/exist") = ENOENT
    sleep(...

    If it's hanging in an operation on a file descriptor, like:

    read (5, "", 1024)

    then `trace` will only show the system call name ("read"); `truss` will
    show "read(5, "...", 1024) = ... (sleeping)", which is more useful. But
    you have to go with whichever of the two actually does anything useful
    at all. Anyway, if it does show you the descriptor (5), cross-reference
    that with `lsof` output for the same process. That tells you what file
    it's hanging on.

    In quick testing of a non-hung custom+ process, I find that `truss`
    does operate on it and doesn't make it hang. So that's a help.

    It also gave me this set of ideas:

    1. start custom, get close to the point where it hangs, but don't
    actually hang it.

    2. now start `truss -o custom+hang.truss -p %d` from another terminal

    3. hang it

    4. do the same with removed sysRegistry, "-o custom+noRegistry.truss".
    Stop the tracing as soon as custom has given you the next prompt, the
    one that it never gives in the hang case. Keyboard interrupt (DEL / ^C)
    stops `truss` cleanly.

    5. also do the same on a different system, "-o custom+okRegistry.truss".

    6. post them all somewhere (web site if they're large, directly to the
    newsgroup if not too big). Well, I ran the non-hanging parts of the
    experiment on my OSR507 VM and they are too long, you should post them
    on a web page (or analyze them yourself).

    Brian K. White wrote:

    > In fact they already have debugging you can activate just by setting
    > particular env variables I beleive.
    > This looks interesting from the top-level /etc/custom
    > ...
    > if [info exists env(CUSTOM_TRACE_LOG)] {
    > if [file exists ./tmp/custom.trace.log] {exec rm
    > ./tmp/custom.trace.log}
    > cmdtrace on [open ./tmp/custom.trace.log w]
    > }


    That might also be useful. To invoke it, you need to:

    export CUSTOM_TRACE_LOG=yes

    or

    setenv CUSTOM_TRACE_LOG yes

    "yes" is an arbitrary value, it's just looking for the variable to exist
    at all.

    >Bela<


  9. Re: openserver 507 mp5 custom install-media hang on dell pe2800

    On Sun, 29 Apr 2007, Bela Lubkin wrote:
    > Robert Weiner wrote:
    > > So the behavior is:
    > > [ -f sysRegistry ] && CUSTOM-INSTALL-MEDIA-HANG


    > Brian K. White wrote:
    > > In fact they already have debugging you can activate just by setting
    > > particular env variables I beleive.
    > > This looks interesting from the top-level /etc/custom
    > > ...
    > > if [info exists env(CUSTOM_TRACE_LOG)] {
    > > if [file exists ./tmp/custom.trace.log] {exec rm
    > > ./tmp/custom.trace.log}
    > > cmdtrace on [open ./tmp/custom.trace.log w]
    > > }

    >
    > That might also be useful. To invoke it, you need to:
    > export CUSTOM_TRACE_LOG=yes


    > "yes" is an arbitrary value, it's just looking for the variable to exist
    > at all.


    Results from the 1st two sets of tests:

    Test (1): Give truss a try...

    # ps -ef | grep custom | tail -1
    root 27542 1 0 02:52:22 ttyp0 00:00:00 /opt/K/SCO/SoftMgr/1.0.3a/custom/custom+ -c

    # time truss -p 27542
    Alarm call
    real 0m1.01s

    # time truss -p 27542
    Alarm call
    real 0m1.02s

    # time truss -p 27542
    Alarm call
    real 0m1.01s

    There is always a 1sec delay between the time you engage truss and when it
    reports due to Alarm Call. However, the custom+ never exits, and still
    cannot be killed.

    ....

    Test (2): Enable custom debugging in /tmp/custom.trace.log:

    # env | grep CUS
    CUSTOM_TRACE_LOG=yes

    (2a) First off, the custom.log differences from an earlier try:

    Removing sysRegistry, I can select install from MEDIAIMAGES,
    (then I quit out)...

    ==> custom.log.mp5-noreg-mediaimgselected <==
    TASK-BEGIN 1177915888.055 INSTALL {Mon Apr 30 2007}
    RESP 1177915895.663 CONTINUE
    TASK-END 1177915895.663 Failed

    With zero length sysRegistry, it hangs before showing media pulldowns...

    ==> custom.log.mp5-reg-hangonselmedia <==
    TASK-BEGIN 1177915946.717 INSTALL {Mon Apr 30 2007}

    (2b) Now for the /tmp/custom.trace.logs, DIFFs seem the best to post...
    < = hang, zeroed sysRegistry
    > = nohang, no sysRegistry

    The point of hang shows up quickly...
    I stopped at "head -142" since there are no further "<" entries.

    .................................................. ........
    # diff custom.trace.log.hang.reg custom.trace.log.nohang.noreg | head -142
    8182,8184c8182,8184
    < 31: set stderrFile /tmp/session.27669.tmp
    < 32: list /tmp/session.27669.tmp
    < 31: ErrorCatch {} 1 {\n set stderr [open $stderrFile w+...} {} SCO_UICOMM_SESSION_ERR_TMP_FILE /tmp/session.27669.tmp
    ---
    > 31: set stderrFile /tmp/session.27707.tmp
    > 32: list /tmp/session.27707.tmp
    > 31: ErrorCatch {} 1 {\n set stderr [open $stderrFile w+...} {} SCO_UICOMM_SESSION_ERR_TMP_FILE /tmp/session.27707.tmp

    8192c8192
    < 36: open /tmp/session.27669.tmp w+
    ---
    > 36: open /tmp/session.27707.tmp w+

    8194c8194
    < 35: unlink /tmp/session.27669.tmp
    ---
    > 35: unlink /tmp/session.27707.tmp

    8214c8214
    < 36: set pid 27674
    ---
    > 36: set pid 27712

    8226c8226
    < 33: SessionBind /opt/K/SCO/SoftMgr/1.0.3a/custom/custom+ 27674 file9 file10 file7 SessionCreateCB
    ---
    > 33: SessionBind /opt/K/SCO/SoftMgr/1.0.3a/custom/custom+ 27712 file9 file10 file7 SessionCreateCB

    8231c8231
    < 34: keylset UIComm_handles(Session0) PID 27674
    ---
    > 34: keylset UIComm_handles(Session0) PID 27712

    8396c8396
    < 13: set session {{PID 27674} {STDIN file9} {STDOUT file10...}
    ---
    > 13: set session {{PID 27712} {STDIN file9} {STDOUT file10...}

    8989c8989
    < 18: set session {{PID 27674} {STDIN file9} {STDOUT file10...}
    ---
    > 18: set session {{PID 27712} {STDIN file9} {STDOUT file10...}

    17228c17228
    < 15: set session {{PID 27674} {STDIN file9} {STDOUT file10...}
    ---
    > 15: set session {{PID 27712} {STDIN file9} {STDOUT file10...}

    18266c18266
    < 17: set session {{PID 27674} {STDIN file9} {STDOUT file10...}
    ---
    > 17: set session {{PID 27712} {STDIN file9} {STDOUT file10...}

    18509a18510,29595
    > 10: UIComm:MsgCallBack Session0 file10
    > 11: UIComm:FindContext Session0 context
    > 12: global UIComm_handles
    > 13: keylget UIComm_handles(Session0) TOP
    > 12: set context UIComm_Session0_2
    > 12: uplevel upvar #0 UIComm_Session0_2 context
    > 13: upvar #0 UIComm_Session0_2 context
    > 11: set errStatus {}
    > 12: UIComm:Read Session0 errStatus
    > 13: global UIComm_handles
    > 13: upvar errStatus errStatus
    > 14: keylget UIComm_handles(Session0) STDOUT
    > 13: set fd file10
    > 15: list Session0
    > 14: ErrorCatch errStatus 0 {\n set stat [lgets $fd data]\n } {} SCO_UICOMM_SESSION_ERR_READ Session0
    > 16: lempty errStatus
    > 15: if !0 {\n upvar $errStackVar errStack\n ...}
    > 16: upvar errStatus errStack
    > 16: lempty {}
    > 15: if !1 {\n upvar $resultVar result\n }
    > 15: set errStack {}
    > 16: catch {uplevel $command} result
    > 17: uplevel {\n set stat [lgets $fd data]\n }
    > 19: lgets file10 data
    > 18: set stat 338
    > 15: set resultCode 0
    > 15: if {$resultCode != 1} {\n return $resultCode\n }
    > 16: return 0
    > 13: if 0 {\n return\n }
    > 13: if {$stat < 0} {\n ErrorPush errStatus 0 SCO_UICOM...}
    > 13: return {INSTALL_MEDIA_SELECT_DEVICE HOST-CHANGE ...}
    > 11: set msg {INSTALL_MEDIA_SELECT_DEVICE HOST-CHANGE ...}
    > 12: lempty {}
    > 11: if !1 {\n UIComm:CheckStderr $handle errS...}
    > 12: lindex {INSTALL_MEDIA_SELECT_DEVICE HOST-CHANGE ...} 0
    > 11: set msgId INSTALL_MEDIA_SELECT_DEVICE
    > 12: info exists context(INSTALL_MEDIA_SELECT_DEVICE)
    > 11: if !1 {\n ErrorPush errStatus 0 SCO_UICOM...}
    > 11: set callBack GUI:SelectDevice
    > 12: list {INSTALL_MEDIA_SELECT_DEVICE HOST-CHANGE ...}
    > 11: append callBack { } {{INSTALL_MEDIA_SELECT_DEVICE HOST-CHANGE...}
    > 11: uplevel #0 {GUI:SelectDevice {INSTALL_MEDIA_SELECT_D...}
    > 12: GUI:SelectDevice {INSTALL_MEDIA_SELECT_DEVICE HOST-CHANGE ...}
    > 13: global sourceType installErrorFlag
    > 13: GUI:Lock
    > 14: global locked
    > 14: if {! $locked} {\n VtLock\n set locked 1\n ...}
    > 14: lindex {INSTALL_MEDIA_SELECT_DEVICE HOST-CHANGE ...} 1
    > 13: set bundleFlag HOST-CHANGE
    > 14: lindex {INSTALL_MEDIA_SELECT_DEVICE HOST-CHANGE ...} 3
    > 13: set media {{-2 {System Namespace } SYSTEM_NAMESPACE...}
    > 14: lsort -command GUIeviceCompare {{-2 {System Namespace } SYSTEM_NAMESPACE...}
    > 15: GUIeviceCompare {-2 {System Namespace } SYSTEM_NAMESPACE ...} {3 {Cartridge Tape Drive 0} TAPE CT 0}
    > 16: global globals
    > 18: lindex {-2 {System Namespace } SYSTEM_NAMESPACE ...} 2
    > 17: lsearch {CD TAPE FLOPPY SYSTEM_NAMESPACE UNKNOWN} SYSTEM_NAMESPACE
    > 16: set devIndex1 3
    > 18: lindex {3 {Cartridge Tape Drive 0} TAPE CT 0} 2
    > 17: lsearch {CD TAPE FLOPPY SYSTEM_NAMESPACE UNKNOWN} TAPE
    > 16: set devIndex2 1
    > 17: IntegerCompare 3 1
    > 18: if { $i1 < $i2 } {\n return -1\n }
    > 18: if { $i1 > $i2 } {\n return 1\n }
    > 19: return 1
    > 16: set compValue 1
    > 16: if { $compValue != 0 } {\n return $compValue\n }
    > 17: return 1
    > 15: GUIeviceCompare {-2 {System Namespace } SYSTEM_NAMESPACE ...} {6 {CD-ROM Drive 0} CD SCSI 0}
    > 16: global globals
    > 18: lindex {-2 {System Namespace } SYSTEM_NAMESPACE ...} 2
    > 17: lsearch {CD TAPE FLOPPY SYSTEM_NAMESPACE UNKNOWN} SYSTEM_NAMESPACE
    > 16: set devIndex1 3
    > 18: lindex {6 {CD-ROM Drive 0} CD SCSI 0} 2
    > 17: lsearch {CD TAPE FLOPPY SYSTEM_NAMESPACE UNKNOWN} CD
    > 16: set devIndex2 0
    > 17: IntegerCompare 3 0
    > 18: if { $i1 < $i2 } {\n return -1\n }
    > 18: if { $i1 > $i2 } {\n return 1\n }
    > 19: return 1
    > 16: set compValue 1
    > 16: if { $compValue != 0 } {\n return $compValue\n }
    > 17: return 1
    > 15: GUIeviceCompare {3 {Cartridge Tape Drive 0} TAPE CT 0} {6 {CD-ROM Drive 0} CD SCSI 0}
    > 16: global globals
    > 18: lindex {3 {Cartridge Tape Drive 0} TAPE CT 0} 2
    > 17: lsearch {CD TAPE FLOPPY SYSTEM_NAMESPACE UNKNOWN} TAPE
    > 16: set devIndex1 1
    > 18: lindex {6 {CD-ROM Drive 0} CD SCSI 0} 2
    > 17: lsearch {CD TAPE FLOPPY SYSTEM_NAMESPACE UNKNOWN} CD
    > 16: set devIndex2 0
    > 17: IntegerCompare 1 0
    > 18: if { $i1 < $i2 } {\n return -1\n }
    > 18: if { $i1 > $i2 } {\n return 1\n }
    > 19: return 1
    > 16: set compValue 1
    > 16: if { $compValue != 0 } {\n return $compValue\n }
    > 17: return 1

    .................................................. ........

    Here's the last part of the HUNG custom trace... line up on
    that "17:.*set session" (7 lines down) that we see above...

    .................................................. ........
    # tail +18260 custom.trace.log.hang.reg
    15: set disable {}
    16: concat {\n {INSTALL_MEDIA_SELECT_DEVICE ...} {{SSO_EXPORT_RENAME_WARN GUI:EnableRename...}
    15: StartCustomContext {{INSTALL_MEDIA_SELECT_DEVICE "...}
    16: global sessionHandle
    16: SessionStartMsgContext Session0 {{INSTALL_MEDIA_SELECT_DEVICE "...}
    17: global UIComm_handles
    17: set session {{PID 27674} {STDIN file9} {STDOUT file10...}
    18: keylget session TOP
    17: set contextNum 1
    17: if {$contextNum == 0} {\n VtAddInput [keylget session STD...}
    17: incr contextNum
    17: keylset UIComm_handles(Session0) TOP 2
    17: UIComm:FindContext Session0 context
    18: global UIComm_handles
    19: keylget UIComm_handles(Session0) TOP
    18: set context UIComm_Session0_2
    18: uplevel upvar #0 UIComm_Session0_2 context
    19: upvar #0 UIComm_Session0_2 context
    17: foreach msg {{INSTALL_MEDIA_SELECT_DEVICE "...} {\n set context([lindex $msg 0]) [l...}
    19: lindex {INSTALL_MEDIA_SELECT_DEVICE "G...} 0
    19: lindex {INSTALL_MEDIA_SELECT_DEVICE "G...} 1
    18: set context(INSTALL_MEDIA_SELECT_DEVICE) GUI:SelectDevice
    19: lindex {INSTALL_MEDIA_INSERT_VOL "GUIis...} 0
    19: lindex {INSTALL_MEDIA_INSERT_VOL "GUIis...} 1
    18: set context(INSTALL_MEDIA_INSERT_VOL) GUIisplayInsertVolume
    19: lindex {INSTALL_MEDIA_BEGIN_FILES_NOT_FOUND "G...} 0
    19: lindex {INSTALL_MEDIA_BEGIN_FILES_NOT_FOUND "G...} 1
    18: set context(INSTALL_MEDIA_BEGIN_FILES_NOT_FO... GUI:BeginFilesNotFound
    19: lindex {INSTALL_MEDIA_FILE_NOT_FOUND "G...} 0
    19: lindex {INSTALL_MEDIA_FILE_NOT_FOUND "G...} 1
    18: set context(INSTALL_MEDIA_FILE_NOT_FOUND) GUI:HandleFileNotFound
    19: lindex {INSTALL_MEDIA_END_FILES_NOT_FOUND "G...} 0
    19: lindex {INSTALL_MEDIA_END_FILES_NOT_FOUND "G...} 1
    18: set context(INSTALL_MEDIA_END_FILES_NOT_FOUN... GUI:EndFilesNotFound
    19: lindex {INSTALL_UTIL_EXIT "GUI:InstallCo...} 0
    19: lindex {INSTALL_UTIL_EXIT "GUI:InstallCo...} 1
    18: set context(INSTALL_UTIL_EXIT) GUI:InstallComplete
    19: lindex {INSTALL_VERIFY_START_ERRORS "GUI:...} 0
    19: lindex {INSTALL_VERIFY_START_ERRORS "GUI:...} 1
    18: set context(INSTALL_VERIFY_START_ERRORS) {GUI:StartVerifyErrors INSTALL}
    19: lindex {INSTALL_VERIFY_ERROR "GUI:H...} 0
    19: lindex {INSTALL_VERIFY_ERROR "GUI:H...} 1
    18: set context(INSTALL_VERIFY_ERROR) GUI:HandleVerifyErrors
    19: lindex {INSTALL_VERIFY_END_ERRORS "GUI:...} 0
    19: lindex {INSTALL_VERIFY_END_ERRORS "GUI:...} 1
    18: set context(INSTALL_VERIFY_END_ERRORS) GUI:EndVerifyErrors
    19: lindex {INSTALL_DEPENDENCIES_START_UNRESOLVED "G...} 0
    19: lindex {INSTALL_DEPENDENCIES_START_UNRESOLVED "G...} 1
    18: set context(INSTALL_DEPENDENCIES_START_UNRES... GUI:StartDepErrors
    19: lindex {INSTALL_DEPENDENCIES_UNRESOLVED "G...} 0
    19: lindex {INSTALL_DEPENDENCIES_UNRESOLVED "G...} 1
    18: set context(INSTALL_DEPENDENCIES_UNRESOLVED) GUI:HandleDepError
    19: lindex {INSTALL_DEPENDENCIES_END_UNRESOLVED "G...} 0
    19: lindex {INSTALL_DEPENDENCIES_END_UNRESOLVED "G...} 1
    18: set context(INSTALL_DEPENDENCIES_END_UNRESOL... GUI:EndDepErrors
    19: lindex {INSTALL_UNAVAILABLE_START_PACKAGES "G...} 0
    19: lindex {INSTALL_UNAVAILABLE_START_PACKAGES "G...} 1
    18: set context(INSTALL_UNAVAILABLE_START_PACKAG... GUI:StartUnavailableErrors
    19: lindex {INSTALL_UNAVAILABLE_PACKAGE "G...} 0
    19: lindex {INSTALL_UNAVAILABLE_PACKAGE "G...} 1
    18: set context(INSTALL_UNAVAILABLE_PACKAGE) GUI:HandleUnavailableError
    19: lindex {INSTALL_UNAVAILABLE_END_PACKAGES "G...} 0
    19: lindex {INSTALL_UNAVAILABLE_END_PACKAGES "G...} 1
    18: set context(INSTALL_UNAVAILABLE_END_PACKAGES... GUI:EndUnavailableErrors
    19: lindex INSTALL_ALREADY_INSTALLED_START_PACKAGES... 0
    19: lindex INSTALL_ALREADY_INSTALLED_START_PACKAGES... 1
    18: set context(INSTALL_ALREADY_INSTALLED_START_... GUI:StartAlreadyLoadedErrors
    19: lindex {INSTALL_ALREADY_INSTALLED_PACKAGE ...} 0
    19: lindex {INSTALL_ALREADY_INSTALLED_PACKAGE ...} 1
    18: set context(INSTALL_ALREADY_INSTALLED_PACKAG... GUI:HandleAlreadyLoadedError
    19: lindex {INSTALL_ALREADY_NOT_INSTALLED_PACKAGE ...} 0
    19: lindex {INSTALL_ALREADY_NOT_INSTALLED_PACKAGE ...} 1
    18: set context(INSTALL_ALREADY_NOT_INSTALLED_PA... GUI:HandleAlreadyNotLoadedError
    19: lindex {INSTALL_ALREADY_INSTALLED_END_PACKAGES ...} 0
    19: lindex {INSTALL_ALREADY_INSTALLED_END_PACKAGES ...} 1
    18: set context(INSTALL_ALREADY_INSTALLED_END_PA... GUI:EndAlreadyLoadedErrors
    19: lindex {INSTALL_ALREADY_APPLIED_START_PATCHES ...} 0
    19: lindex {INSTALL_ALREADY_APPLIED_START_PATCHES ...} 1
    18: set context(INSTALL_ALREADY_APPLIED_START_PA... AlreadyAppliedStart
    19: lindex {INSTALL_ALREADY_APPLIED_PATCH "Already...} 0
    19: lindex {INSTALL_ALREADY_APPLIED_PATCH "Already...} 1
    18: set context(INSTALL_ALREADY_APPLIED_PATCH) AlreadyAppliedAlready
    19: lindex {INSTALL_ALREADY_NOT_APPLIED_PATCH ...} 0
    19: lindex {INSTALL_ALREADY_NOT_APPLIED_PATCH ...} 1
    18: set context(INSTALL_ALREADY_NOT_APPLIED_PATC... AlreadyAppliedOK
    19: lindex {INSTALL_ALREADY_UNAVAILABLE_PATCH ...} 0
    19: lindex {INSTALL_ALREADY_UNAVAILABLE_PATCH ...} 1
    18: set context(INSTALL_ALREADY_UNAVAILABLE_PATC... AlreadyAppliedNoTarget
    19: lindex {INSTALL_ALREADY_APPLIED_END_PATCHES ...} 0
    19: lindex {INSTALL_ALREADY_APPLIED_END_PATCHES ...} 1
    18: set context(INSTALL_ALREADY_APPLIED_END_PATC... GUI:AlreadyAppliedEnd
    19: lindex {SSO_INSTALL_UPGRADED_COMPONENTS_START ...} 0
    19: lindex {SSO_INSTALL_UPGRADED_COMPONENTS_START ...} 1
    18: set context(SSO_INSTALL_UPGRADED_COMPONENTS_... GUI:UpgradedComponentsStart
    19: lindex {SSO_INSTALL_UPGRADED_COMPONENT ...} 0
    19: lindex {SSO_INSTALL_UPGRADED_COMPONENT ...} 1
    18: set context(SSO_INSTALL_UPGRADED_COMPONENT) GUI:UpgradedComponent
    19: lindex {SSO_INSTALL_UPGRADED_COMPONENTS_END ...} 0
    19: lindex {SSO_INSTALL_UPGRADED_COMPONENTS_END ...} 1
    18: set context(SSO_INSTALL_UPGRADED_COMPONENTS_... GUI:UpgradedComponentsEnd
    19: lindex {SSO_INSTALL_DOWNGRADE_COMPONENTS_START ...} 0
    19: lindex {SSO_INSTALL_DOWNGRADE_COMPONENTS_START ...} 1
    18: set context(SSO_INSTALL_DOWNGRADE_COMPONENTS... DowngradeComponentsStart
    19: lindex {SSO_INSTALL_DOWNGRADE_COMPONENT ...} 0
    19: lindex {SSO_INSTALL_DOWNGRADE_COMPONENT ...} 1
    18: set context(SSO_INSTALL_DOWNGRADE_COMPONENT) DowngradeComponent
    19: lindex {SSO_INSTALL_DOWNGRADE_COMPONENTS_END ...} 0
    19: lindex {SSO_INSTALL_DOWNGRADE_COMPONENTS_END ...} 1
    18: set context(SSO_INSTALL_DOWNGRADE_COMPONENTS... GUIowngradeComponentsEnd
    19: lindex {SSO_INSTALL_INCOMPATIBLE_DB_START "I...} 0
    19: lindex {SSO_INSTALL_INCOMPATIBLE_DB_START "I...} 1
    18: set context(SSO_INSTALL_INCOMPATIBLE_DB_STAR... IncompatibleDBStart
    19: lindex {SSO_INSTALL_INCOMPATIBLE_DB_COMPONENT "I...} 0
    19: lindex {SSO_INSTALL_INCOMPATIBLE_DB_COMPONENT "I...} 1
    18: set context(SSO_INSTALL_INCOMPATIBLE_DB_COMP... IncompatibleComponentDB
    19: lindex {SSO_INSTALL_INCOMPATIBLE_DB_PRODUCT "I...} 0
    19: lindex {SSO_INSTALL_INCOMPATIBLE_DB_PRODUCT "I...} 1
    18: set context(SSO_INSTALL_INCOMPATIBLE_DB_PROD... IncompatibleProductDB
    19: lindex {SSO_INSTALL_INCOMPATIBLE_DB_END "G...} 0
    19: lindex {SSO_INSTALL_INCOMPATIBLE_DB_END "G...} 1
    18: set context(SSO_INSTALL_INCOMPATIBLE_DB_END) GUI:IncompatibleDBEnd
    19: lindex {SSO_INSTALL_NO_UPDATE_LICENSE_START "NoU...} 0
    19: lindex {SSO_INSTALL_NO_UPDATE_LICENSE_START "NoU...} 1
    18: set context(SSO_INSTALL_NO_UPDATE_LICENSE_ST... NoUpdateLicenseStart
    19: lindex {SSO_INSTALL_NO_UPDATE_LICENSE "NoUpdate...} 0
    19: lindex {SSO_INSTALL_NO_UPDATE_LICENSE "NoUpdate...} 1
    18: set context(SSO_INSTALL_NO_UPDATE_LICENSE) NoUpdateLicense
    19: lindex {SSO_INSTALL_NO_UPDATE_LICENSE_END "GUI:N...} 0
    19: lindex {SSO_INSTALL_NO_UPDATE_LICENSE_END "GUI:N...} 1
    18: set context(SSO_INSTALL_NO_UPDATE_LICENSE_EN... GUI:NoUpdateLicenseEnd
    19: lindex {INSTALL_OLDCUSTOM_REBROWSE_MOD_PERMS "G...} 0
    19: lindex {INSTALL_OLDCUSTOM_REBROWSE_MOD_PERMS "G...} 1
    18: set context(INSTALL_OLDCUSTOM_REBROWSE_MOD_P... GUI:RebrowseMedia
    19: lindex {SSO_INSTALL_ASK_POLICY "G...} 0
    19: lindex {SSO_INSTALL_ASK_POLICY "G...} 1
    18: set context(SSO_INSTALL_ASK_POLICY) GUI:SsoAskPolicy
    19: lindex {SSO_INSTALL_LICENSE_DATA_START "G...} 0
    19: lindex {SSO_INSTALL_LICENSE_DATA_START "G...} 1
    18: set context(SSO_INSTALL_LICENSE_DATA_START) GUI:LicenseDataStart
    19: lindex {SSO_INSTALL_ADD_LICENSE_STATE "G...} 0
    19: lindex {SSO_INSTALL_ADD_LICENSE_STATE "G...} 1
    18: set context(SSO_INSTALL_ADD_LICENSE_STATE) GUI:AddLicenseState
    19: lindex {SSO_INSTALL_LICENSE_DATA_END "G...} 0
    19: lindex {SSO_INSTALL_LICENSE_DATA_END "G...} 1
    18: set context(SSO_INSTALL_LICENSE_DATA_END) GUI:LicenseDataEnd
    19: lindex SSO_INSTALL_MULTIPLE_PATCH_CANDIDATES_ST... 0
    19: lindex SSO_INSTALL_MULTIPLE_PATCH_CANDIDATES_ST... 1
    18: set context(SSO_INSTALL_MULTIPLE_PATCH_CANDI... PatchMultiTargetStart
    19: lindex {SSO_INSTALL_MULTIPLE_PATCH_CANDIDATE ...} 0
    19: lindex {SSO_INSTALL_MULTIPLE_PATCH_CANDIDATE ...} 1
    18: set context(SSO_INSTALL_MULTIPLE_PATCH_CANDI... PatchMultiTarget
    19: lindex SSO_INSTALL_MULTIPLE_PATCH_CANDIDATES_EN... 0
    19: lindex SSO_INSTALL_MULTIPLE_PATCH_CANDIDATES_EN... 1
    18: set context(SSO_INSTALL_MULTIPLE_PATCH_CANDI... GUI:PatchMultiTargetEnd
    19: lindex {INSTALL_DISKSPACE_ERROR_START DiskSpace...} 0
    19: lindex {INSTALL_DISKSPACE_ERROR_START DiskSpace...} 1
    18: set context(INSTALL_DISKSPACE_ERROR_START) DiskSpaceErrorStart
    19: lindex {INSTALL_INSUFFICIENT_DISKSPACEDiskSpac...} 0
    19: lindex {INSTALL_INSUFFICIENT_DISKSPACEDiskSpac...} 1
    18: set context(INSTALL_INSUFFICIENT_DISKSPACE) DiskSpaceErrorSpace
    19: lindex {INSTALL_INSUFFICIENT_INODES DiskSpaceEr...} 0
    19: lindex {INSTALL_INSUFFICIENT_INODES DiskSpaceEr...} 1
    18: set context(INSTALL_INSUFFICIENT_INODES) DiskSpaceErrorInodes
    19: lindex {INSTALL_DISKSPACE_ERROR_END GUIiskSpa...} 0
    19: lindex {INSTALL_DISKSPACE_ERROR_END GUIiskSpa...} 1
    18: set context(INSTALL_DISKSPACE_ERROR_END) GUIiskSpaceErrorEnd
    19: lindex {UNLOAD_UTIL_BEGIN_NOTICE "GUI:Be...} 0
    19: lindex {UNLOAD_UTIL_BEGIN_NOTICE "GUI:Be...} 1
    18: set context(UNLOAD_UTIL_BEGIN_NOTICE) GUI:BeginNotice
    19: lindex {UNLOAD_UTIL_FILE_RENAMED "GUI:Fi...} 0
    19: lindex {UNLOAD_UTIL_FILE_RENAMED "GUI:Fi...} 1
    18: set context(UNLOAD_UTIL_FILE_RENAMED) GUI:FileRenamed
    19: lindex {UNLOAD_UTIL_UNLINK_FAILED "GUI:Un...} 0
    19: lindex {UNLOAD_UTIL_UNLINK_FAILED "GUI:Un...} 1
    18: set context(UNLOAD_UTIL_UNLINK_FAILED) GUI:UnlinkFailed
    19: lindex {UNLOAD_UTIL_END_NOTICE "GUI:En...} 0
    19: lindex {UNLOAD_UTIL_END_NOTICE "GUI:En...} 1
    18: set context(UNLOAD_UTIL_END_NOTICE) GUI:EndNotice
    19: lindex {UNLOAD_UTIL_PCT_DONE "GUI:Ut...} 0
    19: lindex {UNLOAD_UTIL_PCT_DONE "GUI:Ut...} 1
    18: set context(UNLOAD_UTIL_PCT_DONE) GUI:UtilIgnoreMessage
    19: lindex {UNLOAD_UTIL_MISSED_FILES "GUI:Mi...} 0
    19: lindex {UNLOAD_UTIL_MISSED_FILES "GUI:Mi...} 1
    18: set context(UNLOAD_UTIL_MISSED_FILES) GUI:MissedFilesError
    19: lindex {UNLOADMGR_UNLOAD_COMP_DONE "G...} 0
    19: lindex {UNLOADMGR_UNLOAD_COMP_DONE "G...} 1
    18: set context(UNLOADMGR_UNLOAD_COMP_DONE) GUI:UnloadComponentComplete
    19: lindex {PKGPICKER_PICK_CALL_BROWSER "GUI:...} 0
    19: lindex {PKGPICKER_PICK_CALL_BROWSER "GUI:...} 1
    18: set context(PKGPICKER_PICK_CALL_BROWSER) GUI:BrowseMedia
    19: lindex {WSERVER_TERM_BEGIN_PROG "G...} 0
    19: lindex {WSERVER_TERM_BEGIN_PROG "G...} 1
    18: set context(WSERVER_TERM_BEGIN_PROG) GUI:TerminalEmulatorBegin
    19: lindex {CUSTOM_UTIL_PROBLEM "GUI:Install...} 0
    19: lindex {CUSTOM_UTIL_PROBLEM "GUI:Install...} 1
    18: set context(CUSTOM_UTIL_PROBLEM) GUI:InstallHandleUtilProblem
    19: lindex {CUSTOM_UTIL_STEP "GUIispl...} 0
    19: lindex {CUSTOM_UTIL_STEP "GUIispl...} 1
    18: set context(CUSTOM_UTIL_STEP) GUIisplayStatusStep
    19: lindex {CUSTOM_UTIL_DETAIL "GUIisplay...} 0
    19: lindex {CUSTOM_UTIL_DETAIL "GUIisplay...} 1
    18: set context(CUSTOM_UTIL_DETAIL) GUIisplayStatusDetail
    19: lindex {SSO_REMOVAL_BEGIN_PATCHED_COMPONENT "...} 0
    19: lindex {SSO_REMOVAL_BEGIN_PATCHED_COMPONENT "...} 1
    18: set context(SSO_REMOVAL_BEGIN_PATCHED_COMPON... StartRemovePatchedErrors
    19: lindex {SSO_REMOVAL_COMPONENT_PATCH "...} 0
    19: lindex {SSO_REMOVAL_COMPONENT_PATCH "...} 1
    18: set context(SSO_REMOVAL_COMPONENT_PATCH) RemovePatchedError
    19: lindex {SSO_REMOVAL_END_PATCHED_COMPONENT "...} 0
    19: lindex {SSO_REMOVAL_END_PATCHED_COMPONENT "...} 1
    18: set context(SSO_REMOVAL_END_PATCHED_COMPONEN... GUI:EndRemovePatchedErrors
    19: lindex {SSO_REMOVAL_BEGIN_PATCHES_ON_TOP "...} 0
    19: lindex {SSO_REMOVAL_BEGIN_PATCHES_ON_TOP "...} 1
    18: set context(SSO_REMOVAL_BEGIN_PATCHES_ON_TOP... StartPatchOnTopErrors
    19: lindex {SSO_REMOVAL_PATCH_ON_TOP "...} 0
    19: lindex {SSO_REMOVAL_PATCH_ON_TOP "...} 1
    18: set context(SSO_REMOVAL_PATCH_ON_TOP) PatchOnTopError
    19: lindex {SSO_REMOVAL_END_PATCHES_ON_TOP "...} 0
    19: lindex {SSO_REMOVAL_END_PATCHES_ON_TOP "...} 1
    18: set context(SSO_REMOVAL_END_PATCHES_ON_TOP) GUI:EndPatchOnTopErrors
    19: lindex {INSTALL_UTIL_NUM_COMPONENTS "GUI:...} 0
    19: lindex {INSTALL_UTIL_NUM_COMPONENTS "GUI:...} 1
    18: set context(INSTALL_UTIL_NUM_COMPONENTS) {GUI:CalculateProgressTable CALCULATE}
    19: lindex {ERROR "GUI:ErrorHandleFatalErr...} 0
    19: lindex {ERROR "GUI:ErrorHandleFatalErr...} 1
    18: set context(ERROR) {GUI:ErrorHandleFatalError INSTALL}
    19: lindex {SSO_EXPORT_RENAME_WARN GUI:EnableRenameW...} 0
    19: lindex {SSO_EXPORT_RENAME_WARN GUI:EnableRenameW...} 1
    18: set context(SSO_EXPORT_RENAME_WARN) GUI:EnableRenameWarning
    19: lindex {ENABLEMGR_UTIL_RENAME_WARN GUI:EnableRen...} 0
    19: lindex {ENABLEMGR_UTIL_RENAME_WARN GUI:EnableRen...} 1
    18: set context(ENABLEMGR_UTIL_RENAME_WARN) GUI:EnableRenameWarning
    19: lindex {ENABLEMGR_UTIL_SCRIPT_WARN GUI:EnableScr...} 0
    19: lindex {ENABLEMGR_UTIL_SCRIPT_WARN GUI:EnableScr...} 1
    18: set context(ENABLEMGR_UTIL_SCRIPT_WARN) GUI:EnableScriptWarning
    19: lindex SSO_INSTALL_UTIL_NOT_COMPLETED_PHASE_WAR... 0
    19: lindex SSO_INSTALL_UTIL_NOT_COMPLETED_PHASE_WAR... 1
    18: set context(SSO_INSTALL_UTIL_NOT_COMPLETED_P... GUI:EnableNotCompletedPhaseWarning
    19: lindex {INSTALL_VERIFY_START_ERRORS {GUI:StartVe...} 0
    19: lindex {INSTALL_VERIFY_START_ERRORS {GUI:StartVe...} 1
    18: set context(INSTALL_VERIFY_START_ERRORS) {GUI:StartVerifyErrors ENABLE}
    19: lindex {INTALL_VERIFY_ERROR GUI:HandleVerifyErro...} 0
    19: lindex {INTALL_VERIFY_ERROR GUI:HandleVerifyErro...} 1
    18: set context(INTALL_VERIFY_ERROR) GUI:HandleVerifyErrors
    19: lindex {INSTALL_VERIFY_END_ERRORS GUI:EndVerifyE...} 0
    19: lindex {INSTALL_VERIFY_END_ERRORS GUI:EndVerifyE...} 1
    18: set context(INSTALL_VERIFY_END_ERRORS) GUI:EndVerifyErrors
    19: lindex {ENABLEMGR_UTIL_DONE {GUI:EnableDone NOWI...} 0
    19: lindex {ENABLEMGR_UTIL_DONE {GUI:EnableDone NOWI...} 1
    18: set context(ENABLEMGR_UTIL_DONE) {GUI:EnableDone NOWINDOW}
    [eof]
    .................................................. ........

    So the HUNG custom never gets to "UIComm:MsgCallBack Session0 file10"

    This seemed reasonable to show too...
    .................................................. ........
    # grep StartCustomContext custom.trace.log.hang.reg* | grep -v proc

    custom.trace.log.hang.reg:11: StartCustomContext {\n {SCO_CUST_MAIN_DATA_BASE_OPENED...}
    custom.trace.log.hang.reg:16: StartCustomContext {\n {BROWSEMGR_BROWSE_CONTENTS "GU...}
    custom.trace.log.hang.reg:15: StartCustomContext {{INSTALL_MEDIA_SELECT_DEVICE "...}

    custom.trace.log.nohang.noreg:11: StartCustomContext {\n {SCO_CUST_MAIN_DATA_BASE_OPENED...}
    custom.trace.log.nohang.noreg:16: StartCustomContext {\n {BROWSEMGR_BROWSE_CONTENTS "GU...}
    custom.trace.log.nohang.noreg:15: StartCustomContext {{INSTALL_MEDIA_SELECT_DEVICE "...}
    custom.trace.log.nohang.noreg:16: StartCustomContext {\n {BROWSEMGR_BROWSE_CONTENTS "GU...}
    .................................................. ........

    Log seems to be confirming the behavior, hang at INSTALL_MEDIA_SELECT_DEVICE.

    Brings me back to my original question: If TCL is going to pop up the list
    of INSTALL_MEDIA_SELECT_DEVICEs, where does it get the list from? (and
    what's happening in that "17: foreach msg INSTALL_MEDIA_SELECT_DEVICE").

    And, given a sysRegistry (even an empty one), is something in
    INSTALL_MEDIA_SELECT_DEVICE causing an infinite loop, or empty, or
    otherwise corrupted list, or similar? (ie. no popup menu = no callback?)

    -Rob

    --
    Robert Weiner / Programming Plus
    Hardware & Software Consulting

+ Reply to Thread