*BSD News Article 27366


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!ihnp4.ucsd.edu!sdd.hp.com!vixen.cso.uiuc.edu!uwm.edu!csd4.csd.uwm.edu!bk
From: bk@csd4.csd.uwm.edu (Robert Joseph Knier)
Newsgroups: comp.os.386bsd.development
Subject: Device Driver interrupt call problem
Date: 16 Feb 1994 15:30:57 GMT
Organization: Computing Services Division, University of Wisconsin - Milwaukee
Lines: 20
Message-ID: <2jte7hINN7tr@uwm.edu>
NNTP-Posting-Host: 129.89.7.4
Keywords: device driver



All:

	I have a wierd problem - I am working on a device driver for Future
Domain 950 / ST01/ST02 SCSI cards for use with Julian's SCSI code.
Currently I am working on the reselection phase of the SCSI bus.  At
interrupt time, I handle the request and call a upper level function the
handle buffer clean up.  The problem is that when I try to call the upper
level function, I get a vm fault and the kernel panics.  The panic happens
at the function call (I never make it to the upper level function).  This
upper level function is in another file.  I have unsuccessfully tried to
change the order of the linking.  The call I am trying to make looks like:
void scisi_done(struct buf *xs).  I am running 386bsd 0.1 with patchlevel
2.4.5 on a 386/20 with 4Mb of ram, a 387, Orchid ProDesigner VGA, 2 RLL 65Mb
disk drives and a Maxtor 340S SCSI disk (the host is a FD950 compatible).
Any help in this matter would be greatly appreciated.


Bob Knier