Subject: trouble w/ miniroot
To: None <port-hp300@NetBSD.ORG>
From: Bartholomew Niswonger <bniswong@midway.uchicago.edu>
List: port-hp300
Date: 03/13/1996 15:12:56
Hello, now that exams are over for the quarter, I am once again
attacking my hp340's :)

This time, I have a scsi disk connected to my 340 with rev D roms,
scsi, thinnet, and a serial console to my vt100.  I was able to
disklabel the scsi disk, and to copy the miniroot from my i386 to sd0.

However, when I type boot at the sys_inst> prompt, I get the
following:

sys_inst> boot
Disk to boot from? sd0
booting: sd0b:/netbsd -s
683372+31848+150928+[43344+44704] total=0xff8ea1f0 start=0xff801a14
[ preserving 88056 bytes of netbsd symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the stray interrupt, sr 0x2500
stray interrupt, sr 0x2500
... <many of them>
panic: intrhad at _Debugger+0: unlk a6
db> trace
_Debugger(1cbbc,85468,f4e94,2004,f4ea8) + 6
_panic(85468,2004,c00,55,5) + 34
_intrhand(2500) + 94  
_lev4intr(c00,55) + 1a
_cnputc(55,55,ff801000,0,ffeffffc) + 26
_kprintf(55,5,0) + 40c
_kprintf(a9364,5,0,f4f7c) + 34
_printf(a9364,c,ff801000,fffffffc,ea000) + 20
_main() + 26
_main() + 26
db> c
synching disks... trap type 1, code = a26d, v = 665042a7
kernel: Address error trap     
pid = 0, pc = 00031022, ps = 2003, sfc = 0001, dfc = 0001
Registers:
<lost due to noise on the terminal>
panic:rupt
Stopped at _D6: unlk a6
db> c
<reboots>
---- 

[note that my vt100 seems to have trouble talking to the hp, so some
characters get dropped, etc ]

Does anyone have any clue what might be going on here?
Where is this 'stray interrupt' coming from?

The only thing I can think of is that I got the numbers wrong for the
disk, so the miniroot is corrupted.  I am not sure about the numbers I
used for the disk, I used the docs from the conner web page (its a
cfa540s disk), but they say nothing about cylinders, so I sort-of best
guessed, made-up, pulled from other configs (like the 850 ide disk in my
i386), the numbers where I didnt know...  Could this be it?  

The miniroot image I have looks like this:
-rw-r--r--  1 root  wheel  5242880 Feb 27 23:49 inst-11.fs

where Feb 27 would be the day i got it off ftp.iastate.edu (I believe)

Is there any other info I could provide?

The machine has a mono card in it, but my keyboard seems not to work
with the sys_inst program (or at all?) so I use the terminal.

Any help would be really really really appreciated, I am totally out
of my realm on this one.

Bart