Subject: Re: Booting a Performa 636
To: None <masami@fa2.so-net.or.jp>
From: William O Ferry <woferry@cmu.edu>
List: port-mac68k
Date: 04/04/1997 03:42:15
In message <199704040804.RAA00410@daikichi.my.domain>, Masami and Ken Nakata wr
ites:
>Anyway, since the file is a gzipped tar file, you should be able to
>install the kernel in it with Installer's "install" command/menu item,
>just like base12, etc.

	Okay, I got netbsd out of the tarred, gzipped, GENERIC-22 file.
At least it doesn't complain that it's a bad format, but it doesn't get much
farther.  Is there a better choice of kernels for a Performa 636?  I seem to
recall being pointed to this one before.

	Unfortunately, the Installer doesn't like my machine.  Probably because
I can't get Mkfs 1.4 to do anything with my Bernoulli 44 drive (it thinks it's
1.6GB, and won't change any partitions on it...  =(

	Anyhow, here's what the Booter says:
Logging to bootlog
Booting...sizeof struct exec = 32
Magic = NMAGIC (read-only text)
MID_M68K executable: entry 0x3382.
Allocated 1438440 bytes.
924892 (0x0)+62192+83260+157428+145132

Set _boothowto to 0x3.
start address = 0x3382.
total kernel buffer space used = 1373712 (0x14f610).
The warm and fuzzy copycode() is at 0x01066a0a
Hex dump of copycode():

(0x01066a0a) 4E 56 00 00 40 C0 00 40 07 00 46 C0 20 6E 00 08 
(0x01066a1a) 22 6E 00 0C 20 2E 00 10 22 D8 53 80 66 FA 2C 2E 
(0x01066a2a) 00 1C 2E 2D E3 B0 2A 2E 00 18 26 6D E3 C0 24 6D 
(0x01066a3a) E3 B8 28 2D E3 BC 28 6D E3 B4 22 6D E3 AC 93 EE 
harry() is at 0x11c5c00
Hex dump of Harry(), our friend!
(...should be the same as copycode(), above...)

(0x011c5c00) 4E 56 00 00 40 C0 00 40 07 00 46 C0 20 6E 00 08 
(0x011c5c10) 22 6E 00 0C 20 2E 00 10 22 D8 53 80 66 FA 2C 2E 
(0x011c5c20) 00 1C 2E 2D E3 B0 2A 2E 00 18 26 6D E3 C0 24 6D 
(0x011c5c30) E3 B8 28 2D E3 BC 28 6D E3 B4 22 6D E3 AC 93 EE 

from = 0x0106a000, to = 0x00000000, len = 356352, entry = 0x00003382
  Bye-bye...
        So I sez to him...  The real way
        that it should be done is to...
Serial console flags = 0

Set _mac68k_vrsrc_cnt to 0.

Set _mac68k_vrsrc_vec to {0x0 0x0 0x0 0x0 0x0 0x0 }.


At this point, the internal HD spins down, the Bernoulli unmounts,
and the machine locks (mouse doesn't move, doesn't respond to the 3
finger salute, etc, etc).  This is with System 7.5.3R2, 636 running
at 832x624 (tried both 256 and 2 colors), with and without extensions.
What should I try next?

	Thanks for the help so far, it's nice to finally be able to
make some progress...  =)
							Will