Subject: Re: NetBSD/Sun3 status (it works partly)
To: Gordon W. Ross <gwr@mc.com>
From: Harry Schreurs <HLS@oce.nl>
List: port-sun3
Date: 12/16/1994 17:56:06
Hi Gordon,

I have problems compiling .../compat/sunos/sunos_misc.c using GCC 2.6.1.

This is the error message I got:

gcc -O  -c -nostdinc -I../xinc -I. -I../.. -I../../../.. -I../../../../sys -
I../../../../arch -DNEWCONFIG -DFPCOPROC -DCOMPAT_43 -DTCP_COMPAT_42 -
DMACHINE_NONCONTIG -DSUN3_50 -DSUN3_60 -DTIMEZONE="0x12c" -DDST="2" -
DSWAPPAGER -DVNODEPAGER -DDEVPAGER -DKTRACE -DDDB -DSYMTAB_SPACE="0x157c0" -
DNFSSERVER -DNFSCLIENT -DFFS -DINET -DCOMPAT_SUNOS -DCOMPAT_09 -
DCONTEXT_DEBUG -DPMAP_DEBUG -DEXEC_DEBUG -DDIAGNOSTIC -DSCSIDEBUG -DKERNEL -
Dmc68020 -Dsun3  ../../../../compat/sunos/sunos_misc.c
../../../../compat/sunos/sunos_misc.c:506: ANSI C requires a named argument 
before `...'
*** Error code 1

Stop.

The following fragment of code is causing this:

    /*
     * XXX: This needs cleaning up.
    */
    int
    sunos_auditsys(...)
    {
        return 0;
    }

Can you look into this?

Occasionally I got this message on the console:

    pid 67: kernel format exception

Do you know what's going on?

Apart from this, everything seems to be OK.
No crashes of the kernel anymore when in single user mode.
It seems that you finally solved the SEGV problem. Great!
Also the BW display can be used a the console.

When switching to multi-user mode I encountered the
following problem:

    It's impossible to login into the system!
    I tried to set the password to something known value
    using one of the two following methods:

    passwd root

    ed master.passwd
    pwd_mkdb

    However I never succeeded in doing a successful login.
    I only was successfull in doing this using ftp.

Is this because I miss certain crypt-related code?

Besides this I have the following minor problem:

    Pressing 'L1-A' drops me into the debugger.

    Stopped at  _Debugger+0x6:  unlk    a6
    db>

    At this point NetBSD doesn't respond to any keys pressed on
    the keyboard!

    When I start NetBSD with -d, this also gets me into the debugger.
    In this case everything works fine!

Any clues?


Regards,

Harry Schreurs


------------------------------------------------------------------------------
H.L Schreurs                                            Email: hls@oce.nl
Business Unit Printing Systems                          Phone: +31 77 593775
Oce Nederland B.V.                                      Fax:   +31 77 595434
The Netherlands
   
            `Copying and printing with the simple touch of genius' 
------------------------------------------------------------------------------



      ###########################################################
      #  This note does not necessarily represent the position  #
      #     of Oce-Nederland B.V. Therefore no liability or     #
      #      responsibility for whatever will be accepted.      #
      ###########################################################