Subject: hanging while booting first time into NetBSD GENERIC-24
To: , , <unix@jann.com>
From: Jann Linder <jann@jann.com>
List: port-mac68k
Date: 04/08/2000 10:29:29
I am attempting to install NetBSD onto a [DONT LAUGH]  PowerBook 520
36MB/500MB hard drive.

I have run the installer and installed base.tgz and
netbsd.GENERIC--24.tar.gz using NetBSD/Mac68K installer.  SINCE there is no
instructions on WHAT else to install, This is all I have done.

I am using Booter 1.11.3 with system 7.5 Network system disk (Only chooser,
network and appletalk extensions)

My Hard drive is at SCSI0 /dev/sda
My Mac Partition info takes /dev/sda0-7 (with the actual HFS partition on
/dev/sda7 and my root partition for BSD on /dev/sda8 and swap on /dev/sda9)

My hard drive is a(n) IBM DHAS-2540 500 MB

Anyone got any idea why I am receiving this after getting the normal BSD
screen full of info?

scsibus0:  waiting 2 seconds for devices to settle

The system then LOCKS!

Any help wouldbe GREATLY appreciated!

TIA:

Jann

Here is the output from the Application called NETBSD ROM:
The Mac ROM values needed by NetBSD/mac68k for this Mac are:

/*
 * Vectors sniffed out for Unknown, a MACH_CLASS?? machine
 *  Zero values are not required by NetBSD for this system, but values shown
as
 *   "Not_Found" must be provided before NetBSD can hope to run.  The values
 *    shown in parenthesis in the comment field are thought to be machine
 *    independent and valid for this system based on the ROM Version ID.
 */
{                /* ?? */
    "Unknown ROMs",    /* Gestalt Id: 0 */
    (caddr_t) 0x400b2efc,   /*              ADB interrupt */
    (caddr_t) Not_Found,    /*              PM ADB interrupt */
    (caddr_t) 0x400b2e86,   /*              ADBBase + 130 interupt */
    (caddr_t) 0x4000a360,   /* (0x4000a360) CountADBs */
    (caddr_t) 0x4000a37a,   /* (0x4000a37a) GetIndADB */
    (caddr_t) 0x4000a3a6,   /* (0x4000a3a6) GetADBInfo */
    (caddr_t) 0x4000a3ac,   /* (0x4000a3ac) SetADBInfo */
    (caddr_t) 0x4000a752,   /* (0x4000a752) ADBReInit */
    (caddr_t) 0x4000a3dc,   /* (0x4000a3dc) ADBOp */
    (caddr_t) Not_Found,    /*              PMgrOp */
    (caddr_t) Not_Found,    /* (0x4000c05c) WriteParam */
    (caddr_t) 0x4000c086,   /* (0x4000c086) SetDateTime */
    (caddr_t) Not_Found,    /* (0x4000c5cc) InitUtil */
    (caddr_t) 0x4000b186,   /* (0x4000b186) ReadXPRam */
    (caddr_t) 0x4000b190,   /* (0x4000b190) WriteXPRam */
    (caddr_t) 0x400b3c08,   /*              jClkNoMem */
    (caddr_t) 0x4000a818,   /* (0x40001818) ADBAlternateInit */
    (caddr_t) 0x40009ae6,   /* (0x40014800) Egret */
    (caddr_t) 0x400147c4,   /*              InitEgret */
    (caddr_t) 0x400a7a5c,   /*              ADBReInit_JTBL */
    (caddr_t) 0x4007eb90,   /* (0x4007eb90) ROMResourceMap List Head */
    (caddr_t) 0x4001c406,   /* (0x4001c406) FixDiv */
    (caddr_t) 0x4001c312,   /* (0x4001c312) FixMul */
},

/*
 * This machine is of an unknown Class and should be defined as follows.
 * The following information is needed to properly classify this system
 *  for processing I/O.  This goes into the "setmachdep()" routine
 *  located in the "machdep.c" source file.
 */
 case MACH_CLASS##
   VIA2 = 0x1;
   IOBase = 0x50f00000;
   Via1Base = (volatile u_char *) IOBase;
   mac68k_machine.has_disk = unknown; /* No idea what this disk is */
   mac68k_machine.sccClkConst = 115200;
   via_reg(VIA1, vIER) = 0x6f;  /* disable VIA1 int */
   via_reg(VIA2, rIER) = 0x7f;  /* disable RBV int */
   break;

/*
 * The following information is needed to setup the I/O Base addresses
 *  pointing to the appropiate memory mapped hardware on this system.
 * This information goes into the "mac68k_set_io_offsets(base)" routine
 *  located in the "machdep.c" source file.
 */
 case MACH_CLASS##
   Via1Base = volatile u_char *) base;
   sccA = (volatile u_char *) base + 0x4000;
   ASCBase = (volatile u_char *) base + 0x14000;
   SCSIBase = base;
   break;

This is a 68k system using a 68040 CPU, NoFPU, 68040 MMU
Gestalt Manager reports hardware attributes (0x0118489b) of:
   VIA1 at 0x50f00000
   VIA2 at 0x50f02000
   ASC - Apple Sound Chip at 0x50f14000
   SCC  at 0x50f04000
   Internal disk can't be determined.  Please help out and send this
      printout with a machine description to rnestor@metronet.com
   Capable of soft power off
   Universal ROM version 0x067c
Basic hardware required for NetBSD/mac68k is present, but the following
 things might be problems that need to be considered:
    PM ADB interrupt address is required
    PMgrOp address is required