Subject: IIvx debug info...
To: None <macbsd-general@NetBSD.ORG>
From: Chris Kush <csk@asgard.eecs.nwu.edu>
List: macbsd-general
Date: 02/03/1995 13:49:25
	At the recommendation of the little red guy who lives inside my head,
I tried the kernel

	puma.bevd.blacksburg.va.us:/pub/<foo-path>/netbsd.kaplan

on my machine, a IIvx with a 14" Apple Color Display, Extended Keyboard II,
and standard Mac mouse.  The microphone was plugged in.  The serial port was
connected to the serial port of the Amiga 1200 I am using to write this.  I
use the Amiga's `Term' program to record serial boot echos like the one
included below.

	The IIvx has 5 Mb RAM, and a 230 MB HD.  It also has a 170 Mb fujitsu at
SCSI 3 - this is where netbsd10 is installed.  Extensions were disabled by
holding down shift during powerup, and the monitor was set to 1-bit depth.

	I used Booter version 1.6 at debug level 255.  It was set to boot in
single-use mode with serial boot echo and a serial console, through the modem
port.  The kernel was located in a 2Mb Mac partition on the Fujitsu.  Autosize
Memory was *not* checked, and Memory Size was set to 4 (four).

	The following is what came out the serial port:

[ preserving 83147 bytes of netbsd symbol table ]
DEBUG: Console initialized.
Low = 0x0, high = 0x400000
4194304 bytes available (1024 pages)
Log = 0xf9000000, Phys = 0xf9000000, Len = 0x6000000 (100663296)
get_mapping(): no internal video.
  Video address = 0x60b00000
  Weird mapping starts at 0x0
  Length = 0x0 (0) bytes
DEBUG: 68030 - MMU mapping parsed.
DEBUG: Got memory size as passed from Booter.
DEBUG: preparing new MMU context.
DEBUG: clearing TT registers...
DEBUG: about to set MMU control (hold your breath).
DEBUG: yay!  MMU enabled with new mapping.
DEBUG: MMU flushed.
DEBUG: calling pmap_bootstrap() ...
DEBUG: done.
DEBUG: invalidating TLB.
DEBUG: activating cache(s).
DEBUG: calling setmachdep().
mrg: ROM adbintr 0x40814912
mrg: ROM pmintr 0x00000000
mrg: OS trap 0x77 (CountADBs) = 0x4080a360
mrg: OS trap 0x78 (GetIndADB) = 0x4080a37a
mrg: OS trap 0x79 (GetADBInfo) = 0x4080a3a6
mrg: OS trap 0x7a (SetADBInfo) = 0x4080a3ac
mrg: OS trap 0x7b (ADBReInit) = 0x4080a752
mrg: OS trap 0x7c (ADBOp) = 0x4080a3dc
mrg: OS trap 0x7c (PMgrOp) = 0x00000000
DEBUG: done.
DEBUG: enabling interrupts.
DEBUG: done.
DEBUG: away we go!  (calling _main)
Copyright (c) 1982, 1986, 1989, 1991, 1993
       The Regents of the University of California.  All rights reserved.

NetBSD 1.0A (NOSUNOS) #44: Sat Dec 10 18:44:03 EST 1994
    briggs@puma:/bsdstuff/home/briggs/bsd/sys/arch/mac68k/compile/NOSUNOS
Apple Macintosh IIvx  (68030)
real mem = 4190208
avail mem = 1642496
using 76 buffers containing 311296 bytes of memory
mrg: 'Mac IIsi class ROMs' rom glue, tracing on (silent), debug on, verbose trap
s
mrg: start init
After setting globals
Allocating a pointer...
boom!boom!mrg: a supermrg: a super wd 0x6000 OS # 0x0 addr 0x0
unknown OS trap 0x6000, no trap address available
panic: mrg_aline_super()
trap type 2, code = 0, v = 0
pid = 0, pc = 0x00001322, ps = 0x00002000, sfc = 0x00000001, dfc = 0x00000001
Registers:
              0         1         2         3         4         5         6     
    7
