Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!uunet!seismo!husc6!hao!gatech!udel!princeton!phoenix!paul
From: paul@phoenix.PRINCETON.EDU (Paul Lansky)
Newsgroups: comp.unix.wizards
Subject: problems with probe routine in driver
Message-ID: <421@phoenix.PRINCETON.EDU>
Date: Sun, 12-Jul-87 12:16:59 EDT
Article-I.D.: phoenix.421
Posted: Sun Jul 12 12:16:59 1987
Date-Received: Mon, 13-Jul-87 03:47:40 EDT
Organization: Princeton Univ. Computing and Information Technology
Lines: 20
Keywords: ultrix, probe routine, driver



I'm having trouble getting a probe routine to correctly access
the csr of a board.  I've done it before with other boards
(this is a DRQ3B, MicroVaxII, Ultrix 1.1), and can't see what
I've done wrong.  The probe routine is entered correctly but 
as soon as it attempts to access the registers I get a machine
check.  The base csr is 0161040.  I'm able to look at the 
registers in console mode ( e/w/p 20000220 is the translation
to physical, in hex) with no trouble, everything seems to be
as it should be.  I printed out the virtual address in octal,
which came to 20034601040, but don't know how to translate
this properly (shouldnt it be short?).  

I would appreciate any suggestions on how to verify the addresses
of the csr from the probe routine.  The numbers in ioconf.c look right.

Please reply to   .......princeton!winnie!paul
thanks
Paul Lansky