Subject: The Centris almost boots
To: None <port-mac68k@netbsd.org>
From: Ken Hughes <hughes@interchange.ubc.ca>
List: port-mac68k
Date: 09/09/1999 23:20:13
I now begin an invocation for the mighty forces at NetBSD.org
... god or guru or daemon ... I request your aid.  
I am mortal and weak and probably just need a little clue.

In return, I shall make a contribution to thy greater purpose.
perhaps in documentation, if thy needs are served thereby.

I am just that [!] bloody close to getting NetBSD running up
and running on a Centris 650.


System Config =================

Centris 650 16Mb RAM, external SCSI=4, 2x CD,
and Mirror Portrait monitor on built-in video
(Sonic ethernet and 2nd NuBus video card present but unused).
Running System 7.1.3 off internal Quantum 250 at SCSI=2.
Running System 8 on external Conner 500 at SCSI=0.
Install NetBSD on external Quantum 750 at SCSI=4.


NetBSD/Mac68k Installer v1.16 ==============

(from ftp.netbsd.org/pub/NetBSD/arch/mac68k/installation/misc/)
reports  "Build Devices" success  and 
 sd2a: Root 'Root file system' at 96 size 502412
 sd2g: Usr 'NetBSD Usr' at 578454 size 800088
 sd2b: Swap 'Swap' at 502508 size 75946
 sd2d: HFS_PART 'MacOS' at 1378542 size 52975
 sd2e: Other (APPLE_FREE) 'Extra' at 1431517 size 1
 > mkdir /usr
 > mount /dev/sd2g /usr    [==> OK, stuff is all there, etc. ]
 > fstab force             [==> "Successfully created etc/fstab."]

 > ls sbin/init
   18260 -r-xr--r--    1        0   172032 Jun 29 21:27 sbin/init


Booting ===================

Using BSD/Mac68k Booter 1.11.4 with kernel from  ftp.netbsd.org/
   pub/NetBSD/arch/mac68k/binary/kernel/netbsd.GENERIC-6.tar.gz.
I also tried the kernel dated 99.05.09 from  ftp.NetBSD.ORG/
   pub/NetBSD/NetBSD-1.4/mac68k/binary/kernel/netbsd-GENERIC.gz.
Tried to boot (all extensions off) from Systems 7 and 8.
I don't have a verbatim report for the messages after the kernel 
is entered but pertinent stuff may be as follows:

  intvid0 640 x 870, monochrome
  grf0 at intvid0
  ite0 at grf0 (minimal console)

  probe (esp0:1:1) SENSE KEY illegal request, ASC/ASCQ not supported.
  ite @ grfl not configured   grf0 at mainbus

  macvid  640 x 480, monochrome
  grf1 at macvid0
  ite at grf1 not configured

  boot device sd2
  root on sd2a dumps on sd2b
  warning: no /dev/console
  init: not found
  panic: no init
  Stopped in init at   _Debugger+0x6: unlk a6
        dbg> print    111d82
        dbg> x        4e5e4e75

Messing with debug levels shows that GetGestalt (gestaltSysArchitecture)
(gestaltControlStripAttr), (gestaltDesktopPicturesAttr) and
(gestaltDisplayMgrAttr), etc. all variously fail.

The last debug level 1 and 2 msg is 
  Set _mac68k_vrsrc_vec to {0x0 0x0 0x0 0x0 0x0 0x0 }.

Any thoughts, orders, fixes, configs?  I'm dumb about this stuff.

I also would like to increase the font size on kernel mgs and send
them (not booter mgs) to a file, if that is reasonably easy to do.  ??

Your help is much appreciated.

Ken Hughes