Oh boy, here’s a good one …
I’m working on the SCSI mini-port for my 2000 driver stack, and realized
yesterday that to get the slot number of the card, and that I had to scan
the PCI bus, somewhat differently than I did with the NT 4 version. So, I
spent most of the day setting breakpoints, stepping through code, installing
the drivers, modifying the FindAdapter routine, and adjusting the INF file
until finally the drivers installed, found the slot and successfully
completed FindAdapter. Voila! Lets go home! This morning I realize that in
the process of doing all of that I had 2 service entries in the registry
that was causing the mini-ports DriverEntry to be called twice; once for
FgScsi and once for FibreGearSCSI. So I commenced to tiptoe through the
system deleting the sys files and removing both manually from the registry.
Okie-dokie, that done I rebooted a few times to make sure the registry had
settled down and then ran the hardware wizard and did what I thought was
clean install. Another reboot and saw ScsiPortInitialize return
STATUS_SUCCESS (oh joy!), but that FindAdapter was now never called (on
no!!). Now that one I have not seen. What I expected was FindAdapter called
and a status of C0000018 returned. My tip toeing through the registry must
have trod on some roses that shouldn’t have been trod upon. Oh well, install
time.
Gary G. Little
Staff Engineer
Broadband Storage, Inc.
xxxxx@broadstor.com
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com