Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Why does BusTypeFibre type get returned instead of BusTypeSata?

43 views
Skip to first unread message

David F.

unread,
Oct 29, 2009, 3:52:10 AM10/29/09
to
Obtaining a STORAGE_DEVICE_DESCRIPTOR via IOCTL_STORAGE_QUERY_PROPERTY
return the bus type as Fibre instead of SATA for the internal SATA drives?
USB drives get the proper BusType code. Using up to date Vista.

// setup query
STORAGE_PROPERTY_QUERY query;
memset(&query, 0, sizeof(query));
query.PropertyId = StorageDeviceProperty;
query.QueryType = PropertyStandardQuery;
// issue query
DWORD bytes;
STORAGE_DEVICE_DESCRIPTOR devd;

if (DeviceIoControl(handletophydev, IOCTL_STORAGE_QUERY_PROPERTY,
&query, sizeof(query),
devd, sizeof(devd),
&bytes, NULL)) {

// bus type is Fibre not Sata yet USB device type works fine.. I don't
get it.
}


Jialiang Ge [MSFT]

unread,
Oct 29, 2009, 5:55:26 AM10/29/09
to
Hello David

I do not have SATA drive at hand. I'm looking for such a test system, and
will update you with my test result soon.


Regards,
Jialiang Ge
Microsoft Online Community Support

=================================================
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msd...@microsoft.com.

This posting is provided "AS IS" with no warranties, and confers no rights.
=================================================

David F.

unread,
Oct 29, 2009, 1:10:47 PM10/29/09
to

ok- this is a dell xps 730 (or 720) and believe controller is in AHCI mode.

and it's the physical device (\\.\PhysicalDrive0) that the handle is opened
on.

""Jialiang Ge [MSFT]"" <jia...@online.microsoft.com> wrote in message
news:3Jhw33HW...@TK2MSFTNGHUB02.phx.gbl...

Doron Holan [MSFT]

unread,
Oct 29, 2009, 1:38:41 PM10/29/09
to
this is controlled by the HBA driver. what driver is assigned to the
storage controller on your system?

d

--

This posting is provided "AS IS" with no warranties, and confers no rights.


"David F." <df2...@community.nospam> wrote in message
news:4E7C0BDD-8491-4E2D...@microsoft.com...

David F.

unread,
Oct 29, 2009, 3:46:34 PM10/29/09
to
Looks like under Storage Controllers it's the NVIDIA nForce Serial ATA
Controller drivers.

I have to run ... how do I get the driver name in Vista .. doesn't seem to
show the .sys being used ???

The RAID driver is there but shouldn't be used.

back later..


"Doron Holan [MSFT]" <doron...@online.microsoft.com> wrote in message
news:OxXPq6LW...@TK2MSFTNGP04.phx.gbl...

David F.

unread,
Oct 29, 2009, 6:16:22 PM10/29/09
to
here we go ..

nvstor32.sys
nvraidco.dll
nvraiins.dll

for raid: nvrd32.sys

9.99.0.8


"David F." <df2...@community.nospam> wrote in message

news:C5A83AB0-77DB-4B34...@microsoft.com...

Doron Holan [MSFT]

unread,
Oct 29, 2009, 7:09:50 PM10/29/09
to
ask nvidia to fix their bug

d

--

This posting is provided "AS IS" with no warranties, and confers no rights.


"David F." <df2...@community.nospam> wrote in message

news:A07EABE5-4E6E-42B4...@microsoft.com...

Alexander Grigoriev

unread,
Oct 29, 2009, 11:22:02 PM10/29/09
to
Check HKLM\SYSTEM\CurrentControlSet\Services\nvstor32\Parameters\BusType and
HKLM\SYSTEM\CurrentControlSet\Services\nvrd32\Parameters\BusType


"David F." <df2...@community.nospam> wrote in message

news:A07EABE5-4E6E-42B4...@microsoft.com...

David F.

unread,
Oct 30, 2009, 4:15:37 AM10/30/09
to

Please email me the storage division contact you have and I'll let them
know - they also have a potential deadlock condition in their recent drivers
just like they had a good 5 or 6 years ago - those were fixed but looks like
some are back in their current drivers.

