Return-Path: <owner-ips@ece.cmu.edu>
X-Sieve: cmu-sieve 2.0
Return-Path: <owner-ips@ece.cmu.edu>
Received: (from majordom@localhost)
	by ece.cmu.edu (8.11.0/8.10.2) id h3FF8q910020
	for ips-outgoing; Tue, 15 Apr 2003 11:08:53 -0400 (EDT)
X-Authentication-Warning: ece.cmu.edu: majordom set sender to owner-ips@ece.cmu.edu using -f
Received: from palrel11.hp.com (palrel11.hp.com [156.153.255.246])
	by ece.cmu.edu (8.11.0/8.10.2) with ESMTP id h3FF8n310013
	for <ips@ece.cmu.edu>; Tue, 15 Apr 2003 11:08:49 -0400 (EDT)
Received: from xparelay1.ptp.hp.com (xparelay1.ptp.hp.com [15.1.28.62])
	by palrel11.hp.com (Postfix) with ESMTP
	id 052361C0247C; Tue, 15 Apr 2003 08:08:49 -0700 (PDT)
Received: from xpabh2.ptp.hp.com (xpabh2.ptp.hp.com [15.1.28.61])
	by xparelay1.ptp.hp.com (Postfix) with ESMTP
	id F00541005569; Tue, 15 Apr 2003 08:08:48 -0700 (PDT)
Received: by xpabh2.ptp.hp.com with Internet Mail Service (5.5.2655.55)
	id <2VKRSX49>; Tue, 15 Apr 2003 08:08:48 -0700
Message-ID: <499DC368E25AD411B3F100902740AD651226B338@xrose03.rose.hp.com>
From: "ERICKSON,SHAWN (HP-Roseville,ex1)" <shawn_erickson@hp.com>
To: "'Sarita_Padoshi'" <Sarita_Padoshi@satyam.com>, ips@ece.cmu.edu
Subject: RE: Windows implementation of iSCSI
Date: Tue, 15 Apr 2003 08:08:44 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2655.55)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-ips@ece.cmu.edu
Precedence: bulk

I would switch to using a check build of Windows 2000 and building symbols
for your driver. Then get it to fail again and read the page fault
information to understand when and where it is happening.

You are accessing memory that you should not be, are accessing memory that
is not locked and wired into RAM (it has to be if you are going to do any
DMA) or some other piece of software is failing.

In a miniport you usually get locked and wired buffers so its hard to know
what is going on from the simple report below.

Anyways... this is really a Window development issue not a iSCSI issue. So I
don't think this list will be of much help, try Windows kernel dev or SCSI
miniport related lists (I know ones exist).

-Shawn

-----Original Message-----
From: Sarita_Padoshi [mailto:Sarita_Padoshi@satyam.com]
Sent: Monday, April 14, 2003 6:10 AM
To: ips@ece.cmu.edu
Subject: Windows implementation of iSCSI
Importance: High


Hi,

	We are developing an iSCSI initiator on Windows 2000 as a SCSI
miniport driver.

	The initiator passes through the SCSI commands INQUIRY and READ
CAPACITY. 

	After this, a READ command for the block address 0 is received at
the initiator.

	This command is executed at the target and the response is SUCCESS.
	The same response is sent back to the scsi port driver with
SrbStatus = SRB_STATUS_SUCCESS and
	ScsiStatus = SUCCESS and the data copied to DataBuffer in the SRB.
	
	Next ,We receive a second READ command for the same block address 0
with same transfer length. 
	Now,when we copy the data received from the target to the DataBuffer
in the SRB, there is a
	Page Fault.

	Could you please help us in understanding why a second read command
is issued and why there is
	a page fault.

	Thanks in advance.

Rgds,
Sarita
************************************************************************** 
This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.
**************************************************************************
