Subject: Booting help on PB180?
To: None <port-mac68k@NetBSD.ORG>
From: Benjamin Coburn <btcoburn@ctdnet.acns.nwu.edu>
List: port-mac68k
Date: 10/01/1996 21:54:08
     Hello all. I'm trying to get MacBSD 1.2 to run on my PowerBook 180.  
So far, I have partitioned and mkfs'ed a file system on my external 
Syquest EZ135 (SCSI id 4).  (a 20MG Swap, and a 100MG Root&Usr, with the 
two escatology partitions)  I have the booter (v1.9.3b3) on my internal drive.
I also have installed (with the mac-side installer): base12, etc12, man12, 
netbsd12, and text12.  (as well as "building the devices")  My PB180 has 
8MG of RAM and I can connect an external moniter to it if I need to.  When 
I try to boot MacBSD it gets as far as printing the third line of text after
it clears the screen (reading "Getting mapping from MMU.") and then hangs.  
I have not tryed booting it with the external moniter connected yet, but I 
think it would do the same thing.  Below I'v included my most recent bootlog.  
The "..."'s indicate where I'v cliped repetative things to make it a little
shorter. Seeing as how I'v never tryed this before I don't know what I 
should be looking for. I would grately appreciate any comments and 
suggestion that more expirienced eyes can give.  -btc

PS. I have a tendency to forsake spelling/grammer for content/meaning...
...I hope that this does not bother anyone or interfear with the content.  


Logging to bootlog
Booting...reading partition # 1
reading partition # 2
reading partition # 3
Found partition 3
name 'A/UX Root'
type 'Apple_UNIX_SVR2'
blocks in map 5, start block 41756, length 200797
Magic from fs: 72020
Magic from .h: 72020
get_diinode(2) = sector 64
read_bsd_block(): Reading block 72
*100% done
get_diinode(2) = sector 64
"." (inode 2)  512 bytes
get_diinode(2) = sector 64
".." (inode 2)  512 bytes
get_diinode(3) = sector 64
"lost+found" (inode 3)  8192 bytes
get_diinode(192) = sector 1664
"proc" (inode 192)  512 bytes
get_diinode(384) = sector 3264
"etc" (inode 384)  1024 bytes
get_diinode(576) = sector 4864
"kern" (inode 576)  512 bytes
get_diinode(768) = sector 6464
"dev" (inode 768)  2560 bytes
get_diinode(193) = sector 1664
"usr" (inode 193)  512 bytes
get_diinode(4) = sector 65
".cshrc" (inode 4)  629 bytes
get_diinode(5) = sector 65
".profile" (inode 5)  138 bytes
get_diinode(2688) = sector 22464
"root" (inode 2688)  512 bytes
get_diinode(2880) = sector 24064
"var" (inode 2880)  512 bytes
get_diinode(6) = sector 65
"netbsd" (inode 6)  919896 bytes
First sector = 80
read_bsd_block(): Reading block 856
*sizeof struct exec = 32
read_bsd_block(): Reading block 80
*Magic = NMAGIC (read-only text)
MID_M68K executable: entry 0x3356.
Allocated 1101756 bytes.
768516 (0x0)read_bsd_block(): Reading block 80
read_bsd_block(): Reading block 104
...
*read_bsd_block(): Reading block 3120
*+57516read_bsd_block(): Reading block 3120
read_bsd_block(): Reading block 3144
...
*read_bsd_block(): Reading block 3864
*+99064+45588read_bsd_block(): Reading block 3864
read_bsd_block(): Reading block 3888
*read_bsd_block(): Reading block 3912
...
*read_bsd_block(): Reading block 5248
+48244
read_bsd_block(): Reading block 5248
read_bsd_block(): Reading block 5272
*read_bsd_block(): Reading block 5296
...
*read_bsd_block(): Reading block 5392
*
Set _boothowto to 0x2.
start address = 0x3356.
total kernel buffer space used = 1020464 (0xf9230).
The warm and fuzzy copycode() is at 0x000bcfd6
Hex dump of copycode():

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

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

from = 0x00450000, to = 0x00000000, len = 272384, entry = 0x00003356
  Bye-bye...
        So I sez to him...  The real way
        that it should be done is to...
Serial console flags = 0
Stripping video addr 0x60040000 'cause pmVersion = 0, not 4.

Set _mac68k_vrsrc_cnt to 0.

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

(the screen is cleared then...)
[preserving 93836 bytes of netbsd symbol tables]
Bootstrapping NetBSD/mac68k.
Getting mapping from MMU.
(then everything hangs....)


         **************************************************************
         *      ___     *             Benjamin T. Coburn              *
         *     <%,%>    *      "Insufficient DADA."  -Anonymous       *
         *     ('-')    *  Email:  btcoburn@ctdnet.acns.nwu.edu       *
         *     -"-"-    *  Packet: ke6kxk@ke6lw.#nocal.ca.usa.noam    *
         *  Web: http://ctdnet.acns.nwu.edu/~btcoburn/btcoburn.html   *
         **************************************************************