Subject: Re: SCSI
To: None <thorpej@nas.nasa.gov>
From: Elmar Kolkman <kolkmae@la1.apd.dec.com>
List: port-hp300
Date: 01/27/1997 08:45:43
Hi again,
> On Thu, 23 Jan 1997 07:53:28 +0100 (CET) 
>  "Elmar Kolkman" <kolkmae@la1.apd.dec.com> wrote:
> 
>  > But I'm not sure anymore its the SCSI code. I've a 370 with 8 MUX cards. If
>  > I've connected 1 MUX card, it crashes in the SCSI startup; if I've inserted
>  > 4 MUX cards it crashes the same way, but after the third MUX card. I'll put a
>  > screenshot on the end of this mail.

I've tried a bit more, and I'm sure it ISN'T the SCSI code. I will attach
the full boot log from SCSI at the end of this file, but I've also tried by
removing ALL SCSI hardware, including the controller, from my system. It
still hangs with the 'old' 1.2 kernel (I didn't have a 1.2b prerelease
kernel) when netbooting from my linux-machine.
> 
> Yow!  _8_?!
> 
> Well, I know the DCM driver works, since I'm using it to ppp to my ISP,
> so I can type this mail :-)

But then again, your machine at least starts, which I cann't say about mine.
;-)
> 
>  > At the time I wrote my message you hadn't released the prerelease 12b.
>  > At least that version got a little bit further.
> 
> ...heh.
> 
>  > Thanx for the help so far.
> 
> Sure...
> 
> ...while you're at the db> prompt, type "trace"... and e-mail me the
> output.  We'll find that bad pointer :-)

OK, but to make the debugging a bit easier, I will copy the whole booting
process, so you (all) see the rest of the process too. Maybe it is some
setting, because I don't have any documentation on this machine...
(I removed some '^H ^H stuff...)

----- minicom.cap inserted here -----
                                                                                 Self-Test Mode
Copyright 1989,                         
Hewlett-Packard Company.                
All Rights Reserved.                    
                                        
BOOTROM Rev. D                          
MC68030 Processor                       
MC68882 Coprocessor                     
HP-HIL.Keyboard                         
RESET To Power-Up
 Loading Memory
 Self-Test Mode
HP-IB
DMA-C0
 Testing Memory
 Self-Test Mode
RAM 8388356 Bytes
HP98644 (RS-232) at 9
HP98642 (RS-232 MUX) at 10
HP98642 (RS-232 MUX) at 11
HP98642 (RS-232 MUX) at 12
HP98642 (RS-232 MUX) at 13
HP98265 (SCSI S 32) at 14
                                        
 Self-Test Mode
HP98643 (LAN) at 21, 08000902D812
 System Search Mode
                                        :WANGTEK 5525ES SCSI REV7 REMV, 1404, 0
                                           1Z SYS_SYS_I
                                        
 Booting System

>> NetBSD INSTALLATION HP9000/370 CPU
>> $NetBSD: sys_inst.c,v 1.3 1995/10/04 07:24:33 thorpej Exp $
>> Available commands:
>>     disklabel - place partition map on disk
>>     miniroot - place miniroot on disk
>>     boot - boot from miniroot
>>     reset - reset the system
>>     help - display command list
sys_inst> boot
Disk to boot from? sd0
booting: sd0b:/netbsd -s
814824+41288+143448+[149424-+135681] total=0xff93ab59 start=0xff802a38
[ preserving 285116 bytes of netbsd symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 1.2B (GENERIC) #154: Sun Jan 12 18:06:09 PST 1997
    thorpej@basalt:/work/netbsd/src/sys/arch/hp300/compile/GENERIC
HP9000/370 (33.33MHz MC68030 CPU+MMU, 33.33MHz MC68882 FPU, 64K physical-address cache)
delay constant for this cpu: 61
real mem  = 8380416
avail mem = 4857856
using 204 buffers containing 835584 bytes of memory
Parity detection enabled
dma0: 98620C, 2 channels, 32 bit
hpib0 at scode 7 ipl 3: Internal HP-IB
ppi0 at hpib0 slave 5 punit 0
dca0 at scode 9 ipl 5 flags 0x1: no fifo
dcm0 at scode 10 ipl 3 flags 0
dcm1 at scode 11 ipl 3 flags 0xetrap: bad kernel read access at 0x6e
trap type 8, code = 0x402074d, v = 0x6e
kernel program counter = 0xa6c0a
kernel: MMU fault trap
panic: MMU fault
Stopped at      _Debugger+0x6:  unlk    a6
db> trace
_Debugger(200ac,a0ccf,144cdc,2304,144d0c) + 6
_panic(a0ccf,1,1,eb4c4,3) + 34
_trap(8,402074d,6e) + 21a
_addrerr(?)
_dcmxint(eb4c4,1,12,0,0) + 10c
_dcmpint(eb4c4,1,1) + 2c
_dcmintr(eb4c4,219df,2004,a20000,144e84) + de
_isrdispatch(6c) + 7a
_intrhand(?)
_dcmselftest(eb52e,c8ca8,eb52e,28) + a
_dcmattach(c8c7c,e8d88,9263e,de45c,de46c) + 82
_find_device(de45c) + 15e
_configure(c,ff801000,fffffffc,13a000,ffeffffc) + 92
_cpu_startup(c992c,c,ff801000,fffffffc,13a000) + 2f2
_main() + 4a
_main() + 4a
db> 
----- End of minicom.cap ----

					Elmar
-- 
Alp =	1) One of a number of ski mountains in Europe
	2) A shouted request for assistance made by a European skier in
	   America. An appropriate reply is "What's Zermatter ?".
				Henry Beard & Roy McKie 

This mail was brought to you by:

		Elmar Kolkman.

He can be reached as 'kolkmae@apd.dec.com' or 'elmar@usn.nl'