Subject: Please help me with my funky A2000 config...
To: None <amiga@NetBSD.ORG>
From: Brian Brennan <bbrennan@WPI.EDU>
List: amiga
Date: 04/22/1995 04:34:44
From: bbrennan (Brian Brennan)
To: amiga@NetBSD.org
Subject: Please help me with my funky A2000 config...


I have an Amiga 2000, GVP 030/882/50Mhz, 8 MB 32Bit Fast at $1000000,
with an IDE drive on it that I use to boot my amiga. (This 030 is not
the EC030 by the way)

Also, I have a GVP A4008 Scsi card, with 2MB 24BitDMA RAM at $200000.
I have had problems with this card and DMA in the past, but I am not
sure if that is the problem.  On the SCSI bus I have a Seagate
11200N 1.2 Gig SCSI drive.

I partitioned it as 570MB FFS Amiga, 12MB BSDR, 64MB BSDS, 350MB BSDU,
following the directions in the FAQ to the letter.  (I've double checked
three times now...)

Ok now that the formalities are out of the way...

I am trying to install the root partition by using the boot and
install images that came with the distribution. I can get to the part
where it says 'root device>', to which I respond 'fd0', but then
whatever happens next is completely random.  Sometimes it hangs,
sometimes it gets to the shell path request, sometimes it gets past
that and gives me a bunch of garbled-looking 'vmm_fault' messages.
Any idea what I can do to prevent this?

In order to get my piece of crap GVP 4008-SCSI card to work under AmigaDOS,
I spent some 2 weeks trying to tinker with it to get it to run on my
system.  Eventually, on a whim, I set the DMA Mask to 0x17ffffff (hey I was
desperate) and it actually started working.  Notice that the 'gtsc0' at
'scsibus0' did recognize my drive correctly, however it reported dmamask at
0xffffff rather than the actual dmamask, which I believe should be
0x17ffffff.  I find this odd since I used HDToolBox and set them all to
dmamask of 0x17ffffff.  (grumble)

If this is the problem (which I have a hunch it might be) can anyone
tell me how to fix it?  Thanks.  Also, as a related side note, if anyone
out there wants to trade their garden variety C-2091 to me for my GVP-4008
PLEASE drop me some mail...  I'll even give you the simms on it.  (a $100
value right there!  =] )

Here's a transcript of a typical boot session:

----------------------------------------------------------------------

Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All Rights Reserved.

NetBSD 1.0 (GENERIC) #0: Fri Oct 21 05:32:36 EDT 1994
    chopps@water.umich.edu:/exp/NetBSD-current/src/sys/arch/amiga/compile/GENERIC

Amiga 500/2000 (m68030 CPU/MMU m6882 FPU)
real mem=8388608 (1024 pages)
avail mem=6742016 (823 pages)
using 64 buffers containing 524288 bytes of memory
memory segment 0 at 01000000 size 00800000
memory segment 0 at 00200000 size 00200000
memory segment 0 at 00000000 size 00100000
mainbus0 (root)
clock0 at mainbus0: system hz 100 hardware hz 715909
ser0 at mainbus0: input fifo 512 output fifo 32
par0 at mainbus0
kbd0 at mainbus0
grfcc0 at mainbus0
grf0 at grfcc0: width 640 height 400 colors 4
ite0 at grf0: rows 50 cols 79 repeat at (30/100)s next at (10/100)s has keyboard
fdc0 at mainbus0: dmabuf pa 0xe3030
fd0 at fdc0: 3.5dd 80 cyl 2 head 11 sec [9 sec], 512 bytes/sec
ztwobus0 at mainbus0: mem 0x02bfc000-0x02dfbfff
board at ztwobus0 rom 0xe90000 man/pro 2017/13 not configured
gvpbus0 at ztwobus0 rom 0xea0000 man/pro 2017/11
gtsc0 at gvpbus0: dmamask 0xffffff bounce pa 0x3f0000 maxdma 65536
scsibus0 at gtsc0
gtsc0 targ 0 lun 0: <SEAGATE ST11200N        8240> SCSI2 direct fixed
sd0 at scsibus0: 1005MB, 1872 cyl, 15 head, 73 sec, 512 bytes/sec
le0 at ztwobus0 rom 0xeb0000 man/pro 514/112
leo: hardware address 00:80:10:00:05:bf
rootdevice> fd0
2 mice configured
10 views configured
WARNING: no swap space found
Apr 21 17:20:41 init: /etc/spwd.db: No such file or directory
Enter pathname of shell or RETURN for sh:
erase ^?, werase ^W, kill ^U, intr ^C

vm_fault(e4000, 30a000, 1, 0) -> 1
  type 8, code [mmu,,ssw]: 401074d
trap type 8, code = 401074d, w = 30a5d0
pid = 7, pc = 000A65AE, ps = 2004, sfc = 0001, dfe = 0001
Rpanic: kernel jump to zero
Stopped at       0x8:    jmp     0x400.w

----------------------------------------------------------------------

At this point I should point out that this is one of the cleaner crashes
that NetBSD has given me - it does crash each time, but it's never got the
same output twice.  It consistently gets to '10 views configured' but after
that it is anybody's guess.

--> Brian Brennan (bbrennan@wpi.edu)
    "Oh my GOD!  It's a small signature!"