Subject: Classic II boot troubles
To: NetBSD Mailing List <port-mac68k@NetBSD.ORG>
From: David A. Gatwood <marsmail@globegate.utm.edu>
List: port-mac68k
Date: 10/15/1997 16:53:16
On Tue, 7 Oct 1997, Colin Wood wrote:

> David A. Gatwood wrote:
> > 
> > On Tue, 7 Oct 1997, Bill Studenmund wrote:
> > 
> > > > ...
> > > > Bootstrapping the pmap system
> > > > Pmap bootstrapped
> > > > Moving ROM Base from 0x40800000 to 0x1800000
> > > > Video address 0xf9000080 -> 0x28900080
> > > > (this is were Booter 1.9.5 hangs up, 1.8 continues)
> > 
> > Interesting.  I just tried a Classic II with GENERIC 44 (SBC), I believe,
> > and it hung right there, too.  Of course, there's almost a two year
> > difference in the build dates for those....  :-)  I assume no connection,
> > right?  What kernels do ppl have working on Classic II's?
> > 
> 
> The Classic II has not booted since the original intvid stuff was removed
> from -current.  There is no recent -current kernel which should boot this
> machine on navtive console, to the best of my knowledge.  It should boot
> just fine under a serial console, tho.

I tried serial console boot (with GENERICSBC #45).  Got the following:

NetBSD/mac68k console
[ preserving 314830 bytes of netbsd symbol table ]
Bootstrapping NetBSD/mac68k.
Getting mapping from MMU.
System RAM: 4161536 bytes in 1016 pages.
     Low = 0x0, high = 0x3f8000
  no internal video at address 0 -- videoaddr is 0xfee09a80.
Done.
Bootstrapping the pmap system.
Pmap bootstrapped.
Moving ROMBase from 0x40a00000 to 0x9f9000.
Video address 0xfee09a80 -> 0xbf9a80.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 1.2G (GENERICSBC) #45: Sat Oct  4 21:07:00 PDT 1997
    allen@c610:/usr/src/sys/arch/mac68k/compile/GENERICSBC
Apple Macintosh Classic II  (68030)
cpu: delay factor 48
real mem = 4161536
avail mem = 1101824
using 76 buffers containing 311296 bytes of memory
mrg: kernel has no ROM vectors for this machine!
adb: using serial console
mainbus0 (root)
obio0 at mainbus0
adb0 at obio0 (ADB event device)
asc0 at obio0: Apple Sound Chip
intvid0 at obio0: Internal Video
intvid0: 512 x 342, monochrome
grf0 at intvid0
ite0 at grf0 (minimal console)
sbc0 at obio0: options=1<PDMA>

I don't have a root partition yet, but I thought it would at least get to
the unable to mount root line... so there would seem to be more at work
here than just the video support (though it could easily be related, I
guess).  Booting serial console with the NetBSD12 kernel works up to the
panic: cannot mount root (since I haven't repartitioned yet).


Thoughts?
David

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/CC/FA/H/L/MC/M/MU/PA/TW d-@ s:>- a-- C++++>$ UBLAS*++++>$
P+?>$ L+++>$ !E--- W+++>$ N++(+++)>+++$ !o? K-? !w--- !O
M++>$ !V-- PS+>$ !PE- Y+>$ PGP+>$ t+++>$ 5+>++++$ !X- !R tv+>$
b++>$ !DI !D- G++(+++)>$ e>++++ h--! r--- !y-
------END GEEK CODE BLOCK------