SCSI miniport failed in text-mode setup

I’m currently working on scsi miniport for an iSCSI HBA, it works perfectly under Windows XP, reading and writing files without any errors, this is when I boot up with a physical hard disk and using the iSCSI HBA as secondary disk.

I tried to installing OS (Win XP) on the iSCSI HBA itself, using it as primary disk to boot up OS, but it always failed during installation process, at the part where it tries to copy files from CD to harddisk, right after the format disk process.

I’ve tried hooking up windbg to it, but no any error messages show up, it just hang there doing nothing after copying files at 7%, 9%, 15%, which it just hang at random point, but rarely above 30% mark.

Any idea on where I should check to solve this problem? I can’t seem to find anything wrong, it works perfectly fine when it works as secondary disk.

Did you receive any SCSI request that you didn’t handle?

Regards
Haibo

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com
Sent: Tuesday, April 14, 2009 11:31 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] SCSI miniport failed in text-mode setup

I’m currently working on scsi miniport for an iSCSI HBA, it works perfectly
under Windows XP, reading and writing files without any errors, this is when
I boot up with a physical hard disk and using the iSCSI HBA as secondary
disk.

I tried to installing OS (Win XP) on the iSCSI HBA itself, using it as
primary disk to boot up OS, but it always failed during installation
process, at the part where it tries to copy files from CD to harddisk, right
after the format disk process.

I’ve tried hooking up windbg to it, but no any error messages show up, it
just hang there doing nothing after copying files at 7%, 9%, 15%, which it
just hang at random point, but rarely above 30% mark.

Any idea on where I should check to solve this problem? I can’t seem to find
anything wrong, it works perfectly fine when it works as secondary disk.


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

In my StartIO routine, I print out “SRB_STATUS_INVALID_REQUEST” and set Srb->SrbStatus = SRB_STATUS_INVALID_REQUEST and return, thus the windgb should print this, but I didn’t see any of such error dbgprint.

What !stacks will show? What’s in the current stack?