dreg: 00000020 0000006e 0000006f 00000000 00000000 00000000 0000000c 0000000c
areg: 0000dd4a 000b8eb4 00002590 0008ad90 fffffe10 0049e4d8 fffffdb4 ffffcffc

Kernel stack (fffffd54):
fffffd54: 00000000  00000020  0000006e  0000006f  00000000  00000000  00000000  
0000000c 
fffffd74: 0000000c  0000dd4a  000b8eb4  00002590  0008ad90  fffffe10  0049e4d8  
fffffdb4 
fffffd94: ffffcffc  00000000  20000000  13220010  0008adc6  00000c00  00000001  
0000000f 
fffffdb4: fffffdd0  00071eea  00000001  0000000f  000afa70  000a13c8  ffffff68  
fffffdfc 
fffffdd4: 0008995a  0000000f  fffffe10  00000100  00006000  00000000  00000001  
0000000c 
fffffdf4: 0000000c  000155d8  fffffe5c  00001528  0000000f  00000000  00000000  
00000000 
fffffe14: 00000000  00000100  00006000  00000000  00000001  0000000c  0000000c  
50f04006 
fffffe34: 00000072  000155d8  000a13c8  ffffff68  0049e4d8  fffffe5c  ffffcffc  
00000000 
fffffe54: 20000007  1f9600bc  fffffe74  0001536e  00015328  00085fc1  fffffe80  
00000000 
fffffe74: fffffea4  00086092  00085fc1  00085f90  00085f6e  00006000  00000008  
00000001 
fffffe94: 00000002  00000000  000155d8  00066d90  ffffff1c  00086ac6  000a13c8  
fffffeb4 
fffffeb4: 00000400  00000000  00000008  00000001  00000002  00000000  0000000c  
0000000c 
fffffed4: 50f04006  a1e04000  000155d8  00066d90  ffffff68  0049e4d8  ffffff1c  
fffffef0 
fffffef4: 00000000  20000008  69940028  000867b6  00000400  00086489  00000124  
00000001 
ffffff14: 000155d8  00066d90  ffffff24  00080e5c  ffffff6c  000831e4  00082cc3  
0000004c 
ffffff34: 0004c000  00082cb3  00191000  0000000c  000ee041  000f0001  60b00000  
00000003 
panic: Illegal instruction
panic: Illegal instruction
panic: Illegal instruction
panic: Illegal instruction
panic: Illegal instruction
panic: Illegal instruction
panic: Illegal instruction
panic: Illegal instruction
panic: Illegal instruction
panic: Illegal instruction
panic: Illegal instruction
panic: Illegal instruction
panic: Illegal instruction
panic: Illegal instruction
panic: Illegal instruction
panic: Illegal instruction
panic: Illegal instruction
panic: Illegal instruction
panic: Illegal instruction
panic: Illegal instruction
panic: Illegal instruction
panic: Illegal instruction
panic: Illegal instruction
panic: Illegal instruction
panic: Illegal instruction
panic: Illegal instruction
panic: Illegal instruction
panic: Illegal instruction
panic: Illegal instruction
panic: Illegal instruction
panic: Illegal instruction


	I'm very excited -- I've never gotten this far before.  Or is this
very far?  I have not had any luck with the 'netbsd10.patched' kernel, which
was recommended to me by one IIvx user.  I have to assume the problem is video
- I have only internal, while he has a card with internal disconnected.  Which
reminds me - how does one disable internal video?  I tried unhooking the
monitor, setting the Booter to autoboot, and putting it in the Startup folder,
but nothing happened.  Do I have to pop out the VRAM SIMMs?



-- 
                  "A rolling fortress of sound in every bite!"

christopher s. kush					       csk@eecs.nwu.edu
                The floggings will continue until morale improves