[slackware-sparcdevel] mini-install.iso: SELECT menu dies

From: Phil Howard (phil@ipal.net)
Date: Mon May 28 2001 - 13:31:39 PDT


Is the list still working?

I got my CDROM working again. For some reason, while I had Solaris
installed on the harddrive, the CDROM would not work. Actually it
worked in Solaris for reading, but PROM would not boot from it. I'm
assuming Solaris booting up set something somewhere between the PROM
states and the drive states that messed up being able to boot from
the CDROM.

I also got real video working now. Turns out the serial port has a
problem somewhere and is not working correctly. I'll have to try
serial B something and see if that's OK.

Anyway, now that I can boot from CDROM, I burned a copy of the May
18 mini-install.iso and proceeded to try an install in normal video.
Everything looked OK until the package SELECT menu. In order to
capture what happened, I switched back to serial and tried it all
again. Here's what I saw:

In the SELECT menu, there were the 2 entries for sets A and N in a
2 row scroll box, plus 3 more garbled entries. The 5 entries are:

=============================================================================
 | | [X] A Base Linux system | |
 | | [X] N Networking (TCP/IP, UUCP, Mail, News) | |
 | | [ ] if [ | |
 | | [ ] = 1 | |
 | | [ ] 0 = | |
=============================================================================

Since the 2 proper packages were selected, I decided to go ahead anyway
and selected OK. Then it really hosed, spewing out:

=============================================================================
dialog version 0.3, by Savio Lam (lam836@cs.cuhk.hk).
  patched to version 0.4 by Stuart Herbert (S.Herbert@shef.ac.uk)
    cdialog (ComeOn Dialog!) version 0.9a by Pako (demarco_p@abramo.it)

*@ Display dialogs from shell scripts *

Usage: dialog <Common options> <Box options> { --and-widget <Common options> <Box options> }

Coommon options: <l options>
       [--backtitle <backtitle>] [--sleep <secs>] [--beep] [--beep-after]
       [--clear] [--begin <y> <x>] [--aspect <ratio>] [--print-size]
       [--print-maxsize] [--size-err] [--separate-output] [--cr-wrap]
       [--tab-len <n>] [--tab-correct] [--print-version] [--no-kill]
       [--title <title>]

Glo bal options: [-hadow] [--no-shadow] [--separate-widget "<str>"]

Box o<ptions:
  --ye <text> <height> <width>
  --msgbox <text> <height> <width>
  --infobox <text> <height> <width>
  --inputbox <text> <height> <width> [<init>]
  --textbox <file> <height> <width>
  --menu <text> <height> <width> <menu height> <tag1> <item1>...
  --checklist <text> <height> <width> <list height> <tag1> <item1> <status1>...
  --radiolist <text> <height> <width> <list height> <tag1> <item1> <status1>...
  --guage <text> <height> <width> <percent>
  --tailbox <file> <height> <width>
  --tailboxbg <file> <height> <width>

 (auto-size with height and width = 0. Maximize with height and width = -1)
 (global-auto-size if also menu_height/list_height = 0)
/usr/lib/setup/SeTPKG: 14: Syntax error: "then" unexpected
=============================================================================

So it obviously looks like the SELECT menu script is passing some garbage
to dialog, and that appears to be some of the code. So I'm guessing there
is an extra trailing backslash, or a line of missing dialog data.

I'll dig into it later. But I thought I'd pass this along right now just
to see if this is an old or new problem or whatever.

-- 
-----------------------------------------------------------------
| Phil Howard - KA9WGN |   Dallas   | http://linuxhomepage.com/ |
| phil-nospam@ipal.net | Texas, USA | http://phil.ipal.org/     |
-----------------------------------------------------------------



This archive was generated by hypermail 2b30 : Thu Sep 19 2002 - 11:00:03 PDT