although their current drivers seemed to have pass Microsoft's quality labs
since it was signed with "Microsoft Windows Hardware Compatibility
Publisher"? I know the MS designed and provided drivers work without any
deadlock or other problems - be nice of MS provided support services they
could use to have their source code reviewed for problems and fixed up for
them.

Better if MS hit up T10 (or T13) to create a RAID (protocol - meta data)
standard (again - apparently there were too many whiners last time it was
tried) so MS could provide a single RAID driver that worked on all kinds of
different RAID controllers.


"Doron Holan [MSFT]" <doron...@online.microsoft.com> wrote in message

news:%23RaAszO...@TK2MSFTNGP04.phx.gbl...

David F.

unread,
Oct 30, 2009, 4:24:24 AM10/30/09
to
HKLM\SYSTEM\CurrentControlSet\Services\nvstor32\Parameters\BusType = Value
doesn't exist
HKLM\SYSTEM\CurrentControlSet\Services\nvstor\Parameters\BusType = 8
HKLM\SYSTEM\CurrentControlSet\Services\nvrd32\Parameters\BusType =
Parameter key doesn't exist.

function call returns 6.

I don't think RAID is enabled on this system.


"Alexander Grigoriev" <al...@earthlink.net> wrote in message
news:%23GGQoAR...@TK2MSFTNGP04.phx.gbl...

Alexander Grigoriev

unread,
Oct 30, 2009, 10:17:36 AM10/30/09
to
8 is BusTypeRAID.

"David F." <df2...@community.nospam> wrote in message

news:BEEB1B45-9A72-4B8F...@microsoft.com...

David F.

unread,
Oct 31, 2009, 4:31:46 AM10/31/09
to

yeah, but raid is not enabled and the function return 6, not 8.

"Alexander Grigoriev" <al...@earthlink.net> wrote in message

news:OP1B9uWW...@TK2MSFTNGP06.phx.gbl...

Leo Davidson

unread,
Oct 31, 2009, 7:07:49 AM10/31/09
to
On Oct 29, 7:46 pm, "David F." <df2...@community.nospam> wrote:
> Looks like under Storage Controllers it's the NVIDIA nForce Serial ATA
> Controller drivers.

NVidia's SATA drivers for Vista/7 are a travesty. If you switch to
Microsoft's generic SATA drivers everything should work much better.
(At least in Windows 7. I've not tried it in other OS.)

NVidia present the devices as SCSI instead of IDE. This breaks almost
everything except basic file I/O. For example, most SMART monitoring
tools can't see the drive. Manufacturer tools to run diagnostics and
set parameters like acoustic mode also tend not to work. It also
prevents Windows 7 from detecting that a drive is an SSD and
optimizing usage to suit it (e.g. not defragging the drive because
that just damages an SSD for little benefit). (I imagine it also
breaks support for the SSD TRIM command but it's hard to tell.)

I've also seen reports that switching from the NVidia driver to the
generic MS driver it speeds things up.

To switch, go into Device Manager and find the NVidia SATA
controllers. Click Update Driver, tell it to let you choose from a
list and switch it to "Standard Dual Channel PCI IDE Controller",
which should be included in the short list of compatible drivers
Windows presents. You'll then have to reboot.

People shouldn't do this if they're using NVidia's RAID stuff, since
the generic drivers will probably break RAID support, but people
shouldn't be using NVidia's RAID anyway as it's also utter garbage. :)

Jialiang Ge [MSFT]

unread,
Nov 9, 2009, 5:58:05 AM11/9/09
to
Hello David

How are you?

I see Doron suggest contacting nvidia to fix this problem. I agree with
Doron that you 'd better first contact Nvidia.

David F.

unread,
Nov 11, 2009, 11:42:34 AM11/11/09
to
still waiting for contact information you guys have. your T10/T13/SATA
liaison probably has the contact...

""Jialiang Ge [MSFT]"" <jia...@online.microsoft.com> wrote in message

news:3Wp8IuSY...@TK2MSFTNGHUB02.phx.gbl...

Jialiang Ge [MSFT]

unread,
Nov 17, 2009, 9:55:07 AM11/17/09
to
Hello David

I do not have the contact information. Even though I have, it may not be
proper to share customers' information here. Please try to contact nvidia.
This may be the entry page of their support:
http://www.nvidia.com/page/support.html.

Thanks for your understanding.

0 new messages