Subject: Booting a Quadra 840AV
To: None <port-mac68k@NetBSD.ORG>
From: None <redestb.es.>
List: port-mac68k
Date: 03/08/1997 18:10:27
Greetings,

I have been trying to boot NetBSD 1.2 on a Quadra 840AV for a few weeks
now, I have tried just about every option within my limited capabilities
to get it to boot, but I have not yet been able to achieve this.

Therefore, I would very much appreciate any help I can get in order to
get this system running.

Following is a brief synopsis of what I have done so far,. Although I
have tried just about every option below, I have basically only
encountered two results, which I will print following the description of
what I have done.

1=BA	I formatted a 340MB disk using silverlining. So far I have
partitioned it with A/UX Root (UNIX_SVR2), with and without Eschatology,
with and without Free UNIX Slice, with and without a Mac Partition, all
of these both under A/UX 3.0 and 2.0. Currently I have it partitioned
with a A/UX version 2.0 in the following manner:

287,608 k A/UX Root (UNIX_SVR2)
40,000 k Swap (UNIX_SVR2)
10,000 k Mac Partition

I have 32 MB of real RAM.

2=BA	I used Mkfs that installs a UFS 4.3 file system on the SCSI id that
has the A/UX partition.

3=BA	Using the "NetBSD/Mac Install Utility 1.1", I originally installed
only the NETBSD-12, BASE-12 & ETC-12 files, then I installed all the
files in the binary folder as well as the X11 files. When I was not
getting anywhere, I learned that the Generic-16 kernel is know to work
with the AV models, so I installed this one.

4=BA	Once this was finished, Using the "NetBSD/Mac68k Booter" versions
1.9.4 or 1.9.6 I attempted to boot the system. I used very option
available in the preference and booting setups, and I every time, I have
crashed.

While using the netbsd-12 kernel the console would write the following:

***************

Debugging at level 1.
Booting...Magic from fs: 72020
Magic from .h: 72020
100% done
"." (inode 2) 512 bytes
".." (inode 2) 512 bytes
"lost&found" (inode 3) 8192 bytes
"netbsd" (inode 4) 919896 bytes
sizeof struct exec =3D 32
magic =3D NMAGIC (read-only text)
MID_M68K executable: entry 0x3356
Allocated 1232828 bytes.
768516 (0x0)+57516+99064+45588+48244

Set _boothowto to 0x2.
start address =3D 0x3356.
total kernel buffer space used =3D 1020464 (0xf9230).
The warm and fuzzy copycode() is at 0x017317ba
Hex dump of copycode():

(0x017317ba)    4e      56      00      00      40      C0      00     =

40      07      00      46      C0      20      6E      00      08
(0x017317ca)    22      6E      00      0C      20      2E      00     =

10      22      D8      53      80      66      FA      2C      2E
(0x017317da)    00      1C      2E      2D      E3      AE      2A     =

2E      00      18      26      6D      E3      BE      24      6D
(0x017317Ea)    E3      B6      28      2D      E3      BA      28     =

6D      E3      B2      22      6D      E3      AA      93      EE
harry() is at 0x587c000
Hex dump of Harry(), our friend!
(...should be the same as copycode(), above...)

(0x00587c00)    4e      56      00      00      40      C0      00     =

40      07      00      46      C0      20      6E      00      08
(0x00587c10)    22      6E      00      0C      20      2E      00     =

10      22      D8      53      80      66      FA      2C      2E
(0x00587c20)    00      1C      2E      2D      E3      AE      2A     =

2E      00      18      26      6D      E3      BE      24      6D
(0x00587c30)    E3      B6      28      2D      E3      BA      28     =

6D      E3      B2      22      6D      E3      AA      93      EE

from =3D 0x0179e000, tp =3D 0x00000000, len =3D 305152, entry =3D 0x00003=
356
                Bye-ye...
                        So I sez to him...              The real way
                        that it should be done is to...
Serial console flags =3D 0

Set _mac68k_vrsrc_cnt to 0.

Set _mac68k-vrsrc_vec to {0x0   0x0     0x0     0x0     0x0     0x0    =

}.

************
I have the "Show dialog and wait for OK before booting." enabled,
therefore once I pressed "Boot", the machine would freeze.

While using the Generic-16 kernel, the console reads the same as the
above, the only difference is that when I press "Boot", instead of
immediately freezing, the screen turns white, numbers begin to scroll
very fast, it looks as though we are booting...then, oh no...something
is going wrong, the screen is scrolling the same sentence probably one
or two thousand times, the sentence states:

panic:	trap:	type 0xf,	code 0x0,	v	0x0--no	pcb

When it stops scrolling, the machine has frozen.

I have tried all of this with full, limited or no extensions, in color,
in B&W, with and without cache enabled.

I truly apologize for the length of my story, but I really need some
help, and I will very, very, very much appreciate anybody who could help
me.
 =

Thank you very much,

Ariel Rivas-Micoud