Subject: Re: 1.6RC1 has some install problems....
To: Dr. John Refling <refling@comet.lbl.gov>
From: Brian A. Seklecki <lavalamp@spiritual-machines.org>
List: port-sparc
Date: 08/23/2002 19:07:52
On Tue, 20 Aug 2002 @ 7:05pm (-0400), Brian A. Seklecki wrote:

BAS> On Tue, 20 Aug 2002 @ 11:24am (-0700), Dr. John Refling wrote:
BAS>
BAS> DJR> I am doing a fresh install via the serial console which is perhaps
BAS> DJR> why others have not seen these two problems:
BAS> DJR>
BAS> DJR> First, sysinst does not ask if you want to use the GENERIC or the
BAS> DJR> GENRIC_SCSI3 arrangements, thus /netbsd is left as a symbolic link
BAS> DJR> pointing to nowhere (well, to netbsd_GENERIC, which is never
BAS> DJR> extracted).  The system as installed is unbootable.  One must manually
BAS> DJR> extract kern-GENERIC.tgz (or netbsd_GENERIC.gz).
BAS>
BAS>
BAS> cool...thanks, i mentioned this in a post but no one responded.  i'll check
BAS> to the src to sysinst on sparc later tonight after the moon comes up >:}.
BAS> it's there but not enabled by default. strangeness.  insanity.

looking into this, in arch/sparc/menus.md.en, for example, the following exists:

menu md_distcustom, x=26, y=5, exit, title "Selection toggles inclusion";
        display action { show_cur_distsets (); };
        option  "Kernel (GENERIC)",      action { toggle_getit (0); };
        option  "Kernel (GENERIC_SCSI3)", action { toggle_getit (1); };
        option  "Kernel (GENERIC_SUN4U)", action { toggle_getit (2); };
        option  "Base",                  action { toggle_getit (3); };
        option  "System (/etc)",         action { toggle_getit (4); };
        option  "Compiler Tools",        action { toggle_getit (5); };
        option  "Games",                 action { toggle_getit (6); };
        option  "Online Manual Pages",   action { toggle_getit (7); };
        option  "Miscellaneous",         action { toggle_getit (8); };
        option  "Text Processing Tools", action { toggle_getit (9); };
        option  "X11 base and clients",  action { toggle_getit (10); };
        option  "X11 fonts",             action { toggle_getit (11); };
        option  "X11 servers",           action { toggle_getit (12); };
        option  "X contrib clients",     action { toggle_getit (13); };
        option  "X11 programming",       action { toggle_getit (14); };
        option  "X11 Misc.",             action { toggle_getit (15); };

...in util.c:

show_cur_distsets()
{
        distinfo *list;

        msg_display(MSG_cur_distsets);
        msg_table_add(MSG_cur_distsets_header);
        list = dist_list;
        while (list->name) {
                msg_table_add(MSG_cur_distsets_row, list->desc,
                    list->getit ? msg_string(MSG_yes) : msg_string(MSG_no));
                list++;
        }
}

...so the problem exists in however this table is getting propulated.

I'll have a look at net.c, but i'm sure it's something obvious with msg_string.
-lava

BAS>
BAS> it's like someone assumes you're going to 'custom' instead of 'select
BAS> componets'
BAS>
BAS> l8r
BAS> -lava
BAS>
BAS> DJR>
BAS> DJR> The sparc is different from other architectures in that it has this
BAS> DJR> choice to make... does sysinst on the sparc handle this???
BAS> DJR>
BAS> DJR> Second, choosing vt100 as the terminal type causes a core dump in
BAS> DJR> sysinst about 50% of the time.  It will work say 10 times in a row,
BAS> DJR> then fail 10 times in a row.  Choosing vt52 worked, although I have
BAS> DJR> not tried that 10 times to see if there is a failure.  Memory tests
BAS> DJR> OK on the machine.
BAS> DJR>
BAS> DJR> I have submitted a problem report on the a while ago... PR/17522
BAS> DJR>
BAS>
BAS> later -           | _BonaFide[] = { coder, author, | /~\ The ASCII Ribbon
BAS> Brian A. Seklecki | problem solver, scholar, BOFH, | \ / Campaign Against
BAS>                   | vegetarian, runner, NetBSD     |  X  Exchange, Outlook
BAS>                   | advocate, spiritual machine }; | / \ & HTML Email
BAS>
BAS> PGP: 0111 4618 0111 4618 4AB2 24EB C853 6611 75C4 A91E A7A7 4973
BAS>

later -           | _BonaFide[] = { coder, author, | /~\ The ASCII Ribbon
Brian A. Seklecki | problem solver, scholar, BOFH, | \ / Campaign Against
                  | vegetarian, runner, NetBSD     |  X  Exchange, Outlook
                  | advocate, spiritual machine }; | / \ & HTML Email

PGP: 0111 4618 0111 4618 4AB2 24EB C853 6611 75C4 A91E A7A7 4973

"There are only two things infinite:  The universe, and human stupidity.  And I'm not to sure about the first one."  -Albert Einstein